[MPlayer-users] mjpeg corrupted file

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Feb 12 16:16:08 CET 2007


Hello,
On Sun, Feb 11, 2007 at 03:27:59PM +0100, info at danielerossi.net wrote:
> I'm trying to play some mjpeg files from my canon photocamera.
> It seems the files are corrupted.
> The dimension of a single file is around 150 mb, and semmes to have pcm 
> audio and mjpeg video stream.
> 
> I tried mplayer with the -sb option as well as -ni, -nobps and/or -mc 
> 0(page 5.5 of the manual)
> 
> Is there a other way to rescue the file?
> Eventually edit the header manually?
> (...The mjpeg stream should be a sequence of jpeg steam,  without key 
> frame..)

?? mjpeg is all-keyframe, always...
Anyway, you can get the video of the broken file with
mplayer -demuxer lavf -lavfdopts format=mjpeg MVI_3011.avi
(need latest SVN version to use the format= option).
No idea how to extract the audio though.

Greetings,
Reimar Döffinger



More information about the MPlayer-users mailing list