>>So far i have the vob file on the HDD, and mpeg2dec reads it, but do i
>> have to use a pipe here to store the output in a file? Right now the
>> video displays on the desktop. With -o pgm i get a pgm for each >>frame.

        
>    Why not use 'mpeg2dec -o pgmpipe ...'?

I have tested this, mpeg2dec ofile.m2v -o pgmpipe | pgmtoy4m -i t -a 1:1 -r 30000:1001 -x 420mpeg2 > test.mov

But when i do a lavplay later on test.mov i get:

nable to identify file (not a supported format - avi, quicktime).
**ERROR: [lavplay] Error opening test.mov

So i am not sure if pgmtoy4m can "store" the output in a file which i can use with glav/lavplay etc... as the stuff in the manpage doesn´t tell of any option to specify an output file.

Also the audio won´t be available here, so i guess ffmpeg or mencoder will be better here to have the audio too.

BTW i might recompile the mjpegtools here as i get "Segmentation fault" very often. Either i recompile version 1.8.0 or get back to 1.6.2.

Bernhard

>    You get a stream of the 'pgm' images.  'pgmtoy4m' from >mjpegtools
>    understands that format and will assist in the repacking (it >really
>    isn't a "conversion" - the bytes themselves are not changed).  >The
>    frame size will be computed by pgmtoy4m but the rate, aspect >ratio and
>    chroma sampling info must be supplied by the user.
>
>    No, you do not have to use a pipe if you have lots of space.  >But
>    compressing DVD video will multiply the size about 20x - DVD >video
>    averages in many cases between 5 and 9 Mb/s and uncompressed >video
>    is ~125Mb/s.
>
>    Perhaps this script (which I use to recode HDTV broadcasts to >DVD)
>    will be useful (of course the aspect and frame size numbers will >need
>    to be changed if you're in a 625 line country ;)):
>
>    Cheers,
>    Steven Schultz




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to