[Cin] Report guessed / detected SAR/DAR values

Phyllis Smith phylsmith2017 at gmail.com
Wed Jan 10 00:29:39 CET 2024


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

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 <randrianasulu at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240109/d8d3d928/attachment.htm>


More information about the Cin mailing list