News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

VDR replay good and Media replay not so good - interlacing problem

Started by Viking, January 20, 2009, 09:37:33 PM

Previous topic - Next topic

Viking

Hi,

I have recorded some things using DVB-T in denmark and it plays very well when using VDR recordings menu.
But replaying them with the Media listing looks awfull. Lots of Interlacing around Peoples bodies and elsewhere :(

VDR was changed in setup.conf to use tvtime :
xineliboutput.Video.Deinterlace = tvtime
xineliboutput.Video.DeinterlaceOptions = method=GreadyH,cheap_mode=0,pulldown=none,framerate_mode=full,judder_correction=1,use_progressive_frame_flag=1,chroma_filter=0,enabled=1

Btw. found a link explaining the options (someone asked in another topic) : http://www.linuxtv.org/pipermail/vdr/2008-July/017296.html


How can I change the the normal replay to also do interlacing ?


Btw. would it be possible to remove the resume.vdr files from the media listing, does not look very nice ;)

Thanks a lot to everybody working on integrating VDR into LinuxMCE :)

Greetings
Viking
My System :

[url="http://wiki.linuxmce.org/index.php/User:Viking"]http://wiki.linuxmce.org/index.php/User:Viking[/url]

colinjones

You can turn on deinterlacing for the MD in the admin site, but this will impact performance. No idea whether this means it deinterlaces twice when playing live TV (which would be bad)

Marie.O

Quote from: Viking on January 20, 2009, 09:37:33 PM
[..]
But replaying them with the Media listing looks awfull. Lots of Interlacing around Peoples bodies and elsewhere :(
[..]
xineliboutput.Video.Deinterlace = tvtime
xineliboutput.Video.DeinterlaceOptions = method=GreadyH,cheap_mode=0,pulldown=none,framerate_mode=full,judder_correction=1,use_progressive_frame_flag=1,chroma_filter=0,enabled=1
[..]

Could you check, if changing /etc/pluto/xine.conf helps you with the deinterlacing? I don't know, if the settings in there get overwritten (I think they don't), maybe that helps.

Keep us posted, please.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Viking

Hi,

I found the "try /etc/pluto/xine.conf" tipp somewhere else and already tried that. But maybe I did not find the right switches to play with. Some of the settings are marked as deprecated. Those I did not test yet. But until now I did not see any improvement.

Does anybody know if I must do a "quick reload" before the xine.conf settings are used ? Or are they used the next time one play something ?

If I find out something I will keep you informed :)

Greetings
Viking
My System :

[url="http://wiki.linuxmce.org/index.php/User:Viking"]http://wiki.linuxmce.org/index.php/User:Viking[/url]

colinjones

Yes, you will need to do a reload. I note that you didn't take my advice. Can't help you any further ... the setting is already in the web admin.

Marie.O

Quote from: colinjones on January 22, 2009, 03:53:35 AM
Yes, you will need to do a reload. I note that you didn't take my advice. Can't help you any further ... the setting is already in the web admin.

does clicking Deinterlace on the web admin update the pluto/xine.conf?
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

colinjones

Quote from: posde on January 22, 2009, 10:34:06 AM
Quote from: colinjones on January 22, 2009, 03:53:35 AM
Yes, you will need to do a reload. I note that you didn't take my advice. Can't help you any further ... the setting is already in the web admin.

does clicking Deinterlace on the web admin update the pluto/xine.conf?

not sure, haven't checked - not sure on whether that config file is just for the Xine GUI player or whether it effects anything using the libraries. Changing the admin settings definitely has an impact on both the image and CPU usage...

Viking

Hi Collin,

sorry, must have overlooked your advice - will have a look at it and report back :)

Greetings
Viking
My System :

[url="http://wiki.linuxmce.org/index.php/User:Viking"]http://wiki.linuxmce.org/index.php/User:Viking[/url]

Viking

Hi again,

found it, so far it improves the VDR replay a lot :)
I think it only has an impact on stuff that is interlaced. Xine must be intelligent enough to decide when it is good to deinterlace and when not.
Did only try to play some HD video trailers and they did not seem to get deinterlaced (probably because they are not interlaced ;)). And as far as one can say using vmstat it did not look like ther ewas any CPU impact.

@colin
Thanks a lot :)

Greetings
Viking
My System :

[url="http://wiki.linuxmce.org/index.php/User:Viking"]http://wiki.linuxmce.org/index.php/User:Viking[/url]

totallymaxed

Quote from: Viking on January 26, 2009, 11:28:27 PM
Hi again,

found it, so far it improves the VDR replay a lot :)
I think it only has an impact on stuff that is interlaced. Xine must be intelligent enough to decide when it is good to deinterlace and when not.
Did only try to play some HD video trailers and they did not seem to get deinterlaced (probably because they are not interlaced ;)). And as far as one can say using vmstat it did not look like ther ewas any CPU impact.

@colin
Thanks a lot :)

Greetings
Viking

In LinuxMCE-710 the xine configs for media playback from the media menu in the Orbiter and for playback of recordings (or live TV) in vdr are separate. You are already setting the deinterlace options correctly inside vdr (I would suggest trying the various de-interlacers available from inside the TVtime menu).

For deinterlacing of media playback from the Media menu in the Orbiter you need to set that on a per MD basis from Web Admin ->Wizard -> Devices -> Media Directors... scroll to the MD you want to set deinterlacing for and choose the setting from the 'Deinterlace Quality' pop-up (I would suggest choosing Lowest, Low or Medium as they have negligible performance impact)

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

Viking

Hallo Andrew,

Thanks for the sugestions :) - I did not test much yet, but Low setting already improved the media replay a lot.

Greetings
Viking
My System :

[url="http://wiki.linuxmce.org/index.php/User:Viking"]http://wiki.linuxmce.org/index.php/User:Viking[/url]