This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM355 Raw Video Conversion

I need to produce video on a PC to play back on a DM355 using the DVSDK and *not* using gstreamer.  If the TI decode program will play the video, it'll play fine in my application.

I obtained the ArcSoft transcode tool (thanks Juan) so I can encode the restricted MPEG4 SP stream.  It wraps it in an AVI container.

I'm having trouble with the next step, which is to extract the elementary stream from the AVI.  I thought this should simply be a matter of:

ffmpeg -i source.avi -vcodec copy output.m4v

However the file produced by this will not play - the error is "Error: Failed to decode video buffer".  To check what's going on I ran the already-stripped demo video through ffmpeg and compared the results:

ffmpeg -i davincieffect.mpeg4 -vcodec copy dvtest.m4v

The first dozen bytes had been replaced with a 40 byte header, which I assume is a MIME header or something similar.  Also various data had been appended at the end. I've seen posts on various threads claiming to have successfully used ffmpeg for this task, but not the switches required. The ancient TI wiki entry on the subject suggests the method I used above. Can someone who's successfully transcoded and extracted video to play using the raw video decoder on DM355 please post their exact method?  My ffmpeg version is 0.5-svn17737+3:0.svn20090303-1ubuntu6.

Thanks

Rob