[FFmpeg-user] segment options not work in combining audio and video the same time?

Moritz Barsnick barsnick at gmx.net
Wed Apr 2 21:19:28 CEST 2014


Hi,

On Wed, Apr 02, 2014 at 01:02:43 -0700, Arachnia wrote:

> Something wrong with me?

Yes! You didn't show us the complete output of your ffmpeg commands,
which would make it much more obvious how ffmpeg is interpreting stuff.
Honestly, ffmpeg's output is meant for explaining what it's doing, why
do you hide it from us? ;-)

> if I encode stream to a flv file, or a mp4 file, the commands all OK!

Do you realize you are using totally different commands for encoding to
segment vs. encoding to file?

Most notably, your segment commands use this option:
> -map 0
without any other map options, thereby telling ffmpeg to use only the
first input file/stream. This explains all your observations.

Moritz


More information about the ffmpeg-user mailing list