ср, 10 янв. 2024 г., 02:29 Phyllis Smith <phylsmith2...@gmail.com>:

> Strange results in my "go to" test file with "guessed".  See bold below.
>
> file path: /root/media1/Britney Spears - Pepsi Commercial with Bob
> Dole.mpeg
>   15817144 bytes
> info:
> format: mpeg
>
> 1 video stream
> vid0 (0),  id 0x000001:
>   video1 mpeg1video  352x240 29.97 pix yuv420p
>   interlace (container level): 1
>   interlace (codec level): -1
>     color space:unknown/ range:tv
>   *Guessed SAR: 200:219, DAR: 880:657 *
>     2712+0 frms 90.51 secs  0:01:30.51
>

from wcalc console calculator:

-> 880/657
 = 1.33942

so ... it just different representation?

There is code in mwindow.C that does display aspect ratio calculations
..... May be I can reuse that for more user-friendly display .....




> While "mediainfo" reports what I consider to be correct:
>
> Video
> ID                                       : 224 (0xE0)
> Format                                   : MPEG Video
> Format version                           : Version 1
> Format settings                          : CustomMatrix / BVOP
> Format settings, BVOP                    : Yes
> Format settings, Matrix                  : Custom
> Format settings, GOP                     : Variable
> Duration                                 : 1 min 30 s
> Bit rate mode                            : Constant
> Bit rate                                 : 1 150 kb/s
> Width                                    : 352 pixels
> Height                                   : 240 pixels
> *Display aspect ratio                     : 4:3*
>
> On Sun, Jan 7, 2024 at 9:21 AM Andrew Randrianasulu <
> randrianas...@gmail.com> wrote:
>
>> in ffmpeg asset detailed info
>>
>> for files like HDV info is guessed, for files like mov / mp4 you
>> sometimes can get detection working.
>>
>> code lifted from dump.c and ffprobe.c
>>
>
-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to