Hi,

        yuvfps reports:
cat stream.yuv | yuvfps -v2 > debout
   INFO: [yuvfps] yuv2fps (version 0.1) is a general frame resampling utility 
for yuv streams
   INFO: [yuvfps] (C) 2002 Alfonso Garcia-Patino Barbolani 
<[EMAIL PROTECTED]>
   INFO: [yuvfps] yuv2fps -h for help, or man yuv2fps
   INFO: [yuvfps] Converting from 29969999:500000 to 29969999:500000
   INFO: [yuvfps] Writing source frame 1 at dest frame 1
   INFO: [yuvfps] Writing source frame 18 at dest frame 2
   INFO: [yuvfps] Writing source frame 19 at dest frame 3
   INFO: [yuvfps] Writing source frame 20 at dest frame 4

With 30000:1001 it reports:

cat stream.yuv | yuvfps -v2 -r 30000:1001 > debout
   INFO: [yuvfps] yuv2fps (version 0.1) is a general frame resampling utility 
for yuv streams
   INFO: [yuvfps] (C) 2002 Alfonso Garcia-Patino Barbolani 
<[EMAIL PROTECTED]>
   INFO: [yuvfps] yuv2fps -h for help, or man yuv2fps
   INFO: [yuvfps] Converting from 29969999:500000 to 30000:1001
   INFO: [yuvfps] Writing source frame 1 at dest frame 1
   INFO: [yuvfps] Writing source frame 1 at dest frame 2
  ...
  ...
   INFO: [yuvfps] Writing source frame 1 at dest frame 164
   INFO: [yuvfps] Writing source frame 1 at dest frame 165
   INFO: [yuvfps] Writing source frame 1 at dest frame 166
   INFO: [yuvfps] Writing source frame 2 at dest frame 167
   INFO: [yuvfps] Writing source frame 2 at dest frame 168
   INFO: [yuvfps] Writing source frame 2 at dest frame 169
   INFO: [yuvfps] Writing source frame 2 at dest frame 170

With 30:1 it reports:
cat stream.yuv | yuvfps -v2 -r 30:1 > debout
   INFO: [yuvfps] yuv2fps (version 0.1) is a general frame resampling utility 
for yuv streams
   INFO: [yuvfps] (C) 2002 Alfonso Garcia-Patino Barbolani 
<[EMAIL PROTECTED]>
   INFO: [yuvfps] yuv2fps -h for help, or man yuv2fps
   INFO: [yuvfps] Converting from 29969999:500000 to 30:1
   INFO: [yuvfps] Writing source frame 1 at dest frame 1
   INFO: [yuvfps] Writing source frame 2 at dest frame 2
   INFO: [yuvfps] Writing source frame 4 at dest frame 3
   INFO: [yuvfps] Writing source frame 6 at dest frame 4
   INFO: [yuvfps] Writing source frame 8 at dest frame 5

        If I use a -F option on mpeg2enc I have to adjust the framerate first with 
yuvfps otherwise I get:
**ERROR: [mpeg2enc] Picture rate greater than permitted in specified Level
or if it works the video is very very slow. I think the -F option just updates 
the headers and does not change the framerate.

        Im still dealing with the stream from last weekend. But its any stream I 
capturwith GATOS over about 15 minutes long and try to shrink to a more 
manageable size (6GB an hour is a bit of a problem). Was have been working on 
this for about a month before I started asking on listservers.

        Any ideas ?

        Thanks,

                Stuart

On Thursday 29 May 2003 01:35, Bernhard Praschinger wrote:
> Hallo
>
> >         If I try :
> > cat stream.yuv | yuvdenoise -F -f | yuvfps -r 30000:1001 | mpeg2enc -f 8
> > -q 7 -4 1 -2 1 -P -I 0 -N -o svcd_stream.m2v
> >
> >         I get a very very long stream that plays very slowly each frame
> > in the original lasts several seconds. The ration seems to be being
> > misunderstood. I'm converting using-r instead of -c because the frame
> > rate (reported by mplayer) is 59.94. If I just put this through assuming
> > its a 29fps stream it plays at half speed.
>
> I guess that the number you see is the fieldrate which is is 60000:1001
> (about 59,9x).
>
> What framerate does yuvfps print out when you start it in verbose mode
> (-v 2) ?
>
> Do you remember the framerate or fieldrate mpeg2enc printed out when
> encoding started ?
> Here you might also have to set the mpeg2enc -F option too. But I think
> you have alreaddy tried that option.
>
> >         Any ideas on the yuvfps option ?
>
> If you know that the header is wrong you also have to add the -s, else
> yuvfps will assume that the header is correct, and change the framerate
> from 60000:1001 to 30000:1001 FPS. Or it is doing something else weird.
>
> Are you still battling with the stream from the 27th May ?
>
> auf hoffentlich bald,
>
> Berni the Chaos of Woodquarter
>
> Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
> www: http://www.lysator.liu.se/~gz/bernhard



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to