Hi!

        To get 'I' frame only encoding I thought the method was to
        specify the min and max GOP size to be 1.   That seems to just
        put the encoder to sleep forever after printing out "Frame 1 I -1 0"

        Using

          (source of y4m data) | \
          mpeg2enc -D 10 -M 2 -g 1 -G 1 -E -10 -f 8 -K tmpgenc -q 6 -o foo.m2v

        Gives:

   INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
   INFO: [mpeg2enc] SETTING MMX for TRANSFORM!
   INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
   INFO: [mpeg2enc] Selecting DVD output profile
   INFO: [mpeg2enc] Assuming norm NTSC
   INFO: [mpeg2enc] Encoding MPEG-2 video to redhotridinghood.m2v
   INFO: [mpeg2enc] Horizontal size: 704 pel
   INFO: [mpeg2enc] Vertical size: 480 pel
   INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display
   INFO: [mpeg2enc] Frame rate code:   4 = 30000.0/1001.0 (NTSC VIDEO)
   INFO: [mpeg2enc] Bitrate: 7500 KBit/s
   INFO: [mpeg2enc] Quality factor: 6 (Quantisation = 6) (1=best, 31=worst)
   INFO: [mpeg2enc] Field order for input: bottom-field-first
   INFO: [mpeg2enc] Sequence unlimited length
   INFO: [mpeg2enc] Search radius: 16
   INFO: [mpeg2enc] GOP SIZE RANGE 1 TO 1 
   INFO: [mpeg2enc] Setting colour/gamma parameters to "NTSC"
   INFO: [mpeg2enc] Progressive format frames = 0
   INFO: [mpeg2enc] TMPGEnc Quantization matrix
   INFO: [mpeg2enc] Buffering 4 frames
   INFO: [mpeg2enc] SETTING MMX and EXTENDED MMX for QUANTIZER!
   INFO: [mpeg2enc] GOP start (1 frames)
   INFO: [mpeg2enc] GOP start (1 frames)
   INFO: [mpeg2enc] Frame 0  I 0 0
   INFO: [mpeg2enc] Frame 1  I -1 0
   INFO: [mpeg2enc] GOP start (1 frames)

        and there it sits.  At least it's not using any cpu time ;)

        If the "-M" parameter is changed to be "-M 1" rather than "-M 2"
        the encoding proceeds.  

        Feels like a threading issue of some kind.

        Cheers,
        Steven Schultz


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to