Hallo Please send questions about the mjpegtools to the mjpeg-users malinglist.
Howard Helsinger wrote: > 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 - | Which version of the mjpegtools do you use Can a smaler videos size PAL/NTSC be encoded ? -vcodec ffvhuff does not seem to me to convert the video yuv4mpeg. I haven't found what kind of video format ffmpeg creates. Which video Format did you want to create ? I have cut out the important part: > 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 Try replacing the mpegn2enc with yuvplay. and see if the yuv format is displayed proper. If that works replace the mpeg2enc command with something like that: mpeg2enc --verbose 2 --format 3 --video-bitrate 9000 --no-constraints \ --video-buffer 448 -o test.m2v The --verbose 2 is vital because it helps a lot if you have a problem and mpeg2enc tells you everything. Turning of logging like you do makes it very hard to help. So it seems to me that you want to do what you describe in the last sentence anyways. Are there and specific reasons why you add: --force-b-b-p (helps with buggy mpeg1 decoders) --sequence-header-every-gop (needed for hardwaree players) --min-gop-size 6 --max-gop-size 6 (makes fixed GOP, MPEG2 with dynamic GOP can be smaller) > Here is the full output to that: [...] > Seems stream 0 codec frame rate differs from container frame rate: > 60000.00 (60000/1) -> 29.97 (30000/1001) > Stream #0.0(eng): Video: h264, yuvj420p, 1920x1088, 45955 kb/s, > [scale @ 0x8d38850] w:1920 h:1088 fmt:yuvj420p -> w:1920 h:1088 > fmt:yuv420p flags:0xa0000004 > Output #0, yuv4mpegpipe, to 'pipe:': [...] > 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!!!. http://sourceforge.net/apps/mediawiki/mjpeg/index.php?title=Creating_videos_from_other_sources auf hoffentlich bald, Berni the Chaos of Woodquarter Email: shadowl...@utanet.at www: http://www.lysator.liu.se/~gz/bernhard ------------------------------------------------------------------------------ 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