Hallo

>  >I used the utilities from mjpegtools (whose names elude me at present) in
>  >pretty much the same way as described in the mjpeg howto.  In short, the
>  >mjpegtools output the fields as individual pnm files which were loaded into
>  >xv for viewing.
> 
> Yep --- that'll work.
> 
> Remember that there are two parities involved:  temporal and spatial.
> 
> Debugging the temporal order (addressed in the MJPEG Howto):
Do you mean that I should write a better decription there. Or is it
enougth ?

>   Find a section of the stream which has a lot of side-to-side motion,
>   and pass it through "y4mtoppm".  This will dump each field as an
>   individual PPM image.  When cycling through the images, the horizontal
>   motion should look relatively smooth.  If not, the "first vs. second"
>   ordering is messed up.
I think it is rather easy if you have someone moving trough the screen
from left to right. The person should move each field ab bit mor to one
edge of the screen.

> Debugging the spatial order:
> 
>   Find a section of the stream which has little motion and a lot of
>   stark diagonal lines, and pass it through "y4mtoppm -L".  This will
>   dump each complete frame as a PPM image.
>   Then, examine diagonal edges closely (zoom in with your viewer)...
>   They should look relatively continuous.  If pairs of lines look
>   transposed, then the "top vs. bottom" ordering is messed up.
You can also use lavplay/glav with the -F/--flicker option. Stop the
movie and you should also see the effect.

If you don't use the -F option lavplay scales on files up to the whole
size when you stop the movie. So you don't see any interlacing problems
at all. 

> The "I" tag in the YUV4MPEG2 header, and the "-z" flag to mpeg2enc,
>  affect the temporal interpretation of the stream only, i.e. whether
>  the known-to-be top-field should be shown first or last.
>  If the fields are screwed up spatially (a problem which would go
>  all the way back to how the DV stream was generated), you'll have to
>  actually flip the scanlines to fix it.  There are tools which do this;
>  for example, "y4mscaler -S mode=lineswitch".
And yuvcorrect.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to