06.05.2023, 00:32
Hey all-- I've been using hybrid for some time now to deinterlace and convert videos captured as NTSC Lagarith .avi to Prores .mov files, and for some reason I've never been able to properly set the output DAR (or the input PAR?)
With ffmpeg using yadif2x to deinterlace I would use the flag "setdar=4/3" for the output, but the quality of the deinterlacing is much better in hybrid. I've attempted to force the input PAR to 8:9, which I think is the right aspect, but forcing doesn't seem to have any effect whatsoever between these two containers/codecs.
Basically start with a 720x480 file, and I end with a 720x480 file, both have DARs of 3:2 and the only way i've found to change the DAR flag is to recreate the containers after the fact with ffmpeg...
this is the input mediainfo:
and the output mediainfo:
With ffmpeg using yadif2x to deinterlace I would use the flag "setdar=4/3" for the output, but the quality of the deinterlacing is much better in hybrid. I've attempted to force the input PAR to 8:9, which I think is the right aspect, but forcing doesn't seem to have any effect whatsoever between these two containers/codecs.
Basically start with a 720x480 file, and I end with a 720x480 file, both have DARs of 3:2 and the only way i've found to change the DAR flag is to recreate the containers after the fact with ffmpeg...
this is the input mediainfo:
Code:
Complete name : /Volumes/VHS/xxx.avi
Format : AVI
Format/Info : Audio Video Interleave
Format profile : OpenDML
File size : 49.4 GiB
Duration : 2 h 9 min
Overall bit rate : 54.4 Mb/s
Video
ID : 0
Format : Lagarith
Codec ID : LAGS
Duration : 2 h 9 min
Bit rate : 52.9 Mb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 3:2
Frame rate : 29.970 (30000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 8 bits
Bits/(Pixel*Frame) : 5.108
Stream size : 48.0 GiB (97%)
Audio
ID : 1
Format : PCM
Format settings : Little / Signed
Codec ID : 1
Duration : 2 h 9 min
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 : 1.39 GiB (3%)
Alignment : Aligned on interleaves
Interleave, duration : 40 ms (1.20 video frame)
and the output mediainfo:
Code:
Complete name : /Volumes/xxx/xxx.mov
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt 0000.02 (qt )
File size : 54.6 GiB
Duration : 2 h 9 min
Overall bit rate mode : Variable
Overall bit rate : 60.1 Mb/s
Writing application : Lavf60.4.100
Video
ID : 1
Format : ProRes
Format version : Version 0
Format profile : 422 LT
Codec ID : apcs
Duration : 2 h 9 min
Bit rate mode : Variable
Bit rate : 58.5 Mb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 3:2
Frame rate mode : Constant
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:2
Scan type : Progressive
Bits/(Pixel*Frame) : 2.826
Stream size : 53.2 GiB (97%)
Writing library : Lavc
Audio
ID : 2
Format : PCM
Format settings : Little / Signed
Codec ID : sowt
Duration : 2 h 9 min
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 1.39 GiB (3%)
Default : Yes
Alternate group : 1