[Cin] Fwd: [FFmpeg-devel] qsvenc.c & AV_CODEC_FLAG_INTERLACED_DCT

Mat mnieuw at zap.a2000.nl
Mon Nov 25 11:20:32 CET 2024


On Sun, 24 Nov 2024 23:11:07 +0100
"Terje J. Hanssen via Cin" <cin at lists.cinelerra-gg.org> wrote:

> Den 24.11.2024 22:22, skrev Andrew Randrianasulu:
> >
> >
> > вс, 24 нояб. 2024 г., 19:45 Terje J. Hanssen
> > <terjejhanssen at gmail.com>:
<snip>
> >     I can't notice differences at playback with VLC and FFplay
> > (other than 16:9 vs 4:3 format as usual). And both visually with
> > good qualities in my eyes.
> >
> >     Cingg Set Format Interlace Mode: Not interlaced
> >     did the trick and both hdv and hd could be rendered
> >     FFprobe reported it is pgogressiv, while native FFmpeg
> > transcoding still say interlaced.
> >
> >
> >
> > But do files rendered by cingg set to progressive and ffmpeg from
> > same tff source differ visually?  
> 
> No. It is easy to see during VLC  playback that neither av1_qsv from 
> Cin/ffmpeg is progressive, but rather interlaced:
> Pause during horizontal movements (camcorder panning) shows
> interlaced vertical edges. Then shortcut "D" on this still image
> swithch it to deinterlaced and smoother edges. This is on a computer
> LCD monitor.


I've have that problem as well, converting old VHS videos in PAL format
to MP4 format. My solution is to use ffmpeg before editing in CinGG,
using a de-interlace filter, as follows:

ffmpeg -i inputvideo -vf bwdif outputvideo.mp4 

Using mp4 as output format also reduces the original mpeg file to half
the size. Instead of the -vf bwdif you can use the -vf yadif
filter, but bwdif gave slightly better results for my videos.

MatN


More information about the Cin mailing list