Opened 3 years ago

Last modified 2 years ago

#5468 open defect

on2avc (0x0501): improve decoding of stereo 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

https://samples.mplayerhq.hu/V-codecs/VP6/wagner-700.vp6

https://samples.mplayerhq.hu/V-codecs/VP5/BeautifulMind_640vp5-750.vp5

https://samples.mplayerhq.hu/V-codecs/VP6/Xmen-avc-500.vp6

three more samples are here:

https://www.datafilehost.com/d/05f10ede

C:\>ffmpeg -i wagner-700.vp6 out.wav
ffmpeg version N-79546-g13406b6 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --
enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -lw
inmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapsh
ots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/sna
pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --
enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-li
bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-li
bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx --disab
le-decoder=libvpx
  libavutil      55. 22.100 / 55. 22.100
  libavcodec     57. 35.100 / 57. 35.100
  libavformat    57. 34.102 / 57. 34.102
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[on2avc @ 0x2c47d80] Stereo mode support is not good, patch is welcome
Input #0, avi, from 'wagner-700.vp6':
  Duration: 00:02:49.23, start: 0.000000, bitrate: 816 kb/s
    Stream #0:0: Video: vp6 (VP62 / 0x32365056), yuv420p, 624x352, 700 kb/s, 29.
97 fps, 29.97 tbr, 29.97 tbn
    Stream #0:1: Audio: avc ([1][5][0][0] / 0x0501), 44100 Hz, stereo, fltp, 96
kb/s
[on2avc @ 0x2899020] Stereo mode support is not good, patch is welcome
[wav @ 0x289c020] Using AVStream.codec to pass codec parameters to muxers is dep
recated, use AVStream.codecpar instead.
Output #0, wav, to 'out.wav':
  Metadata:
    ISFT            : Lavf57.34.102
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16
, 1411 kb/s
    Metadata:
      encoder         : Lavc57.35.100 pcm_s16le
Stream mapping:
  Stream #0:1 -> #0:0 (avc (on2avc) -> pcm_s16le (native))
Press [q] to stop, [?] for help
size=   29152kB time=00:02:49.22 bitrate=1411.2kbits/s speed= 285x
video:0kB audio:29152kB subtitle:0kB other streams:0kB global headers:0kB muxing
 overhead: 0.000261%

Attachments (39)

11khz_mono_8kbps.avi (594.6 KB) - added by ami_stuff 3 years ago.
11khz_stereo_16kbps.avi (623.8 KB) - added by ami_stuff 3 years ago.
11khz_stereo_40kbps.avi (707.7 KB) - added by ami_stuff 3 years ago.
12khz_mono_8kbps.avi (594.6 KB) - added by ami_stuff 3 years ago.
12khz_mono_16kbps.avi (623.3 KB) - added by ami_stuff 3 years ago.
12khz_stereo_16kbps.avi (624.7 KB) - added by ami_stuff 3 years ago.
16khz_mono_8kbps.avi (599.5 KB) - added by ami_stuff 3 years ago.
16khz_mono_48kbps.avi (740.3 KB) - added by ami_stuff 3 years ago.
16khz_stereo_16kbps.avi (628.6 KB) - added by ami_stuff 3 years ago.
16khz_stereo_64kbps.avi (798.0 KB) - added by ami_stuff 3 years ago.
22khz_mono_8kbps.avi (605.6 KB) - added by ami_stuff 3 years ago.
22khz_mono_64kbps.avi (802.9 KB) - added by ami_stuff 3 years ago.
22khz_stereo_16kbps.avi (634.7 KB) - added by ami_stuff 3 years ago.
22khz_stereo_80kbps.avi (863.8 KB) - added by ami_stuff 3 years ago.
24khz_mono_8kbps.avi (607.5 KB) - added by ami_stuff 3 years ago.
24khz_mono_64kbps.avi (804.1 KB) - added by ami_stuff 3 years ago.
24khz_stereo_16kbps.avi (636.7 KB) - added by ami_stuff 3 years ago.
24khz_stereo_64kbps.avi (807.4 KB) - added by ami_stuff 3 years ago.
32khz_mono_16kbps.avi (644.6 KB) - added by ami_stuff 3 years ago.
32khz_mono_96kbps.avi (925.7 KB) - added by ami_stuff 3 years ago.
32khz_stereo_32kbps.avi (702.8 KB) - added by ami_stuff 3 years ago.
32khz_stereo_128kbps.avi (1.0 MB) - added by ami_stuff 3 years ago.
44khz_mono_32kbps.avi (701.6 KB) - added by ami_stuff 3 years ago.
44khz_mono_256kbps.avi (1.5 MB) - added by ami_stuff 3 years ago.
44khz_stereo_64kbps.avi (831.2 KB) - added by ami_stuff 3 years ago.
44khz_stereo_256kbbp.avi (1.5 MB) - added by ami_stuff 3 years ago.
48khz_mono_32kbps.avi (704.3 KB) - added by ami_stuff 3 years ago.
48khz_mono_256kbps.avi (1.5 MB) - added by ami_stuff 3 years ago.
48khz_stereo_64kbps.avi (835.2 KB) - added by ami_stuff 3 years ago.
48khz_stereo_256kbps.avi (1.5 MB) - added by ami_stuff 3 years ago.
32khz_32kbps.vp7 (707.1 KB) - added by ami_stuff 2 years ago.
32khz_64kbps.vp7 (853.9 KB) - added by ami_stuff 2 years ago.
32khz_128kbps.vp7 (1.1 MB) - added by ami_stuff 2 years ago.
44khz_64kbps.vp7 (865.1 KB) - added by ami_stuff 2 years ago.
44khz_128kbps.vp7 (1.1 MB) - added by ami_stuff 2 years ago.
44khz_256kbps.vp7 (1.7 MB) - added by ami_stuff 2 years ago.
48khz_64kbps.vp7 (869.8 KB) - added by ami_stuff 2 years ago.
48khz_128kbps.vp7 (1.1 MB) - added by ami_stuff 2 years ago.
48khz_256kbps.vp7 (1.7 MB) - added by ami_stuff 2 years ago.

Change History (53)

comment:2 Changed 3 years ago by cehoyos

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

comment:3 Changed 3 years ago by cehoyos

  • Status changed from new to open

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

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

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:4 Changed 3 years ago by ami_stuff

attached some more samples

C:\>ffmpeg -i 48khz_mono_256kbps.avi -f null -
ffmpeg version N-80043-g1499242 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --
enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -lw
inmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapsh
ots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/sna
pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --
enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-li
bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-li
bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx --disab
le-decoder=libvpx
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 42.100 / 57. 42.100
  libavformat    57. 36.100 / 57. 36.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.100 /  6. 46.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, avi, from '48khz_mono_256kbps.avi':
  Duration: 00:00:30.08, start: 0.000000, bitrate: 414 kb/s
    Stream #0:0: Video: msvideo1 (MSVC / 0x4356534D), rgb555le, 320x240, 144 kb/
s, 25 fps, 25 tbr, 25 tbn
    Stream #0:1: Audio: avc ([1][5][0][0] / 0x0501), 48000 Hz, mono, fltp, 256 k
b/s
[null @ 0x28ce020] Using AVStream.codec to pass codec parameters to muxers is de
precated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.36.100
    Stream #0:0: Video: wrapped_avframe, rgb555le, 320x240, q=2-31, 200 kb/s, 25
 fps, 25 tbn
    Metadata:
      encoder         : Lavc57.42.100 wrapped_avframe
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
    Metadata:
      encoder         : Lavc57.42.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (msvideo1 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (avc (on2avc) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
[on2avc @ 0x28cfac0] stereo mode window for mono audio
Error while decoding stream #0:1: Invalid data found when processing input
frame=  752 fps=0.0 q=-0.0 Lsize=N/A time=00:00:30.08 bitrate=N/A speed= 107x

video:282kB audio:2706kB subtitle:0kB other streams:0kB global headers:0kB muxin
g overhead: unknown
Last edited 3 years ago by ami_stuff (previous) (diff)

comment:5 Changed 3 years ago by richardpl

Are you sure that dll is correct?

comment:6 Changed 3 years ago by ami_stuff

It should be this, here is full archive:

http://www.megafileupload.com/omgZ/ra.7z

comment:7 Changed 3 years ago by richardpl

What you used to play/generate those?

comment:8 follow-up: Changed 3 years ago by ami_stuff

some old version of realplayer, but you need to change extension from avi to vp5 to play attached files with realplayer (with installed on2 plugins) IIRC

comment:9 follow-up: Changed 3 years ago by compn

if its a realaudio codec, and you are trying to get it loading in mplayer, you have to specify driver realaud in mplayer codecs.conf...

i dont think i ever tried adding this codec to mplayer. if you get it working please post codecs.conf entry.

comment:10 in reply to: ↑ 8 Changed 3 years ago by ami_stuff

Replying to ami_stuff:

some old version of realplayer, but you need to change extension from avi to vp5 to play attached files with realplayer (with installed on2 plugins) IIRC

http://www.oldversion.com/windows/realplayer-10

+

http://www.megafileupload.com/omgZ/ra.7z (realclientvp5install.exe)

works here

Version 0, edited 3 years ago by ami_stuff (next)

comment:11 in reply to: ↑ 9 Changed 3 years ago by ami_stuff

Replying to compn:

if its a realaudio codec, and you are trying to get it loading in mplayer, you have to specify driver realaud in mplayer codecs.conf...

i dont think i ever tried adding this codec to mplayer. if you get it working please post codecs.conf entry.

I will try later.

comment:12 follow-up: Changed 3 years ago by ami_stuff

Here is On2 encoder (On2CompI) with their own player (TrueCast? Player):

http://www.megafileupload.com/opbD/On2_Video_Solution_-_Small_Business_Edition.exe

Last edited 3 years ago by ami_stuff (previous) (diff)

Changed 2 years ago by ami_stuff

Changed 2 years ago by ami_stuff

Changed 2 years ago by ami_stuff

Changed 2 years ago by ami_stuff

Changed 2 years ago by ami_stuff

Changed 2 years ago by ami_stuff

Changed 2 years ago by ami_stuff

Changed 2 years ago by ami_stuff

Changed 2 years ago by ami_stuff

comment:13 Changed 2 years ago by ami_stuff

attached a few better samples

Note: See TracTickets for help on using tickets.