#10184 closed defect (fixed)

​tta 5ch fails to decode

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

https://trac.ffmpeg.org/raw-attachment/ticket/10174/8_33_M_C0.WA

maybe 5.0 channel layout is not allowed in tta, I don't know

if that's the case then ffmpeg shouldn't be able to create such files

./ffmpeg -i 8_33_M_C0.WA -acodec tta  -ac 5  -y out.tta
ffmpeg version N-109772-gc56f5be678 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: 
  libavutil      57. 44.100 / 57. 44.100
  libavcodec     59. 63.100 / 59. 63.100
  libavformat    59. 38.100 / 59. 38.100
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 56.100 /  8. 56.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
Input #0, wavarc, from '8_33_M_C0.WA':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Audio: wavarc (0CPY / 0x59504330), 33333 Hz, mono, u8p
Stream mapping:
  Stream #0:0 -> #0:0 (wavarc (native) -> tta (native))
Press [q] to stop, [?] for help
Output #0, tta, to 'out.tta':
  Metadata:
    encoder         : Lavf59.38.100
  Stream #0:0: Audio: tta, 33333 Hz, 5.0, u8, 128 kb/s
    Metadata:
      encoder         : Lavc59.63.100 tta
size=     398kB time=00:00:09.40 bitrate= 347.0kbits/s speed= 254x       
video:0kB audio:398kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.038991%
./ffmpeg -i out.tta -y out.wav
ffmpeg version N-109772-gc56f5be678 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: 
  libavutil      57. 44.100 / 57. 44.100
  libavcodec     59. 63.100 / 59. 63.100
  libavformat    59. 38.100 / 59. 38.100
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 56.100 /  8. 56.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
[tta @ 0x564530881600] get_buffer() failed
[tta @ 0x564530881600] thread_get_buffer() failed
[tta @ 0x564530881600] get_buffer() failed
[tta @ 0x564530881600] thread_get_buffer() failed
[tta @ 0x564530881600] get_buffer() failed
[tta @ 0x564530881600] thread_get_buffer() failed
[tta @ 0x564530881600] get_buffer() failed
[tta @ 0x564530881600] thread_get_buffer() failed
[tta @ 0x564530881600] get_buffer() failed
[tta @ 0x564530881600] thread_get_buffer() failed
[tta @ 0x564530881600] get_buffer() failed
[tta @ 0x564530881600] thread_get_buffer() failed
[tta @ 0x564530881600] get_buffer() failed
[tta @ 0x564530881600] thread_get_buffer() failed
[tta @ 0x564530880440] Could not find codec parameters for stream 0 (Audio: tta, 33333 Hz, 0 channels, u8): unspecified number of channels
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, tta, from 'out.tta':
  Metadata:
    encoder         : Lavf59.38.100
  Duration: 00:00:10.00, start: 0.000000, bitrate: 326 kb/s
  Stream #0:0: Audio: tta, 33333 Hz, 0 channels, u8
Stream mapping:
  Stream #0:0 -> #0:0 (tta (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[tta @ 0x564530924900] get_buffer() failed
[tta @ 0x564530924900] thread_get_buffer() failed
[tta @ 0x5645309cf500] get_buffer() failed
[tta @ 0x5645309cf500] thread_get_buffer() failed
[tta @ 0x564530a7a200] get_buffer() failed
[tta @ 0x564530a7a200] thread_get_buffer() failed
[tta @ 0x564530b24f00] get_buffer() failed
[tta @ 0x564530b24f00] thread_get_buffer() failed
[tta @ 0x564530bcfc00] get_buffer() failed
[tta @ 0x564530bcfc00] thread_get_buffer() failed
[tta @ 0x564530c7a900] get_buffer() failed
[tta @ 0x564530c7a900] thread_get_buffer() failed
[tta @ 0x564530d25600] get_buffer() failed
[tta @ 0x564530d25600] thread_get_buffer() failed
Error while decoding stream #0:0: Invalid argument
[tta @ 0x564530dd0300] get_buffer() failed
[tta @ 0x564530dd0300] thread_get_buffer() failed
[tta @ 0x564530e7b000] get_buffer() failed
[tta @ 0x564530e7b000] thread_get_buffer() failed
[tta @ 0x564530924900] get_buffer() failed
[tta @ 0x564530924900] thread_get_buffer() failed
Error while decoding stream #0:0: Invalid argument
    Last message repeated 8 times
[graph_0_in_0_0 @ 0x564530892140] Neither number of channels nor channel layout specified
Error reinitializing filters!
Error while filtering: Invalid argument
[aost#0:0/pcm_s16le @ 0x564530887280] Finishing stream without any data written to it.
[graph_0_in_0_0 @ 0x564530891400] Neither number of channels nor channel layout specified
[aost#0:0/pcm_s16le @ 0x564530887280] Error configuring filter graph
Conversion failed!

Change History (1)

comment:1 by Elon Musk, 21 months ago

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