amrnb

ffmpeg 学习笔记

扶醉桌前 提交于 2021-01-30 14:52:05
ffmpeg -threads 8 -i 997.mp4 -y -c:v libx264 -c:a copy -f hls -g 60 -hls_time 2 hls_list_size 0 -hls_segment_filename test/out-%08d.ts test/out.m3u8 ffmpeg -re -i 997.mp4 -c copy -f hls -bsf:v libx264 test/out-%08d.ts test/out.m3u8 "ffmpeg","-threads","4","-i","/tmp/video/workdir/rBL7YF9hn_CEOIUNAAAAAIn7Jxk745/marker/rBL7YF9hn_CEOIUNAAAAAIn7Jxk745.mp4","-c:v","libx264","-c:a","copy","-f","hls","-g","60","-hls_time","2","-hls_list_size","0","-hls_key_info_file","/tmp/video/workdir/rBL7YF9hn_CEOIUNAAAAAIn7Jxk745/marker/keys/encrypt.keyinfo","-hls_segment_filename","/tmp/video/workdir/rBL7YF9hn

Cygwin 编译 ffmpeg

流过昼夜 提交于 2020-04-11 19:49:19
1、在官网下载linux下的压缩包   https://ffmpeg.zeranoe.com/builds/source/ffmpeg/ffmpeg-3.2.4.tar.xz 2、进入cygwin,假定将压缩包放在了cygwin的 bin\ffmpeg-3.2.4.tar目录下 执行如下指令进行文件解压 cd / bin cd ffmpeg - 3.2 . 4 . tar / xz -d ffmpeg- 3.2 . 4 . tar .xz tar -xvf ffmpeg- 3.2 . 4 . tar cd ffmpeg - 3.2 . 4 / 3、编译 shared模式编译 ./configure --disable-static --enable-shared --enable-gpl --enable-version3 --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca -