[FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?
Lou
lou at lrcd.com
Tue Sep 30 20:11:34 CEST 2014
On Tue, 30 Sep 2014 18:35:53 +0200
skyscanner at gmx.ca wrote:
> On Tue, 30 Sep 2014 16:13:20 +0200, barsnick at gmx.net wrote:
>
> > 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*". :-)
>
> Following up on that, this seems to be the answer:
>
> ffmpeg -i "original program.ts" -c:v copy -filter_complex '[0:1][0:2][0:3][0:4]amerge=inputs=4,pan=5.1:FL=c0:FR=c1:FC=c2:BL=c4:BR=c5:LFE=c3' -c:a mp2 test.ts
In pan:
"If the ‘=’ in a channel specification is replaced by ‘<’, then the
gains for that specification will be renormalized so that the total
is 1, thus avoiding clipping noise."
http://ffmpeg.org/ffmpeg-filters.html#pan
Which is something you may or may not want, but I thought it was worth
mentioning.
More information about the ffmpeg-user
mailing list