deinterles

Ответить
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

deinterles

Сообщение ya »

ffmpeg -i input.vob -c:v libx264 -preset slow -crf 19 -c:a aac -b:a 256k -threads 0 output.mp4

ffmpeg -i input.vob -vf yadif -c:v libx264 -preset slow -crf 19 -c:a aac -b:a 256k output.mp4

https://ffmpeg.org/ffmpeg-filters.html#yadif-1
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: deinterles

Сообщение ya »

-deint <int> .D.V....... Set deinterlacing mode (from 0 to 2) (default weave)
weave 0 .D.V....... Weave deinterlacing (do nothing)
bob 1 .D.V....... Bob deinterlacing
adaptive 2 .D.V....... Adaptive deinterlacing
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: deinterles

Сообщение ya »

I'm trying to figure out how to use yadif / yadif-2x with ffmpeg to convert 50i source material into 50p output that preserves the motion of all fifty fields per second. Right now, I am using the following command, which creates a frame-doubled version, essentially the same as 25p output.

ffmpeg -i input.m2t -f:v yadif=1 -c:v prores output.mov
Using yadif=0 makes a deinterlaced 25p file. Using yadif=1 makes a deinterlaced 50p file with doubled 25p frames. I need to make a deinterlaced file with 50 unique frames per second, and I'm pretty well certain this is possible. Is that what yadif(2x) is supposed to do?

videoffmpegavchddeinterlace
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: deinterles

Сообщение ya »

-vf yadif
Ответить