Log in

View Full Version : Play xvid with sigma em8471


xuxingjian
30th May 2002, 15:37
I am trying to using a sigma designes' em8471 mpeg-4 decoder chip to play a xvid a file. but i get some trouble.
If i use some tools such as Flaskmpg to encoding using xvid filter.
I get a avi file. I decode it by em8471 nomorly.
I modify the example file odivx_enc_dec.c to encode a
xvid file, when I decode it by em8471, I get some error.
When sence change in the movie, the screen splash quickly.
The same file encode by opendivx is decode by em8471 right.

what wrong?

Fl0ppy
31st May 2002, 20:17
i just a suggestion,are you tried to change the fourcc??pu tin to divx compatible mode, maybe works.:confused:

xuxingjian
1st June 2002, 03:24
But forcc only avaliable in filter encode mode.
:confused:

Schultz
1st June 2002, 05:05
If you installed Nic's or Koepi's builds you will have a avic program which will change the FourCC of the avi. just use that and change it to divx

xuxingjian
1st June 2002, 08:07
But I don't want to encode it as a avi file.

I see some discuss of secence chages I frame bug.
I hacked the code let it only code I frame at first.Others frame
are all of P frame.
Things get better.

But I can not visite the xivd.org to get new code which have chaned the bug. Who can mail me one?

my mail:
xuxingjian@netchina.com.cn

-h
2nd June 2002, 22:21
This is strange, the output should be identical between flaskmpeg and odivx_enc_dec.c so I'm not sure where the problem is creeping in.

Is the build of xvid.dll that flaskmpeg is using built with the same core cvs as odivx_enc_dec.c? Perhaps this is a problem introduced by the altered VOL/VOP writing code, which I think happened pretty recently.

-h

ChristianHJW
2nd June 2002, 23:36
AFAIK all MPEG4 decoder chips on the market do only 'simple profile' .. is XviD still compliant with that ? I thought its 'advanced simple profile' ?? Wrong ?

Alexy
3rd June 2002, 00:22
see the web site they tell the suport on the chip
MPEG-4 advanced simple profile level 5*
problably is a problen on xvid

http://www.sigmadesigns.com/products/xcard_features_specifications.htm

Video Decoding:


--------------------------------------------------------------------------------

MPEG-4 advanced simple profile level 5*
MPEG-2 MP@ML
MPEG-1
720x576 maximum source resolution


* without 1/4 pixel and global motion compensation

xuxingjian
3rd June 2002, 02:27
haha
I have correct this error.
Some bitstream defineed was diffrent with opendivx.
I hacked the xvid code and now the decoder is work.

Alexy
3rd June 2002, 03:12
you cand send me the binari or post a link to test on my xcard :)

xuxingjian
3rd June 2002, 04:30
This is the lib hacked by me.
you can link it with you program

xuxingjian
3rd June 2002, 04:34
sorry.
I don't know how to attach my file
If you really want it, you can give me your email address.

-h
3rd June 2002, 05:35
What part of the bitstream did you change? I'm guessing it was either the low_delay fix for B-frames (as agreed with ffmpeg), or the fbase/fincr fix.

Was there a bug that you fixed, or did you just revert to the older behaviour?

-h

xuxingjian
3rd June 2002, 06:47
It is maybe not a bug.
I see the latest cvs xvid source have add the furture .But when i run the programe build by the latest source.It's crash at the init code. So i hacked the code by myself.
This is only for support em8471 chip.

chemmajik
19th June 2002, 00:10
So what kind of results are you getting? Have you tested any interlaced 640x480 or higher 720x480(576)resolutions?

xuxingjian
19th June 2002, 04:30
sorry, I only test 352x288.
Now i am doing another project,I will test it when i have time

rui
20th June 2002, 08:53
Ok, it's a little bit off topic but i just saw this at xbilt labs.
They describe the ATI's R300 specs, and in the end it says:

Hardware MPEG-1/2/4 and DVD decoding (hardware motion compensation and DCT/IDCT).

Here is the link: http://www.xbitlabs.com/news/story.html?id=1024462399

HomR
28th June 2002, 22:59
:cool:

http://www.myhard.com/20020617/ati_r300_5-a.jpg
http://www.myhard.com/20020617/ati_r300_6-a.jpg

:)