mp4转mov
ffmpeg -threads 16 -i xxx.mp4 -c:v prores -c:a copy -profile:v 0 xxx.mov
mov转mp4
ffmpeg -threads 16 -i xxx.mov -c:v libx264 -c:a copy -preset fast -crf 18 xxx.mp4
============================================================================================================
ffmpeg -threads 16 -i movie.mp4 -vcodec copy -acodec copy out.mov ???
https://codeday.me/bug/20170814/53142.html
ffmpeg -threads 16 -i NongYe_TC.mov -qscale 0 -r 50 -vcodec prores Nongye_TC_Proes.mov
https://107cine.com/stream/78237/
ffmpeg -i [filenamefor_vid.mxf] -i [filenamefor_aud.mxf] -c:v prores -profile:v X -c:a copy outputFilename.mov
and replace the ‘X’ that follows ‘profile:v’ with the ProRes profile of your choice:
0 = Proxy
1 = LT
2 = SQ (Default)
3 = HQ
http://3ms.huawei.com/km/blogs/details/2179201?l=zh-cn
ProRes格式
https://zhidao.baidu.com/question/2203732617443217748.html?qbl=relate_question_3
ffmpeg -i NongYe_TC.mov -vcodec prores -s 1920*1080 Nongye_TC_Proes.mov
https://107cine.com/stream/78237/
https://codeday.me/bug/20181128/424049.html
改变帧率的命令:
ffmpeg -y -i input -r fps output
循环操作文件
https://juejin.im/post/5afefdb46fb9a07aac24b647
https://blog.csdn.net/albertsh/article/details/52797519
常用!!!
转prores mov
ffmpeg -threads 4 -i 2012.mp4 -c:v prores -profile:v 0 -c:a copy F:\output.mov
包含转帧率
ffmpeg -threads 4 -i a1-HaiNan2min.mp4 -qscale 0 -r 50 -c:v prores -profile:v 0 -c:a copy F:\HaiNan_50fps.mov
-t指时长
ffmpeg.exe -ss 00:00:00 -t 00:00:15 -i %%i.mp4 -vcodec copy %%i_15s.mp4
循环转mov
@echo off
set dir1="\\10.90.19.40\huawei-video\cut\cut-video\test-sequence-logo\"
set "dir2=F:\cut\"
set "str1=mp4"
set "str2=mov"
for /r %dir1% %%i in (*.mp4) do (
ffmpeg -threads 4 -i %%i -qscale 0 -r 50 -c:v prores -profile:v 0 -c:a copy %dir2%%%~ni.%str2%
)