Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th April 2011, 00:17   #161  |  Link
Tom Keller
Registered User
 
Tom Keller's Avatar
 
Join Date: Jan 2005
Posts: 77
Using MPC-HC 1.5.2.3018 with a couple of 1080p H.264 clips @23.976fps (on WinXP SP3; C2D E6600 @2,4Ghz; 9600GT with driver version 267.24) i always experience some very high cpu consumption here (around 50-55%) with almost every video renderer... except madVR . I counter checked with GraphStudio - same there.

So using VMR9 or EVR with the LAV CUVID Decoder simply gives me a higher cpu load, than pure software decoding ... and therefore occasional stuttering. The only exception is madVR as video renderer - this lowers my cpu consumption to a total of 13-17% playing the same files.

Any suggestions on what may be the reason of this behavior?
Tom Keller is offline   Reply With Quote
Old 9th April 2011, 16:40   #162  |  Link
roozhou
Registered User
 
Join Date: Apr 2008
Posts: 1,181
Quote:
Originally Posted by Tom Keller View Post
Using MPC-HC 1.5.2.3018 with a couple of 1080p H.264 clips @23.976fps (on WinXP SP3; C2D E6600 @2,4Ghz; 9600GT with driver version 267.24) i always experience some very high cpu consumption here (around 50-55%) with almost every video renderer... except madVR . I counter checked with GraphStudio - same there.

So using VMR9 or EVR with the LAV CUVID Decoder simply gives me a higher cpu load, than pure software decoding ... and therefore occasional stuttering. The only exception is madVR as video renderer - this lowers my cpu consumption to a total of 13-17% playing the same files.

Any suggestions on what may be the reason of this behavior?
Did you tried overlay mixer? This has the least cpu and GPU comsumption under WinXP.
roozhou is offline   Reply With Quote
Old 9th April 2011, 17:56   #163  |  Link
Tom Keller
Registered User
 
Tom Keller's Avatar
 
Join Date: Jan 2005
Posts: 77
I did. Always the same: 50-55% cpu load, occasional stuttering and a bit of a laggy mouse cursor while playing. But no problem using madVR.


EDIT: I assume the problem is in some kind related to the NV12 colorspace, since CoreAVC behaves the same, when setting NV12 as only output format . CoreAVC doing fine though, using its internal colorspace conversion.
So when using LAV CUVID Decoder plus ffdshow for colorspace conversion there are no problems (with around 20-30% cpu load).

I guess i'll have to wait, till the LAV CUVID Decoder supports colorspace conversion itself and therefore different output formats. Or (maybe) a different graphics driver helps(?)...

EDIT 2: Tried GeForce driver versions 267.91 & 270.51 - no change at all .

Last edited by Tom Keller; 9th April 2011 at 18:36.
Tom Keller is offline   Reply With Quote
Old 9th April 2011, 18:42   #164  |  Link
Carpo
Registered User
 
Carpo's Avatar
 
Join Date: Dec 2002
Location: /dev/null
Posts: 1,368
only thing stoping me from using this decoder is the fact that it using it and madvr means i dont get any subtitles, other than that, they are a winning team
__________________
The Internet: where men are men, women are men, and children are FBI Agents
Carpo is offline   Reply With Quote
Old 9th April 2011, 18:45   #165  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by Carpo View Post
only thing stoping me from using this decoder is the fact that it using it and madvr means i dont get any subtitles, other than that, they are a winning team
This is not the fault of LAV CUVID but most likely a misconfiguration on your side.
sneaker_ger is offline   Reply With Quote
Old 9th April 2011, 18:51   #166  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Yea, I use it with madVR and the latest MPC-HC and I get subs. They work great for me.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 9th April 2011, 18:58   #167  |  Link
Carpo
Registered User
 
Carpo's Avatar
 
Join Date: Dec 2002
Location: /dev/null
Posts: 1,368
Yes, some how auto load subtitles was unticked, which is strange because i cant remember unticking it, and shouldn't be unticked on a fresh install of MPC-HC :/
__________________
The Internet: where men are men, women are men, and children are FBI Agents
Carpo is offline   Reply With Quote
Old 10th April 2011, 14:06   #168  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
Deinterlacing

nev,
I've just changed my video card from ATI 5750 to NVidia GTX 460 SE so I can use your decoder, cause I need hardware deinterlacing and often subtitles at the same time which is not possible with any other decoder out there but I'm sad to report that it's not working as I expected.
If you try the following sample
http://www.mediafire.com/?em2ouktaqfvd36f
(the same BBC-HD sample from the World Cup - Argentina vs. Nigeria that crashes VSFilter)
with MS DTV-DVD Video decoder and EVR you'll see perfect fluid motion.
With LAV CUVID decoder it's somewhat strange - if I pause the video I get the same picture, so it's not Bob-ed but it's not Vector Adaptive that I get with MS' decoder. .... or it could be that the frames are not sent to the deinterlacer in the correct order. I'm just guessing here but I hope you have some control over this and you can fix it.
Just to say that the problem is not only with this sample but with others that don't have subtitles or simply use a splitter (like Haali's) that doesn't expose the embedded DVB subtitles.
pankov is offline   Reply With Quote
Old 10th April 2011, 14:19   #169  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Well one difference is that when decoding it normally and letting EVR do the deinterlacing, you will actually get 50fps to the renderer, while when the decoder does it, it gets reduced to 25fps (no frame doubling). I don't know if/how i can influence that behaviour though..
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 10th April 2011, 15:03   #170  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
I see now that you are absolutely right but I hope you'll be able to find a solution to output all 50/60 deinterlaced frames.
Till then can you, please, add an option to output the interlaced frames/fields and set the appropriate interlaced flag so we can use the hardware deinterlacer in the renderer?
pankov is offline   Reply With Quote
Old 10th April 2011, 15:27   #171  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by nevcairiel View Post
Well one difference is that when decoding it normally and letting EVR do the deinterlacing, you will actually get 50fps to the renderer, while when the decoder does it, it gets reduced to 25fps (no frame doubling). I don't know if/how i can influence that behaviour though..
Interesting. So what does that mean for IVTC? I guess LAV CUVID outputs 30p for NTSC/ATSC interlaced movie content?
madshi is offline   Reply With Quote
Old 10th April 2011, 21:16   #172  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
Nev,
I think I've found a problem when using LAV CUVID and subtitles. To be precise LAV CUVID + DirectVobSub.
From my tests I noticed that these two don't work at all and sadly that's the only way to show subtitles in ZoomPlayer.
I think I've also found the reason but I'll be happy if you confirm and probably fix it in the future. From your posts I understand that currently LAV CUVID supports NV12 output while DirectVobSub doesn't support it at all. It still supports YV12 and from madshi's posts in the madVR thread I understood that these two formats are almost the same - there is a quick and lossless transformation between them.
So my question is "do you plan to add YV12 support to your decoder?" ... or NV12 support to VobSub if it's easier ... or I better ask the MPC developers for the last one?
pankov is offline   Reply With Quote
Old 10th April 2011, 21:17   #173  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
The hardware decoder always outputs NV12, and i currently have no plans to write code to convert it into anything else, sorry.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 10th April 2011, 21:27   #174  |  Link
italospain
Registered User
 
Join Date: Nov 2010
Posts: 57
Quote:
Originally Posted by pankov View Post
nev,
I've just changed my video card from ATI 5750 to NVidia GTX 460 SE so I can use your decoder, cause I need hardware deinterlacing and often subtitles at the same time which is not possible with any other decoder out there but I'm sad to report that it's not working as I expected.
If you try the following sample
http://www.mediafire.com/?em2ouktaqfvd36f
(the same BBC-HD sample from the World Cup - Argentina vs. Nigeria that crashes VSFilter)
with MS DTV-DVD Video decoder and EVR you'll see perfect fluid motion.
With LAV CUVID decoder it's somewhat strange - if I pause the video I get the same picture, so it's not Bob-ed but it's not Vector Adaptive that I get with MS' decoder. .... or it could be that the frames are not sent to the deinterlacer in the correct order. I'm just guessing here but I hope you have some control over this and you can fix it.
Just to say that the problem is not only with this sample but with others that don't have subtitles or simply use a splitter (like Haali's) that doesn't expose the embedded DVB subtitles.
There is no problem to get Subtitles with Hardware Deinterlacing with Zoom Player at least with ATI Cards.

I use ffdshow raw filter after CoreAVC (output set to Y12) to aktivate NV12 BOB and subtitles. It fixes CoreAVC wrong field order too.
I do the same with DScaler IVTC Mod for mpeg2 (doesnt support NV12) but this way i get hardware deinterlacing and subtitles.

Last edited by italospain; 10th April 2011 at 21:30.
italospain is offline   Reply With Quote
Old 10th April 2011, 21:29   #175  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661

I guess I should read better next time before deciding on changing hardware just on hunches that it will solve all my problems.
At the moment both my dreams (VA deinterlacing with madVR and VA deinterlacing + subtitles) are unfulfilled
but nevertheless thanks for all your hard work
pankov is offline   Reply With Quote
Old 10th April 2011, 21:36   #176  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
italospain,
are you saying that you get the great quality of the Vector Adaptive deinterlacing that we get with the MS decoder?
I simply can't imagine how it's possible for ffdshow to add subtitles to an interlaced video stream and still keep it unmolested and send it to the renderer. btw which renderer are you using?
can you, please, post (or if it's better to send them as PM - to not pollute this thread) some screenshots of your ffdshow settings?
pankov is offline   Reply With Quote
Old 10th April 2011, 21:57   #177  |  Link
italospain
Registered User
 
Join Date: Nov 2010
Posts: 57
Quote:
Originally Posted by pankov View Post
italospain,
are you saying that you get the great quality of the Vector Adaptive deinterlacing that we get with the MS decoder?
I simply can't imagine how it's possible for ffdshow to add subtitles to an interlaced video stream and still keep it unmolested and send it to the renderer. btw which renderer are you using?
can you, please, post (or if it's better to send them as PM - to not pollute this thread) some screenshots of your ffdshow settings?
yeah i get vector adaptive deinterlacing.

there are no special ffdshow settings only nv12 and bob and subtitles

I have made a ffdshow Profile for interlaced material (*.mkv-i in ffdshow Profiles) together with Smart play Profile of Zoom player (use EVR & ffdshow raw filter(NV12 BOB Subtitles) only for interlaced material otherwise madVR(YV12 Weave DirectVobSub))

if you dont want CoreAVC you can use ffdshow decoder the subtitles works fine with hardware deinterlacing.

oh and there is a bug in Zoom Player Version 6 the subtitles must be external to be shown by ffdshow (you can do it with MKVtoolnix)

sorry for the wrong thread

Last edited by italospain; 10th April 2011 at 23:04.
italospain is offline   Reply With Quote
Old 11th April 2011, 10:28   #178  |  Link
italospain
Registered User
 
Join Date: Nov 2010
Posts: 57
Quote:
Originally Posted by madshi View Post
Interesting. So what does that mean for IVTC? I guess LAV CUVID outputs 30p for NTSC/ATSC interlaced movie content?
for ATI Cards you can activate Hardware IVTC like Hardware Deinterlacing (NV12 & BOB & EVR)

Last edited by italospain; 11th April 2011 at 10:35.
italospain is offline   Reply With Quote
Old 11th April 2011, 11:54   #179  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
yes,
but the question madshi aks is will the decoer (LAV CUVID) know that the framerate is change from 30 fps (29.940) to 24fps (23.976) and be able to tell it to renderer (madVR)
pankov is offline   Reply With Quote
Old 11th April 2011, 14:31   #180  |  Link
roozhou
Registered User
 
Join Date: Apr 2008
Posts: 1,181
Compared to deinterlace, IVTC is quite easier. IMO it is not very difficult to add an adaptive IVTC option to the renderer.
roozhou is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


All times are GMT +1. The time now is 20:11.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.