[FFmpeg-trac] #9511(avcodec:open): TrueHD decoding fail...

FFmpeg trac at avcodec.org
Sat Dec 18 01:41:28 EET 2021


#9511: TrueHD decoding fail...
-------------------------------------+-----------------------------------
             Reporter:  K.Y.H        |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avcodec
              Version:  unspecified  |               Resolution:
             Keywords:  truehd, mlp  |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------
Changes (by Hendrik):

 * status:  new => open
 * reproduced:  0 => 1


Old description:

> You can download sample file by torrent
> "magnet:?xt=urn:btih:fc618f99e445797234d100173d6ecdcb35c742cb&dn
> =%5BBeatrice-
> Raws%5D%20Log%20Horizon%20-%20Entaku%20Houkai%20%2F%20Destruction%20of%20the%20Round%20Table%20%5BBDRip%201920x1080%20HEVC%20TrueHD%5D&tr=http%3A%2F%2Fnyaa.tracker.wf%3A7777%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969%2Fannounce"
>
> ffmpeg -i \[Beatrice-Raws\]\ Log\ Horizon\ -\ Entaku\ Houkai\ 01\
> \[BDRip\ 1920x1080\ HEVC\ TrueHD\].mkv 123.mkv
>
>   configuration:
>   libavutil      57.  8.100 / 57.  8.100
>   libavcodec     59. 12.100 / 59. 12.100
>   libavformat    59.  8.100 / 59.  8.100
>   libavdevice    59.  0.101 / 59.  0.101
>   libavfilter     8. 16.102 /  8. 16.102
>   libswscale      6.  1.100 /  6.  1.100
>   libswresample   4.  0.100 /  4.  0.100
> [truehd @ 042edd40] Assignment of matrix channel 0 to invalid output
> channel -22 is not implemented. Update your FFmpeg version to the newest
> one from Git. If the problem still occurs, it means that your file has a
> feature which has not been implemented.
> [truehd @ 042edd40] If you want to help, upload a sample of this file to
> https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing
> list. (ffmpeg-devel at ffmpeg.org)
> [truehd @ 042edd40] No restart header present in substream 0.
> [truehd @ 042edd40] No samples to output.
> Input #0, matroska,webm, from '[Beatrice-Raws] Log Horizon - Entaku
> Houkai 01 [BDRip 1920x1080 HEVC TrueHD].mkv':
>   Metadata:
>     encoder         : libebml v1.4.2 + libmatroska v1.6.4
>     creation_time   : 2021-07-30T01:18:37.000000Z
>   Duration: 00:24:32.81, start: 0.000000, bitrate: 10135 kb/s
>   Chapters:
>     Chapter #0:0: start 0.000000, end 61.978578
>       Metadata:
>         title           : Avant
>     Chapter #0:1: start 61.978578, end 152.026867
>       Metadata:
>         title           : OP
>     Chapter #0:2: start 152.026867, end 664.080067
>       Metadata:
>         title           : Part A
>     Chapter #0:3: start 664.080067, end 1355.020333
>       Metadata:
>         title           : Part B
>     Chapter #0:4: start 1355.020333, end 1444.985200
>       Metadata:
>         title           : ED
>     Chapter #0:5: start 1444.985200, end 1472.805000
>       Metadata:
>         title           : Next
>   Stream #0:0(jpn): Video: hevc (Main 10), yuv420p10le(tv, bt709),
> 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
>     Metadata:
>       title           : BDrip by Jensen
>       BPS             : 9236088
>       DURATION        : 00:24:32.805000000
>       NUMBER_OF_FRAMES: 35312
>       NUMBER_OF_BYTES : 1700369724
>       _STATISTICS_WRITING_APP: mkvmerge v59.0.0 ('Shining Star') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2021-07-30 01:18:37
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
>   Stream #0:1(jpn): Audio: truehd, 48000 Hz, stereo, s32 (24 bit)
> (default)
>     Metadata:
>       BPS             : 792310
>       DURATION        : 00:24:32.805000000
>       NUMBER_OF_FRAMES: 1767366
>       NUMBER_OF_BYTES : 145864922
>       _STATISTICS_WRITING_APP: mkvmerge v59.0.0 ('Shining Star') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2021-07-30 01:18:37
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
>   Stream #0:2(eng): Subtitle: ass (default)
>     Metadata:
>       title           : Eng
>       BPS             : 943
>       DURATION        : 00:24:25.120000000
>       NUMBER_OF_FRAMES: 1340
>       NUMBER_OF_BYTES : 172786
>       _STATISTICS_WRITING_APP: mkvmerge v59.0.0 ('Shining Star') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2021-07-30 01:18:37
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
>   Stream #0:3(jpn): Subtitle: hdmv_pgs_subtitle, 1920x1080 (original)
>     Metadata:
>       title           : Jpn
>       BPS             : 110894
>       DURATION        : 00:24:27.091000000
>       NUMBER_OF_FRAMES: 1418
>       NUMBER_OF_BYTES : 20336538
>       _STATISTICS_WRITING_APP: mkvmerge v59.0.0 ('Shining Star') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2021-07-30 01:18:37
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
> Stream mapping:
>   Stream #0:0 -> #0:0 (hevc (native) -> mpeg4 (native))
>   Stream #0:1 -> #0:1 (truehd (native) -> ac3 (native))
>   Stream #0:2 -> #0:2 (ass (ssa) -> ass (ssa))
> Press [q] to stop, [?] for help
> [truehd @ 041bf040] Assignment of matrix channel 0 to invalid output
> channel -22 is not implemented. Update your FFmpeg version to the newest
> one from Git. If the problem still occurs, it means that your file has a
> feature which has not been implemented.
> [truehd @ 041bf040] If you want to help, upload a sample of this file to
> https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing
> list. (ffmpeg-devel at ffmpeg.org)
> [truehd @ 041bf040] No restart header present in substream 0.
> [truehd @ 041bf040] No samples to output.
> Error while decoding stream #0:1: Invalid data found when processing
> input
> [truehd @ 041bf040] No restart header present in substream 0.
> [truehd @ 041bf040] No samples to output.
> Error while decoding stream #0:1: Invalid data found when processing
> input
> [truehd @ 041bf040] No restart header present in substream 0.
> [truehd @ 041bf040] No samples to output.
> Error while decoding stream #0:1: Invalid data found when processing
> input
> [truehd @ 041bf040] No restart header present in substream 0.
> [truehd @ 041bf040] No samples to output.
> Error while decoding stream #0:1: Invalid data found when processing
> input
> [truehd @ 041bf040] No restart header present in substream 0.
> [truehd @ 041bf040] No samples to output.
> Error while decoding stream #0:1: Invalid data found when processing
> input
> [truehd @ 041bf040] No restart header present in substream 0.
> [truehd @ 041bf040] No samples to output.
> Error while decoding stream #0:1: Invalid data found when processing
> input
> [truehd @ 041bf040] No restart header present in substream 0.
> [truehd @ 041bf040] No samples to output.
> Error while decoding stream #0:1: Invalid data found when processing
> input
> [truehd @ 041bf040] No restart header present in substream 0.
> [truehd @ 041bf040] No samples to output.
> Error while decoding stream #0:1: Invalid data found when processing
> input
> [truehd @ 041bf040] No restart header present in substream 0.
> [truehd @ 041bf040] No samples to output.
> Error while decoding stream #0:1: Invalid data found when processing
> input
> [truehd @ 041bf040] No restart header present in substream 0.
> [truehd @ 041bf040] No samples to output.
> Error while decoding stream #0:1: Invalid data found when processing
> input
> [truehd @ 041bf040] No restart header present in substream 0.
> [truehd @ 041bf040] No samples to output.

New description:

 ffmpeg -i \[Beatrice-Raws\]\ Log\ Horizon\ -\ Entaku\ Houkai\ 01\ \[BDRip\
 1920x1080\ HEVC\ TrueHD\].mkv 123.mkv

   configuration:
   libavutil      57.  8.100 / 57.  8.100
   libavcodec     59. 12.100 / 59. 12.100
   libavformat    59.  8.100 / 59.  8.100
   libavdevice    59.  0.101 / 59.  0.101
   libavfilter     8. 16.102 /  8. 16.102
   libswscale      6.  1.100 /  6.  1.100
   libswresample   4.  0.100 /  4.  0.100
 [truehd @ 042edd40] Assignment of matrix channel 0 to invalid output
 channel -22 is not implemented. Update your FFmpeg version to the newest
 one from Git. If the problem still occurs, it means that your file has a
 feature which has not been implemented.
 [truehd @ 042edd40] If you want to help, upload a sample of this file to
 https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing
 list. (ffmpeg-devel at ffmpeg.org)
 [truehd @ 042edd40] No restart header present in substream 0.
 [truehd @ 042edd40] No samples to output.
 Input #0, matroska,webm, from '[Beatrice-Raws] Log Horizon - Entaku Houkai
 01 [BDRip 1920x1080 HEVC TrueHD].mkv':
   Metadata:
     encoder         : libebml v1.4.2 + libmatroska v1.6.4
     creation_time   : 2021-07-30T01:18:37.000000Z
   Duration: 00:24:32.81, start: 0.000000, bitrate: 10135 kb/s
   Chapters:
     Chapter #0:0: start 0.000000, end 61.978578
       Metadata:
         title           : Avant
     Chapter #0:1: start 61.978578, end 152.026867
       Metadata:
         title           : OP
     Chapter #0:2: start 152.026867, end 664.080067
       Metadata:
         title           : Part A
     Chapter #0:3: start 664.080067, end 1355.020333
       Metadata:
         title           : Part B
     Chapter #0:4: start 1355.020333, end 1444.985200
       Metadata:
         title           : ED
     Chapter #0:5: start 1444.985200, end 1472.805000
       Metadata:
         title           : Next
   Stream #0:0(jpn): Video: hevc (Main 10), yuv420p10le(tv, bt709),
 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
     Metadata:
       title           : BDrip by Jensen
       BPS             : 9236088
       DURATION        : 00:24:32.805000000
       NUMBER_OF_FRAMES: 35312
       NUMBER_OF_BYTES : 1700369724
       _STATISTICS_WRITING_APP: mkvmerge v59.0.0 ('Shining Star') 64-bit
       _STATISTICS_WRITING_DATE_UTC: 2021-07-30 01:18:37
       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
   Stream #0:1(jpn): Audio: truehd, 48000 Hz, stereo, s32 (24 bit)
 (default)
     Metadata:
       BPS             : 792310
       DURATION        : 00:24:32.805000000
       NUMBER_OF_FRAMES: 1767366
       NUMBER_OF_BYTES : 145864922
       _STATISTICS_WRITING_APP: mkvmerge v59.0.0 ('Shining Star') 64-bit
       _STATISTICS_WRITING_DATE_UTC: 2021-07-30 01:18:37
       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
   Stream #0:2(eng): Subtitle: ass (default)
     Metadata:
       title           : Eng
       BPS             : 943
       DURATION        : 00:24:25.120000000
       NUMBER_OF_FRAMES: 1340
       NUMBER_OF_BYTES : 172786
       _STATISTICS_WRITING_APP: mkvmerge v59.0.0 ('Shining Star') 64-bit
       _STATISTICS_WRITING_DATE_UTC: 2021-07-30 01:18:37
       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
   Stream #0:3(jpn): Subtitle: hdmv_pgs_subtitle, 1920x1080 (original)
     Metadata:
       title           : Jpn
       BPS             : 110894
       DURATION        : 00:24:27.091000000
       NUMBER_OF_FRAMES: 1418
       NUMBER_OF_BYTES : 20336538
       _STATISTICS_WRITING_APP: mkvmerge v59.0.0 ('Shining Star') 64-bit
       _STATISTICS_WRITING_DATE_UTC: 2021-07-30 01:18:37
       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream mapping:
   Stream #0:0 -> #0:0 (hevc (native) -> mpeg4 (native))
   Stream #0:1 -> #0:1 (truehd (native) -> ac3 (native))
   Stream #0:2 -> #0:2 (ass (ssa) -> ass (ssa))
 Press [q] to stop, [?] for help
 [truehd @ 041bf040] Assignment of matrix channel 0 to invalid output
 channel -22 is not implemented. Update your FFmpeg version to the newest
 one from Git. If the problem still occurs, it means that your file has a
 feature which has not been implemented.
 [truehd @ 041bf040] If you want to help, upload a sample of this file to
 https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing
 list. (ffmpeg-devel at ffmpeg.org)
 [truehd @ 041bf040] No restart header present in substream 0.
 [truehd @ 041bf040] No samples to output.
 Error while decoding stream #0:1: Invalid data found when processing input
 [truehd @ 041bf040] No restart header present in substream 0.
 [truehd @ 041bf040] No samples to output.
 Error while decoding stream #0:1: Invalid data found when processing input
 [truehd @ 041bf040] No restart header present in substream 0.
 [truehd @ 041bf040] No samples to output.
 Error while decoding stream #0:1: Invalid data found when processing input
 [truehd @ 041bf040] No restart header present in substream 0.
 [truehd @ 041bf040] No samples to output.
 Error while decoding stream #0:1: Invalid data found when processing input
 [truehd @ 041bf040] No restart header present in substream 0.
 [truehd @ 041bf040] No samples to output.
 Error while decoding stream #0:1: Invalid data found when processing input
 [truehd @ 041bf040] No restart header present in substream 0.
 [truehd @ 041bf040] No samples to output.
 Error while decoding stream #0:1: Invalid data found when processing input
 [truehd @ 041bf040] No restart header present in substream 0.
 [truehd @ 041bf040] No samples to output.
 Error while decoding stream #0:1: Invalid data found when processing input
 [truehd @ 041bf040] No restart header present in substream 0.
 [truehd @ 041bf040] No samples to output.
 Error while decoding stream #0:1: Invalid data found when processing input
 [truehd @ 041bf040] No restart header present in substream 0.
 [truehd @ 041bf040] No samples to output.
 Error while decoding stream #0:1: Invalid data found when processing input
 [truehd @ 041bf040] No restart header present in substream 0.
 [truehd @ 041bf040] No samples to output.
 Error while decoding stream #0:1: Invalid data found when processing input
 [truehd @ 041bf040] No restart header present in substream 0.
 [truehd @ 041bf040] No samples to output.

--
Comment:

 I've attached another sample with the same problem, a stereo truehd stream
 from a Blu-ray disc.

 This is a regression since 57f0b36367d4e5ccd4d2da7f69c3cac45b6236ee
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9511#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list