[FFmpeg-user] How to extract core DTS / DCA stream from a DTS 96/24 stream without re-encoding

Paul B Mahol onemda at gmail.com
Sat May 19 19:33:47 EEST 2018


On 5/19/18, Onetel <tghewett2 at onetel.com> wrote:
> I tried that as well but the output is just a duplicate of the DTS 96/24
> stream, and has the same low volume problem as the original stream:
>
> command: ffmpeg -i in.dts -bsf:a dca_core -c:a copy -strict -2 out.dts
>
> output:
>
> Input #0, spdif, from 'in.dts':
>   Duration: 00:04:49.28, bitrate: 1536 kb/s
>     Stream #0:0: Audio: dts (DTS 96/24), 96000 Hz, 5.1(side), fltp, 1536
> kb/s
> Output #0, dts, to 'out.dts':
>   Metadata:
>     encoder         : Lavf58.12.100
>     Stream #0:0: Audio: dts (DTS 96/24), 96000 Hz, 5.1(side), fltp, 1536
> kb/s
> Stream mapping:
>   Stream #0:0 -> #0:0 (copy)
> Press [q] to stop, [?] for help
> size=   53313kB time=00:00:00.00 bitrate=N/A speed=   0x
> video:0kB audio:53313kB subtitle:0kB other streams:0kB global headers:0kB
> muxing overhead: 0.000000%
>
>
>
>
>> On 19 May 2018, at 14:05, Moritz Barsnick <barsnick at gmx.net> wrote:
>>
>> On Sat, May 19, 2018 at 13:59:03 +0100, Onetel wrote:
>>> Thanks - I tried this but it seems to re-encode rather than copy, taking
>>> much longer than "-acodec copy" (which is instantaneous). I tried:
>>>
>>> ffmpeg -i in.dts -bsf:a dca_core -strict -2 out.dts
>>
>> You need to use both "-c:a copy" *and* "-bsf:a dca_core".
>>
>> Cheers,
>> Moritz
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

Could you upload short sample somewhere so I can inspect it?


More information about the ffmpeg-user mailing list