Posts: 12
Threads: 4
Joined: Jun 2020
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
Frame (25p): (1), (2), (3), (4), ...
Frame (25i Fields): (11), (22), (33), (44), ...
Thank you!
Posts: 10.760
Threads: 56
Joined: May 2017
22.03.2021, 16:37
(This post was last modified: 22.03.2021, 16:41 by Selur.)
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:
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
makes sure the output is flagged as interlaced (see:
https://www.ffmpeg.org/ffmpeg-all.html#t...ec-Options)
Cu Selur
Posts: 12
Threads: 4
Joined: Jun 2020
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
Posts: 10.760
Threads: 56
Joined: May 2017
22.03.2021, 17:08
(This post was last modified: 22.03.2021, 17:16 by Selur.)
Quote:will result in a 12,5fps Quicktime with separate odd and even fields in one frame.
oh, I overlooked that you wanted 25i.
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.
Posts: 12
Threads: 4
Joined: Jun 2020
Quote:try adding "-r 25"
Sorry, where? I am a ffmpeg noob
Posts: 10.760
Threads: 56
Joined: May 2017
Quote:I am a ffmpeg noob
somewhere behind the input
Posts: 12
Threads: 4
Joined: Jun 2020
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!