bugBino - Bugs: bug #33365, Add support for interlaced video

 
 

bug #33365: Add support for interlaced video

Submitted by:  Martin Lambers <marlam>
Submitted on:  Sun 22 May 2011 08:45:43 AM UTC  
 
Severity: 1 - WishStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 03 Jun 2017 12:57:57 PM UTC, comment #6:

Interlaced video should die. And is hopefully not relevant to stereoscopic videos today.

Martin Lambers <marlam>
Project Administrator
Tue 14 Aug 2012 07:45:23 PM UTC, comment #5:

With the new 1.4 pipeline, this should be possible. From one input frame, we can render one of two deinterlaced frames depending on the time.

Martin Lambers <marlam>
Project Administrator
Tue 14 Aug 2012 05:57:09 PM UTC, comment #4:

libavfilter is probably overkill for this task: it it really designed for real-time deinterlacing? YADIF is not, for sure.

the problem is more with the video pipeline: if we deinterlace, do we have to double the framerate?
for sports, the answer is of course yes, since that's the excuse for using interlaced video for broadcast.
it means that one ffmpeg frame becomes two output frames in bino. Is the bino pipeline ready for that, Martin?

concerning the filter, the LA (line average) filter is probably OK. The EELA and MELA filters are also quite simple, but contain branching instructions. I can provide references and C code for MELA and EELA.

Frédéric Devernay <devernay>
Tue 14 Aug 2012 05:53:53 PM UTC, comment #3:

Hi Gary, can you post your code to the mailing list (bino-list@nongnu.org; you don't need to subscribe)? Maybe we can pick it up and integrate it. It would be useful if someone from the mailing list would do that as I don't have interlaced video myself.

Martin Lambers <marlam>
Project Administrator
Tue 14 Aug 2012 05:43:57 PM UTC, comment #2:

I've been using Bino to watch the BBC HD 3d Olympics broadcasts on a BENQ projector which supports 3d and I really wanted to remove the interlacing to improve the picture quality. My first attempt was to use ffmpeg to deinterlace the video and then watch it with Bino, and that worked, but took hours to decode and reencode. So I decided to try and add support for the avfilter libraries into bino 1.4, which I have got working more or less. It doesn't handle any possible filter, as it assumes all sorts of things it shouldn't, like the format and size of the image staying the same, but it works just fine with the yadif filter and solves my problem, making a significant difference to the watchability of the result.

I have no idea whether this code is of interest to anyone else, but I'm very happy to contribute it to the project.

One caveat, the avfilter code in ffmpeg appears to be in a major state of flux currently, and many of the calls I use to work with the current version of ffmpeg as used on Windows ( mxe ) are marked as deprecated in more recent builds of ffmpeg. I also discovered that a more recent version of ffmpeg reduces h264 decoding artifacts quite considerably....

Gary Bilkus <bilkusg>
Wed 25 Apr 2012 07:47:32 AM UTC, comment #1:

actually, most 3DTV broadcasts are interlaced (especially sports), and that's the main reason why side-by-side video is so popular, whereas above-below would better preserve the 3D.

A GLSL deinterlaced is very easy to do (I can contribute one), but the main issue is that the frame rate has to be doubled: one source video frame becomes two displayed frames. Can Bino's architecture handle this?

Frédéric Devernay <devernay>
Sun 22 May 2011 08:45:43 AM UTC, original submission:

Bino currently does not handle the special requirements of interlaced video, resulting in visible artifacts.

Maybe FFmpeg's deinterlacers can be used? Or do we need a GLSL-based deinterlace?

Is this really an issue, since interlaced video seems to become less important?

Martin Lambers <marlam>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bilkusg (Posted a comment)
  • -unavailable- added by devernay (Posted a comment)
  • -unavailable- added by marlam (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 03 Jun 2017 12:57:57 PM UTCmarlamStatusIn Progress=>Wont Fix
      Open/ClosedOpen=>Closed
    Tue 14 Aug 2012 05:53:53 PM UTCmarlamStatusNone=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1