On Sun, 2 Nov 2003, Laurent Pinchart wrote:

> >          mplayer dvd://TITLESET [-chapter X-Y] -dumpstream
> 
> I can't do that, as I don't have the original DVD anymore. All I have is the 
> dump on my harddisc.

        Oh.   Ok - but now you know another approach for the next time ;)

> PS: I tried to use tccat | mplayer -vo yuv4mpeg and cat stream.yuv | yuvscaler 
> | mpeg2enc, but yuvscaler gives me the following message:
> 
>    INFO: [yuvscaler] Couldn't read FRAME header: bad header magic!
> **ERROR: [yuvscaler] Couldn't read frame number 15!

        When something like that happens try using either 'head -1' or
        'od -cb | more" to look at what is coming out of the previous
        stage in the pipeline.

        tccat | mplayer -vo yuv4mpeg | head -1

        or 

        tccat | mplayer -vo yuv4mpeg | od -cb | more

        Then check that there is indeed a valid YUV4MPEG2 header.  At one
        time mplayer had a bug in that the parameters in the generated
        yuv4mpeg output were bogus and later programs would have problems.

        If it's invalid a little shell script or utility to replace the
        header will do the trick.

        Steven Schultz



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to