Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
21st June 2015, 22:37 | #1 | Link |
Registered User
Join Date: Mar 2014
Location: Hungary
Posts: 115
|
Deinterlacing BluRay on Linux
Hi! I usually just have to encode the BluRay videos from .m2ts files with x264 or extract .mkv's in case the videos are remuxes. But now the BD source is interlaced and I have no idea how to deinterlace it on Linux AviSynth is not available for Linux and I wasn't able to install the AvxSynth Linux fork on Debian
Debian 8.1 x264-r2538-121396c |
26th June 2015, 17:12 | #7 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
How old x264 in ffmpeg is depends which version of x264 was used when building ffmpeg - and it then supports all the same options.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
26th June 2015, 18:42 | #8 | Link |
Registered User
Join Date: Dec 2014
Posts: 40
|
What about something like this ?
Code:
ffmpeg -i input.m2ts -vf yadif=deint=interlaced -f rawvideo - | x264 --input-res WxH --fps N -o out.mp4 - Code:
ffmpeg -i input.m2ts -vf yadif=deint=interlaced -vcodec libx264 [..] Last edited by Ely; 26th June 2015 at 18:56. Reason: fixed x264 parameters |
2nd July 2015, 03:49 | #10 | Link |
Registered User
Join Date: Dec 2014
Posts: 40
|
Cool !
Btw, I complicated things by outputting rawvideo and setting the dimension/framerate in x264, but this will be even simpler : Code:
ffmpeg -i input.m2ts -vf yadif=deint=interlaced -f yuv4mpegpipe - | x264 --demuxer y4m -o out.mp4 - |
|
|