[Ffmpeg-devel] [PATCH] Chinese AVS video decoder

matthieu castet castet.matthieu
Wed Jun 28 21:11:27 CEST 2006


Hi,

Stefan Gehrer wrote:
> Hi list,
> 
> attached is my decoder for the Chinese AVS video standard, adapted for
> lavc inclusion.
> The current status is:
> 
> - It decodes the supplied test streams (http://www.avs.org.cn/fruits, 
>   9 clips in left column) without visible artefacts. The decoded frames
>   show minor differences to the GPL decoder supplied by the NSCC at
>   http://cosoft.org.cn/projects/avsdec/ (or OpenAVS at sourceforge for 
>   that matter, the code seems almost identical). Some of these
>   differences come from bugs in the NSCC decoder I found, some others
>   I am still investigating.
i tried http://www.avs.org.cn/fruits/software/stream04.avs and I saw 
some artefacts.

I am using svn version of ffmpeg on a athlon XP1800+.

I don't know how to take a screenshot with ffplay, so i have nothing to 
show :(.


Transcoding seems also broken :
./ffmpeg -i /dev/shm/stream04.avs /dev/shm/toto.avi
FFmpeg version SVN-r5538, Copyright (c) 2000-2004 Fabrice Bellard
   configuration:  --prefix=/usr/local/stow/ffmpegcvs/ --enable-gpl 
--enable-pp
   libavutil version: 49.0.0
   libavcodec version: 51.9.0
   libavformat version: 50.4.0
   built on Jun 28 2006 19:46:55, gcc: 4.1.2 20060613 (prerelease) 
(Debian 4.1.1-5)
Input #0, mpeg, from '/dev/shm/stream04.avs':
   Duration: 00:07:40.4, start: 0.213367, bitrate: 2732 kb/s
   Stream #0.0[0x1e0]: Video: cavs, yuv420p, 720x480, 29.97 fps(r)
   Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 160 kb/s
Output #0, avi, to '/dev/shm/toto.avi':
   Stream #0.0: Video: mpeg4, yuv420p, 720x480, q=2-31, 200 kb/s, 29.97 
fps(c)
   Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
Stream mapping:
   Stream #0.0 -> #0.0
   Stream #0.1 -> #0.1
Press [q] to stop encoding
[cavs @ 0x8454fec]unexpected start code 0xb6
[cavs @ 0x8454fec]weighted prediction not yet supported
Segmentation fault

Thanks for your works

Matthieu




More information about the ffmpeg-devel mailing list