Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-30-08, 03:52 AM   #1
jusst
Registered User
 
Join Date: Mar 2006
Posts: 99
Default VDPAU deinterlacing framerate

Hi,

I am just wondering if VDPAU is able to create 50 frames out of 50 interlaced fields, so that it is capable of making up smooth video in case of sports, etc?

Regards,
Julian
jusst is offline   Reply With Quote
Old 11-30-08, 06:04 PM   #2
markkendall
Registered User
 
Join Date: Mar 2005
Posts: 53
Default Re: VDPAU deinterlacing framerate

Quote:
Originally Posted by jusst View Post
I am just wondering if VDPAU is able to create 50 frames out of 50 interlaced fields, so that it is capable of making up smooth video in case of sports, etc?
Yes - this already works in mythtv and the quality is pretty good.

Regards

Mark
markkendall is offline   Reply With Quote
Old 11-30-08, 11:09 PM   #3
jyavenard
MythTV developer
 
Join Date: Mar 2006
Posts: 413
Default Re: VDPAU deinterlacing framerate

How does it compare to the opengl hardware accelerated deinterlacer (using your set of opengl patches) ?
jyavenard is offline   Reply With Quote
Old 12-01-08, 08:33 AM   #4
markkendall
Registered User
 
Join Date: Mar 2005
Posts: 53
Default Re: VDPAU deinterlacing framerate

Quote:
Originally Posted by jyavenard View Post
How does it compare to the opengl hardware accelerated deinterlacer (using your set of opengl patches) ?
Hard to say, but I'd probably go for the opengl version.

Mark
markkendall is offline   Reply With Quote
Old 12-01-08, 01:12 PM   #5
jusst
Registered User
 
Join Date: Mar 2006
Posts: 99
Default Re: VDPAU deinterlacing framerate

Quote:
Originally Posted by markkendall View Post
Yes - this already works in mythtv and the quality is pretty good.

Regards

Mark
Does mythtv only provide older frames than the current one to VdpVideoMixerRender or also future ones?

Regards,
Julian
jusst is offline   Reply With Quote
Old 12-01-08, 04:13 PM   #6
markkendall
Registered User
 
Join Date: Mar 2005
Posts: 53
Default Re: VDPAU deinterlacing framerate

Quote:
Originally Posted by jusst View Post
Does mythtv only provide older frames than the current one to VdpVideoMixerRender or also future ones?
2 past frames and 1 future frame (i.e. 4 in total) - as suggested in the docs.

Regards

Mark
markkendall is offline   Reply With Quote
Old 12-01-08, 04:42 PM   #7
jyavenard
MythTV developer
 
Join Date: Mar 2006
Posts: 413
Default Re: VDPAU deinterlacing framerate

Quote:
Originally Posted by markkendall View Post
Hard to say, but I'd probably go for the opengl version.

Mark
Great to know...

This help not taking the jump to Myth trunk right now ..

Though, I'm not entirely happy with any deinterlacing options provided by MythTV, even with your OpenGL patches ...
It's amazing how much of a good job my Sony TV is doing with the build-in TV tuner... If only I could achieve the same results with Myth
jyavenard is offline   Reply With Quote
Old 12-13-08, 03:47 PM   #8
jusst
Registered User
 
Join Date: Mar 2006
Posts: 99
Default Re: VDPAU deinterlacing framerate

I am just wondering how 50fps can be generated for interlaced material?
Actually the decoder will deliver the top and bottom field merged in one VdpVideoSurface and I don't see a way how to make two OutputSurfaces out of this again?
Or am I missing something out here?
jusst is offline   Reply With Quote

Old 12-13-08, 05:25 PM   #9
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: VDPAU deinterlacing framerate

For 50i material, the fields are delivered at 50Hz.

For each field, you pass it to VdpMixerRender, together with some other past/future fields (one of those will be in the same surface as the primary field being de-interlaced)

For each field given to VdpMixerRender as input, a frame is produced as output.

Hence, you have 50i -> 50p de-interlacing (or similarly, 60i -> 60p for US standards)
Stephen Warren is offline   Reply With Quote
Old 12-14-08, 04:09 AM   #10
jusst
Registered User
 
Join Date: Mar 2006
Posts: 99
Default Re: VDPAU deinterlacing framerate

Ah, thanks for that clarification.
So we would call VideoMixerRender the first time when the top field is rendered into the surface and then again when the bottom surface is rendered into the surface?

How is pulldown done where framerate might actually change? Like 60i->24p or 50i to 25p?
jusst is offline   Reply With Quote
Old 12-14-08, 04:32 AM   #11
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU deinterlacing framerate

Quote:
Originally Posted by jusst View Post
So we would call VideoMixerRender the first time when the top field is rendered into the surface and then again when the bottom surface is rendered into the surface?
No, you call VideoMixerRender twice with both_fields_surface as current_surface (and different future/past surfaces set accordingly). Of course, both outputSurfaces from mixer are queued with a display time interval of video_step/2.
At least that's how i understand the VDPAU
crisalide is offline   Reply With Quote
Old 12-14-08, 04:44 AM   #12
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU deinterlacing framerate

Btw, still lots of tearing here with 180.16
Both mplayer and xine.
With a 9500GT if this matters.

(xvideo and opengl synctovblank working)
crisalide is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
NVIDIA VDPAU Reference Benchmarks News Archived News Items 0 06-11-12 05:30 AM
What's your framerate in SOF 2 multiplayer? Fook Me Gaming Central 1 08-27-02 03:24 AM

All times are GMT -5. The time now is 05:31 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.