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. |
![]() |
#1 | Link |
Registered User
Join Date: Mar 2014
Location: Hungary
Posts: 108
|
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
![]() ![]() Debian 8.1 x264-r2538-121396c |
![]() |
![]() |
![]() |
#2 | Link |
ffx264/ffhevc author
Join Date: May 2007
Location: Belgium
Posts: 1,781
|
You don't need Avisynth for a simple deinterlace. Use ffmpeg for that, it has a few deinterlacers
__________________
TV: Samsung 50" QE50Q60T AVR: Yamaha RX-V481 5.1 CD Player: Yamaha CD-S300 DAB+ Tuner: Yamaha T-D500 BD Player: Samsung UBD-M8500 UHD Speakers: Klipsch 5.1 Reference Phono: Audio-Technica AT-LP120XUSB |
![]() |
![]() |
![]() |
#5 | Link |
ffx264/ffhevc author
Join Date: May 2007
Location: Belgium
Posts: 1,781
|
Make your life easier and use ffmpeg for the whole process. It uses libx264 for encoding so there's no difference between using x264 directly or encoding through ffmpeg
__________________
TV: Samsung 50" QE50Q60T AVR: Yamaha RX-V481 5.1 CD Player: Yamaha CD-S300 DAB+ Tuner: Yamaha T-D500 BD Player: Samsung UBD-M8500 UHD Speakers: Klipsch 5.1 Reference Phono: Audio-Technica AT-LP120XUSB |
![]() |
![]() |
![]() |
#7 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,290
|
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 |
![]() |
![]() |
![]() |
#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 |
![]() |
![]() |
![]() |
#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 - |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|