Elisa doesn't decode interlaced videos properly

Bug #347219 reported by m0sia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Elisa Media Center
Invalid
Undecided
Unassigned
Moovida
Invalid
Medium
Unassigned

Bug Description

I have a lot of interlaced mpeg2 videos. It would be great, if elisa apply deinterlacing filter above such files.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Elisa uses gstreamer's playbin to reproduce media. So I guess the issue is in playbin itself that doesn't add the deinterlacer element to the pipeline when needed.

Can you run the following command and attach the output:

    gst-inspect | grep deinterlace

Does playing the file with totem-gstreamer deinterlace it?

Changed in elisa:
status: New → Incomplete
Revision history for this message
m0sia (m0sia) wrote :

$ gst-inspect | grep deinterlace
ffmpeg: ffdeinterlace: FFMPEG Deinterlace element
gstinterlace: deinterlace: Deinterlace
deinterlace2: deinterlace2: Deinterlacer

totem-gstreamer doesn't deinterlace it. I googled and found bug report that gstreamer playbin doesn't attach deinterlace filters in pipeline. https://bugs.launchpad.net/ubuntu/+source/gstreamer0.10/+bug/257818 And until now bug in gstreamer exist and still not fixed.

So this problem is not elisa trouble.

It's a pity, because i have a lot of video from my camcorder, that is interlaced. And i am using mostly elisa for my home theater pc.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Setting the status to confirmed. But as we are using playbin in Elisa, there is no chance this will be fixed until playbin itself is fixed.

summary: - Add deinterlacing filter for interlaced mpeg2 video
+ Elisa doesn't decode interlaced videos properly
Changed in elisa:
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Jonathan Rauprich (joni-noplu) wrote :

In the next version of gstreamer this is likely fixed, see: https://bugzilla.gnome.org/show_bug.cgi?id=547603
However this can be fixed with the current playbin too. The solution is using a Gst.Bin with a Gst.Ghostpad instead of the current video-sink.

The Bin could look like this ffdeinterlace -> pgmsink but i got better results with the following Bin: ffmpegcolorspace -> deinterlace -> ffmpegcolorspace -> video-sink

The deinterlace element can automatic detect if a stream is interlaced or not, however i din't know how well that is working.

Revision history for this message
Jonathan Rauprich (joni-noplu) wrote :

I've made a branch for it: https://code.launchpad.net/~joni-noplu/elisa/deinterlacing_support
This adds a option deinterlace to the PlayableModel, when its True, the video will be deinterlaced.

That helps for my DVB plugin, but if u watch interlaced streams from other sources (like the bug
opener) that dosn't help. Maybe add a button to the player do enable/disable deinterlacing.

Next Gstreamer versions, have deinterlace in playbin2 (see: https://bugzilla.gnome.org/show_bug.cgi?id=547603)
 that makes the code shorter, but the issue to turn it on/off still is there.

Revision history for this message
dino99 (9d9) wrote :

The latest free moovida 1.09 does not get any maintenance since a while. Now moovidadb.com is supporting Linux and support can be found at : http://www.fluendo.com/faq/

Changed in moovida:
status: Confirmed → Invalid
Changed in elisa:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.