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 30th March 2011, 12:40   #121  |  Link
xv
Registered User
 
Join Date: Mar 2010
Posts: 98
Quote:
Originally Posted by nevcairiel View Post
Playback is perfect for me, on both my GTS 450 and my GTX 570, using either the 267.24 or 266.58 driver.
Tested again:
MPC internal splitter: problem
Haali Splitter: problem
LAVSplitter: works
The renderer doesn´t matter. Since all other decoders I´ve tested (ffdshow, mpc internal, DivX, Microsoft, DiAVC trial) work with haali/mpc splitter the bug is probably in your decoder.
xv is offline   Reply With Quote
Old 30th March 2011, 12:41   #122  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,336
Lesson learned: use LAV Splitter!
I'll do some tests once i'm working on the decoder again, but from my past experience, there really has been a cycle of bugs surrounding the MPC splitters, the mpc decoders and ffdshow, where they all rely on the bugs of the other to work properly, and no-one is really doing it just right.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 30th March 2011 at 12:49.
nevcairiel is offline   Reply With Quote
Old 30th March 2011, 12:53   #123  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,255
just wondering,..
would it be possible to use this decoder (on a windows system) with mplayer/mencoder by modifying the codecs.conf similiar to
Code:
videocodec lavcuvid
   info "LAV CUVID Decoder"
   status working
   fourcc AVC,avc
   fourcc VSSH
   fourcc X264,x264
   fourcc h264,H264
   driver dshow
   dll "LAVCUVID.ax"
   out YV12
(since DGNVDec can't output Yv12 to stdout and feed i.e. x264 directly I just thought that using mencoder this might be a way to get gpu decoding to x264 without the need for avisynth and DGNVDec.)

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 30th March 2011, 12:56   #124  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,336
I have no idea how those setups work, but two things:
- the fourccs are AVC1 and avc1 (FourCC kinda implies its always 4 :P)
- It can only output NV12, not YV12
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 30th March 2011, 13:00   #125  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,255
Thanks! Will try a bit if I get this working,..
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 30th March 2011, 13:03   #126  |  Link
thuan
Registered User
 
Join Date: Sep 2005
Location: Vietnam, HCM City
Posts: 262

4x2GB Kingmax DDR2-800. Your question reminds me of some BIOS options related to VGA performance in my Gigabyte board. Gonna try tweaking.

I tried these youtube video with latest flash player and those play fine (only problem is my internet speed, 1.5Mbps). Unrelated note, the first video also reminds me how I dislike trance/house/club/psychedelic music, funny how other ppl in their twenties like them but I simply can't.
__________________
Home PC: Core i5-2400, 8GB RAM, nVidia GTX560Ti, Windows 7 64bit SP1.
Work PC: Intel Xeon X3220 (Core 2 Q6600), 4GB RAM, Intel G45, Windows 7 64bit SP1.
thuan is offline   Reply With Quote
Old 30th March 2011, 13:15   #127  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Quote:
Originally Posted by Selur View Post
Thanks! Will try a bit if I get this working,..
http://forum.doom9.org/showthread.php?t=141441 <- easier way (also should be more performant then going stdout)

@thuan
memory speed seems not to be the problem as nev also said he uses pinned memory try a new driver with a newer nvcuvid.dll you can also test different nvcuvid.dll by just pushing them in LA CUVIDs main filter directory if you want to seperate 3D from Video in Nvidias driver (works only reliable though if they didn't made major CUDA branch changes that impact also nvcuvid or and nvcuvenc)
__________________
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; 30th March 2011 at 13:33.
CruNcher is offline   Reply With Quote
Old 30th March 2011, 13:30   #128  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,255
Quote:
easier way
but it would require
1. for the .ax file to be registered,..
2. the use of directshow splitters
("also should be more performant then going stdout" -> shouldn't do much of a difference decoding with mencoder/ffmpeg and piping to x264 was on par with x264 and internal decoding, last time I checked )

-> played a bit around with the codecs.conf of mplayer, but didn't get it working,.. (may be I'll try it again some time)

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 30th March 2011, 13:37   #129  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Hehe yeah it would require a controlled Dshow environment else Dshow Hell is guaranteed, and yeah i myself use mencoder and piping and yet have to see lower performance same as stan and you use it reliable for their encoding frameworks (oldshool)
__________________
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; 30th March 2011 at 13:42.
CruNcher is offline   Reply With Quote
Old 30th March 2011, 13:51   #130  |  Link
thuan
Registered User
 
Join Date: Sep 2005
Location: Vietnam, HCM City
Posts: 262
@cruNcher: Indeed trying to change these settings in my BIOS did little to the whole problem, albeit setting Robust Graphic Booster at Turbo and set memory speed to integer multiple of my FSB seems to make the problem a "little" less severe but it is still nowhere acceptable. I'm using the latest 267.91 now and still the same problem. I'm thinking Gigabyte did something to this graphic board BIOS that causes it to conflict with newer nvidia driver. The only configuration I know that work is 258.96 with DXVA or CoreAVC CUDA, unfortunately lav cuvid is not compiled to be compatible with that driver version so I can't test. I also don't think it's a broken windows installation as I have tried to reinstall once and still only 258.96 works.
I'm torn between getting a GTS 450 board and waiting for a fix. Considering I'm only of minority (seen some other had this problems too), likely it will be the same as that ATI chroma upsampling problem that I reported to ATI a few years ago (the respondents said the screenshots I sent them looks fine lol, that guy must have worked with 14in CRT). We are at the mercy of manufacturers.

@selur: I don't think that is going to work as this DirectShow filter is only a wrapper of CUDA calls included in a Windows DLL that works with Windows driver.
__________________
Home PC: Core i5-2400, 8GB RAM, nVidia GTX560Ti, Windows 7 64bit SP1.
Work PC: Intel Xeon X3220 (Core 2 Q6600), 4GB RAM, Intel G45, Windows 7 64bit SP1.
thuan is offline   Reply With Quote
Old 30th March 2011, 14:05   #131  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
As you can read in CoreCodecs CoreAVC 2.5 changelog they use some ASM modifications for the CUDA Part i guess LA CUVID uses plain the Nvidia API but not really any optimization yet be it Colorspace Conversion or maybe other parts, though unfortunately the issue im facing Personally with both is not RAW Performance related at all and i don't found the reason for it yet.
__________________
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 30th March 2011, 16:10   #132  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
GPUDirect 2.0....does that buy any performance?
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 30th March 2011, 17:39   #133  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,336
As i understand it, GPUDirect is just a smart way to copy data between two CUDA cards, without ever seeing the CPU.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 30th March 2011, 18:21   #134  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Ah, I see. Not useful for us then. Thanks!
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 30th March 2011, 18:42   #135  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
finally its out that Drivers nvcuvenc.dll also fixes a very pesky Encoder bug that caused strange moving chroma
__________________
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 30th March 2011, 19:22   #136  |  Link
mark0077
Registered User
 
Join Date: Apr 2008
Posts: 1,106
Thanks alot navcairiel, very impressive stuff with the decoder. Strangely, and maybe I'm hoping you could explain if this is something that could be improved up on or not, but using this or the coreavc decoders with my GTX295 / core i7 920 setup on Windows 7, I get more frame drops than with ffdshow ffmpeg software decoder.

I am using madVR and some avisynth scripts that change the frame rate from ~24 -> 50fps so I'm not sure if anything in this chain, is known to cause a bottleneck somewhere gpu wize thats causing the frame drops. Its only 1 or 2 frame drops a second but I am now getting 0 with the software decoders... Not a big deal but just thought I should mention it and I'm here if you need any tests / trials done to see if this can be resolved. I'd love to use your decoder, and even push my avisynth scripts further (quality wise) due to the freed up cpu.

Im using the 270.51 drivers released today. Testing today with a blu-ray vc1

Last edited by mark0077; 30th March 2011 at 19:28.
mark0077 is offline   Reply With Quote
Old 30th March 2011, 19:56   #137  |  Link
mindbomb
Registered User
 
Join Date: Aug 2010
Posts: 576
im getting persistant stuttering on vc-1 content.

i have an nvidia 9400m, using madvr as my renderer, and lav splitter
mindbomb is offline   Reply With Quote
Old 30th March 2011, 20:25   #138  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Quote:
Originally Posted by mindbomb View Post
im getting persistant stuttering on vc-1 content.

i have an nvidia 9400m, using madvr as my renderer, and lav splitter
very container dependent if it's inside PS/TS it wont surprise
__________________
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 30th March 2011, 20:29   #139  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,336
Quote:
Originally Posted by mindbomb View Post
im getting persistant stuttering on vc-1 content.

i have an nvidia 9400m, using madvr as my renderer, and lav splitter
Turn off "Enable VC-1 Timestamp Correction" in the LAV Splitter settings.
That goes for mark0077 as well.

The next version of LAV Splitter will have LAV CUVID in the list of decoders to autodetect it should be off.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 30th March 2011, 21:13   #140  |  Link
mindbomb
Registered User
 
Join Date: Aug 2010
Posts: 576
I am still noticing dropped and delayed frames in madvr still with vc-1 actually on both my 9400m and gtx 260

I am also getting poor performance for h264 for my 2 computers each with vp2 cards (a gtx 260 and an 8600gt) . But especially for the 8600gt; 1080p video was unwatchable.
For the gtx 260, it was almost perfect.

Last edited by mindbomb; 31st March 2011 at 03:07.
mindbomb 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 08:35.


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