MP4 PAL 720x576 4:3 pixel ratio export in DVR

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

KumaNatsu

  • Posts: 3
  • Joined: Mon Jul 12, 2021 3:45 pm
  • Real Name: Paolo Rudelli

MP4 PAL 720x576 4:3 pixel ratio export in DVR

PostMon Jul 12, 2021 4:16 pm

I like to know if some one know the tech reasons why when exporting a PAL format 720x576 4:3 in mp4 (quick time or mp4 container) I get a pixel aspect ratio (aka SAR) of 59:54 (and 118:81 for 16/9 aspect ratio).
In the document ITU T-REC-H.264-201906-I
at page 389 Table E-1 specify that the aspect_ratio_idc: 2 for 720x576 4:3 frame with horizontal over scan must be 12:11 (and 16:11 for 16/9 aspect ratio). I believe in NTSC the problem is the same but I didn't check it yet.
I could not find any way to force the output of the aspect ratio look like DVR set always this aspect ratio that are not ITU H264 compliant.
Any idea? Thanks

NB: if you wonder why losing time with PAL SD format: I am restoring a "video art" video archive (1000h of video mainly in SD format), the final archival delivery will be in FFV1 but the consulting version will be in MP4 following the ITU specs, and I need to deliver some video test in the appropriate format to the consulting application developers, to solve the issue I encoded a uncompressed file with ffmpeg and the appropriate SAR but I found questionable this behavior in DVR. I remember that in the past when exporting from Flame in Prores 720x576 the exporter was setting the SAR to 181:81
Paolo Rudelli
Offline
User avatar

Charles Bennett

  • Posts: 7713
  • Joined: Sat Nov 05, 2016 11:55 am
  • Location: United Kingdom

Re: MP4 PAL 720x576 4:3 pixel ratio export in DVR

PostMon Jul 12, 2021 9:22 pm

Have you set the Timeline to that resolution and adjusted the Scaling if needed?
Resolve Studio 20.0 build 49
Dell XPS 8700 i7-4790, 24GB RAM, 2 x Evo SSDs, GTX1060/6GB (572.16 Studio Driver), Win10 Home, Speed Editor, Faderport 1, Calibrated Eizo ColorEdge CS230 + BenQ & Samsung monitors for UI, Canon C100mk2, Zoom H2n.
Offline

Andrew Kolakowski

  • Posts: 9525
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: MP4 PAL 720x576 4:3 pixel ratio export in DVR

PostMon Jul 12, 2021 10:00 pm

KumaNatsu wrote:I like to know if some one know the tech reasons why when exporting a PAL format 720x576 4:3 in mp4 (quick time or mp4 container) I get a pixel aspect ratio (aka SAR) of 59:54 (and 118:81 for 16/9 aspect ratio).
In the document ITU T-REC-H.264-201906-I
at page 389 Table E-1 specify that the aspect_ratio_idc: 2 for 720x576 4:3 frame with horizontal over scan must be 12:11 (and 16:11 for 16/9 aspect ratio). I believe in NTSC the problem is the same but I didn't check it yet.
I could not find any way to force the output of the aspect ratio look like DVR set always this aspect ratio that are not ITU H264 compliant.
Any idea? Thanks

NB: if you wonder why losing time with PAL SD format: I am restoring a "video art" video archive (1000h of video mainly in SD format), the final archival delivery will be in FFV1 but the consulting version will be in MP4 following the ITU specs, and I need to deliver some video test in the appropriate format to the consulting application developers, to solve the issue I encoded a uncompressed file with ffmpeg and the appropriate SAR but I found questionable this behavior in DVR. I remember that in the past when exporting from Flame in Prores 720x576 the exporter was setting the SAR to 181:81


Resolve still doesn't set them properly (at leats it wasn't few months ago) and there is also a question what should be "proper setting"? It may depend what you need as there are at least few ways of flagging aspect in SD files.

Export in Resolve and then fix your metadata with this tool (there is even cmd option to run automated corrections):
http://mogurenko.com
this allows you set any values you want.
If you want "analog" flagging (702 active lines) then you set 9 for clap and then 59:54 for PAL and 8 + 10:11 for NTSC (both 4x3). For "digital" flagging which uses all pixels as active area you do 16:15 and 8:9.

59:54 is correct as long as you have clap atom (clean aperture) set to 9. This means you have active area of 720-9 pixels for each side, so 702. Then when you calculate you need 59:54 PAR to get DAR as 4:3.
If you don't have clap set then you use "digital" flagging as 16:15 (720/576*16/15=1.333)

Other solution. You export square pixels (which is modern approach). Then you just make sure you properly taken active lines from your current masters, so you keep proper aspect of 4x3 or 16x9. Quite often old masters have aspect distorted a bit anyway, so this can be a fun game to get it correct :)
Last edited by Andrew Kolakowski on Mon Mar 21, 2022 6:52 pm, edited 1 time in total.
Offline

KumaNatsu

  • Posts: 3
  • Joined: Mon Jul 12, 2021 3:45 pm
  • Real Name: Paolo Rudelli

Re: MP4 PAL 720x576 4:3 pixel ratio export in DVR

PostMon Mar 21, 2022 4:12 pm

Andrew Kolakowski wrote:
Resolve still doesn't set them properly (at leats it wasn't few months ago) and there is also a question what should be "proper setting"? It may depend what you need as there are at least few ways of flagging aspect in SD files.

Export in Resolve and then fix your metadata with this tool (there is even cmd option to run automated corrections).......

I just realized I forget to thank you for the answer.
Paolo Rudelli

Return to DaVinci Resolve

Who is online

Users browsing this forum: Alex_1092, billbyrnes, Bing [Bot], buddhablack, Daniel Batinic, JMuelle4 and 392 guests