<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 10 янв. 2024 г., 02:37 Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">randrianasulu@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 10 янв. 2024 г., 02:29 Phyllis Smith <<a href="mailto:phylsmith2017@gmail.com" target="_blank" rel="noreferrer">phylsmith2017@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Strange results in my "go to" test file with "guessed". See bold below.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">f<span style="font-family:monospace">ile path: /root/media1/Britney Spears - Pepsi Commercial with Bob Dole.mpeg<br> 15817144 bytes<br>info:<br>format: mpeg<br><br>1 video stream<br>vid0 (0), id 0x000001:<br> video1 mpeg1video 352x240 29.97 pix yuv420p<br> interlace (container level): 1<br> interlace (codec level): -1<br> color space:unknown/ range:tv<br> <b>Guessed SAR: 200:219, DAR: 880:657 </b></span><br> 2712+0 frms 90.51 secs 0:01:30.51</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">from wcalc console calculator:</div><div dir="auto"><br></div><div dir="auto"><div dir="auto">-> 880/657</div><div dir="auto"> = 1.33942</div><div dir="auto"><br></div><div dir="auto">so ... it just different representation?</div><div dir="auto"><br></div><div dir="auto">There is code in mwindow.C that does display aspect ratio calculations ..... May be I can reuse that for more user-friendly display .....</div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I also tried to just reduce max number (1024*1024) it allowed to reduce to just 100. May be it will work better ... ? currently testing.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_default" style="font-size:small">While "mediainfo" reports what I consider to be correct:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace">Video<br>ID : 224 (0xE0)<br>Format : MPEG Video<br>Format version : Version 1<br>Format settings : CustomMatrix / BVOP<br>Format settings, BVOP : Yes<br>Format settings, Matrix : Custom<br>Format settings, GOP : Variable<br>Duration : 1 min 30 s<br>Bit rate mode : Constant<br>Bit rate : 1 150 kb/s<br>Width : 352 pixels<br>Height : 240 pixels</span><br><span style="font-family:monospace"><b>Display aspect ratio : 4:3</b></span><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 7, 2024 at 9:21 AM Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer" target="_blank">randrianasulu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">in ffmpeg asset detailed info<div dir="auto"><br></div><div dir="auto">for files like HDV info is guessed, for files like mov / mp4 you sometimes can get detection working.</div><div dir="auto"><br></div><div dir="auto">code lifted from dump.c and ffprobe.c</div></div>
</blockquote></div>
</blockquote></div></div></div>
</blockquote></div></div></div>