On Mon, 3 Nov 2003, Laurent Pinchart wrote:
> How do I check if the input is progressive or interlaced ? still images in
If it's from a DVD it is interlaced. The DVD specs do not allow
progressive streams.
The frame dominance is _usually_ (but not always) top field
first - it all depends on the source material and other factors.
I use 'dvdview' (1.2.1 - I couldn't get 1.2.2 to build right).
Something like 'dvdview -v 3 file.vob' and then look for
'top field first true'.
You can find both dvdview and the libvideogfx library (0.0.1)
at
http://rachmaninoff.informatik.uni-mannheim.de/dvdview/
> > The 'A' tag isn't right but that's usually not a problem because
> > 0:0 means unknown and most tools will use a (hopefully correct)
> > default. You may want to explicitly set a pixel aspect though
>
> Ok.
I think yuvscaler allows you to specify the aspect. Over time
I've migrated to using y4mscaler since it can also do various
types of chroma space conversions (NTSC DV is 4:1:1 so I have
y4mscaler do the 4:1:1 to 4:2:0 conversion while it is scaling).
> > To me that suggests that mplayer corrupted the output. Are
> > you running a current version of mplayer? I think that
>
> I'm using 1.0-pre1.
That should be recent enough.
> I did that, and can't see any problem in mplayer's output. the 'FRAME\n' are
> where they should be (checked up to the 20th). That confuses me a lot. If I
> dump the mplayer output to a file and give that to yuvscaler I get no error.
Oh - that is strange. All it would take is being 1 character off
though. It's as if mplayer is doing one thing when it's writing to a
pipe and another thing when to a file.
I haven't heard of any problems with yuvscaler so it's unlikely
(but not impossible I suppose) for that to be the problem. As an
experiment you might try y4mscaler and see if the symptoms are
different - if it does fail it might do so in a different way that
would shed some light on what's going wrong.
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