#5039: Incorrect TrueHD decoding --------------------------------------+--------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Keywords: thd Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 --------------------------------------+--------------------------------- http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/203994 A user uploaded a TrueHD sample that is supposed to only contain 0xFFFFFF but the two first channels of the output file always contain 0x01 or 0x02. {{{ $ ffmpeg -i warnings_cut.thd -acodec pcm_s24le out.wav ffmpeg version N-76844-g3885ef0 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.7 (SUSE Linux) configuration: --enable-gpl libavutil 55. 9.100 / 55. 9.100 libavcodec 57. 16.100 / 57. 16.100 libavformat 57. 19.100 / 57. 19.100 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 15.100 / 6. 15.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Input #0, truehd, from 'warnings_cut.thd': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) Output #0, wav, to 'out.wav': Metadata: ISFT : Lavf57.19.100 Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 7.1, s32 (24 bit), 9216 kb/s Metadata: encoder : Lavc57.16.100 pcm_s24le Stream mapping: Stream #0:0 -> #0:0 (truehd (native) -> pcm_s24le (native)) Press [q] to stop, [?] for help [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 05. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 08. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 0b. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 08. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 0f. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 08. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 0f.
... ... [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 0c. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 09. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 0e. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 0f. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 04. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 03. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 0a. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 01. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 02. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 0a. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 09. [truehd @ 0x2d32460] Lossless check failed - expected 00, calculated 05. size= 56934kB time=00:00:50.60 bitrate=9216.0kbits/s video:0kB audio:56933kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000175% }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/5039> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://ffmpeg.org/mailman/listinfo/ffmpeg-trac