Opened 3 years ago

Closed 3 years ago

#6015 closed defect (duplicate)

on2avc (0x0501): fix decoding of mono modes

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: on2avc
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I can create more samples upon request.

from old ffmpeg:

[on2avc @ 03912420] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 03912420] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 03912420] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 03912420] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 03912420] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 03912420] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
C:\>ffmpeg -i mono_44khz_256kbps.vp7 out.wav
ffmpeg version 3.2.git Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.6.2 (GCC)
  configuration: --disable-pthreads --enable-gpl --disable-ffprobe
  libavutil      55. 36.100 / 55. 36.100
  libavcodec     57. 66.101 / 57. 66.101
  libavformat    57. 57.100 / 57. 57.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 66.100 /  6. 66.100
  libswscale      4.  3.100 /  4.  3.100
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[vp7 @ 0222d2c0] Warning: not compiled with thread support, using thread emulati
on
[on2avc @ 025b88c0] Warning: not compiled with thread support, using thread emul
ation
Input #0, avi, from 'mono_44khz_256kbps.vp7':
  Duration: 00:00:37.94, start: 0.000000, bitrate: 369 kb/s
    Stream #0:0: Video: vp7 (VP70 / 0x30375056), yuv420p, 320x240, 107 kb/s, 23.
97 fps, 23.97 tbr, 23.97 tbn, 23.97 tbc
    Stream #0:1: Audio: avc ([1][5][0][0] / 0x0501), 44100 Hz, mono, fltp, 256 k
b/s
[on2avc @ 0222f860] Warning: not compiled with thread support, using thread emul
ation
[pcm_s16le @ 025d3820] Warning: not compiled with thread support, using thread e
mulation
Output #0, wav, to 'out.wav':
  Metadata:
    ISFT            : Lavf57.57.100
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16,
705 kb/s
    Metadata:
      encoder         : Lavc57.66.101 pcm_s16le
Stream mapping:
  Stream #0:1 -> #0:0 (avc (on2avc) -> pcm_s16le (native))
Press [q] to stop, [?] for help
size=    3268kB time=00:00:37.94 bitrate= 705.6kbits/s speed= 173x
video:0kB audio:3268kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 0.002331%

Attachments (12)

mono_44khz_32kbps.vp7 (716.8 KB) - added by ami_stuff 3 years ago.
mono_44khz_40kbps.vp7 (758.8 KB) - added by ami_stuff 3 years ago.
mono_44khz_48kbps.vp7 (791.5 KB) - added by ami_stuff 3 years ago.
mono_44khz_56kbps.vp7 (828.4 KB) - added by ami_stuff 3 years ago.
mono_44khz_64kbps.vp7 (863.1 KB) - added by ami_stuff 3 years ago.
mono_44khz_80kbps.vp7 (942.3 KB) - added by ami_stuff 3 years ago.
mono_44khz_80kbps.2.vp7 (942.3 KB) - added by ami_stuff 3 years ago.
mono_44khz_96kbps.vp7 (1014.1 KB) - added by ami_stuff 3 years ago.
mono_44khz_128kbps.vp7 (1.1 MB) - added by ami_stuff 3 years ago.
mono_44khz_160kbps.vp7 (1.3 MB) - added by ami_stuff 3 years ago.
mono_44khz_192kbps.vp7 (1.4 MB) - added by ami_stuff 3 years ago.
mono_44khz_256kbps.vp7 (1.7 MB) - added by ami_stuff 3 years ago.

Change History (15)

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

comment:1 Changed 3 years ago by richardpl

This is duplicate of another on2avc bug, I already lost too much time on this fringe and non elegant codec. So consider giving bounty if you want it fixed.

comment:2 Changed 3 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords on2avc added
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:3 Changed 3 years ago by richardpl

  • Resolution set to duplicate
  • Status changed from open to closed

Duplicate of #5468 ticket. No need to have both open for same issue.

Note: See TracTickets for help on using tickets.