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 21st July 2011, 17:55   #961  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,744
I'm just assuming here you're using madVR 0.67 - which is actually causing this problem.

In any case, i've applied a small fix which should make LAV CUVID more resistant against this problem in the future.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 22nd July 2011, 06:35   #962  |  Link
lych_necross
ZZZzzzz...
 
lych_necross's Avatar
 
Join Date: Jan 2007
Location: USA
Posts: 302
Quote:
Originally Posted by nevcairiel View Post
I'm just assuming here you're using madVR 0.67 - which is actually causing this problem.

In any case, i've applied a small fix which should make LAV CUVID more resistant against this problem in the future.

Yes I was using madVR 0.67. I downgraded to madVR 0.66 and all is well.
lych_necross is offline   Reply With Quote
Old 26th July 2011, 00:41   #963  |  Link
mindbomb
Registered User
 
Join Date: Aug 2010
Posts: 578
http://www.megaupload.com/?d=LAJVY9EO

this file(33mb) doesnt play in cuvid .9, but plays with dxva filters.
mindbomb is offline   Reply With Quote
Old 27th July 2011, 13:41   #964  |  Link
Virtual_ManPL
Virtual_ManPL
 
Virtual_ManPL's Avatar
 
Join Date: Sep 2009
Posts: 168
Aspect ratio bug
Looks identical like in CoreAVC - http://forum.doom9.org/showthread.ph...00#post1390600
Virtual_ManPL is offline   Reply With Quote
Old 27th July 2011, 14:06   #965  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,744
Quote:
Originally Posted by Virtual_ManPL View Post
Aspect ratio bug
Looks identical like in CoreAVC - http://forum.doom9.org/showthread.ph...00#post1390600
This is not a bug.

Disable "Use Stream AR" in LAV CUVID settings.
Those encodes are just broken, having a wrong AR encoded in the bitstream. Haali manually overwrites that AR, so CoreAVC didn't have to offer this option in the decoder.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 27th July 2011, 14:09   #966  |  Link
Virtual_ManPL
Virtual_ManPL
 
Virtual_ManPL's Avatar
 
Join Date: Sep 2009
Posts: 168
Ahhh, didn't try it at first.
Now works fine, thank you.
Virtual_ManPL is offline   Reply With Quote
Old 29th July 2011, 00:44   #967  |  Link
mark0077
Registered User
 
Join Date: Apr 2008
Posts: 1,047
quick question guys if anyone knows the answer it would be great. Does the output colorspaces option in lavcuvid have an impact when lavcuvid does hardware de-interlacing?

I'm outputting from lavcuvid into avisynth, which doesn't take nv12 as input, but I'm afraid that selecting yv12 in lavcuvid will have a negative impact on my de-interlacing quality but am not sure if this is just the final output colorspace, or a colorspace used internally for deinterlacing..

Edit:btw this is using nvidia gpu which obviously has better deinterlacing when fed nv12 afaik

Last edited by mark0077; 29th July 2011 at 01:06.
mark0077 is offline   Reply With Quote
Old 29th July 2011, 00:52   #968  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 647
I think the quality will not be affected if you change from nv12 to yv12 but I'm not 100% sure
__________________
GA-Z170X-Gaming 3 | i5-6500 | 16GB RAM | 256GB SSD + 4TB HDD + 35TB NAS
NVIDIA GTX 960 2GB (364.72) | 2 displays @ 1920x1200/1080 (LCD Mon. + 3D Projector)
Win 10 64bit + Zoom Player v12.0 beta
pankov is offline   Reply With Quote
Old 29th July 2011, 07:08   #969  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,744
The decoder internally always works with NV12, its the only format it natively supports at this point. If you request YV12 output, it'll be converted manually (eg. by LAV CUVID, not by the NVIDIA driver) afterwards.
There is no quality difference between NV12 or YV12 output - both formats are 100% identical (except their different memory layout, of course)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 29th July 2011, 11:25   #970  |  Link
dandyjun
Registered User
 
Join Date: Jul 2011
Posts: 1
I thank for your decoder codec.

But I have one problem for divx/xvid format on my laptop with Nvidia optimus system.

My GT540m is VP, C feature.

0.7 version can decode for divx/xvid with Nvidia optimus system.
But 0.8 and 0.9 version can't decode that.

I think that you don't consider Nvidia optimus system.
dandyjun is offline   Reply With Quote
Old 29th July 2011, 11:54   #971  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
Quote:
Originally Posted by dandyjun View Post
I thank for your decoder codec.

But I have one problem for divx/xvid format on my laptop with Nvidia optimus system.

My GT540m is VP, C feature.

0.7 version can decode for divx/xvid with Nvidia optimus system.
But 0.8 and 0.9 version can't decode that.

I think that you don't consider Nvidia optimus system.
Nvidia VDPAU Feature Sets
Feature Set C Complete acceleration for MPEG-1, MPEG-2, MPEG-4 Part 2 (a.k.a MPEG-4 ASP), VC-1/WMV9 and H.264. Global motion compensation and Data Partitioning are not supported for MPEG-4 Part 2.
betaking is offline   Reply With Quote
Old 29th July 2011, 12:27   #972  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,744
Quote:
Originally Posted by dandyjun View Post
But I have one problem for divx/xvid format on my laptop with Nvidia optimus system.

My GT540m is VP, C feature.

0.7 version can decode for divx/xvid with Nvidia optimus system.
But 0.8 and 0.9 version can't decode that
Without owning a Optimus capable device, there isn't much i can do. I don't know how the devices are reported to the system.

XVID/DIVX is really not the most complicated format, and i don't think it hurts anyone if its falsely detected as not supported.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 30th July 2011, 17:18   #973  |  Link
Xaurus
Registered User
 
Join Date: Jun 2011
Posts: 281
Nev,

I've gone back to LAVcuvid for 1080i since there are no other options out there that can match the deinterlacing quality.
While not perfect, it's still better than anything I could do with FFDSHOW + YADIF.

I've done much reading here:
http://www.avsforum.com/avs-vb/showthread.php?t=1157287

Also, those videos provided there might prove useful to anyone that wants to check the deinterlacing capability of their setup. And of Nev to fine-tune LAVcuvid.

Quote:
Download - Format (MPEG-2 TS - 1920*1080):

NTSC interlaced:
1080i - 29.97 fps - VBR, 20 mbps - (42 MB)
NTSC progressive:
1080p - 29.97 fps - VBR, 16 mbps - (29 MB)

PAL interlaced:
1080i - 25 fps - VBR, 20 mbps - (50 MB)
PAL progressive:
1080p - 25 fps - VBR, 16 mbps - (35 MB)

The progressive versions may be good e.g. to watch the perfect structures and movements without any deinterlacing disortion.


Download - Format (H.264 - 1920*1080):
NTSC interlaced:
H.264 - 1080i - 29.97 fps - (36 MB)
PAL interlaced:
H.264 - 1080i - 25 fps - (33 MB)


Download - Format (VC-1 - 1920*1080):
NTSC interlaced:
TS (26MB) NTSC 1920x1080 interlaced 29.97fps
NTSC interlaced:
MKV (27MB) NTSC 1920x1080 interlaced 29.97fps
Xaurus is offline   Reply With Quote
Old 30th July 2011, 17:22   #974  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,744
The Cheese Slices video is a common testing video, already knew it.

Also, i don't think speaking of "percect" when talking about deinterlacing is really realistic. You have a video with only half the information, and you have to interpolate the missing information. There is clearly still some artifacting going on with the hardware deinterlaces - however this is a very artificial sample, on real world samples, i consider the GPUs already pretty damn good.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 30th July 2011 at 17:24.
nevcairiel is offline   Reply With Quote
Old 31st July 2011, 01:08   #975  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 647
nev,
today I tried an old MPEG2 .ts TV stream and it didn't play correctly with LAV CUVID while LAV Video, FFDShow and madVR's Decoders played it fine. From madVR's OSD I noticed that it was a 4:2:2 so I guess that my (if any) video card doesn't support it in hardware. Is this correct?
Is there anything I can do to have LAV CUVID as my preferred decoder but still use another one for such unsupported streams?
If you need I can provide a sample, but I think you already have such streams.
__________________
GA-Z170X-Gaming 3 | i5-6500 | 16GB RAM | 256GB SSD + 4TB HDD + 35TB NAS
NVIDIA GTX 960 2GB (364.72) | 2 displays @ 1920x1200/1080 (LCD Mon. + 3D Projector)
Win 10 64bit + Zoom Player v12.0 beta
pankov is offline   Reply With Quote
Old 31st July 2011, 03:55   #976  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,927
Quote:
Originally Posted by nevcairiel View Post
The Cheese Slices video is a common testing video, already knew it.

Also, i don't think speaking of "percect" when talking about deinterlacing is really realistic. You have a video with only half the information, and you have to interpolate the missing information. There is clearly still some artifacting going on with the hardware deinterlaces - however this is a very artificial sample, on real world samples, i consider the GPUs already pretty damn good.
Don't let Didee hear that

Quote:
Originally Posted by pankov View Post
nev,
today I tried an old MPEG2 .ts TV stream and it didn't play correctly with LAV CUVID while LAV Video, FFDShow and madVR's Decoders played it fine. From madVR's OSD I noticed that it was a 4:2:2 so I guess that my (if any) video card doesn't support it in hardware. Is this correct?
Is there anything I can do to have LAV CUVID as my preferred decoder but still use another one for such unsupported streams?
If you need I can provide a sample, but I think you already have such streams.
Nope not yet also no Player yet is eventually designed to be as smart, a few advanced DXVA Decoder though fallback already automatically to their Software Decoders if Studio Profile is detected but not many support Studio Profile @ all to begin with.
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 31st July 2011 at 04:01.
CruNcher is offline   Reply With Quote
Old 31st July 2011, 08:32   #977  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,744
All hardware decoders are currently limited to 4:2:0.

I already have the code to probe the MPEG-2 media type if its 4:2:2 or 4:2:0, and refuse connection in this case. I just need to get around to adding it.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 31st July 2011, 10:56   #978  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,927
Yep Finally Lav Cuvid would be able then to fallback to any preferred Software Studio Profile Decoder as Lav Video, MPCs Video Decoder, Mainconcept, Nero ect the same then needs to be done for H.264 and those different non "consumer" hardware decoder supported profiles.
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004
CruNcher is offline   Reply With Quote
Old 31st July 2011, 14:22   #979  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,479
Quote:
Originally Posted by CruNcher View Post
the same then needs to be done for H.264 and those different non "consumer" hardware decoder supported profiles.
Which would be? nevcairiel seems to be blocking every not supported type he knows of already, so if you know even more, spit it out.
sneaker_ger is offline   Reply With Quote
Old 1st August 2011, 22:46   #980  |  Link
magic144
Registered User
 
Join Date: May 2005
Posts: 380
Hi - hope someone can help...
Can anybody explain the following:-

I'm testing with a 1080i retail music video BD, output to my LCD monitor via DVI, 1920x1200@60Hz
NVIDIA GeForce 9500GT

CUVID Settings:-
Frame Rate - 50p/60p (Video)
Use Stream Aspect Ratio (yes)
Use HQ DXVA processing (yes)
Field Order (Auto)
Output Format (Auto)

If I set Deinterlacing to "Adaptive", the video seems to play back half-speed compared to the audio and falls horribly out of sync. The renderer properties (EVR) are showing 59+ fps...
However if I choose either of the other None/Bob settings, EVR shows same fps but Video plays at correct speed...

Thanks in advance if anyone can explain this!

m
magic144 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 21:45.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.