1. 程式人生 > >使用FFMPEG從MP4封裝中提取視訊流到H264檔案

使用FFMPEG從MP4封裝中提取視訊流到H264檔案

命令列:

ffmpeg -i 20130312_133313.mp4 -codec copy -bsf: h264_mp4toannexb -f h264 20130312_133313.264

說明:

 -i 20130312_133313.mp4 :是輸入的MP4檔案

-codec copy:從MP4封裝中進行拷貝

-bsf: h264_mp4toannexb:從MP4拷貝到annexB封裝

-f h264:採用h.264格式

20130312_133313.264:輸出的檔名稱