Opened 5 years ago

Closed 5 years ago

#1726 closed defect (fixed)

Mono TrueHD file fails to decode

Reported by: cehoyos Owned by:
Priority: important Component: undetermined
Version: git-master Keywords: thd regression mlp
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

(bug 356)
I will upload a Mono TrueHD Sample that could be converted to wav with old versions of ffmpeg (including 0.10), fails since f095391 / 27c7ca9, ffplay -ac 2 used to work well with older versions, current ffplay -request_channels 2 fails.

$ ffmpeg -i Mono.thd out.wav
ffmpeg version N-44381-g578bbf8 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep 12 2012 00:12:20 with gcc 4.5.3 (GCC)
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil      51. 72.100 / 51. 72.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 26.101 / 54. 26.101
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 16.103 /  3. 16.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
[truehd @ 0x148b240] max_analyze_duration 5000000 reached at 5000000
[truehd @ 0x148b240] Estimating duration from bitrate, this may be inaccurate
Input #0, truehd, from 'Mono.thd':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Audio: truehd, 48000 Hz, mono, s32
Output #0, wav, to 'out.wav':
  Metadata:
    encoder         : Lavf54.26.101
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s16, 768 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (truehd -> pcm_s16le)
Press [q] to stop, [?] for help
[truehd @ 0x1491620] Max channel must be equal max matrix channel.
[truehd @ 0x1491620] No restart header present in substream 1.
[truehd @ 0x1491620] get_buffer() failed
Error while decoding stream #0:0: Invalid argument
[truehd @ 0x1491620] No restart header present in substream 1.
[truehd @ 0x1491620] get_buffer() failed
Error while decoding stream #0:0: Invalid argument

...

[truehd @ 0x1491620] No restart header present in substream 1.
[truehd @ 0x1491620] get_buffer() failed
Error while decoding stream #0:0: Invalid argument
[truehd @ 0x1491620] No restart header present in substream 1.
[truehd @ 0x1491620] get_buffer() failed
Error while decoding stream #0:0: Invalid argument
size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

Change History (3)

comment:1 Changed 5 years ago by cehoyos

Sample uploaded to samples/ffmpeg-bugs/trac/ticket1726

comment:3 Changed 5 years ago by michael

  • Keywords mlp added
  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.