(Maybe someone on mjpeg-users has advice for Howard? :-) ) ---------- Forwarded message ---------- Date: Mon, 12 Jul 2010 22:51:41 -0500 From: Howard Helsinger <hhelsin...@gmail.com> To: Andrew <andrew.stev...@mnet-online.de>, Gernot <g...@lysator.liu.se>, Ronald <rbul...@ronald.bitfreak.net>, Bernhard <shadowl...@utanet.at> Subject: Mjpegtools problems
Can anyone offer advice? I get this error which doesn't seem right: **ERROR: [mpeg2enc] display_horizontal_size must be in range 0...16383 This doesn't seem right because the man page says the range can be to 38363. I'm trying to convert video files from my Canon 7D, so they can be edited in Cinelerra. Here is the code I'm using: ffmpeg -i $ORIGINAL -vcodec ffvhuff -s 1920x1088 -threads 8 -f yuv4mpegpipe - | mpeg2enc --multi-thread 8 --verbose 0 --aspect 3 --format 13 --frame-rate 5 --video-bitrate 24000 --nonvideo-bitrate 384 --interlace-mode 0 --force-b-b-p --video-buffer 448 --video-norm n --keep-hf --no-constraints --sequence-header-every-gop --min-gop-size 6 --max-gop-size 6 -o $NEW.m2v Here is the full output to that: FFmpeg version SVN-r24181-snapshot, Copyright (c) 2000-2010 the FFmpeg developers built on Jul 11 2010 15:01:46 with gcc 4.4.3 configuration: --enable-nonfree --enable-libfaac libavutil 50.21. 0 / 50.21. 0 libavcodec 52.81. 0 / 52.81. 0 libavformat 52.73. 0 / 52.73. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.22. 0 / 1.22. 0 libswscale 0.11. 0 / 0.11. 0 Seems stream 0 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 29.97 (30000/1001) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_0005.MOV': Metadata: major_brand : qt minor_version : 537331968 compatible_brands: qt CAEP Duration: 00:00:22.95, start: 0.000000, bitrate: 47495 kb/s Stream #0.0(eng): Video: h264, yuvj420p, 1920x1088, 45955 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s [ffmpeg_output @ 0x8d385c0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out' [scale @ 0x8d38850] w:1920 h:1088 fmt:yuvj420p -> w:1920 h:1088 fmt:yuv420p flags:0xa0000004 Output #0, yuv4mpegpipe, to 'pipe:': Metadata: encoder : Lavf52.73.0 Stream #0.0(eng): Video: ffvhuff, yuv420p, 1920x1088, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding ++ WARN: [mpeg2enc] Specified display frame-rate 30.00 will over-ride ++ WARN: [mpeg2enc] (different!) frame-rate 29.97 of the input stream **ERROR: [mpeg2enc] display_horizontal_size must be in range 0...16383 The Canon file is 1920x1080 and 30P ==29.97. When I change the frame rate code from 5 (=30) to 4 = 29.97 the message about frame rate changes to: ++ WARN: [mpeg2enc] Specified display frame-rate 29.97 will over-ride ++ WARN: [mpeg2enc] (different!) frame-rate 59.94 of the input stream That doesn't make sense, since the input stream should still be 29.97, as it was before. Anyway --- if you can offer some suggestions that will be appreciated. Otherwise I'll have to buy Adobe Premium and edit in Windows --- alas!!!. ________________________________________________________________________ Howard Helsinger - 5723 S. Kenwood - Chicago, IL 60637 LINUX ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users