Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

yuv2lav(1) [debian man page]

yuv2lav(1)							MJPEG tools manual							yuv2lav(1)

NAME
yuv2lav - encodes lavtool's raw YUV frame streams into MJPEG files SYNOPSIS
yuv2lav [-f a|A|q|m] [-q num] [-b num] [-I num] [-m num] [-v num] [-w file] -o output-file DESCRIPTION
yuv2lav is a simple MJPEG encoder for raw YUV frame streams as they are emitted by lav2yuv(1) or lavpipe(1), for example. It reads its input from stdin and is capable of writing AVI and Quicktime. OPTIONS
The command line options allow to specify the output file name, JPEG encoding quality and the amount of memory that will be allocated for JPEG compressed data. -o output-file This (compulsorary) option sets the name of the file that yuv2lav will write its output to. If the output file contains a % (e.g. file%02d.avi), the output will be written to multiple files in case this is necessary (file00.avi, file01.avi and so on). -f a|A|q This sets the output file format, which has to be one of a - for AVI file output, A - for AVI with reversed fields, q - for Quicktime output or AVI with reversed field of course only makes sense if yuv2lav's feed is an interlaced video source and should only be needed if you experience frame reversal problems in your output. If you don't use that option yuv2lav will set the output format to AVI if the last 3 char are avi, or to Quicktime if you use mov. If you use the -f option it overides the setting in the filename -q num This option specifies the JPEG encoding quality as passed through to libjpeg. The default value is 80, num must lie within 24...100 inclusive (think of it as percentage values, although with a lossy compression algorithm like JPEG, keeping 100% of the original quality is of course not really possible). -b num This option specifies the size of the buffer (in kBytes) that yuv2lav allocates in order to store the compressed JPEG data in it. The default value (256k) is perfectly enough for 100% quality full sized PAL/NTSC, but if you want to compress Super-Mega-HDTV or if you are low on memory, you can use this option to suit your needs. -m num This is the maximum size (in MB) per file. Normally this depends on the output file type. -I num Force a specific interlacing type. 0 means no interlacing, 1 means top-field-first, 2 means bottom-field-first. -w file This is the WAV file containing audio data to be combined with the video stream into the output file. -v num Verbosity level. 0 means only print error messages, 2 prints full debug output. -? Display a synopsis of the command syntax. EXAMPLES
lav2yuv movie.avi | yuv2lav -fq -q 30 lowbitrate.qt would recompress movie.avi as a low bit rate Quicktime file. lavpipe input.pli | yuv2lav -q80 output.avi would save the movie assembled by lavpipe as a single AVI file. BUGS
If you experience any problems with this tool, please feel free to contact the developers (see below). AUTHOR
This man page was written by pHilipp Zabel. If you have questions, remarks, problems or you just want to contact the developers, the main mailing list for the MJPEG-tools is: mjpeg-users@lists.sourceforge.net For more info, see our website at http://mjpeg.sourceforge.net/ SEE ALSO
lav2yuv(1), lavpipe(1), lavplay(1), lavrec(1), mpeg2enc(1), yuvscaler(1) MJPEG Linux Square 2 June 2001 yuv2lav(1)

Check Out this Related Man Page

yuvkineco(1)							MJPEG tools manual						      yuvkineco(1)

NAME
yuvkineco - revert 2-3 pulldown movie SYNOPSIS
yuvkineco [options] [-C PATH] yuvkineco [options] -O|N PATH DESCRIPTION
yuvkineco reverts to original non-interlaced frames, from NTSC video which was film sourced and 2-3 pulled down. Input fps code must be 4(29.97fps), output fps code can be selected from 1(23.97fps) to 4(29.97fps). If 2, 3 or 4 selected, duplicated frames remain but they are reverted to non-interlaced. If input was non-interlaced only remove duplicate frames. Interlaced frame detection may fail in conditions like: Pull down cycle changed (video editing). Low quality pull down. Motionless scene. If -C PATH was specified, yuvkineco outputs 2-3 pull down cycle list to the file. You can edit this file by hand and feed it to yuvkineco with -O or -N option to correct mistake of 1st yuvkineco. Try -C and see cycle list. EXAMPLE #1: for 24p movie / automatically lav2yuv 60i.eli | yuvkineco -F 1 | yuv2lav -f a -I 0 -o 24p.avi EXAMPLE #2: for 30p/24p mix / automatically lav2yuv 60i.eli | yuvkineco -F 4 | yuv2lav -f a -I 0 -o 30p.avi EXAMPLE #3: for 24p movie / check and repair lav2yuv 60i.eli | yuvkineco -F 1 -C 60i.23c | yuv2lav -f a -I 1 -o take1.avi glav -F +n take1.avi # check and edit 60i.23c lav2yuv take1.avi | yuvkineco -F 1 -N 60i.23c | yuv2lav -f a -I 0 -o take2.avi EXAMPLE #4: for 24p movie / check and retry lav2yuv 60i.eli | yuvkineco -F 1 -C 60i.23c | yuv2lav -f a -I 0 -o take1.avi glav -F +n take1.avi # check and edit 60i.23c lav2yuv 60i.eli | yuvkineco -F 1 -O 60i.23c | yuv2lav -f a -I 0 -o take2.avi OPTIONS
yuvkineco accepts the following options: -F FPSCODE Set output fps code (default: same as input). -C PATH Specify 2-3 pull down cycle list file name to write. -O PATH Specify cycle list name to read with old yuv stream to retry. -N PATH Specify cycle list name to read with new yuv stream to repair. -S MIN Use yuvycsnoise(1) as preprocessor and specify minimum threshold. -n LEVEL Specify noise level of input (default: 10). This affects both pulldown cycle detection and deinterlacing. -c THRESHOLD Specify threshold to decide pictures in 2 frames are same (default: 4). yuvkineco compares several frames, searches pair of frame they contain same pictures, to decide which frame should be dropped. If THRESHOLD is 0, pair which has smallest difference will be selected. If 16, selected from pairs those have differences smaller than average. -i PERMIL yuvkineco deinterlaces each frame after 2-3 pulldown reverting process, specify how much pixels deinterlaced to decide to use or not use deinterlacing result (default: 10). If PERMIL is 10 and 1% or more of pixels deinterlaced, deinterlacing result will be used. If 0, always deinterlacing result will be used. If 1000, deinterlacing result will not be used, but deinterlacing process will run on all of frames. To disable deinterlacing process, specify negative value. -u Set interlace information in header of output to unknown (default: non-interlaced). AUTHOR
yuvkineco was written by Kawamata/Hitoshi. If you have questions, remarks, problems or you just want to contact the developers, the main mailing list for the MJPEG-tools is: mjpeg-users@lists.sourceforge.net For more info, see our website at http://mjpeg.sourceforge.net/ SEE ALSO
mjpegtools(1), yuvycsnoise(1). MJPEG Linux Square 5 February 2002 yuvkineco(1)
Man Page