This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Converting 25p to 25i using Low Pass Filter in ffmpeg
#1
Hey.

Regarding FFMPEGs "interlace" Filter I would like to create an 25i prores422hq file from an 25p source with correct metadata (Interlaced, TFF). No frame interpolation, one frame should result in two fields. But I don't know how to handle the parameters Huh 

Frame (25p): (1), (2), (3), (4), ...
Frame (25i Fields): (11), (22), (33), (44), ...

Thank you!
Reply
#2
you probably want something like:
ffmpeg -i "F:\TestClips&Co\files\test.avi" -vcodec prores_ks -profile:v 3 -vf tinterlace=4 -flags +ildct+ilme -vtag apch -f mov "E:\Output\test.mov"
where:
-vf tinterlace=4
converts the content to tff interlaced (see: https://www.ffmpeg.org/ffmpeg-all.html#tinterlace)
( '-vf interlace=scan=tff' should also work; see: https://www.ffmpeg.org/ffmpeg-all.html#interlace)
and
-flags +ildct+ilme
makes sure the output is flagged as interlaced (see: https://www.ffmpeg.org/ffmpeg-all.html#t...ec-Options)

Cu Selur
Reply
#3
Thank you! Buw how to setup the flag (complex_filter, cvlpf)? A simple copy/paste of

ffmpeg -i "F:\TestClips&Co\files\test.avi" -vcodec prores_ks -profile:v 3 -vf tinterlace=4 -flags +ildct+ilme -vtag apch -f mov "E:\Output\test.mov"

will result in a 12,5fps Quicktime with separate odd and even fields in one frame.

https://ibb.co/hMqrk04
Reply
#4
Quote:will result in a 12,5fps Quicktime with separate odd and even fields in one frame.
oh, I overlooked that you wanted 25i. Smile
try adding "-r 25"

Quote:Buw how to setup the flag (complex_filter, cvlpf)?
Assuming you are referring to tinterlace:
-vf tinterlace=mode=4:flags=cvlpf

Cu Selur

Ps.: if that doesn't work you probably have to 1st convert 25p to 50p and then convert it to 25i.
Reply
#5
Quote:try adding "-r 25"
Sorry, where? I am a ffmpeg noob Angel
Reply
#6
Quote:I am a ffmpeg noob
somewhere behind the input
Reply
#7
Quote:if that doesn't work you probably have to 1st convert 25p to 50p and then convert it to 25i.
Sorry, I was off for three days. I will try your suggestions asap. Thanks a lot!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)