[FFmpeg-user] Copy across core DTS audio

Moritz Barsnick barsnick at gmx.net
Fri Apr 17 11:16:27 EEST 2020


On Fri, Apr 17, 2020 at 03:56:37 -0400, Ted Park wrote:
> I meant try doing the same thing as the codec copy to the filter to
> specify the stream. So here, it would be -bsf:a:0 dca_core. (and I
> think when you specify stream type, the number that comes after is
> the index only counting that type of stream, so -c:a:1 and -c:a:0.

Correct.

This fails, as mentioned by Kaled:
$ ffmpeg -f lavfi -i anoisesrc=seed=0 -f lavfi -i anoisesrc=seed=42 -map 0 -map 1 -c:a:0 libmp3lame -strict experimental -c:a:1 dts -bsf:a dca_core -t 10 -f null -

This succeeds:
$ ffmpeg -f lavfi -i anoisesrc=seed=0 -f lavfi -i anoisesrc=seed=42 -map 0 -map 1 -c:a:0 libmp3lame -strict experimental -c:a:1 dts -bsf:a:1 dca_core -t 10 -f null -

Cheers,
Moritz


More information about the ffmpeg-user mailing list