New submission from Carl Eugen Hoyos <[email protected]>:

Audio for the sample from issue 2290
(samples/ffmpeg-bugs/roundup/issue2290/DEMO.MPC) is incorrectly auto-detected,
out2.wav is white-noise, out1.wav plays fine:

$ ffmpeg -i DEMO.MPC out2.wav
FFmpeg version SVN-r25432, Copyright (c) 2000-2010 the FFmpeg developers
  built on Oct 10 2010 10:04:15 with gcc 4.4.4
  configuration: --cc=/usr/local/gcc-4.4.4/bin/gcc
  libavutil     50.32. 3 / 50.32. 3
  libavcore      0. 9. 1 /  0. 9. 1
  libavcodec    52.92. 0 / 52.92. 0
  libavformat   52.80. 0 / 52.80. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.48. 0 /  1.48. 0
  libswscale     0.12. 0 /  0.12. 0
[ea @ 0x11c9470] max_analyze_duration reached
[ea @ 0x11c9470] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 59.94
(60000/1001) -> 29.97 (60000/2002)
Input #0, ea, from 'DEMO.MPC':
  Duration: 00:01:01.85, start: 0.000000, bitrate: 4235 kb/s
    Stream #0.0: Video: mpeg2video, yuv420p, 640x448 [PAR 1:1 DAR 10:7], 3851
kb/s, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0.1: Audio: adpcm_ea_r2, 48000 Hz, 2 channels, s16, 384 kb/s
Output #0, wav, to 'out2.wav':
  Metadata:
    encoder         : Lavf52.80.0
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding
size=   12781kB time=68.17 bitrate=1536.0kbits/s    ^M
video:0kB audio:12781kB global headers:0kB muxing overhead 0.000336%

$ ffmpeg -acodec adpcm_ea_r1 -i DEMO.MPC out1.wav
FFmpeg version SVN-r25432, Copyright (c) 2000-2010 the FFmpeg developers
  built on Oct 10 2010 10:04:15 with gcc 4.4.4
  configuration: --cc=/usr/local/gcc-4.4.4/bin/gcc
  libavutil     50.32. 3 / 50.32. 3
  libavcore      0. 9. 1 /  0. 9. 1
  libavcodec    52.92. 0 / 52.92. 0
  libavformat   52.80. 0 / 52.80. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.48. 0 /  1.48. 0
  libswscale     0.12. 0 /  0.12. 0
[ea @ 0x11c9490] max_analyze_duration reached
[ea @ 0x11c9490] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 59.94
(60000/1001) -> 29.97 (60000/2002)
Input #0, ea, from 'DEMO.MPC':
  Duration: 00:01:01.85, start: 0.000000, bitrate: 4235 kb/s
    Stream #0.0: Video: mpeg2video, yuv420p, 640x448 [PAR 1:1 DAR 10:7], 3851
kb/s, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0.1: Audio: adpcm_ea_r1, 48000 Hz, 2 channels, s16, 384 kb/s
Output #0, wav, to 'out1.wav':
  Metadata:
    encoder         : Lavf52.80.0
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding
size=   12781kB time=68.17 bitrate=1536.0kbits/s    ^M
video:0kB audio:12781kB global headers:0kB muxing overhead 0.000336%

----------
messages: 12232
priority: normal
status: open
substatus: open
title: adpcm_ea_r1 is not auto-detected

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

Reply via email to