[FFmpeg-trac] #1398(avformat:open): remuxed DTS audio won't play on hardware devices
FFmpeg
trac at avcodec.org
Thu Apr 24 06:39:28 CEST 2014
#1398: remuxed DTS audio won't play on hardware devices
------------------------------------+------------------------------------
Reporter: patters | Owner:
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: dca mpegts | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by goodthanks):
Replying to [comment:23 cehoyos]:
> I will attach a PoC: If somebody can confirm that it fixes this issue, I
will try to provide a more complete patch.
I can confirm this fixed the issue in that it puts the correct codec ID
(stream type) into the output file. 138 (0x8a)
But this file will not play on my hardware.
0x8a is the code for DTS-audio specified here -
http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/M2TS.html
but 0x8a is specified as privately defined here -
http://en.wikipedia.org/wiki/Program-specific_information
Changing the stream_type ID's in libavformat\mpegts.h would fix the issue
eg)
change
{{{#define STREAM_TYPE_AUDIO_DTS 0x8a}}}
to
{{{#define STREAM_TYPE_AUDIO_DTS 0x82}}}
Only problem is im not sure if that is a workaround that will cause issues
elsewhere given that first link I provided says 0x8a is correct...
All I know is 0x82 will work on my sony bluray player. And 0x82 is the
code tsmuxer uses when remuxing TS files.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/1398#comment:25>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list