Proper playback of interlaced video

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
jkprague
New Cone
New Cone
Posts: 5
Joined: 26 Apr 2010 10:53

Proper playback of interlaced video

Postby jkprague » 26 Apr 2010 11:39

Hi,

I was wondered the VLC doesn't play back interlaced video properly. I would expect both fields of 50i will be displayed independently with interpolation at 50fps rate. But they are not. Well I guess only MPEG2 50i is played back properly (at least in Mac OS X).

It there any plan to improve it? Thanks

jk

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Proper playback of interlaced video

Postby Jean-Baptiste Kempf » 26 Apr 2010 13:18

What?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jkprague
New Cone
New Cone
Posts: 5
Joined: 26 Apr 2010 10:53

Re: Proper playback of interlaced video

Postby jkprague » 28 Apr 2010 11:42

What "what"?

How VLC does playback of 50i video? It blends both fields together and makes 25p, right? So? It's wrong! 50i is of course 25 frames per seconds but 50 fields per seconds. Making 25p from 50i creates jerky video. I mean "home" video where most people don't care about camera movements. Professionals do special technique how to shot films not being jerky at 24fps.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Proper playback of interlaced video

Postby Jean-Baptiste Kempf » 28 Apr 2010 11:48

What "what"?

How VLC does playback of 50i video? It blends both fields together and makes 25p, right? So? It's wrong!
It doesn't.
Where did you find this assumption ?
50i is of course 25 frames per seconds but 50 fields per seconds. Making 25p from 50i creates jerky video. I mean "home" video where most people don't care about camera movements. Professionals do special technique how to shot films not being jerky at 24fps.
Some deinterlacers are doubling frames, some are not.
Use yadif(x2) that is the best deinterlacer and that is doubling frames.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jkprague
New Cone
New Cone
Posts: 5
Joined: 26 Apr 2010 10:53

Re: Proper playback of interlaced video

Postby jkprague » 28 Apr 2010 22:11

What "what"?

How VLC does playback of 50i video? It blends both fields together and makes 25p, right? So? It's wrong!
It doesn't.
Where did you find this assumption ?
It generates visually the same result (if it looks like a duck and it sounds like a duck ... :-)). Sure I didn't check it in source code.
I simplified it by "blending". There are 2 or 3 exceptions. See below...
50i is of course 25 frames per seconds but 50 fields per seconds. Making 25p from 50i creates jerky video. I mean "home" video where most people don't care about camera movements. Professionals do special technique how to shot films not being jerky at 24fps.
Some deinterlacers are doubling frames, some are not.
Use yadif(x2) that is the best deinterlacer and that is doubling frames.
[/quote]

yadif(x2) is absolutely unusable for on the fly deinterlacing of HD on most of today's machines. Try the following clip: http://bit.ly/aWIxNC. The best result you can get with linear or bob. But whenever you reencode it to h.264 the playback is horrible even with linear and bob deinterlacer.

Or do you know how to reencode the given HD MPEG-2 file to h.264 and keep interlacing and playback with on the fly deinterlacing that double frames? Thanks a lot.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Proper playback of interlaced video

Postby Jean-Baptiste Kempf » 29 Apr 2010 12:05

bob, linear and yadifx2 are frame doublers.

yadif(x2) with HD decoding works fine here with GPU decoding.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Lotesdelere
Cone Master
Cone Master
Posts: 10117
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Proper playback of interlaced video

Postby Lotesdelere » 29 Apr 2010 13:06

yadif(x2) is absolutely unusable for on the fly deinterlacing of HD on most of today's machines. Try the following clip: http://bit.ly/aWIxNC. The best result you can get with linear or bob.
I have no problems at all using Yadif 2x with your sample and in software mode but I agree that Yadif 2x is not working fine with some interlaced videos (for instance the Beyonce sample but there are other ones) while BOB is doing the job properly.

jkprague
New Cone
New Cone
Posts: 5
Joined: 26 Apr 2010 10:53

Re: Proper playback of interlaced video

Postby jkprague » 29 Apr 2010 17:25

bob, linear and yadifx2 are frame doublers.

yadif(x2) with HD decoding works fine here with GPU decoding.
But bob and linear didn't work for me if h.264 was used.

I haven't found any combination of codec and player(with frame doubler deinterlacer) to play 1080i coded in h.264 on machine with N9400. :-(

Do you know any workflow for this? Right now I have to generate 50p that doubles filesize.

jkprague
New Cone
New Cone
Posts: 5
Joined: 26 Apr 2010 10:53

Re: Proper playback of interlaced video

Postby jkprague » 04 May 2010 11:04

It looks like there is really no way how to properly play 1080i h.264 with linear or bob deinterlacer, isn't there? I haven't seen any 1080i h.264 sample working with VLC. Is it linear/bob bug or h.264 decoder?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 28 guests