When I upload interlaced videos Peertube doesn’t deinterlace them and I get a lot of combing in the video on peertube. I have 1000+ videos to add, many of which are interlaced and I don’t want to have to deinterlace them myself before uploading as that degrades the video quality. Is there a straightforward way of adding a deinterlace filter to the transcoding?
Hi,
Do you have the ffmpeg command to deinterlace a video?
Hi,
i’m also interested with an option to deinterlace an uploading video as i’ve a bunch of old videos to publish
we could use the bwdif filter in ffmpeg, like
-filter:v bwdif=mode=send_field:parity=auto:deint=all
Is there a way to apply the filter « manually » ?
Hi,
i tried to pass the option using the transcoding-custom-quality plugin without success.
i simply added the line
-filter:v bwdif=mode=send_field:parity=auto:deint=all
in the builderVOD outputOptions in the main.js file but apparently it’s not the way to go (it would have been too simple), the instruction is ignored.
How can i pass the filter option to ffmeg ?
Via the plugin or any other way is fine
I’m surprised it doesn’t work. Did you choose the new transcoding profile in the admin config?
Yes, i’ve selected custom-quality in the admin config and i tried to encode with 2 different qualities (‹ Excellent › and ‹ low ›). ffmpeg seems to use the plugin as i have to different sizes for the same input test video
But the filter option seems to be ignored, the result is not deinterlaced. To be sure, I even tried with a syntax error in the filter line and the input video encodes anyway without any error as if the line was not read. Is it expected behavior ?
I may miss something but what ?
my modification in main.js of the plugin
const builderVOD = (options) => {
return {
outputOptions: [
`-r ${options.fps}`,
`-crf ${store.crf}`,
`-filter:v bwdif=mode=send_field:parity=auto:deint=all`
]
}
}