chomd 777 /usr/local/bin/gas-preprocessor.pl


cmdutils_common_opts.h
cmdutils.c
cmdutils.h
config.h
ffmpeg_filter.c
ffmpeg_opt.c
ffmpeg_videotoolbox.c
ffmpeg.c
ffmpeg.h
ffprobe.c
`
int exit_program(int ret)
{
//    if (program_exit)
//        program_exit(ret);
//
//    exit(ret);
return ret;
}
`
`
nb_filtergraphs=0;
nb_output_files=0;
nb_output_streams=0;
nb_input_files=0;
nb_input_streams=0;
term_exit();
ffmpeg_exited = 1;
`
AudioToolbox.framework
CoreMedia.framework
VideoToolbox.framework
libiconv.tdb
libbz2.tdb
libz.tdb
`
if (dec_ctx->codec_type == AVMEDIA_TYPE_VIDEO) {
            encoder = avcodec_find_encoder(AV_CODEC_ID_H264); //视频强制为h264
	
        }
    
        else{
    
            encoder = avcodec_find_encoder(AV_CODEC_ID_AAC); //声波转为aac
	
        }
`
`
		   enc_ctx->me_range = 16; 
	  
           enc_ctx->max_qdiff = 4;
       
           enc_ctx->qmin = 10; 
       
           enc_ctx->qmax = 51; 
      
           enc_ctx->qcompress = 0.6;
`
利用ffmpeg 转码hevc到h264 ,以及 保存h265 h264流
原文:https://www.cnblogs.com/RoysPhoneBlog/p/13261895.html