On Tue, 24 May 2005, Jean Connelly wrote:
> Re:
> > I also made a patch for mplayer that fixes the header.
>
> YUV4MPEG2 W1920 H1080 F30000:1001 It A1:1
That looks a LOT better. With that as input the script I posted
earlier should work well.
> Thanks! I had a bit of trouble finding the utility yuvtoy4m that
Sigh - too many mailitems in flight at once (think I had 2 or 3
windows with replies being composed roundrobin). The real name
of the program you'd want is 'yuv4mpeg'.
For future reference (in case you need to deal with raw/headerless
data) the two programs are yuv4mpeg (which ADDS YUV4MPEG2 header and
frame markers to raw/headerless data streams) and y4mtoyuv to produce
a raw/headerless a stream from YUV4MPEG2 stream.
y4mtoyuv takes no arguments at all so usage is, shall we say, simple.
yuv4mpeg takes all the usual options to specify a stream's attributes:
yuv4mpeg usage: [-k] -w width -h height [-x] [-a pixel aspect] [-i p|t|b] -r
rate
Swap U and V: -k
Interlace codes [-i X]: p (none) t (top first) b (bottom first)
Rate (as ratio) [-r N:M] (30000:1001):
Pixel aspect (as ratio) [-a N:M] (10:11):
Specify chroma format [-x string] (420mpeg2)
-x help for list of formats
NOTE: Only the 3 plane formats supported
Cheers,
Steven Schultz
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Mjpeg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users