<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>David,<br></div><div><br></div><div>We need to check in the specification, then. No?<br></div><div><br></div><div>jb<br></div><div><br></div><div>On Sun, May 10, 2020, at 02:53, David Ehrmann wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>Apologies if this isn't the right place for libdvdread questions, but there wasn't a libdvdread-specific mailing list.<br></div><div><br></div><div>I was authoring a DVD and ran across a discrepancy between the behavior of dvdauthor and libdvdread. read_video_attr() reads the second byte of video attributes as follows:<br></div><div><br></div><div><div>va->line21_cc_1 = dvdread_getbits(&state, 1);<br></div><div>va->line21_cc_2 = dvdread_getbits(&state, 1);<br></div><div>va->unknown1 = dvdread_getbits(&state, 1);<br></div><div>va->bit_rate = dvdread_getbits(&state, 1);<br></div><div>va->picture_size = dvdread_getbits(&state, 2);<br></div><div>va->letterboxed = dvdread_getbits(&state, 1);<br></div><div>va->film_mode = dvdread_getbits(&state, 1);<br></div></div><div><br></div><div>The first two CC bits and the last film bit agree with the doc I found, but the resolution and letterboxed bits don't. See <a href="http://dvd.sourceforge.net/dvdinfo/ifo.html">http://dvd.sourceforge.net/dvdinfo/ifo.html</a><br></div><div><br></div><div>I have no idea which is correct, and have ~zero access to any DVDs to investigate. If someone knows which is right, I'm happy to submit a patch to libdvdread or to dvdauthor.<br></div><div><br></div><div>Thanks!<br></div></div><div>_______________________________________________<br></div><div>libdvdnav-devel mailing list<br></div><div><a href="mailto:libdvdnav-devel@videolan.org">libdvdnav-devel@videolan.org</a><br></div><div><a href="https://mailman.videolan.org/listinfo/libdvdnav-devel">https://mailman.videolan.org/listinfo/libdvdnav-devel</a><br></div></blockquote><div><br></div><div id="sig60240713"><div>--<br></div><div>Jean-Baptiste Kempf - President<br></div><div>+33 672 704 734<br></div><div> <br></div><div><br></div></div><div><br></div></body></html>