Carl Eugen Hoyos <[email protected]> added the comment:

The (presumably) same issue was reported again:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-July/080777.html
http://thread.gmane.org/gmane.comp.video.mplayer.user/64288
Additional sample last_stand_cut.mkv uploaded to incoming/issue2123
Down-mixing (to two channels) fails for both samples and the channel order is
wrong for both samples (at least I am unable to play the resulting wav files
with correct channel order with MPlayer, vlc and aplay - maybe related to issue
715).
The Matroska sample is (mis-) detected as 6 channel (before remuxing into dts),
producing strong audible artefacts in the decoded stream and ffplay plays no
sound at all (while MPlayer only shows the first frame with -ac ffdca).

ffmpeg -i last_stand_cut.mkv test.wav
FFmpeg version SVN-r24514, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 27 2010 00:10:18 with gcc 4.4.4
  configuration: --cc=/usr/local/gcc-4.4.4/bin/gcc
  libavutil     50.23. 0 / 50.23. 0
  libavcore      0. 0. 0 /  0. 0. 0
  libavcodec    52.84. 0 / 52.84. 0
  libavformat   52.77. 0 / 52.77. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.26. 1 /  1.26. 1
  libswscale     0.11. 0 /  0.11. 0
[matroska @ 0x11d6470] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95
(20000000/417083) -> 23.98 (24000/1001)
Input #0, matroska, from 'last_stand_cut.mkv':
  Metadata:
    title           : X-Men: The Last Stand (2006)
  Duration: 00:01:05.02, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264, yuv420p, 1280x532, PAR 1:1 DAR 320:133, 23.98
fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Stream #0.1(eng): Audio: dca, 48000 Hz, 6 channels, s16
    Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.3(swe): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.4(rum): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.5(nor): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.6(dan): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.7(dut): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.8(por): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.9(hun): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.10(cze): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.11: Attachment: [0][0][0][0] / 0x0000
    Metadata:
      filename        : CronosPro-Bold.ttf
    Stream #0.12: Attachment: [0][0][0][0] / 0x0000
    Metadata:
      filename        : CronosPro-Semibold.ttf
    Stream #0.13: Attachment: [0][0][0][0] / 0x0000
    Metadata:
      filename        : CronosPro-SemiboldIt.ttf
Output #0, wav, to 'test.wav':
  Metadata:
    encoder         : Lavf52.77.0
    Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, 6 channels, s16, 4608 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding
[matroska @ 0x11d6470] Read error
size=    5250kB time=9.33 bitrate=4610.6kbits/s
video:0kB audio:5250kB global headers:0kB muxing overhead 0.000818%

ffmpeg -i last_stand_cut.mkv -acodec copy last_stand_cut.dts
FFmpeg version SVN-r24514, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 27 2010 00:10:18 with gcc 4.4.4
  configuration: --cc=/usr/local/gcc-4.4.4/bin/gcc
  libavutil     50.23. 0 / 50.23. 0
  libavcore      0. 0. 0 /  0. 0. 0
  libavcodec    52.84. 0 / 52.84. 0
  libavformat   52.77. 0 / 52.77. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.26. 1 /  1.26. 1
  libswscale     0.11. 0 /  0.11. 0
[matroska @ 0x11d6470] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95
(20000000/417083) -> 23.98 (24000/1001)
Input #0, matroska, from 'last_stand_cut.mkv':
  Metadata:
    title           : X-Men: The Last Stand (2006)
  Duration: 00:01:05.02, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264, yuv420p, 1280x532, PAR 1:1 DAR 320:133, 23.98
fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Stream #0.1(eng): Audio: dca, 48000 Hz, 6 channels, s16
    Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.3(swe): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.4(rum): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.5(nor): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.6(dan): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.7(dut): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.8(por): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.9(hun): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.10(cze): Subtitle: [0][0][0][0] / 0x0000
    Stream #0.11: Attachment: [0][0][0][0] / 0x0000
    Metadata:
      filename        : CronosPro-Bold.ttf
    Stream #0.12: Attachment: [0][0][0][0] / 0x0000
    Metadata:
      filename        : CronosPro-Semibold.ttf
    Stream #0.13: Attachment: [0][0][0][0] / 0x0000
    Metadata:
      filename        : CronosPro-SemiboldIt.ttf
Output #0, dts, to 'last_stand_cut.dts':
  Metadata:
    encoder         : Lavf52.77.0
    Stream #0.0(eng): Audio: [0][0][0][0] / 0x0000, 48000 Hz, 6 channels
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding
[dts @ 0x12b57a0] st:0 error, non monotone timestamps 6570 >= 6570
    Last message repeated 6 times
[...]
[dts @ 0x12b57a0] st:0 error, non monotone timestamps 707310 >= 707310
    Last message repeated 6 times
[dts @ 0x12b57a0] st:0 error, non monotone timestamps 715050 >= 715050
size=    1474kB time=7.95 bitrate=1519.4kbits/s
video:0kB audio:1474kB global headers:0kB muxing overhead 0.000000%

last_stand_cut.dts plays fine (with 7 channels) on an A/V receiver.

fmpeg -i last_stand_cut.dts
FFmpeg version SVN-r24514, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 27 2010 00:10:18 with gcc 4.4.4
  configuration: --cc=/usr/local/gcc-4.4.4/bin/gcc
  libavutil     50.23. 0 / 50.23. 0
  libavcore      0. 0. 0 /  0. 0. 0
  libavcodec    52.84. 0 / 52.84. 0
  libavformat   52.77. 0 / 52.77. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.26. 1 /  1.26. 1
  libswscale     0.11. 0 /  0.11. 0
[dts @ 0x11d6470] max_analyze_duration reached
[dts @ 0x11d6470] Estimating duration from bitrate, this may be inaccurate
Input #0, dts, from 'last_stand_cut.dts':
  Duration: 00:00:07.85, bitrate: 1535 kb/s
    Stream #0.0: Audio: dca, 48000 Hz, 7 channels (FL|FR|FC|LFE|BC|SL|SR), s16,
1536 kb/s
At least one output file must be specified

ffmpeg -i last_stand_cut.dts -ac 2 test.wav
FFmpeg version SVN-r24514, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 27 2010 00:10:18 with gcc 4.4.4
  configuration: --cc=/usr/local/gcc-4.4.4/bin/gcc
  libavutil     50.23. 0 / 50.23. 0
  libavcore      0. 0. 0 /  0. 0. 0
  libavcodec    52.84. 0 / 52.84. 0
  libavformat   52.77. 0 / 52.77. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.26. 1 /  1.26. 1
  libswscale     0.11. 0 /  0.11. 0
[dts @ 0x11d6470] max_analyze_duration reached
[dts @ 0x11d6470] Estimating duration from bitrate, this may be inaccurate
Input #0, dts, from 'last_stand_cut.dts':
  Duration: 00:00:07.85, bitrate: 1535 kb/s
    Stream #0.0: Audio: dca, 48000 Hz, 7 channels (FL|FR|FC|LFE|BC|SL|SR), s16,
1536 kb/s
Output #0, wav, to 'test.wav':
  Metadata:
    encoder         : Lavf52.77.0
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
Error while decoding stream #0.0
[...]
Error while decoding stream #0.0
size=       0kB time=10000000000.00 bitrate=   0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead inf%

----------
substatus: needs_more_info -> reproduced

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2123>
________________________________________________

Reply via email to