[FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?

Moritz Barsnick barsnick at gmx.net
Tue Sep 30 16:13:20 CEST 2014


On Tue, Sep 30, 2014 at 15:48:17 +0200, skyscanner at gmx.ca wrote:

> That merges the four audio streams into a single stream.  This
> doesn't give me 5.1 but I don't see any way to selectively pluck
> channels from streams and map them to 5.1 output (not saying it isn't
> possible, just that I can't figure out how to do it).

See my other response from a few minutes ago:
Something like
pan=5.1:FL=c0+c4:FR=c1+c5:BL=c4:BR=c5:FC=c7
or whatever you think is correct. You may have to throw in some factors
such as "0.5*". :-)

> So am I doing something wrong that is causing the "Segmentation
> fault", or is that a bug in the program?

That's likely either a bug in ffmpeg or one of the libraries. There are
instructions around to report that correctly. You will need to rebuild
latest ffmpeg from git, as this is too old (the issue may have been
resolved):

> ffmpeg version 2.2.2-tessus
> built on May  7 2014 23:17:42 with clang version 3.3 (tags/RELEASE_33/final)

Then run ffmpeg_g (the binary with debug symbols) and create a
backtrace in gdb.

Moritz


More information about the ffmpeg-user mailing list