“视频处理”的版本间的差异

来自AboveCloud
跳转至: 导航搜索
第6行: 第6行:
  
 
D:\tools\ffmpeg-20141115-git-933eca9-win64-static\bin\ffmpeg.exe -i D:\首体横移\原始文件\00001.MTS -s 960x540 -c:v libx264 -b:v 1M -profile:v baseline  -ar 44100 -ac 2 -b:a 128k -ss 0 -to 10 -movflags faststart output.mp4
 
D:\tools\ffmpeg-20141115-git-933eca9-win64-static\bin\ffmpeg.exe -i D:\首体横移\原始文件\00001.MTS -s 960x540 -c:v libx264 -b:v 1M -profile:v baseline  -ar 44100 -ac 2 -b:a 128k -ss 0 -to 10 -movflags faststart output.mp4
 +
 +
libfaac is not supported anymore, You can use this configuration:
 +
 +
ffmpeg -i <input> -s 480x320 -vcodec mpeg4 -acodec aac -strict -2 -ac 1 -ar 16000 -r 13 -ab 32000 -aspect 3:2 <output>

2014年11月16日 (日) 01:49的版本

输入格式是MTS(gf2相机生产),输出1280x720,编码格式mp4,码流5MB/s,mp3压缩,音频码流192k

D:\tools\ffmpeg-20141115-git-933eca9-win64-static\bin>ffmpeg.exe -i \00003.MTS -s 1280x720 -vcodec mpeg4 -b:v 5M -acodec libmp3lame -b:a 192k \00003_5m_720.mp4

音频编码用mp3在android不能播放,先放个能播放的

D:\tools\ffmpeg-20141115-git-933eca9-win64-static\bin\ffmpeg.exe -i D:\首体横移\原始文件\00001.MTS -s 960x540 -c:v libx264 -b:v 1M -profile:v baseline -ar 44100 -ac 2 -b:a 128k -ss 0 -to 10 -movflags faststart output.mp4

libfaac is not supported anymore, You can use this configuration:

ffmpeg -i <input> -s 480x320 -vcodec mpeg4 -acodec aac -strict -2 -ac 1 -ar 16000 -r 13 -ab 32000 -aspect 3:2 <output>