Opened 2 years ago

Closed 2 years ago

#9506 closed defect (fixed)

TrueHD 6ch fails to be parsed

Reported by: eugenesv Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: thd regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

somewhere between
ffmpeg-2021-09-22-git-447cf53774-essentials_build and
ffmpeg-2021-09-30-git-3ee4502753-essentials_build

a bug was introduced that prevents conversion on 5.1 channel TrueHD files (2 channel files work fine) with the following error:


[truehd @ 000002b45a68f700] 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 @ 000002b45a68f700] 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@ffmpeg.org)
[truehd @ 000002b45a68f700] No restart header present in substream 0.
[truehd @ 000002b45a68f700] No samples to output.

How to reproduce:

ffmpeg version 2021-09-30-git-3ee4502753-essentials_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers

% ffmpeg.exe -i in6ch.thd

(again, this works with ffmpeg-2021-09-22-git-447cf53774-essentials_build)

Attachments (2)

in6ch.thd (115.6 KB ) - added by eugenesv 2 years ago.
in6ch.2.thd (115.6 KB ) - added by eugenesv 2 years ago.

Download all attachments as: .zip

Change History (7)

by eugenesv, 2 years ago

Attachment: in6ch.thd added

by eugenesv, 2 years ago

Attachment: in6ch.2.thd added

comment:1 by Balling, 2 years ago

It is commit 57f0b36367d4e5ccd4d2da7f69c3cac45b6236ee to be precise. If you are decoding stuff from before that commit with a different ffmpeg created with cd7e25b14a2a27b73874b5f79a04ae5db738f7f6 encoder modification... P.S. Though apparently it has problem even on HEAD of master.

Not going to analyse it further though.

Last edited 2 years ago by Balling (previous) (diff)

comment:2 by Balling, 2 years ago

Status: newopen

Were these files created by ffmpeg native truehd encoder? Or by Plex ffmpeg modification? Or what?

Last edited 2 years ago by Balling (previous) (diff)

in reply to:  2 comment:3 by eugenesv, 2 years ago

Replying to Balling:

Were these files created by ffmpeg native truehd encoder? Or by Plex ffmpeg modification? Or what?

No, don't know how these were created, they're from an external source. But when I create TrueHD files with ffmpeg, I get the same error for 6ch and none for 2ch

comment:4 by Balling, 2 years ago

Keywords: thd regression added; TrueHD removed

comment:5 by eugenesv, 2 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.