On Mon, Mar 21, 2005 at 12:35:35AM +0200, Matti Haveri wrote:
> >> PAL/NTSC 352x288/240 is a valid DVD resolution but I'm unsure whether
> >> I should encode it as MPEG1 or MPEG2.
> >
> > MPEG1
> 
> Things were clear for a few days but now I'm confused again ;)

You've actually discovered a "cardinal" rule of sorts.  "Don't trust
a 1) software / 2) hardware player to prove that a 1) hardware / 2)
software player will properly read and play a video".

Usually, the more forgiving unit (meaning better able to interpret a
somewhat not-to-spec video) is a software player.  But in this case
you've discovered one instance where a software player is the more
picky of the two units.

For the most part, if the DVD spec indicates that the resolution &
format (mpeg1/mpeg2) is valid, you can presume that almost all
hardware DVD players will reproduce it, provided you follow the other
rules (bit rate, etc.).  Beyond that, it's anyone's guess and the
only way to know is to feed the video to the decoder (hardware or
software) and watch what happens.

And in this case, you do have two different containers, but your
containers are "program stream" and "VOB".  A "VOB" is almost, but
not quite, a "program stream", and you've discovered a bug in your
software player that does not like finding mpeg-1 format video inside
of a "VOB" container.  Why would this be, well one simple possible
explanation is that because 99.95% of all DVD's contain mpeg-2 format
video inside their "VOB" files, the programmer never tested with
mpeg-1 in a "VOB" and as such, never realised that he/she didn't
properly code for that particular outcome.  Or maybe because 99.95%
of all DVD's are mpeg-2, the programmer intentionally did not bother
supporting mpeg-1 in a VOB, presuming that no one would ever notice
the difference.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to