时间基、codec, 分辨率,音频和视频的都一样,才可以直接使用ffmpeg -f concat -i file.txt 方式合并。
On Thu, Dec 03, 2015 at 21:54:53 +0200, redneb8888 wrote:
I am looking for a way to find the time base of a stream (video or
audio),
$ ffprobe -show_streams videofile | grep time_base
Moritz
https://lists.ffmpeg.org/pipermail/ffmpeg-user/2015-December/029425.html
设置:
ffmpeg doesn’t look to be the appropriate tool; I’d normally use sox for audio-only files.
$ sox file1.mpg -r 44100 file1-enc.mpg
If you want to try using ffmpeg anyway, I think the correct command would be
$ ffmpeg -i file1.mpg -ar 44100 file1-enc.mpg
https://superuser.com/questions/253467/convert-an-mp3-from-48000-to-44100-hz