Cant decode mpeg-4 stream with xvid_decraw

Daniela Rainer <[email protected]> Wed, 22 Oct 2003 22:04:08 +0200
Newsgroups gmane.comp.video.xvid.user
Organization Vircinity GmbH
Message-ID <[email protected]>
Hi all,

we want to develop an application where a video
stream from a camera is sent via IP to an application 
which maps it as video texture onto 3D geometry.

As we don't have the camera yet, the camera manufacturer
send as a captured stream, which should be 
"MPEG-4 (ISO/IEC 14496)".

I tried 

./xvid_decraw -w 352 -h 288 -t 0 -i myfile.mp4

but it fails while reading the header. It doesn't
find a startcode (debug delivers <unknown: 1f9>
while reading the start_code).

As the file itself is 500K, I tried to produce a hexdump:

dd if=myfile.mp4 bs=1 count=1000 | od -t x -A x

1000+0 records in
1000+0 records out
000000 cfcfd0cf d0d0cfd0 d0cfcfcf cfcfd0d0
000010 cfcfcfcf cfd0d1cf cdcfd2cf cfd0cfce
000020 d2d2d2cf d2d1cfd0 d0d0d0d0 d0cfcfcf
000030 d1d1d0d1 d1d0cfd0 cfd0d0d1 d0d0cfd0
000040 cfcfcfd0 cecfcece d0cfcfcf cfcfcfcf
000050 cfcfcece d0cfcece cfcececf cecfcfcf
000060 cfcfcfce cececfce cfcfcfcf ced0cfd0
000070 d0d0cfcf cfd0cfcf cfcfcfd0 cfd0cfcf
000080 cfcfd0cf cfcfcfcf d0cfcfd0 cfcfd0d0
000090 d1d0cfcf cfcfcfd0 cdcecfcf cfd0d0d0
0000a0 d0cfd0cf cecfcfcf cfd1d0d0 cfd1d0d0
0000b0 d1d0d0cf cfcfd1d1 d0d0d2d1 d2d1d1d1
0000c0 d2cecfd2 cfd1d1cf d1d2d2d0 d1cfd0d0
0000d0 cfd1cfcf cfd1d2d0 d0d1d0d0 d0cfcfcf

I'm not familiar with mpeg-4, but maybe one of you can 
see the problem? 

Thanks for any ideas,

Best Regards
Daniela

-- 
-------------------------------------------------------------------------
Daniela Rainer                       | email: [email protected]
Vircinity GmbH                       | http://www.vircinity.com
Nobelstrasse 15, 70550 Stuttgart     | Tel:   +49 (0) 711 6864534 22
GERMANY                              | Fax:   +49 (0) 711 6864534 99