[Cin] DAR, PAR and SAR, again

Terje J. Hanssen terjejhanssen at gmail.com
Mon Jan 22 19:22:20 CET 2024



Den 22.01.2024 18:00, skrev Andrea paz via Cin:
> @Terjie
> Do you think it is better to adopt SampleAR which is congruent with
> Info --> Detail.
> Or is it better to PixelAR which is the one used by wikipedia and
> every other guide I found?

Well, I would go for FFmpegs SAR. That is the simple and informative 
table from ffmpeg-users, (complemented with HDV by me):
https://lists.cinelerra-gg.org/pipermail/cin/2024-January/007800.html

I suggest also to a cross reference to Wikipedia that lists PAR/SAR 
opposite, but also refers to FFmpegs way:
https://en.wikipedia.org/wiki/Pixel_aspect_ratio#Confusion_with_display_aspect_ratio


My reasons are that SAR is what ffprobe display when we check video 
files (and is also used by ffmpeg setsar), for example:

4:3-576 PAL DV:
Video: dvvideo, yuv420p, *720x576 [SAR 16:15 DAR 4:3*], 25000 kb/s, 25 
fps, 25 tbr, 25 tbn, 25 tbc
16:9-1080 HDV:
Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, top 
first), *1440x1080 [SAR 4:3 DAR 16:9]*, 25000 kb/s, 25 fps, 25 tbr, 90k 
tbn, 50 tbc

In CinGG I think we concluded there is no way to set user defined SAR or 
control Presets in Set Format. CinGG is dependent of to set Preset for a 
different output anamorphic format (using SAR coded in ffmpeg.c), if I 
understood things right.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240122/ebf81130/attachment.htm>


More information about the Cin mailing list