FFMPEG简单应用之FFMPEG转MTS成dv格式的方法

来源:互联网 发布:c语言数组 输入n.个数 编辑:程序博客网 时间:2024/05/16 10:32

FFMPEG下将MTS转换为.dv文件的方法

为了更快捷的编辑MTS,优势需要将MTS转换为.dv文件

#ffmpeg -i 00005.MTS -f avi -b:v 16000k -ab 192k 00005.DV

-i = input file

-f = format, appeared neccessary

-b:v = videobitrate, this value of 16000k is exactly the same as the source file, because we don't want any loss!!

-b:a = audio bitrate, this value of 192k is exactly the same as the source file, because we don't want any loss!!

可选项:

I also found this commandline, worked very well:

ffmpeg-kino -threads 2 -i 00120.MTS -s 720x576 -r pal -aspect 16:9 -ac 2 -ar 48000 -pix_fmt yuv420p -y 00120.MTS.dv

将MTS转换为mp4的简单命令语句:

ffmpeg -y -i 00141.MTS -vcodec mpeg4 -b:v 8000000 -ab 128000 -s 1280x720 new2.mp4ffmpeg -y -i 00101.MTS -vcodec mpeg4 -b:v 14M -acodec ac3 -ab 192k new.mp4 <-- deze gebruikt om .MTS in kdenlive te importeren

dus:

for i in *; do ffmpeg -y -i "$i" -vcodec mpeg4 -b:v 14M -acodec ac3 -ab 192k "$i".mp4; done
MTS converter
原创粉丝点击