[Cin] Anamorphic 16:9 SD-DV(D) widescreen to AV1.webm
Terje J. Hanssen
terjejhanssen at gmail.com
Thu Jan 11 23:43:33 CET 2024
I wanted to test AV1.webm rendering from anamorphic 16:9 SD-DV(D)
widescreen sources, which have different SAR 64:45 than 1080i HDV SAR 4:3
It would be fine to get this SAR value verified and clarified vs
Wikipedia's table which specifies different for PAL (16:9) 720x576 : SAR
5:4, PAR 64:45
https://en.wikipedia.org/wiki/Pixel_aspect_ratio#Pixel_aspect_ratios_of_common_video_formats
This legacy 16:9 SD format was created and can be obtained among the
following methods::
1. DV camcorders with Widescreen feature, the right/true way and
wrong/fake way
https://www.videouniversity.com/articles/dv-formats-everything-you-need-to-know/#widescreen
2. DV wide record or downconvert playback using a HD(V) camcorder
with this feature
3. DVD video disc enhanced for 16:9 or a BD video disc with 16:9 SD
content
4. Render/transcode i.e a HD(V) video file using
a) Cin-GG
b) FFmpeg
I have used the two latter methods as follows:
4 a) Cin-GG
Loaded a PAL 1080i/50 HDV clip
Set Format Preset: PAL 576i (16:9) - DV(D)
File Render File Format: FFmepg - avi (NB! because plain Raw DV still
causes DAR 4:3)
Audio: Preset: avi_pcm_s16.avi
Video: Compression: dv_pal.avi
ffprobe -hide_banner dv07_05_wide_cingg.avi
Input #0, avi, from 'dv07_05_wide_cingg.avi':
Metadata:
software : Lavf60.16.100
Duration: 00:06:58.04, start: 0.000000, bitrate: 30342 kb/s
Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv420p, 720x576
[SAR 64:45 DAR 16:9], 28802 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2
channels, s16, 1536 kb/s
mediainfo dv07_05_wide_cingg.avi
General
Complete name : dv07_05_wide_cingg.avi
Format : AVI
Format/Info : Audio Video Interleave
Commercial name : DV
Format profile : OpenDML
Format settings : BitmapInfoHeader / PcmWaveformat
File size : 1.48 GiB
Duration : 6 min 58 s
Overall bit rate mode : Constant
Overall bit rate : 30.3 Mb/s
Frame rate : 25.000 FPS
Writing application : Lavf60.16.100
Video
ID : 0
Format : DV
Codec ID : dvsd
Codec ID/Hint : Sony
Duration : 6 min 58 s
Bit rate mode : Constant
Bit rate : 24.4 Mb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 2.357
Stream size : 1.40 GiB (95%)
Audio
ID : 1
Format : PCM
Format settings : Little / Signed
Codec ID : 1
Duration : 6 min 58 s
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 76.6 MiB (5%)
Alignment : Aligned on interleaves
Interleave, duration : 208 ms (5.21 video frames)
4 b) FFmpeg transcode HDV to DV-wide
ffmpeg -hide_banner -i hdv07_05.m2t -vf
scale=720:576,setsar=64/45,setdar=16/9 -c:v dvvideo -c:a pcm_s16le
dv07_05_wide.dv
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> dvvideo (native))
Stream #0:1 -> #0:1 (mp2 (native) -> pcm_s16le (native))
Stream #0:0: Video: dvvideo, yuv420p(tv, bt709, top coded first
(swapped)), 720x576 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn
Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
frame=10457 fps=356 q=-0.0 Lsize= 1440422kB time=00:06:58.28
bitrate=28210.6kbits/s dup=217 drop=0 speed=14.3x
ffprobe -hide_banner dv07_05_wide.dv
[dv @ 0x56036476e580] Estimating duration from bitrate, this may be
inaccurate
Input #0, dv, from 'dv07_05_wide.dv':
Metadata:
timecode : 00:00:00:00
Duration: 00:06:49.72, start: 0.000000, bitrate: 28800 kb/s
Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 64:45 DAR 16:9],
25000 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
mediainfo dv07_05_wide.dv
General
Complete name : dv07_05_wide.dv
Format : DV
Commercial name : DVCAM
File size : 1.37 GiB
Duration : 6 min 49 s
Overall bit rate mode : Constant
Overall bit rate : 28.8 Mb/s
Frame rate : 25.000 FPS
Recorded date : 1970-01-01 00:00:00.000
Video
Format : DV
Commercial name : DVCAM
Duration : 6 min 49 s
Bit rate mode : Constant
Bit rate : 24.4 Mb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 2.357
Time code of first frame : 00:00:00:00
Time code source : Subcode time code
Stream size : 1.17 GiB (85%)
Audio
ID : 0
Format : PCM
Format settings : Big / Signed
Duration : 6 min 49 s
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 75.0 MiB (5%)
---------------------------------
The HDV source has Scan order : Top Field First
What would be right, Top or Bottom Field First for the output file (they
differ)?
Rendering next the AVI and DV files to AV1.webm displays correct 16:9
widescreen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240111/ee588a53/attachment-0001.htm>
More information about the Cin
mailing list