On Wed, 7 Jan 2004, Robert W. Fuller wrote:

When you export from a quicktime file to yuv4mpeg, transcode sets the frame order to "progressive/none." This does not work well with programs like "yuvkineco" which will not perform de-interlacing unless ...

That's a very common problem with programs that have yuv4mpeg2 output - the header fields are rarely 100% correct.

By the way, is there a simple editor for yuv4mpeg headers?

Not directly, but there are a couple approaches one could take.


        Write a simple wrapper shell script that does a 'read' to get
        the first line - parse it out and replace the necessary tags, echo
        that to echo out, and then pass the rest of the data thru untouched
        with cat.

The other approach uses a couple simple utilities (only in the
cvs version of mjpegtools at the moment I believe) in a pipeline.
'y4mtoyuv' to strip out the header and frame markers, and then
'yuv4mpeg' with all the parameters explicitly set. SLightly
inefficient to go thru a couple process pipeline but it is simple. Something like ' ...produce y4m... | y4mtoyuv |
yuv4mpeg -i t -r 30000:1001 -a 10:11 -w width -h height | mpeg2enc ...


        Cheers,
        Steven Schultz
--- Begin Message --- When you export from a quicktime file to yuv4mpeg, transcode sets the frame order to "progressive/none." This does not work well with programs like "yuvkineco" which will not perform de-interlacing unless the frame order is "unknown". I think it would be better for transcode to set the frame order to "unknown" when creating a yuv4mpeg file. Perhaps this could be the default or an option?

By the way, is there a simple editor for yuv4mpeg headers?



--- End Message ---


Reply via email to