<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">Den 14.01.2024 17:43, skrev Terje J.
Hanssen:<br>
</div>
<blockquote type="cite"
cite="mid:3fcb90fe-a0ec-4002-9069-66faf9760e42@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<br>
<div class="moz-cite-prefix">Den 13.01.2024 18:48, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky55hdM9VT8xRHjwXPL4vf7kHTfLzX7SJt3o8uckuJ=LCw@mail.gmail.com">
<meta http-equiv="content-type"
content="text/html; charset=UTF-8">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">сб, 13 янв. 2024 г.,
07:47 Andrew Randrianasulu <<a
href="mailto:randrianasulu@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">randrianasulu@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">сб, 13 янв. 2024
г., 03:26 Terje J. Hanssen via Cin <<a
href="mailto:cin@lists.cinelerra-gg.org"
target="_blank" rel="noreferrer"
moz-do-not-send="true"
class="moz-txt-link-freetext">cin@lists.cinelerra-gg.org</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<div>Den 11.01.2024 23:43, skrev Terje J.
Hanssen:<br>
</div>
<blockquote type="cite"> .......<br>
</blockquote>
<br>
<blockquote type="cite"> 4 a) Cin-GG<br>
Loaded a PAL 1080i/50 HDV clip<br>
Set Format Preset: PAL 576i (16:9) - DV(D)<br>
File Render File Format: FFmepg - avi (NB!
because plain Raw DV still causes DAR 4:3)<br>
Audio: Preset:
avi_pcm_s16.avi<br>
Video: Compression:
dv_pal.avi<br>
<br>
</blockquote>
<br>
For me it looks like the Set Format Preset:
PAL 576i (16:9) - DV(D and/or the File Format:
FFmpeg make up the correct DAR 16:9 here,
right?<br>
<br>
Because by Selecting the Format: <b>Raw DV </b>cause
rendering to <b>DAR 4:3</b> as shown below !
<br>
This makes me wonder if it is only the FFmepg
File formats that currently is fixed by
patches?<br>
May also other non-FFmpeg formats be affected
by anamorphic aspect ratios ?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">This is possible! I basically never
used non-ffmpeg video encoders! I think we have 3 of
them - raw dv, mpeg video and theora video.</div>
<div dir="auto"><br>
</div>
<div dir="auto">I'll check each of them.</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
<br>
OOPS!<br>
As already mentioned, CinGG's FFmpeg-avi was saved/displayed 16:9
and the Raw DV was saved/displayed 4:3.<br>
BUT, in addition I discovered now that in both cases the images
have been cropped around, that is cut off at both sides, top and
bottom.<br>
That is, the 16:9 avi is displayed with correct geometry, while
the 4:3 Raw DV is displayed stretched vertically. <br>
The latter get correct geometry if forced aspect 16:9 during VLC
playback..<br>
<br>
Actually, only my ffmpeg manual encoded DV-wide has got correct
DAR 16:9 and also correct geometry.<br>
</blockquote>
And kept the full image (un-cropped).<br>
<blockquote type="cite"
cite="mid:3fcb90fe-a0ec-4002-9069-66faf9760e42@gmail.com"> <br>
A visual tip is that this is easiest to discover and compare side
by side using large file thumbnails with (Gnome) Filemanager.<br>
<br>
<blockquote type="cite"
cite="mid:CA+rFky55hdM9VT8xRHjwXPL4vf7kHTfLzX7SJt3o8uckuJ=LCw@mail.gmail.com">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">in cinelerra/fileogg.C I found this comment:</div>
<div dir="auto">=====</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div dir="auto">if( asset->aspect_ratio > 0 ) {</div>
<div dir="auto"> // Cinelerra uses frame
aspect ratio, theora uses pixel aspect ratio
</div>
<div dir="auto"> float pixel_aspect =
asset->aspect_ratio / asset->width *
asset->height;</div>
<div dir="auto"> </div>
<div dir="auto"> aratio_num = pixel_aspect * 1000000;
</div>
<div dir="auto"> aratio_den = 1000000;
}</div>
<div dir="auto"> else {
</div>
<div dir="auto"> aratio_num = 1000000;</div>
<div dir="auto"> </div>
<div dir="auto"> aratio_den = 1000000;
}</div>
</div>
<div dir="auto">=====</div>
<div dir="auto"><br>
</div>
<div dir="auto">strangely enough filedv seems to contain code
to set is16x9 encoder flag ... not sure why it fails ....</div>
<div dir="auto"><br>
</div>
<div dir="auto">mpeg video also should honor aspect ratio, but
not tested yet.</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<font face="Courier New, Courier, monospace">mediainfo
dv07_05_wide_cingg.dv | grep Display<br>
Display aspect ratio :
4:3<br>
<br>
ffprobe -hide_banner dv07_05_wide_cingg.dv<br>
Input #0, dv, from 'dv07_05_wide_cingg.dv':<br>
Duration: 00:06:58.08, start: 0.000000,
bitrate: 28800 kb/s<br>
Stream #0:0: Video: dvvideo, yuv420p,
720x576 [SAR 16:15 DAR 4:3], 25000 kb/s, 25
fps, 25 tbr, 25 tbn, 25 tbc<br>
Stream #0:1: Audio: pcm_s16le, 48000 Hz,
stereo, s16, 1536 kb/s</font><br>
<br>
<br>
<br>
<br>
</div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">Cin@lists.cinelerra-gg.org</a><br>
<a
href="https://lists.cinelerra-gg.org/mailman/listinfo/cin"
rel="noreferrer noreferrer noreferrer"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>