-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Following section 7 if the how-to, I tried to use lav2mpeg:
lav2mpeg -o mpeg2 -O newbyhall.mpg newbyhall.eli /usr/bin/lav2mpeg: illegal option -- O Usage: lav2mpeg [ -s/S -k/K -f/F -l/L -n/N -y/Y ] [ -m mode ] [ -e 0|1|2 ] [ -o outputFile ] [ -b vidbitrate ] [ -a audbitrate ] [ -q 0-30 ] [ - -d XxY ] srcfile... s/S - stereo : -s=off -S=on (default auto) k/K - keep raw output files (.m1v, .m2v, .mp2) : -k=no -K=yes (default no) f/F - use fifos : -f=no -F=yes (default no) l/L - log all encoding : -l=no -L=yes (default no) n/N - be noisy (don't hide output of tools) : -n=no -N=yes (default no) y/Y - yuvdenoise : -y=don't use -Y=use (default e=1|2 use e=0 dont) m - one of MODES (see below) (default vcd) e - encoding quality : 0, 1, or 2 (default 2) o - output file ( defaults to firstInputFileName.mpg ) b - video bitrate in kbps ( only used when -o is "mpeg1" or "mpeg2" ) a - audio bitrate in kpbs ( only used when -o is not "vcd*" ) q - quality for mpeg2enc ( only used when -o is "mpeg1" or "mpeg2" ) d - dimensions XxY ( only used when -o is "mpeg1" or "mpeg2" ) defaults to same as input MODES: vcd -- standard VCD (352x240 or 352x288) vcd_medium -- 1550kbps video VCD (352x240 or 352x288) vcd_high -- 1800kbps video VCD (352x240 or 352x288) svcd -- standard SVCD (480x480 or 480x576) svcd_high -- 3000kbps(max) vbr @qual=5 (480x480 or 480x576) mpeg1 -- honor -a -b -q -d flags default resolution same as input mpeg2 -- honor -a -b -q -d flags default resolution same as input EXAMPLE: VCD: lav2mpeg file.avi - will create a VCD compatible mpeg named file.mpg mpeg2: lav2mpeg -m mpeg2 -o output.mpg file.edl - will create a mpeg2 with default bitrate in same res as input mpeg1: lav2mpeg -a 160 -b 2110 -d 320x240 -m mpeg1 -o output.mpg file.edl - will create a mpeg2 with videobitrate=2110 and audio=160 - and resolution 320x240 debug: export LOGONLY=1; lav2mpeg -m mpeg2 -o output.mpg file.edl - will print out the commands it would use to do this, but - not do anything please see the script for more info and environment variables set/used So, I changed the command to: [EMAIL PROTECTED] Data]$ lav2mpeg -m mpeg2 -o newbyhall.mpg newbyhall3.eli 11:40:20 - mode=mpeg2 - outfile=newbyhall.mpg - 11:40:20 - using mode=mpeg2, stereo=2 audio bpr=224 11:40:20 - beginning conversion of newbyhall3.eli to newbyhall.mpg 11:40:20 - had 3296 to encode 11:40:20 - beginning video encoding 11:40:20 - ugh! video encoding failed, bailing. used command: 11:40:20 - nice -n 19 lav2yuv newbyhall3.eli | nice -n 19 yuvdenoise - -F | nice -n 19 mpeg2enc -f 3 -b 1152 -q 12 -4 1 -2 1 -o newbyhall.m2v I tried the -N switch which came up with: [EMAIL PROTECTED] Data]$ lav2mpeg -N -m mpeg2 -o newbyhall.mpg newbyhall3.eli 11:43:14 - being noisy - mode=mpeg2 - outfile=newbyhall.mpg - 11:43:14 - using mode=mpeg2, stereo=2 audio bpr=224 11:43:14 - beginning conversion of newbyhall3.eli to newbyhall.mpg 11:43:14 - had 3296 to encode 11:43:14 - beginning video encoding COMMAND=nice -n 19 lav2yuv newbyhall3.eli | nice -n 19 yuvdenoise -F | nice -n 19 mpeg2enc -f 3 -b 1152 -q 12 -4 1 -2 1 -o newbyhall.m2v ++ WARN: [lav2yuv] unspecified sample-aspect-ratio --- taking a guess... INFO: [yuvdenoise] ======================================================== INFO: [yuvdenoise] Y4M2 Motion-Compensating-YCrCb-Denoiser INFO: [yuvdenoise] ======================================================== INFO: [yuvdenoise] Version: MjpegTools 1.6.2 INFO: [yuvdenoise] INFO: [yuvdenoise] Denoiser - Settings: INFO: [yuvdenoise] -------------------- INFO: [yuvdenoise] INFO: [yuvdenoise] Mode : Progressive frames INFO: [yuvdenoise] Deinterlacer : On INFO: [yuvdenoise] Postprocessing : On INFO: [yuvdenoise] Y frame size : w:768 h:576 INFO: [yuvdenoise] CbCr frame size : w:384 h:288 INFO: [yuvdenoise] Frame border : x: 0 y: 0 w:768 h:576 INFO: [yuvdenoise] Search radius : 8 INFO: [yuvdenoise] Y Filter delay : 3 INFO: [yuvdenoise] Cr Filter delay : 3 INFO: [yuvdenoise] Cb Filter delay : 3 INFO: [yuvdenoise] Y Filter threshold : 5 INFO: [yuvdenoise] Cr Filter threshold : 5 INFO: [yuvdenoise] Cb Filter threshold : 5 INFO: [yuvdenoise] Pass 2 threshold : 4 INFO: [yuvdenoise] Y - contrast : 100 % INFO: [yuvdenoise] Cr/Cb - contrast : 100 % INFO: [yuvdenoise] Sharpen : 125 % INFO: [yuvdenoise] INFO: [yuvdenoise] Using 4:2:0 extended MMX SIMD optimisations. INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION! INFO: [mpeg2enc] SETTING MMX for TRANSFORM! INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION! INFO: [mpeg2enc] Selecting generic MPEG2 output profile INFO: [mpeg2enc] Assuming norm PAL INFO: [mpeg2enc] Progressive input - selecting progressive encoding. INFO: [mpeg2enc] Encoding MPEG-2 video to newbyhall.m2v INFO: [mpeg2enc] Horizontal size: 768 pel INFO: [mpeg2enc] Vertical size: 576 pel INFO: [mpeg2enc] Aspect ratio code: 1 = 1:1 pixels INFO: [mpeg2enc] Frame rate code: 3 = 25.0 (PAL/SECAM VIDEO / converted FILM) INFO: [mpeg2enc] Bitrate: 1152 KBit/s INFO: [mpeg2enc] Quality factor: 12 (Quantisation = 17) (1=best, 31=worst) INFO: [mpeg2enc] Field order for input: none/progressive INFO: [mpeg2enc] Sequence unlimited length INFO: [mpeg2enc] Search radius: 16 INFO: [mpeg2enc] GOP SIZE RANGE 9 TO 15 INFO: [mpeg2enc] Setting colour/gamma parameters to "PAL B/G" INFO: [mpeg2enc] Progressive format frames = 1 **ERROR: [mpeg2enc] Horizontal size is greater than permitted in specified Level 11:43:14 - ugh! video encoding failed, bailing. used command: 11:43:14 - nice -n 19 lav2yuv newbyhall3.eli | nice -n 19 yuvdenoise - -F | nice -n 19 mpeg2enc -f 3 -b 1152 -q 12 -4 1 -2 1 -o newbyhall.m2v I presume that the clue is in the line ++ WARN: [lav2yuv] unspecified sample-aspect-ratio --- taking a guess... ? What do I need to do about this? Anne - -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAsyZgkFAvMr/nNX8RAibtAKCCIQ9XQSyvgp5Q9lcJnDfIEPhH6wCfQMB+ HFxMw0QlTOaZuo+zyQUKheo= =9Rpj -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users