int sar_num = (aspect_w/aspect_h)*w; int sar_den = (aspect_w/aspect_h)*h;
Are these the formulas that CinGG (and ffmpeg?) uses to calculate SAR? aspect_w would be W Ratio of the Set Format window? The same for aspect_h? While w and h would be Width and Height of the Canvas Size? Are they integers? These are the patches I have: 0001-Add-ffmpeg-rawdv-profiles-can-use-1440x1080-with-yuv.patch.patch 0001-Add-guessed-detected-SAR-DAR-values-to-ffmpeg-asset-.patch 0001-Set-also-sample-aspect-ratio-for-encoded-ffmpeg-stre.patch 0002-Guard-ffmpeg.C-stream-sample-aspect-ratio-only-for-f.patch 0003-Add-diff-between-codec-sar-dar-and-container-sar-dar.patch 0003-fix-guard-for-stream-sample-aspect-ratio-for-more-fm.patch 0004-Clarify-in-setformat.C-that-we-have-Display-aspect-r.patch 0005-Update-cingg-team-copyright-info-for-2024.patch 0006-Document-that-W-H-ratio-fields-mean-in-this-window.patch setformat_static_diff.diff Do I have to install all of them? (Should I install them all except 0003-Add-diff..., then give autogen.sh and configure; then install 0003-Add-diff... and give a new configure?) PS: I tried to ask Igor Vladimirsky for clarification, but so far he has not replied.