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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
DGAVCDecNV 1.0.13: GPU decoding on Nvidia
ATTENTION: If you do not use an Nvidia graphics card 8xxx or higher, this thread is not for you!
http://neuron2.net/dgavcdecnv/dgavcdecnv.html If you want to assess the GPU performance, please read the section "Disable Display" in the users manual. And set the playback speed to Maximum under Options/Playback Speed! I am still optimizing frame rates and CPU utilization. Be aware that when serving through AVCSource() the performance will be comparable to that obtained with the display disabled (Disable Display option enabled). I'm also interested in finding out what streams fail with GPU decoding, so please report them, preferably with stream details and a sample. Last edited by Guest; 10th March 2009 at 01:22. |
|
|
|
|
#2 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
My results for a 1920x1080 PAFF stream from the Hauppauge HD PVR with display disabled are:
Frame rate: 46 fps CPU utilization: 2% My machine is Intel E8500 dual core @ 3.8GHz on ASUS Rampage Formula. Graphics card is eVGA 8500GT. Last edited by Guest; 13th September 2008 at 14:34. |
|
|
|
|
#3 | Link |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Jesus I've just bought 4850
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
#5 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
So you're telling us.. we're going to get GPU acceleration of decoding that we can actually frame serve?
I'll hop on my desktop and try this out. I have a 9800 GTX on that computer. I'll go pop in some blu-ray discs and make sure those work properly too. I'm most concerned with the performance on those, since transcoding a Blu-ray is a massive pain.Edit: Unfortunately, I couldn't even copy nvapi.dll. It was locked by some process.. Trying to find out which one now.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 13th September 2008 at 15:15. |
|
|
|
|
#6 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
Don't have an NVIDIA GPU to test this with, but I'll be watching with baited breath.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
#8 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Well I can't seem to actually figure out how to copy nvapi.dll without Windows throwing a hissy fit about it. I'm hesitant to copy the new NVApi.dll (dated Aug 2008) over the old one (Feb 2008) in my system32 directory, but I'll give it a shot I suppose. All in the name of faster decoding I suppose..
Got Unlocker working.. Unfortunately I have explorer.exe, taskeng.exe, and rundll32.exe using it on my laptop. My desktop is using it for rundll32.exe, nvsvc32.exe, and ntune.exe. I hate dependencies.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 13th September 2008 at 15:41. |
|
|
|
|
#9 | Link |
|
Registered User
Join Date: Feb 2006
Posts: 1,011
|
I was just in time to cancel my order when i read about this upcoming release.
I'll wait some time before i decide to go Nv though, and i might still get the 4850 even if DGIndex doesn't Ati support Ati, cause i think is better imho. But in the mean time i give all kudo's to Neuron2 for this step in development, and i'll keep watching progress ! |
|
|
|
|
#10 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
|
|
|
|
|
|
#11 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Still, I'd like to see both supported -- If either side comes out on top (and I usually go with the one who has the faster card) then if that one happens to be unsupported I'm in a bit of an unfortunate position
![]() @neuron2: On my both my computers I received the error message on simply opening DGAVCNV saying: Code:
ERROR: cuInt failed (100) Hit Yes to continue .... Code:
GPU decoder: Failed to create video decoder.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 13th September 2008 at 15:49. |
|
|
|
|
#13 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
If we can't get the DLL thing sorted, I'll contact Nvidia about it, but you can always install the CUDA driver and toolkit:
http://www.nvidia.com/object/cuda_get.html |
|
|
|
|
#14 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Is it just the CUDA driver that's needed? I tried installing the SDK and that did nothing for me.
I'm installing Driver --> toolkit now, I'd really love to get this running.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 13th September 2008 at 15:52. |
|
|
|
|
#15 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I don't know the install details yet. You need to install the CUDA driver and toolkit to do it the kosher way. I am hoping to find a way to avoid that for users.
When you install the CUDA driver say Yes when they ask if you want to replace your existing (possibly newer) driver. Last edited by Guest; 13th September 2008 at 15:57. |
|
|
|
|
#17 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I was using DGAVCNV to open a m2ts file ripped from a Blu-ray, after I got the first error message and I clicked "yes" to ignore this, I got the second one too. But that shouldn't be anything unusual since it already told me something failed to initialize. This was before I had the "correct" dlls btw
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#19 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Now my computer won't start up.. I'll get back to you on this, my main desktop has been having various issues for a while now. I think it's a bit overdue for a reinstall of XP.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#21 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,892
|
AMD Athlon 64 X2 Toledo 2.2 GHz
8800 GT (G92 512MB) Forceware: 177.92 (Forcewithin Physix Driver Cuda enabled) Windows XP SP3 Source: Construction Run (Casino Royale Blu-Ray) DGavcindex Preview (F5) Libavcodec = 10 fps 50% CPU (1 Full core) Nvidia = 18 fps 40% CPU Nvidia = 44 fps 15% CPU (Disable Display) Nice i didn't had todo anything just extract and start and it seems to work ![]() Tough i see with the Display on heavy Kernel Peaks like on a VMR9 surface see http://forum.doom9.org/showthread.php?t=140767 tough it's constantly peaking while DGAvcindex is previewing
__________________
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; 13th September 2008 at 16:32. |
|
|
|
|
#22 | Link |
|
Registered User
Join Date: May 2008
Posts: 80
|
1920x1080 AVC stream from Blu-ray M2TS:
~45 fps ~3-5 % CPU Q6600, 8800GT (177.92 beta), WinXP SP3 x86 I didn't need to shuffle any dll's around. I also didn't need to install the CUDA toolkit or SDK. Didn't get any error messages either. |
|
|
|
|
#24 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Installing the latest CUDA driver and the toolkit gave me the same 2 errors I mentioned before. I think this is more or less a cosequence that I actually have multiple copies of the files that need to be used, I have another copy of all the files you included in your AVC package in my system32, one of which (nvapi) is dated older than the one included.
Looks like it's time to get the good old XP install disc out again..
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#26 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
|
|
|
|
|
|
#28 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
You're making me real jealous at this point Don.
![]() On a separate note, how easy is it to integrate/separate for MPEG-2 and VC-1?
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
#29 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Where can I find this DXVA checker? I can't seem to find it.
The odd thing is my DXVA works perfect on my x264 files and my blu-ray discs on both systems..
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#30 | Link | |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
|
#31 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Off Topic: I prefer not -- I've used Vista SP1 for a length period of time on my laptop and there's many things that simply do not suit me. Call me old fashioned but I still prefer XP over Vista. There's too many nuances in the OS that bother me when I'm using it. I'm not ready to waste another few hundred dollars on a new OS when I have my XP SP2 disc right here.
On topic: SS: http://img.photobucket.com/albums/v6...killa/DXVA.png
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 13th September 2008 at 16:37. |
|
|
|
|
#32 | Link |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
#33 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
DXVA Checker:
http://bluesky23.hp.infoseek.co.jp/d...ecker_1900.zip Yes, integrating MPEG, AVC, and VC1 is now thinkable. None of this stuff is easy.
|
|
|
|
|
#35 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
@Sagekilla: You have no H.264 hardware decoder with that chip.
EDIT: Blame Wikipedia for not giving PureVideo details for the card. Apparantly, it does, but I'd look at what drivers you have, and see whether it can be enabled in Control Panel.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld Last edited by Inventive Software; 13th September 2008 at 16:44. |
|
|
|
|
#36 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
No, that is the same thing my check shows. And see here:
http://www.nvidia.com/object/cuda_learn_products.html Do you have HW acceleration enabled in your display properties? I'll ask Nvidia what could cause this. |
|
|
|
|
#37 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
@Inventive Software
Are you certain? http://en.wikipedia.org/wiki/Compari...its#Features_4 Also can you explain this if I don't have a hardware decoder? Link: http://img.photobucket.com/albums/v6...killa/HWDG.png I'm getting DXVA fine in MPC, but I don't know why I can't get it in DGAVC.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 13th September 2008 at 16:49. |
|
|
|
|
#38 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
Spot my edit.
I mis-read, but still, my first suggestion would be to update the drivers. NVIDIA have a habit of occasionally changing a few settings between driver revisions.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
#39 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
That it does.. Oddly though, I'm running the latest CUDA driver + toolkit as listed on the website -- yet still nothing!
I believe it was the 177.84 driver I downloaded.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#42 | Link |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
it would be nice if somebody could test speed during transcoding from blu-ray -> x264 rip. (software decoding vs hardware decoding)
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
#44 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I had to delete all the dlls except nvcuvid.dll on my laptop, but I got it working on my laptop. I installed the SDK beforehand to make sure this would work. I still don't want to try anything since I have several processes -- including a scheduler --- depending on nvapi.dll that I don't feel safe replacing my system32 copy.
C2D @ 2.16 GHz 8600M GT Vista SP1 w/ CUDA 177.84 drivers + toolkit 12 - 17% CPU 38 - 48 fps (averaging 46ish, only dips to 38 rarely) Source: Pirates of the Carribean 3, blu-ray rip So it's definite something went bad with my desktop. I'm going to disregard this since I'll be reinstalling XP on it anyway. @neuron2: Let me know when you get a working copy. I'll be glad to do some beta testing for you on my laptop. My last transcode (PoTC3) took 80 hours on a 2 GHz Opteron 170. Decoding Blu-Ray + light filtering (Read: MVDegrain3) + high compression in x264 => 0.6 - 0.7 fps in x264. So, this would be a HUGE benefit to have
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 13th September 2008 at 18:17. |
|
|
|
|
#46 | Link |
|
Novice x264 User
Join Date: Dec 2006
Location: California
Posts: 169
|
Ok, before I go ahead and install the CUDA kit, here are the error messages I'm getting:
- Upon opening DGAVCIndexNV, I recieve the warning message, "ERROR: cuInit failed (100)" Hit yes to continue blah blah, cancel to supress... - Attempting to open an AVCHD video file gives me this error message, "GPU decoder: Failed to create video decoder" - When closing the program I get a warning. "cuvidDecodePicture: 400" Hit yes to continue blah blah, cancel to supress... The two DLL files you included with the program were actually already in the SysWOW64 folder (basically System32 for 64-bit Windows OSes), and the same error messages came up before and after I replaced them. Using an 8800 GTX. I'm going to install the 3 files right now. I've done this before to test the Folding@Home GPU client so it should be no problem to install.
__________________
"I'll take a potato chip... and eat it!" Last edited by Yoshiyuki Blade; 13th September 2008 at 18:35. |
|
|
|
|
#47 | Link |
|
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
It's working fine for me.
worked right out of the zip on my 8600 GT (512MB) XP x64 SP2 Phenom 9850 took 2 mins to run through my AVC .TS that's 24min @ 720p60. the standard libavcodec version couldn't even decode these .TS files either! while it was saving the project i was watching the process explorer graphs for it, was using 25% CPU utilization (1 core) about 50% of the 25% was attributed to kernel times for the I/O in play mode it does 43 fps with 20% cpu utilization, half still with kernel times Last edited by kemuri-_9; 13th September 2008 at 18:29. |
|
|
|
|
#48 | Link |
|
unrecognized user
Join Date: Oct 2005
Location: home of Stella Artois
Posts: 303
|
Tested a bit with a 25mbit 1080p30. With display disabled I get ~40fps with 8800gt 256mb and 10% off e6400 oc. I get 120fps with coreavc in timecodec. The cuda way should be faster however while encoding that output as well.
__________________
zzz |
|
|
|
|
#49 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I found what might be a bug -- If I exit DGAVCNV while previewing a movie (disable display is checked) I simply get an error message from windows telling me the program has stopped working. No other debug info. On another note, I've also noticed the issue with half the CPU usage being towards kernel usage. Take a look here: http://img.photobucket.com/albums/v6.../kernusage.png
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#52 | Link | |
|
Novice x264 User
Join Date: Dec 2006
Location: California
Posts: 169
|
Quote:
I installed all the necessary files with pretty much the same errors as before. Gonna try it on my bro's 8400M GS.
__________________
"I'll take a potato chip... and eat it!" Last edited by Yoshiyuki Blade; 14th September 2008 at 16:11. |
|
|
|
|
|
#53 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,892
|
Btw for all Nvidia users please can some confirm this behaviour (especialy on G92) http://forum.doom9.org/showthread.php?t=140767
would be nice if you could post your results there about this issue if you have the time
__________________
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 |
|
|
|
|
#54 | Link | |
|
@DVBPortal
Join Date: Feb 2004
Posts: 434
|
Quote:
Code:
cuvidDecodePicture: 400 Hit Yes to .... |
|
|
|
|
|
#56 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
@crypto: what card you running? Tried the DXVA checker Donald linked to in the 1st page?
ATTENTION EVERYBODY: This does NOT work with first generation 8 series cards based on the G80 GPU. These include the 8800 GTX, 8800 GTS 320MB / 640MB, and 8800 Ultra cards, as they do not have the VP2 PureVideo decoding engine. Those with these cards reporting them working would do well to tell me so I can edit this statement.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld Last edited by Inventive Software; 13th September 2008 at 19:34. |
|
|
|
|
#57 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I still have to work out some issues with my desktop -- I'm not fully sure what's wrong with the system so it could be a number of things. My problem may or may not be related to yours.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#65 | Link | ||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
Bear with me, I'm a noob. |
||
|
|
|
|
#67 | Link |
|
@DVBPortal
Join Date: Feb 2004
Posts: 434
|
@neuron2
It seems those having trouble are on Vista. It could be, there are different DLLs for XP and Vista. Did you ship those for XP? BTW. Fantastic Job. Playback is flawless even for PAFF streams. I am really impressed. |
|
|
|
|
#68 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Thanks for the kind words, and to all for your test results. Doom9 people are the best!
I don't know about the Vista issue. Have you looked at the Nvidia CUDA Zone site? OK, I'm going to be gone for a while. Guess what I am working on.
|
|
|
|
|
#70 | Link | |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
|
#71 | Link |
|
@DVBPortal
Join Date: Feb 2004
Posts: 434
|
I removed the following DLLs from your package:
nvcuvid.dll nvapi.dl nvcuda.dll and used these from the badaboom package: nvcuvid.dll nvdec.dll nvapi and nvcuda where in my system32 directory. I have not installed the SDK (yet). |
|
|
|
|
#72 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I have to tell you that DGAVCIndexNV (and DGIndex, and DGAVCIndex) all have horribly inefficient YV12->RGB24 conversion for display. I'll be working on it but it is not important because when serving you don't have any display. What happens when you try it with the display disabled?
|
|
|
|
|
#73 | Link |
|
CoreCodec Founder
Join Date: Oct 2001
Location: San Francisco
Posts: 1,417
|
Congrats neuron2!
__________________
Dan "BetaBoy" Marlin Ubiquitous Multimedia Technologies and Developer Tools http://corecodec.com |
|
|
|
|
#76 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Here is my new generic decoder API:
Code:
extern int decoder_open(void (*Alloc)(int, int), void (*FrameComplete)(void), void (*Error)(char *, int), int (*Info)(const char* fmt, ...), unsigned char **frame_store); extern int decoder_close(void); extern int decoder_flush(void); extern int decoder_reset(void); extern int decoder_decode_nalu(unsigned char *buf, int len); extern int decoder_set_mode(int); Alloc: called when a video sequence is seen to allow the app to allocate memory, also provides the frame size FrameComplete: called when the app should receive a picture for display/serving Error: called for a fatal error Info: called for an info popup The decoder_set_mode() call puts the decoder into a stepping or playing mode. |
|
|
|
|
#79 | Link | |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
|
#80 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
@neuron2: Sorry, I was making assumptions that people knew what the graphs meant usually! Green is total CPU usage, and red presents the portion that the kernel is using. In this case it looks like nearly half of the cpu usage is from the kernel alone. DGAVCNV only used maybe 12 - 13% cpu but the total CPU usage was closer to 25%.
By the way, is this more or less optimized? Edit: I'll try to reproduce my error again. I want to see if it happens twice -- I only saw it once when I decided to exit while I was still previewing. Edit 2: Odd, the error seems to have been a one shot deal. I haven't had it again.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 13th September 2008 at 21:09. |
|
|
|
|
#81 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Well I have avoided stupid things but there are some things that still need to be investigated. The connection to DX/D3D is a possible area for improvement. But I'm pretty happy serving 1920x1080 46fps @ 2% on my machine. As long as we can feed x264 faster than it can encode, we are golden.
|
|
|
|
|
#83 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Yes indeed, I'm glad you have this here now. Having my CPU usage for decoding basically halved (perhaps a third even, my desktop has a faster GPU) is a godsend.. Goodbye 0.7 fps decodes!
![]() I absolutely cannot wait to test this on my monster of a setup.. GPU decoding on my desktop with a 9800 GTX, filter using MVDegrain3, pass it off with TCP serving to my laptop and encode it.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 13th September 2008 at 21:54. |
|
|
|
|
#84 | Link | |
|
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
And now trying it again, it's no longer working at all; spitting out some of the standard 'no supported GPU' errors
|
|
|
|
|
|
#88 | Link |
|
Derek Prestegard IRL
![]() ![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 6,030
|
Awesome!!!
Currently downloading the CUDA driver for Vista x64 here... I *thought* I had it installed, but it wasn't working (the cuinit error). Will report back ASAP! Thanks Don! -Derek
__________________
These are all my personal statements, not those of my employer :) |
|
|
|
|
#89 | Link |
|
Derek Prestegard IRL
![]() ![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 6,030
|
Okay, so i have the CUDA driver installed, and when I open DGAVCIndexNV I get the "failed to find CUDA compatible D3D device" error.
I have an 8800gt, which is both CUDA and DXVA compatible. Vista x64 being a naughty little child perhaps? Has anyone else gotten this working with Vista x64? ~MiSfit
__________________
These are all my personal statements, not those of my employer :) |
|
|
|
|
#94 | Link |
|
Registered User
Join Date: Feb 2007
Location: ::1
Posts: 1,234
|
LOL
![]() I have Windows XP Pro SP2 x64, and a GeForce 9600GT 512MB. DGAVCIndexNV worked for a while (with bugs, explained later), until each time I started it, it wouldn't find my video card. I copied the files as mentioned, installed the CUDA driver and toolkit, and rebooted, and now it appears to be working again. So, bugs. 1.) There is a significant amount of artifacting during playback in the indexer with DS's x264-encoded Touhou sample (here), and especially the lossless Touhou sample (here). I don't know if it's also in the decoded stream through AviSynth+DGAVCDecode. 2.) If I play either of those samples in the indexer, and then quit before stopping playback (with display on) I usually get the errors "cuvidMapVideoFrame: 201" and the same with the number 205, after I exit. 3.) In the lossless sample, if I seek to the middle of the video and then hit Play, the video does not play and no info is reported. ...and now I get the CUDA-compatible D3D device error again. :/ Thanks for your work, neuron2 Can't wait until this works well - it was able to play the non-lossless sample at 147+fps with no CPU usage (display off) before it stopped working. Promising
|
|
|
|
|
#99 | Link | |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
|
#101 | Link |
|
Registered User
Join Date: Feb 2007
Location: ::1
Posts: 1,234
|
Did you see my long post right before you announced a2? Just making sure, since you posted right after me and may not have seen it
![]() And what do you mean? Just demux with MP4Box/mkvextract, which is what I did
|
|
|
|
|
#103 | Link |
|
Registered User
Join Date: Feb 2007
Location: ::1
Posts: 1,234
|
Must be my system then? I am definitely getting artifacts. Unfortunately, I can't show you a screenshot, as DGAVCIndexNV doesn't feel like detecting my card right now. Maybe later
![]() Try the lossless one, though - the video is basically unwatchable for me at least. EDIT: What?? Why? So you want me to demux the stream and then give it to you?
Last edited by Ranguvar; 14th September 2008 at 00:53. |
|
|
|
|
#104 | Link | ||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
If you have RAW or TS streams that play fine with CoreAVC and don't with DGAVCIndexNV, then I am interested, else not. |
||
|
|
|
|
#106 | Link | |
|
Registered User
Join Date: Feb 2007
Location: ::1
Posts: 1,234
|
Quote:
You said you didn't want MKV tools after I suggested it (you edited). And it should be, considering NVIDIA offers a CUDA driver specially for x64, which I am using. |
|
|
|
|
|
#110 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I don't want to clutter my system with things I don't need or want.
Quote:
Last edited by Guest; 14th September 2008 at 01:04. |
|
|
|
|
|
#112 | Link | |
|
Registered User
Join Date: Feb 2007
Location: ::1
Posts: 1,234
|
Quote:
EDIT: Yes, I did
|
|
|
|
|
|
#113 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
neuron2, I'll post the raw H.264 file demuxed from the mkv if you'd like. I believe I have a copy of it on my system somewhere.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#117 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Here's the Lossless Touhou sample, I wasn't able to get the other (mp4) one because I don't have a mp4 demuxer on my system at the moment. Still, this should be very helpful.
It'll be here: http://www.mediafire.com/?sharekey=5...db6fb9a8902bda, upload finishes in ~3 mins. They're 7zipped, if you're unable to extract 7z I'll see if I can cut a sample in half for you in a second. Edit: What's the ETA on the decoder for Avisynth? I'd love to get a jump on it and try it on a blu-ray.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 14th September 2008 at 01:24. |
|
|
|
|
#124 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
Sweet. Thanks neuron.
Works perfect with 177.98. About 44fps with display disabled on 1920x1088 content from a blu-ray. 8800gt 512 G92. This will make shrinking blu-rays a whole lot quicker. I didn't have to move any dll's. Last edited by Audionut; 14th September 2008 at 02:20. |
|
|
|
|
#125 | Link | |
|
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
*glares at x64 version of dll's* |
|
|
|
|
|
#128 | Link |
|
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
no duh
i was referring to how it would be nice to see an x64 bit version eventually (though it will probably long into the future for when avisynth's x64 support comes along.... after i die of old age probably) |
|
|
|
|
#130 | Link | |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Quote:
neuron2: Good luck getting DGAVCDecodeNV working... watch out for CUDA_ERROR_INVALID_CONTEXT errors, they can happen when GetFrame is called by a different thread than the one which created the filter (if you create the context in the constructor). |
|
|
|
|
|
#131 | Link | |
|
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
and i don't know much about elementary aspects of video to help with the development, sure i can read code, but making it for something you know hardly about is WAY different. I wasn't purposely being derogatory, but it seemed to come across that way, just saying that avisynth has always been slow to develop from it's sheer complexity... Last edited by kemuri-_9; 14th September 2008 at 04:37. |
|
|
|
|
|
#132 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I'm already decoding frames with it. I'm now working on the copying of the picture to GetFrame()'s output frame, pulldown, and sundry things. It's looking good.
Quote:
I'm not sure I will be able to support mutiple AVCSource() calls in a script. I think it's unusual anyway. Last edited by Guest; 14th September 2008 at 04:55. |
|
|
|
|
|
#133 | Link | |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Quote:
|
|
|
|
|
|
#134 | Link | |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Quote:
|
|
|
|
|
|
#135 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I'm a bit scared about who could possibly be using multiple AVCsources for a single file. I'd think that by the point you're using multiple H.264 inputs, it'd be a good idea to convert to an intermediate format if you're doing that heavy editing.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#136 | Link |
|
Registered User
Join Date: Feb 2008
Posts: 4
|
All worked well in terms of loading the footage and making the .dga. I can already tell that this is a vastly significant improvement over the non-NV-enabled DGAVCIndex (at least with the footage that I've been working with). For one, I can actually scrub through the footage and play it perfectly fine within the program without it crashing, which is something I can't do with the normal DGAVCIndex.
I've been working on trying to establish a cohesive workflow when working with Blu-Ray footage. Right now, my current workflow is as follows: 1) Rip blu-ray disc with AnyDVD HD 2) Demux the .m2ts file with Elecard XMuxer (demux's to a .h264 file) 3) Process the .h264 file with DGAVCIndex 4) Run the .dga through AVS 5) Bring the AVS into VDubMod 6) Encode the entire stream using Lagarith 7) End up with a lossless version of the blu-ray stream that is roughly 10x the original file size. I've been working with DVD files for many years now and I've never really had to convert the entire film to lossless in order to work with it (run the VOB through DGIndex, process via, AVIsynth, works fine). Unfortunately through, with the 1080p blu-ray files, the resulting AVS file is extremely unstable. I can't seek through it in VDub whatsoever without it crashing immediately, and I certainly can't import it into any kind of editing program without it crashing. So if DGAVCIndexNV fixes that, you will be my hero ![]() I will be looking very much forward to the decoder DLL! EDIT: Also, forgot to mention, I did indeed have to install the CUDA drivers/toolkit from the nvidia site. I'm running an 8600 GT. EDIT 2: I just realized that I actually can now import the m2ts file directly without having to demux it! Hallelujah!!
Last edited by AtomX; 14th September 2008 at 05:56. |
|
|
|
|
#138 | Link |
|
unrecognized user
Join Date: Oct 2005
Location: home of Stella Artois
Posts: 303
|
Hm, with version a2 i can't use the preview anymore (with dispay on). I press f5, it just freezes, no deinterlacer enabled. If I switch back to old one, it works.
__________________
zzz |
|
|
|
|
#141 | Link |
|
unrecognized user
Join Date: Oct 2005
Location: home of Stella Artois
Posts: 303
|
Plays fine here. There's a glitch when protv logo starts to appear but it's there with software decoders too.
Can't wait for the dll to be available and see how big are the benefits, there is clearly nice potential here for boosting encoding speed.
__________________
zzz |
|
|
|
|
#144 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
CoreAVC is apparently not very interested in the idea as they continue to tease me but they haven't really decided yet, I think. Last edited by Guest; 14th September 2008 at 14:54. |
|
|
|
|
|
#146 | Link | ||
|
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
But try downloading it, deleting all the .dlls that come with it and copying over C:\Program Files (x86)\NVIDIA Corporation\NVIDIA CUDA SDK\bin\Win32\Release\nvcuvid.dll to somewhere that's in the PATH environment (sysWOW64 would be good) or just adding that directory to the path. the other 2 .dlls are already in PATH dirs, so you won't need them Code:
C:\Program Files (x86)\NVIDIA Corporation\NVIDIA CUDA SDK\bin\Win32>which nvcuda.dll C:\WINDOWS\system32\nvcuda.dll C:\Program Files (x86)\NVIDIA Corporation\NVIDIA CUDA SDK\bin\Win32\Release>which nvapi.dll C:\WINDOWS\system32\nvapi.dll C:\Program Files (x86)\NVIDIA Corporation\NVIDIA CUDA SDK\bin\Win32>dir /w C:\Windows\SysWOW64 | grep nv nvapi.dll nvcuda.dll C:\Program Files (x86)\NVIDIA Corporation\NVIDIA CUDA SDK\bin\Win32>which nvcuvid.dll C:\myStuff\DLLs\nvcuvid.dll < PATHed dir If we had the source code for DGAVCIndexNV, i could try compiling a x64 binary and see if that works without hitches. Quote:
Last edited by kemuri-_9; 14th September 2008 at 15:01. |
||
|
|
|
|
#148 | Link |
|
Registered User
Join Date: Jun 2008
Posts: 143
|
Error : Failed to Find a CUDA-Compatible D3D Device (2)
Running folding@home GPU on my pc (and doing 2500 iteration per second as I speak) I find it hard to believe. (and no I don't run folding@home while running dgAVCdec) Actual configuration : 177.92 Forceware Physx cuda enabled drivers 2* 8800GT in SLI |
|
|
|
|
#150 | Link | |
|
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
-Edit- this is also affecting the CUDA SDK software too, so it's not specific to DGAVCIndexNV Last edited by kemuri-_9; 14th September 2008 at 15:45. |
|
|
|
|
|
#151 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Best to delete the INI file and let a new one be created. Last edited by Guest; 14th September 2008 at 15:47. |
|
|
|
|
|
#154 | Link |
|
Registered User
Join Date: Aug 2008
Posts: 1
|
Initally the application gave the "cuInt failed (100)" error when starting it up, and then when loading a file it gave the message "GPU decoder: Failed to create video decoder.". After copying the DLL files to System32 also, I had the same result.
I removed the dll files from System32 and then after installing CUDA driver and toolkit, it opened fine and loaded a file OK without any problem. Nvidia 9600GT / Q6600 G0 Stepping / Windows XP (32Bit) Results for BBC HD stream (1080i) - Display enabled - 43 ~ 45fps. CPU - ~23% Display disabled - 62 ~ 65fps. CPU - ~8% Results for HD Suisse stream (720p) - Display enabled - 71 ~ 74fps. CPU - ~23% Display disabled - 106 ~ 113fps. CPU - ~7% |
|
|
|
|
#156 | Link |
|
Registered User
Join Date: Feb 2007
Location: ::1
Posts: 1,234
|
Followed kemuri's instructions, but I still get artifacts with the non-lossless Touhou (link posted a while back), and the ther bugs mentioned in my first post. I also have the problem where eventually, it refuses to start, and I need to reboot.
Indexed with DGAVCIndex and decoded with DGAVCDecode: http://i37.tinypic.com/4qk6f8.png Snapshot of the preview in DGAVCIndexNV (I had no way of playing the DGAVCIndexNV DGA, of course, so the flaw may only be in the preview): http://i36.tinypic.com/26449e1.png I did not try DGAVCIndex's preview to see if it also has the flaw, as it does not let me seek to a specific frame, or even do anything to seek besides huge jumps and playback/pause. Obviously, one uses different YV12 coefficients, but that's beside the point. Look at the bullets fired from the player. And no, this is not the lossless video, this is a "normal" H.264 stream. Other frames exhibit problems, too. Alpha 2 used, w/o deinterlacing. |
|
|
|
|
#157 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Just would like to say, thanks for such a wonderful creation
Greatly appreciate having hardware decode of H.264 for transcoding.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#158 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
@Ranguvar
Please tell me what artifacts you are talking about. I looked at both your PNGs and I don't see anything. It's so frustrating when people just post a screenshot and go "see!". Make a circle around it or say it in words. I'm not a mind reader. |
|
|
|
|
#159 | Link |
|
Registered User
Join Date: Feb 2007
Location: ::1
Posts: 1,234
|
There are huge differences between the correct DGAVCIndex one and the bad DGAVCIndexNV one.
DGAVCIndex (correct): http://i37.tinypic.com/4qk6f8.png DGAVCIndexNV (modified to show artifact areas): http://i38.tinypic.com/2s7gkkj.png |
|
|
|
|
#160 | Link |
|
Registered User
Join Date: Feb 2006
Posts: 1,011
|
Don't know if this is relevant or not; But does this new version have the same "DXVA"-limitations as other HW-assisted/DXVA decoders ?
i.e. Does it do L 5.1 x264's as well ? Last edited by G_M_C; 14th September 2008 at 22:40. Reason: wrong words |
|
|
|
|
#161 | Link | |
|
Registered User
Join Date: May 2008
Posts: 80
|
Quote:
It would be great if DGAVCIndexNV contained a check, so that people don't accidentally decode unsupported streams. |
|
|
|
|
|
#162 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,892
|
Yeah people create all kind of complexitys that are just to much for sane Hardware Decoders
these block failures look exactly like the ones i experience with some X264 content and CoreAVC though might be not of the same nature but indeed ffdshow (libavcodec) doesn't show these kind of errors as it has a very primative error correction and can hide stream errors to some degress it seems (same for Mainconcepts Decoder) and these errors can also directly happen in the encoder not only because the stream has been damaged @ the transport. So i guess it would hide such occasional block errors very well from the viewer, CoreAVC can't do this but i guess Nvidias Hardware Decoder should also be able todo it like libavcodec does, as they expected it's being used for DVB watching
__________________
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; 15th September 2008 at 01:04. |
|
|
|
|
#163 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I see the artifacts now. Thank you.
I have a directory where I am collecting bad streams for CUDA. This has joined the collection. I'll be sending them to Nvidia for analysis. They've already fixed one bug exposed by some of my streams. |
|
|
|
|
#166 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Posted one day ago:
http://forum.doom9.org/showthread.ph...58#post1183558 What do you want, hourly updates? I do have a life, you know. ![]() It's basically working but there are some hangs on seeking that I am working on. If I don't sort it out in a few days I'll put out an alpha that at least does straight linear encode so that you can assess the effectiveness of the entire process when transcoding. Last edited by Guest; 16th September 2008 at 00:58. |
|
|
|
|
#168 | Link | |
|
Registered User
Join Date: Feb 2008
Posts: 4
|
Quote:
|
|
|
|
|
|
#169 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I've just now found and fixed the problem with random access. I haven't coded anything for end of file yet so it just blows up. That shouldn't take me long. Looks good for an alpha tomorrow. The CUDA engine is a finicky beast and you have to get all your ducks in a row to reset it gracefully for a seek.
|
|
|
|
|
#174 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
We have a problem, Houston.
Everything was looking good. I could open my indexed stream in VirtualDub, play and preview, and seek around.
Then I decided to try an encode. I fired up HCEnc and started an encoding. As the second pass began, HCEnc started reporting a mismatch in the number of frames between the first and second passes. Hmm, that's odd. And the resulting M2V was garbage. Then I tried a simple HUFFYUV encode in VirtualDub. Worked great. Then a Cedocida DV encode. Worked great. Note that these are one-pass codecs. Then I tried MeGUI with CE-Baseline. It crashed when I added the job to the queue. Then I tried DivX. It crashed. So now I'm thinking, these guys are opening the AVS file twice or something, creating multiple instances of AVCSource(). So I opened the script in VirtualDub. Fine. Then I opened it again in VirtualDub, leaving the first one open too. Oops. The timeline looked just like the garbled M2V from HCEnc. So the situation now is that I will try to verify my theory about the multiple opens and see if there is any mitigation for it (floating CUDA contexts?). But be aware this has a strong potential to be a deal killer. |
|
|
|
|
#175 | Link |
|
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
so there's a restriction that can only have one instance of the script open at once?
that shouldn't stop you from continuing to develop it, many encoders encode to lossless (ffvh, ffv1, lags, etc.) first then encode the lossless in their lossy encoder of choice, so they wouldn't have problems using it. |
|
|
|
|
#176 | Link |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
neuron2 cant you just fake the instances? i mean if the AVCSource() is using the same input, just redirect the second or nth instance to the first...
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
#177 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Meanwhile, do you know how MeGUI works inside? Am I correct that it opens the script several times? Why would it crash when I just add the job to the queue? |
|
|
|
|
|
#178 | Link |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
yes, it opens several times coz before enqueuing the script is alredy open for displaying the preview. also megui stores 2 custom variables in the avs script for AR.
so when you hit enqueue the script is opened again for reading those vars and other stuff. however the lack of multi-tasking (or multi-instancing) in cuda is quite a limiting factor.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
#179 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
After more thought, I don't think you can redirect an open filter instance to another one. I'd have to ask IanB about it, but I don't think Avisynth has that capability. |
|
|
|
|
|
#181 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Neuron2: Would you keep it still though, even if it completely bombs on 2-pass? There's still HUGE benefit for transcoding to an intermediary formats or for 1-pass CRF in x264.
I still would love to have a GPU accelerated decoder that can work for 1-pass CRF. Edit: Any chance I could get my hands on that dll?
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 17th September 2008 at 17:05. |
|
|
|
|
#183 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Thanks!
Greatly appreciate it.Edit: neuron2, the behavior you describe effectively makes AVCSource() non-deterministic when it's called multiple times, correct?
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#188 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,892
|
thx neuron, that's great news these days 2pass encoding is anyways slowly dieing
__________________
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 |
|
|
|
|
#192 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
@kemuri-_9: That may be true, but crf is a very attractive alternative if you want a slightly faster encode (especially with prefiltering, or transcoding HD content) with consistent quality across the whole encode. Both are valid for what they're best in (2-pass for specific size, crf for specific quality).
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#194 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Validated for x264 CLI one pass only:
http://neuron2.net/misc/DGAVCDecodeNV.zip DO NOT post bug reports about this not working with MeGUI, etc. This version will expire on 9-30-08. I hope to have a multi-instance version by then. Last edited by Guest; 18th September 2008 at 02:53. |
|
|
|
|
#196 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Oops, redownload to get the users manual.
Set deinterlace=true for PureVideo deinterlacing. I'll be curious to see comparisons to Yadif, etc. It looks good to me, but remember a) I haven't used the fancy decombers a lot, and b) I'm a geezer; my eyes don't work good. Last edited by Guest; 18th September 2008 at 03:38. |
|
|
|
|
#197 | Link |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
First of all, I want to personaly thank you for all your hard work. When I place the dll file into my avisynth plugin directory and load MeGUI avisynth script creator I get the following error message:
![]() Now before you jump to conclusions, no I'm not trying to encode using the .dll. I'm not trying to create a script using the dll, though it appears that the dll file is automatically loaded. |
|
|
|
|
#198 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
http://neuron2.net/misc/NV.zip
Zip password is gpudecode Put nvcuvid.dll somewhere in your DLL search path. System32 is good. Preliminary tests indicate little significant speedup versus software decoding. Let's see what some other people achieve. This is intended for testing with X264 CLI one-pass only. Do not put it in your Avisynth plugins directory. Do not try to use it with any GUI. Posts reporting issues with that will be ignored. |
|
|
|
|
#200 | Link |
|
Registered User
Join Date: Mar 2008
Posts: 25
|
System:
Windows XP SP3 nvidia 8800GT 1GB ForceWare 177.98 Q6600 2.8Ghz Playing speed: 43-60 fps (min-max), I tested on BD streams (Jumper and Transformers) CPU usage: 4% But when I try to save the project I get the usual cpu utilization (about 25% on only 1 core) and decoding speed Thanks for your work |
|
|
|
|
#204 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I ran a quick test with a CRF encode of 1280x720 material.
E8500 @ 3.8 GHz NV GPU: 27.9 fps CoreAVC via DSS: 28.4 Apparently CoreAVC is so good that its CPU utilization is comparable to the overhead of managing decoding on the GPU (memory transfers host<->device, etc.). It's hard to believe, so I'll look to see if I've missed something. I'm beginning to think this is a dead end, since things can only get better on the CPU versus the GPUs, which are "cast in silicon". Maybe I'll update the regular versions with the latest libavcodec code while we wait for a CoreAVC API/SDK. |
|
|
|
|
#205 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I do have some good news in regards to the deinterlacing of vp2.
The following image was deinterlaced using a simple TempGaussMC(): ![]() The following with the VP2 Deint: ![]() I used very naive settings of the default, just to play the role of a new user who doesn't know better. The deinterlacer is very very sharp.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#206 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Maybe that's the saving grace!
![]() Nice shots, thanks for posting. BTW, I noticed with CoreAVC via DSS(), it blend deinterlaced, even though I have deinterlacing turned off in its control panel. It also included my clip 4 times in the output! I haven't used CoreAVC much but I was somewhat surprised. Any idea what is going on? Last edited by Guest; 18th September 2008 at 14:53. |
|
|
|
|
#207 | Link |
|
Registered User
Join Date: Apr 2006
Posts: 225
|
To be honest, I think that the decoding on the GPU is a neat idea, but in the end should be an option for those with the right hardware who want to try squeezing a little more speed out of their encodes. I'm concerned though that eventually the limitations of DXVA on these cards may begin to hinder this great program's ability to work. I agree that the PAFF accuracy is nice (haven't gotten to try it myself yet though) but I know how difficult it can be sometimes to make hardware based tasks like this work consistently. The thought of only one instance at a time is scarry too, as I sometimes do more than one encode at once, or may in the future be reading from more than one source at once (doing a fade between two of my camera's clips comes to mind).
Bottom Line: I feel that hardware acceleration is better for realtime critical applications (playback). However for applications like transcoding, a pure software solution is better, since speed is nice, but not critical, and it can grow as needed without being as you say "cast it silicon." edit: That de-interlaced footage does look nice! Does it change the fps to 60 like DGbob does? (assuming of course the source was 30i). Last edited by Turtleggjp; 18th September 2008 at 15:05. |
|
|
|
|
#209 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Yes, indeed.. I'll need to test on a longer interlaced source to see how well a "good" deinterlacer will fare vs AVCSource(deinterlace=true) speed wise. By "good" I mean to say one that would produce very similar results without being horribly slow At the very least, we have quite possibly a fast and high quality decoder + deinterlacer for those annoying 30i sources.
Edit: I forget where I got the source now, but it was thanks to some searching on the doom9 forums for an interlaced H.264 m2ts source did I find it. Edit 2: neuron2, is it safe to assume you used DSS() using graphedit to connect CoreAVC as the decoder?
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 18th September 2008 at 15:07. |
|
|
|
|
#211 | Link | ||
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Quote:
Quote:
|
||
|
|
|
|
#213 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
@squid_80: For the single core users who happen to have a very fast GPU, this is indeed very useful.
On another note, while this is an extremely unusual case, I'm curious how much speed up I can afford on two machine setup with TCPServer --> TCPSource. @neuron2: I'm not completely sure. My normal routine is Directshowsource("graph.grf") with graph.grf being a filter graph of source file --> CoreAVC. I don't know if doing it your way could produce different results.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#214 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
I just ran a quick test on my e6750 @ 3.6Ghz and 8800gt 512m.
BD source croped and resized to 1280,528 In virtualdubmod encoding to huffyuv with software = 21fps same with hardware = 34-42fps encoding to x264 ("turbo" settings) with software decoder = 21 fps same with hardware = 29 fps. And i've seen the purevideo de-interlacer at work, I like it alot. Sorry, it's not alot more detailed, but it's been a big day and I should be sleeping. edit: neuron, did i read correctly, you are using 8600 gpu? I'd like to see some tests from someone with a 9800gtx*2 or 280 core even in sli. |
|
|
|
|
#215 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,892
|
Nice Deinterlacing results though i wouldn't have suspected that it beats something as advanced as TempgaussMC last time my visual subjective impression was it was on the same level then yadif, definitely more tests with different sources need to be done
Im gonna test DgdecodeNV as fast as i can though currently PC resources are not available ![]() @Audionut As Donald already said it's equal for every Nvidia card they are all clocked with 400 mhz (VP1/2 core) <- (No Software yet can change that no Software even knows that this Clock is existing, it was revealed here almost as a Worlds First exclusive, not really that suprising its a own Hardware core though nobody knew how high it's clocked) so the only difference is the Memory Bandwith and most probably stuff like the Deinterlaceing could be a big amount faster as here the Shader Clock i think plays a role else for Progressive it should be really steady for us all and the results posted here show that it indeed is
__________________
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; 18th September 2008 at 16:29. |
|
|
|
|
#216 | Link |
|
Registered User
Join Date: Apr 2006
Posts: 225
|
Yeah, the graph option is better, since you can build the graph yourself and guarantee what decoder is being used. I always use either a .m2ts file or .mkv file as my source, and then run that to the desired decoder (CoreAVC for AVC, WMV Decoder DMO for VC-1). Seeking can be unstable with this method though, which is why your DGAVCIndex/DGAVCDecode program is so valuable.
|
|
|
|
|
#217 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
A direct comparison between this (DGAVCDecodeNV) and the software DGAVCDecode (currently Alpha 35 IIRC) would be most welcome, as I don't have an NVIDIA-capable GPU to test this with (ATI Xpress 1150 or NVIDIA GeForce FX5200
). Same settings, same encoder, please.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
#218 | Link |
|
Registered User
Join Date: Dec 2007
Posts: 639
|
neuron2: If you get the latest CoreAVC, then it has a tray icon when it's loaded like ffdshow.
And wow, the deinterlacer is really nice. I might have to trade cards with my brother so I get a 9600GT (got a 8800GTS 320MB now). |
|
|
|
|
#219 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
DGAVCDecode Code:
LoadPlugin("[PATH\]DGAVCDecode.dll")
AVCSource("[PATH\]Transporter_DGAVCDecode.dga")
Spline36Resize(1280,544)
Code:
"[PATH\]x264.exe" --crf 18 --ref 5 --mixed-refs --bframes 3 --b-adapt 2 --b-pyramid --b-rdo --bime --weightb --filter -1:-1 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output "[PATH\]Transporter_DGAVCDecode.mp4" "[PATH\]Transporter_DGAVCDecode.avs" Code:
LoadPlugin("[PATH\]DGAVCDecodeNV.dll")
AVCSource("[PATH\]Transporter_DGAVCDecodeNV.dga")
Spline36Resize(1280,544)
Code:
"[PATH\]x264.exe" --crf 18 --ref 5 --mixed-refs --bframes 3 --b-adapt 2 --b-pyramid --b-rdo --bime --weightb --filter -1:-1 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output "[PATH\]Transporter_DGAVCDecodeNV.mp4" "[PATH\]Transporter_DGAVCDecodeNV.avs" Code:
DirectShowSource("[PATH\]Transporter.mp4",fps=25,audio=false)
Spline36Resize(1280,544)
Code:
"[PATH\]x264.exe" --crf 18 --ref 5 --mixed-refs --bframes 3 --b-adapt 2 --b-pyramid --b-rdo --bime --weightb --filter -1:-1 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output "[PATH\]Transporter_Directshow.mp4" "[PATH\]Transporter_Directshow.avs" Last edited by rack04; 18th September 2008 at 16:55. |
|
|
|
|
|
#220 | Link |
|
@DVBPortal
Join Date: Feb 2004
Posts: 434
|
Ok, here are my results dgavcdecode vs. dgavcdecodeNV:
First good news: Using x264 cli two pass encodings are no problem. Second good news: Acceleration is massive especially on the first pass. Third good news: The quality of the final encode seems to be higher. I don't know why and have to do more tests. Source: 1080p30 Apple music clip downscaled to 720p30 CPU: Q6600 2.4GHz GPU: GF 8600 GTS 1.450 GHz dgavcdecode: pass #1: encoded 6580 frames, 32.68 fps, 4811.95 kb/s pass #2: encoded 6580 frames, 21.48 fps, 5005.68 kb/s x264 [info]: SSIM Mean Y:0.9689052 x264 [info]: PSNR Mean Y:41.892 U:48.994 V:48.284 Avg:43.078 Global:42.345 kb/s:5005.53 dgavcdecodeNV: pass #1: encoded 6580 frames, 57.11 fps, 4811.95 kb/s pass #2: encoded 6580 frames, 24.45 fps, 5005.42 kb/s x264 [info]: SSIM Mean Y:0.9691189 x264 [info]: PSNR Mean Y:41.931 U:49.607 V:49.447 Avg:43.258 Global:42.404 kb/s:5005.27 Last edited by crypto; 18th September 2008 at 17:34. |
|
|
|
|
#221 | Link |
|
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
Perhaps there is some hardware postprocessing going on even when the video is not deinterlaced. Denoising might cause such a difference, for example. You could do some lossless encodes with both hardware and software decoding and compare the output frame-by-frame.
|
|
|
|
|
#222 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,892
|
Ahh right crypto you should make sure your settings in the Control Panel dont include Nvidias Denoiseing or Sharpening Post Pro (Shaders) crazy maybe it can applied this way too
__________________
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 |
|
|
|
|
#223 | Link |
|
Registered User
Join Date: May 2002
Posts: 16
|
A quick test of the Nvidia deinterlacing capabilities. I'm impressed.
The source is a crapy Main@L4.0 ~7.5Mb/s 25fps (Beijing Olimpics 2008 Opening Ceremony 1080i CCTV.ts) http://rapidshare.com/files/14643643...rlace.zip.html All Nvidia processings are turned off (edge=off, noise=off). |
|
|
|
|
#229 | Link |
|
Registered User
Join Date: Mar 2005
Posts: 89
|
Sorry for getting off-topic in-between the lines - between all this discussion on deinterlacing - I will come back to this point later on.
![]() I also checked DGAVCIndexNV on two XP SP3 machines with GeForce 8600 GT, and it is really fantastic. No more artifacts on my AVCHD recordings of my Canon HF100 (which I had with DGAVCIndex before). When trying to install it on the second machine, the plug-in did not load. I installed the latest drivers 177.92 (which seems to be beta; from the "the force within" promotion section of the site), tried it with the "special" cuda drivers, installed the toolkit, nothing worked until I checked again with Sysinternals Processmon. It was finally the nvcuvid.dll which was missing in the system32 directory - after installing this I could even remove the cuda toolkit and reinstall the latest (beta) drivers. I still have some remarks on the tool itself: - When doing a SeparateFields(), BFF seems to be used although even DGAVCIndexNV itself says that it is TFF. Currently, I would have to set an AssumeTFF() before in any script handling with the fields. - I think it has not really clearly been said: TempGaussMC is a bobber which makes an 1080i50 being a 1080p50 while the NVIDIA deinterlacer just outputs 1080p25. This might be interesting for Blu-ray ripping but when it is about scaling while preserving the fields e.g. for an AVCHD-to-DVD conversion, this deinterlacing is useless IMHO - or did I miss something? - One little request: Could you please add the extension "mts" to the list of ts-streams in DGAVCIndexNV? It´s the extension used by Canon AVCHD-Cams.
|
|
|
|
|
#230 | Link | |||||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
Quote:
Quote:
![]() Quote:
Last edited by Guest; 19th September 2008 at 01:45. |
|||||
|
|
|
|
#231 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
As a note to everything, please remember that my deinterlacer comparison was very naive, I never changed the TempGaussMC settings so it could theoretically do better.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#232 | Link | |
|
Registered User
Join Date: Jan 2004
Posts: 849
|
Quote:
1) If AVS is something more than "open file", then avs is a bottleneck negating advantages of hardware decoding 2) If AVS just contains an "open file" statement, then CPU cycles freed up by hardware decoding of source are inconsequential Either way, at least we get greater stream compatibility (with paff and such). Still too bad we don't get encoding speed boost.
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 |
|
|
|
|
|
#233 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
|
|
|
|
|
|
#234 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I suppose when it comes to using faster settings, the GPU decoding definitely comes out on top. I'm curious how this would benefit a Core 2 Quad overclocked to 3.2 GHz
Those would be -really- starved for data between my decoding Blu-ray, filtering, and encoding.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#235 | Link |
|
Registered User
Join Date: Jan 2002
Location: San Jose, CA
Posts: 216
|
Unless decode is the bottleneck (ie encode runs at 50+fps) and/or CPU is pegged at 100%, the speed boost for having even infinitely fast decoding would be small. As the numbers from rack04 show, a ~10fps encode gets a 2-5% speed boost.
|
|
|
|
|
#236 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
As I said, I'm curious what the results would be on a workhorse like I just described
I plan on upgrading to such a system in the near future so this will be helpful having one thing offloaded from my chain.Also, the encode doesn't need to run at "50+ fps" for it to be a bottleneck. The decode eats up a significant portion of my cpu time on my desktop computer, where I have a lowly Opteron 170.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#237 | Link | |
|
Registered User
Join Date: Mar 2005
Posts: 89
|
Quote:
![]() I thought that the deinterlacers are just for all those TV-to-DivX encoders that don´t care about fluid movements. Concerning the DVD at double rate: For creating high-quality downconversions of the HD material to SD material, the HD material has first to be bobbed to 1080p50 at best quality (this takes huge time with TempGaussMC). Just then, you can scale it down at high quality. The resulting 576p50 has then to be weaved to 576i50. Any possibility to bob it to 1080p50 at a comparable quality like the deinterlacer would also be a great improvement for a lot of users - at least at PAL land
|
|
|
|
|
|
#238 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
@JK1974: There was a thread on this before. Yes, bobbing with a very high quality bobber like TGMC would produce the best results in both 1080p and 576p, but the reality was that there was VERY little difference between a dumb bob and smart bob when downsizing to 576p.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#239 | Link | |
|
Registered User
Join Date: Mar 2005
Posts: 89
|
Quote:
|
|
|
|
|
|
#244 | Link |
|
Registered User
Join Date: Jun 2008
Posts: 175
|
DXVA don't support post-processing. BTW resizing and sharpening also can be done at GPU
![]() Best benefit will be if someone combine decoding, lanczos/blackman/spline resizing and FFT3DGPU in one package to avoid transfer of image back and forth. (Like this) Last edited by Quark.Fusion; 19th September 2008 at 10:48. |
|
|
|
|
#245 | Link |
|
Registered User
Join Date: Sep 2003
Posts: 204
|
Hi,
since Sagekilla asked for a comparision between DGAVCIndex and DGAVCIndexNV on a quadcore CPU, a ran a few tests. My PC is a Q6600 @ 3,4GHz with 2GBytes DDR2-800 RAM running at 756MHz. The graphics card is a 9600GT with forceware 177.83 drivers, and the OS is Windows XP Pro 32bit. To get DGAVCIndexNV to run, I only had to unpack it and to copy the nvcuvid.dll into my system32 directory, like instructed. Both the denoising and the sharpening sliders in the Nvidia control panel where set to 0% during this tests. The first clip I used for my tests is a DVB recording from "Anixe HD", which is about 2 minutes long. It is 1080i50, the footage seems to be shot with a video camera, since it really is interlaced, it has an AR of 1,78:1 and looks very clear ( no noise or grain ) 1.) Decoded with DGAVCDecode and encoded as interlaced: Code:
LoadPlugin("D:\MPEG\AVISYNTH\PLUGINS\DGAVCDecode.DLL")
AVCsource("anixe.dga")
D:\MPEG\megui\tools\x264>x264.exe --crf 22.0 --level 4.1 --ref 4 --mixed-refs --no-fast-pskip --bframes 3 --b-rdo --bime --weightb -
-trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --interla
ced --output "H:\anixe.mkv" "G:\Aufnahmen\anixe.avs"
avis [info]: 1920x1080 @ 25.00 fps (3023 frames)
x264 [warning]: NAL HRD parameters require VBV max bitrate and buffer size to be specified
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: slice I:14 Avg QP:21.34 size:229347
x264 [info]: slice P:1330 Avg QP:23.36 size: 65230
x264 [info]: slice B:1679 Avg QP:25.90 size: 20724
x264 [info]: consecutive B-frames: 9.8% 41.6% 17.0% 31.5%
x264 [info]: mb I I16..4: 13.0% 50.0% 37.0%
x264 [info]: mb P I16..4: 1.4% 6.9% 3.2% P16..4: 44.7% 15.1% 10.9% 0.0% 0.0% skip:17.8%
x264 [info]: mb B I16..4: 0.1% 0.3% 0.3% B16..8: 39.7% 1.1% 2.0% direct: 6.7% skip:49.8% L0:36.9% L1:54.5% BI: 8.6%
x264 [info]: 8x8 transform intra:58.1% inter:55.6%
x264 [info]: ref P L0 52.5% 20.0% 12.9% 4.0% 3.7% 2.1% 3.6% 1.2%
x264 [info]: ref B L0 65.5% 20.6% 7.2% 2.4% 3.0% 1.3%
x264 [info]: ref B L1 70.9% 29.1%
x264 [info]: SSIM Mean Y:0.9713192
x264 [info]: kb/s:8254.2
encoded 3023 frames, 5.64 fps, 8254.32 kb/s
Code:
LoadPlugin("D:\MPEG\AVISYNTH\PLUGINS\DGAVCDecodeNV.DLL")
AVCsource("anixe_nv.dga", deinterlace=false)
D:\MPEG\megui\tools\x264>x264.exe --crf 22.0 --level 4.1 --ref 4 --mixed-refs --no-fast-pskip --bframes 3 --b-rdo --bime --weightb -
-trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --interla
ced --output "H:\anixe_nv.mkv" "G:\Aufnahmen\anixe_nv.avs"
avis [info]: 1920x1080 @ 25.00 fps (3026 frames)
x264 [warning]: NAL HRD parameters require VBV max bitrate and buffer size to be specified
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: slice I:14 Avg QP:21.01 size:228003
x264 [info]: slice P:1162 Avg QP:22.76 size: 66468
x264 [info]: slice B:1850 Avg QP:24.86 size: 16716
x264 [info]: consecutive B-frames: 9.0% 18.8% 25.3% 46.9%
x264 [info]: mb I I16..4: 12.9% 47.7% 39.4%
x264 [info]: mb P I16..4: 1.3% 7.5% 3.3% P16..4: 40.3% 15.9% 11.0% 0.0% 0.0% skip:20.9%
x264 [info]: mb B I16..4: 0.1% 0.2% 0.3% B16..8: 37.4% 0.9% 1.5% direct: 5.2% skip:54.5% L0:33.0% L1:58.9% BI: 8.1%
x264 [info]: 8x8 transform intra:59.7% inter:55.5%
x264 [info]: ref P L0 56.6% 22.8% 8.5% 3.8% 2.7% 2.1% 2.3% 1.2%
x264 [info]: ref B L0 71.8% 20.6% 3.7% 2.0% 1.0% 0.9%
x264 [info]: ref B L1 76.9% 23.1%
x264 [info]: SSIM Mean Y:0.9719650
x264 [info]: kb/s:7359.7
encoded 3026 frames, 5.99 fps, 7359.81 kb/s
Code:
LoadPlugin("D:\MPEG\AVISYNTH\PLUGINS\DGAVCDecodeNV.DLL")
AVCsource("anixe_nv.dga", deinterlace=true)
D:\MPEG\megui\tools\x264>x264.exe --crf 22.0 --level 4.1 --ref 4 --mixed-refs --no-fast-pskip --bframes 3 --b-rdo --bime --weightb -
-trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --output
"H:\anixe_nv_deint.mkv" "G:\Aufnahmen\anixe_nv_deint.avs"
avis [info]: 1920x1080 @ 25.00 fps (3026 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: slice I:14 Avg QP:19.71 size:161555
x264 [info]: slice P:1117 Avg QP:21.46 size: 54310
x264 [info]: slice B:1895 Avg QP:23.47 size: 14413
x264 [info]: consecutive B-frames: 8.6% 15.1% 22.5% 53.8%
x264 [info]: mb I I16..4: 10.8% 70.6% 18.7%
x264 [info]: mb P I16..4: 1.8% 14.8% 1.6% P16..4: 41.4% 11.9% 7.8% 0.0% 0.0% skip:20.7%
x264 [info]: mb B I16..4: 0.2% 0.7% 0.1% B16..8: 32.7% 0.7% 1.1% direct: 6.1% skip:58.3% L0:34.0% L1:58.0% BI: 7.9%
x264 [info]: 8x8 transform intra:80.1% inter:68.1%
x264 [info]: ref P L0 74.8% 13.3% 7.6% 4.2%
x264 [info]: ref B L0 89.6% 7.0% 3.4%
x264 [info]: SSIM Mean Y:0.9820854
x264 [info]: kb/s:5964.2
encoded 3026 frames, 9.01 fps, 5964.27 kb/s
The second clip I used is also a DVB recording, this time from "Premiere HD", which also is about 2 minutes long. It is 1080i50 and seems to be shot on celluloid since the footage is progressive. This clip has an AR of 1,85:1 and looks quite noisy to be, might be film grain. 4.) Decoded by DGAVCDecode and encoded as progressive: Code:
LoadPlugin("D:\MPEG\AVISYNTH\PLUGINS\DGAVCDecode.DLL")
AVCsource("Premiere.dga")
D:\MPEG\megui\tools\x264>x264.exe --crf 22.0 --level 4.1 --ref 4 --mixed-refs --no-fast-pskip --bframes 3 --b-rdo --bime --weightb -
-trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --output
"H:\Premiere.mkv" "G:\Aufnahmen\Premiere.avs"
avis [info]: 1920x1080 @ 25.00 fps (2977 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: slice I:42 Avg QP:14.42 size:171198
x264 [info]: slice P:2020 Avg QP:16.96 size: 84495
x264 [info]: slice B:915 Avg QP:19.28 size: 27135
x264 [info]: consecutive B-frames: 39.6% 55.8% 2.1% 2.5%
x264 [info]: mb I I16..4: 14.2% 77.5% 8.4%
x264 [info]: mb P I16..4: 2.4% 11.8% 0.7% P16..4: 45.1% 20.9% 10.1% 0.0% 0.0% skip: 8.9%
x264 [info]: mb B I16..4: 0.3% 0.8% 0.0% B16..8: 35.5% 0.8% 1.3% direct:16.4% skip:44.8% L0:43.3% L1:50.3% BI: 6.3%
x264 [info]: 8x8 transform intra:78.7% inter:60.6%
x264 [info]: ref P L0 57.8% 20.9% 11.3% 9.9%
x264 [info]: ref B L0 80.5% 10.5% 9.0%
x264 [info]: SSIM Mean Y:0.9782869
x264 [info]: kb/s:13617.7
encoded 2977 frames, 5.89 fps, 13617.88 kb/s
Code:
LoadPlugin("D:\MPEG\AVISYNTH\PLUGINS\DGAVCDecodeNV.DLL")
AVCsource("Premiere_nv.dga",deinterlace=false)
D:\MPEG\megui\tools\x264>x264.exe --crf 22.0 --level 4.1 --ref 4 --mixed-refs --no-fast-pskip --bframes 3 --b-rdo --bime --weightb -
-trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --output
"H:\Premiere_nv.mkv" "G:\Aufnahmen\Premiere_nv.avs"
avis [info]: 1920x1080 @ 25.00 fps (2980 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: slice I:37 Avg QP:14.35 size:149138
x264 [info]: slice P:1752 Avg QP:16.64 size: 78769
x264 [info]: slice B:1191 Avg QP:19.28 size: 25838
x264 [info]: consecutive B-frames: 24.9% 59.9% 10.1% 5.0%
x264 [info]: mb I I16..4: 14.3% 77.9% 7.8%
x264 [info]: mb P I16..4: 2.4% 12.1% 0.5% P16..4: 44.7% 20.5% 10.0% 0.0% 0.0% skip: 9.9%
x264 [info]: mb B I16..4: 0.2% 0.7% 0.0% B16..8: 39.4% 0.6% 1.2% direct:14.4% skip:43.4% L0:39.8% L1:54.4% BI: 5.8%
x264 [info]: 8x8 transform intra:80.1% inter:60.0%
x264 [info]: ref P L0 63.5% 18.4% 12.5% 5.6%
x264 [info]: ref B L0 81.5% 11.8% 6.7%
x264 [info]: SSIM Mean Y:0.9784119
x264 [info]: kb/s:11697.7
encoded 2980 frames, 6.41 fps, 11697.84 kb/s
My preliminary conclusions are: When using a quadcore CPU, offloading the decoding process to the GPU without deinterlacing at least atm speeds up things about 5% - 10%. This is a good step into the right direction, but it's such a big one as somebody might have hoped for. Nevertheless I suppose that the performance gain by GPU decoding might be much higher when using a single ore a dual core CPU. On the other hand, the GPU decoding has a huge impact when used together with the GPU deinterlacing feature. Here I could observe a performace gain over 50%. I also observed that decoding the video through the GPU seems to have an notable impact on the picture quality resulting in a significantly higher compressibility of the video during the encoding process. And at last, the libavcodec.dll seems to have a bug which makes it loosing 3 frames compared to GPU decoding. Subsuming the results of my tests it's my opinion that, even at this early stage of development, the usage of the GPU decoding through DGAVCDecodeNV is absolutely recommendable, if you own a suitable graphics card. Even if you might "only" get a speedup of 5% - 10% in the worst case, the better compressibility, the better picture quality and the very good deinterlacing feature are making DGAVCDecodeNV superior over DGAVCDecode. C.U. NanoBot Last edited by NanoBot; 19th September 2008 at 10:57. Reason: Typo |
|
|
|
|
#246 | Link | |
|
Registered User
Join Date: Jan 2007
Location: Romania, Timisoara
Posts: 223
|
Quote:
Firstly you need FFT3DGPU ported to CUDA because right now it uses the Direct3D backend. So we need a good CUDA programmer to do all this
|
|
|
|
|
|
#247 | Link |
|
unrecognized user
Join Date: Oct 2005
Location: home of Stella Artois
Posts: 303
|
Better picture quality? That, I think, shouldn't happen. Do you have maybe comparison pics? Or did you mean only when deinterlacer is used, compared to software ones?
__________________
zzz |
|
|
|
|
#248 | Link |
|
Registered User
Join Date: Sep 2003
Posts: 204
|
Hi Daodan,
perhabs I used a misleading verbalization: Decoding through libavcodec.dll gives me macroblock errors, which results in a loss of compression. Those errors are gone if I use GPU decoding. So "better picture quality" was the wrong term in that context, I should have used "better decoding result". C.U. NanoBot |
|
|
|
|
#249 | Link |
|
Registered User
Join Date: Jun 2008
Posts: 175
|
AFAIK DXVA can't do FFT-NR, high-quality resize and limited sharpening — so you get medium quality NR, bilinear or at most bicubic resize and don't-know-what sharpening.
And if you want to encode that to view later on your not-so-powerful notebook or HTPC — you out of luck with DXVA. |
|
|
|
|
#253 | Link | |
|
Registered User
Join Date: Mar 2005
Posts: 89
|
Quote:
|
|
|
|
|
|
#254 | Link |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
I haven't tried it but bobbing should be possible by setting the deinterlace mode to cudaVideoDeinterlaceMode_Bob and toggling the second_field flag of the CUVIDPROCPARAMS struct when mapping the frame (set to 0 when an even frame is requested, 1 for an odd frame). No idea if this functionality is implemented in cuda yet though.
|
|
|
|
|
#255 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
|
|
|
|
|
|
#257 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I suppose this is, at the very least, a big win for anyone with a nvidia card and some HD interlaced material
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#258 | Link | ||
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
Quote:
![]() Quote:
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
||
|
|
|
|
#259 | Link | |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
|
#260 | Link |
|
Registered User
Join Date: May 2008
Posts: 39
|
Vista SP1
Athlon64 3500+ 2.25ghz 1GB ram 8400GS with VP3 i took a 1080p hd-dvd clip and cropped a few lines off the top and bottom then bilinear resized to 640x352 and encoded using megui iphone profile. no gpu: pass 1 encoded 2168 frames, 6.03 fps, 1003.51 kb/s pass 2 encoded 2168 frames, 6.06 fps, 1000.23 kb/s gpu: pass 1 encoded 2170 frames, 11.91 fps, 1003.26 kb/s pass 2 encoded 2170 frames, 12.06 fps, 1000.27 kb/s |
|
|
|
|
#261 | Link | ||
|
@DVBPortal
Join Date: Feb 2004
Posts: 434
|
Quote:
Between the passes? No. I was using my normal "production" batches for ATV (Main Profile 5 MB/s), which are optimized on multi pass. There is even some heavy preprocessing (LFS) on pass #2. Without it would be a lot faster. I think, I redo the tests with some simpler scripts. Quote:
I would also add: high boost on fast first passes and on single pass encodes at high fps (HD realtime encoding) All in all a big win. Thanks Don. |
||
|
|
|
|
#265 | Link | |
|
@DVBPortal
Join Date: Feb 2004
Posts: 434
|
Quote:
I know, that there is currently no place for additional features, but would it be possible to access the scaler via CUDA maybe in a similar way like the deinterlacer. |
|
|
|
|
|
#267 | Link | |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
Quote:
so if you cant to a stackorizontal or stackvertical with 2 avc sources is still an "issue of the GUI"? i dont think so.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
|
#268 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Hey Sharktooth,
Why does MeGUI have to open the script twice? Why can't you open the script once and then just start requesting at frame 0 again for the encode phase? And if preview is disabled, why do you open the script for it anyway? I found that you can do multipass DivX in VirtualDub because it opens the filter once only and then starts requesting again at frame 0 for the second pass. HCEnc also opens the script twice. It makes no sense to me, even for other reasons such as memory efficiency. Last edited by Guest; 20th September 2008 at 15:28. |
|
|
|
|
#269 | Link | |
|
Registered User
Join Date: Sep 2007
Posts: 11
|
Quote:
Only thing worth mentioning would be that seeking is still slow. i'm not really into h264 encoding so this is the best way for me test something, heh. |
|
|
|
|
|
#270 | Link |
|
Registered User
Join Date: Apr 2005
Posts: 1,339
|
I've been feeding it AVCHD camcorder files from various sources and the vast majority have worked flawlessly. The two I'm posting seem to seize the transcoding 4-6 frames short of completion when running them through x264 or VirtualDub
17MB http://www.mediafire.com/?jamzuytnvso 8MB http://www.mediafire.com/?tg1pysyytfw |
|
|
|
|
#271 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Thanks, Pookie, I'll have a look at it. I can always rely on you for good trouble reports giving me everything I need to duplicate it without me having to ask!
On another front... Woo hoo! I have multi instance working. And it supports interleaving from different processes, too, not just serialized (most of the GUIs are serial, however, and I can't vouch for the performance if you do interleaved access). I tested it in 2-pass HCEnc, which went mammary glands up before (gotta watch out for rule 4, doncha know). New package coming tonight or tomorrow then. What I did was move all CUDA code and variables into the filter instance DGAVCDecoder object. Then each new filter instance starts up an entire complete new CUDA instance. CUDA already manages context switching between threads. I can open a script in two instances of VirtualDub and step and seek independently without them interfering with each other. I was shocked to see CUDA managing that without me having to explicitly push/pop contexts, but hey, no complaints from me. ![]() I also did it for DGAVCIndexNV, so that you can open multiple DGAVCIndexNV instances at once if you so desire, although I don't see much reason for that. Last edited by Guest; 22nd September 2008 at 00:05. |
|
|
|
|
#272 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
|
|
|
|
|
|
#273 | Link |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Can somebody check if .avs with hardware decoding work in Sony Vegas or adobe premiere
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
#275 | Link |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
now I am really thinking about selling my just bought 4850. Hardware decoding AVCHD footage via avs in premiere or vegas = priceless
ATI WEAK UP!!!!
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
#276 | Link |
|
Registered User
Join Date: May 2008
Posts: 80
|
Can you tell CUDA which field to keep when Deinterlacing? Then, with two instances of DGAVCDecodeNV, one could hack together a CUDA bobber.
Code:
a=DGAVCDecodeNV_AVCSource("00001_NV.dga", deinterlace=true, order=1)
b=DGAVCDecodeNV_AVCSource("00001_NV.dga", deinterlace=true, order=0)
Interleave(a,b)
|
|
|
|
|
#277 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
|
|
|
|
|
|
#278 | Link | |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
Quote:
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
|
#280 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Your not telling us what the reasons are suggests that you don't know what they are.
![]() Quote:
Anyway, it's a moot point as I have multi-instance working, but I was curious about that design decision. Last edited by Guest; 22nd September 2008 at 01:23. |
|
|
|
|
|
#282 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
|
|
|
|
|
|
#284 | Link | |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
Quote:
so, in short, having a single instance will cripple many megui functionalities and would require workarounds everywhere in the code. however, since you've sorted the instancing problems, we're all happy
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! Last edited by Sharktooth; 22nd September 2008 at 03:31. |
|
|
|
|
|
#285 | Link | |
|
Registered User
Join Date: Dec 2006
Posts: 69
|
Quote:
http://forums.amd.com/devforum/messa...&enterthread=y |
|
|
|
|
|
#286 | Link | ||
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Quote:
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
||
|
|
|
|
#289 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Multi-instance version
Here's the multi-instance version, also with the bobbing capability.
http://neuron2.net/dgavcdec/dgavcdecnv100a3.zip EDIT: MeGUI somehow manages to crash in d3d9.dll when enqueueing the job. I don't know why at this time. Last edited by Guest; 22nd September 2008 at 13:28. |
|
|
|
|
#290 | Link |
|
Registered User
Join Date: Jan 2004
Posts: 55
|
Just trying the new version but am now getting "ERROR: Failed to find CUDA-compatible D3D device(2)" error when running the GUI. Previous version worked fine. I have an 8600GT running on Vista SP1. I've tried moving the supplied DLLs into system32 but still get the same error.
|
|
|
|
|
#294 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
The DLLs are the same as with the previous version. They should all be in system32 (for Windows XP).
You say that DGAVCIndexNV alpha 2 works and alpha 3 doesn't? That's hard to believe because the only change was to the name of a windows event (changed name to NULL to avoid name space collision for multiple instances). Please put alpha3 and alpha 2 EXEs right next to each other in the same directory (to rule out any path differences) and try again. |
|
|
|
|
#295 | Link | |
|
Registered User
Join Date: Jan 2004
Posts: 55
|
Quote:
So a word of warning to Vista users - don't use the two DLLs supplied in the package (nvapi.dll and ncuda.dll) as I think they are from Winxp and must be different to the Vista ones (which are already in system32). Looks like nvcuvid.dll is still needed. |
|
|
|
|
|
#296 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I'm glad you got it working and thank you for reporting your experiences. I will make a document summarizing all these findings.
First, though, I am going to use the debugger to see why MeGUI crahes things when none of the other apps do. |
|
|
|
|
#297 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
It's MeGUI... there's a reason I don't use it and stick with the CLI tools themselves. IMHO, it's gone down-hill in trying to make itself an all-in-one app.
Did the CUDA Bob end up working properly then? I'm amazed that's allowed, really. How does it compare to, say, DGBob?
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
#298 | Link |
|
Registered User
Join Date: May 2008
Posts: 80
|
The only interlaced material I have is the bonus content in SD from a Blu-ray. I tried to decode it with dgavcdecnv100a3 and got weird artifacts:
![]() ![]() It looks like it decodes the stream, but messed up the lines or something like that. The indexer shows no such artifacts and I can preview the deinterlacer there. Here is a sample (first 15 MB of the stream). Can anyone else replicate it? |
|
|
|
|
#299 | Link | ||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
|
||
|
|
|
|
#302 | Link |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
i have a gf6800 so i cant help here...
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
#304 | Link | |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
Quote:
On a separate note, don't you have an FTP people can post to, or am I thinking of someone else?
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
|
#305 | Link | |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
|
#306 | Link |
|
Registered User
Join Date: Sep 2004
Location: Germany, Hamm
Posts: 161
|
what the hell is going on
![]() i test the new version with some orf hd test file (1280x720 50P) First Pass: encoded 3618 frames, 19.61 fps, 4972.53 kb/s Second Pass: encoded 3618 frames, 87.28 fps, 4994.29 kb/s i used these settings: Code:
x264.exe --pass 1 --bitrate 5000 --stats ".stats" --level 4.1 --bframes 3 --b-adapt 2 --direct auto --filter -1:-1 --subme 2 --partitions none --vbv-bufsize 50000 --vbv-maxrate 50000 --me dia --threads auto --thread-input --progress --no-psnr --no-ssim --output NUL "dga.avs" pause x264.exe --pass 2 --bitrate 5000 --stats ".stats" --level 4.1 --bframes 3 --b-adapt 2 --direct auto --filter -1:-1 --subme 2 --partitions none --vbv-bufsize 50000 --vbv-maxrate 50000 --threads auto --thread-input --progress --no-psnr --no-ssim --output "video.mp4" "dga.avs" pause
Last edited by blubberbirne; 22nd September 2008 at 19:24. |
|
|
|
|
#310 | Link |
|
aka XaS
Join Date: Jun 2005
Location: France
Posts: 1,122
|
Simple : you're using --b-adapt 2, which is much slower in the first pass than on the second (since it does all it's magic in the first pass).
__________________
Q9300 OC @ 3.2ghz / Asus P5E3 / 4GB PC10600 / Geforce 8600 GTS |
|
|
|
|
#313 | Link |
|
Registered User
Join Date: Feb 2008
Posts: 4
|
I am very happy to report that everything works flawlessly as far as I can find (flawlessly for my workflow anyway). Here's how it goes:
1. Process an M2TS file from a ripped blu-ray (in this case, The Girl Who Leapt Through Time) through DGAVCIndexNV 2. Create an AVS script to process the .dga 3. Open up my Premiere project that uses an MJPEG encode of the movie (made from the blu-ray, originally using the old DGAVCIndex 4. Replace the footage with the new AVS script 5. Everything is in it's right place and works perfectly (granted it's slow, but I mean, it's 1080p. I would never expect it to be) I can export from Premiere in full 1080p and everything works great. What I had to do before was demux the m2ts file to a .h264 file, process that through DGAVCIndex, and then bring that into VDub to encode it to both MJPEG and to Lagarith (resulting in an enormous file, and the encode time was very significant), and then bait and switch between the two. So basically, having this new workflow is going to save me a ton of HD space and a lot of time. Thanks a ton!
|
|
|
|
|
#315 | Link |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Neuron2 - Will you add simple support for .MKV?
It would be great if I could import mkv generated by eac3to directly without demuxing.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
#321 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Thank you for pointing this out! http://neuron2.net/dgavcdec/dgavcdecnv100a3.zip Last edited by Guest; 23rd September 2008 at 02:43. |
|
|
|
|
|
#326 | Link |
|
Registered User
Join Date: Oct 2001
Location: Washington State University
Posts: 110
|
Great work neuron2! Its people like you who motivate me to do great work.
My setup consists of a q6600 cpu, 8500gt, and 2gb of memory. Tests where run on a raid array. I'm using Vista 32bits and such got rid of nvapi.dll and nvcuda.dll compared vs ffdshow filter (my usual method). Video is 1080p from a bluray with no post processing . C:\Program Files\megui\tools\x264>x264.exe --pass 1 --bitrate 10345 --stats "tes t.stats" --level 4.1 --keyint 14 --min-keyint 2 --bframes 2 --direct auto --filt er -1:-1 --subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 1 4475 --vbv-maxrate 24000 --qcomp 0.5 --me dia --merange 12 --threads auto --thre ad-input --progress --no-psnr --no-ssim --output NUL "E:\output\test\test4.avs" --mvrange 5 avis [info]: 1920x1080 @ 23.98 fps (3431 frames) x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 x264 [info]: slice I:328 Avg QP:12.01 size: 86392 x264 [info]: slice P:1900 Avg QP:12.93 size: 67376 x264 [info]: slice B:1203 Avg QP:14.08 size: 33267 x264 [info]: consecutive B-frames: 35.1% 27.0% 37.9% x264 [info]: mb I I16..4: 70.0% 0.0% 30.0% x264 [info]: mb P I16..4: 38.0% 0.0% 0.0% P16..4: 19.2% 0.0% 0.0% 0.0% 0 .0% skip:42.9% x264 [info]: mb B I16..4: 6.2% 0.0% 0.0% B16..8: 18.9% 0.0% 0.0% direct: 21.7% skip:53.2% L0:32.7% L1:38.5% BI:28.8% x264 [info]: final ratefactor: 17.07 x264 [info]: direct mvs spatial:93.6% temporal:6.4% x264 [info]: kb/s:10978.1 encoded 3431 frames, 17.10 fps, 10980.39 kb/s first pass went from 14.04 to 17.10 a 22% increase C:\Program Files\megui\tools\x264>x264.exe --pass 2 --bitrate 10345 --stats "tes t.stats" --level 4.1 --keyint 14 --min-keyint 2 --bframes 2 --direct auto --filt er -1:-1 --subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 1 4475 --vbv-maxrate 24000 --qcomp 0.5 --merange 12 --threads auto --thread-input --progress --no-psnr --no-ssim --output "E:\output\test\test.264" "E:\output\tes t\test4.avs" --mvrange 511 --aud --nal-hrd avis [info]: 1920x1080 @ 23.98 fps (3431 frames) x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 x264 [info]: slice I:328 Avg QP:12.43 size: 78128 x264 [info]: slice P:1900 Avg QP:13.51 size: 61252 x264 [info]: slice B:1203 Avg QP:13.97 size: 35959 x264 [info]: consecutive B-frames: 35.1% 27.0% 37.9% x264 [info]: mb I I16..4: 70.1% 0.0% 29.9% x264 [info]: mb P I16..4: 35.1% 0.0% 0.0% P16..4: 21.9% 0.0% 0.0% 0.0% 0 .0% skip:43.0% x264 [info]: mb B I16..4: 6.3% 0.0% 0.0% B16..8: 20.3% 0.0% 0.0% direct: 22.5% skip:51.0% L0:28.8% L1:34.0% BI:37.2% x264 [info]: direct mvs spatial:86.1% temporal:13.9% x264 [info]: kb/s:10357.0 encoded 3431 frames, 22.07 fps, 10363.72 kb/s second pass went from 11.77 to 22.07 a 88% increase Last edited by ReferenceDivx; 23rd September 2008 at 12:15. Reason: source video format |
|
|
|
|
#327 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
MeGUI is NOT supported. Read the whole thread to find out why.
![]() EDIT: Donald! Matroska specifications: http://www.matroska.org/technical/index.html. Also check out http://haali.net/mkv.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld Last edited by Inventive Software; 23rd September 2008 at 13:47. |
|
|
|
|
#328 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Your error appears to indicate that you aren't finding the DLLs. Make sure that nvcuvid.dll is in the right directory for Vista 64. It's been mentioned several times in the thread how to get things working in Vista 64.
But anyway, once you find the DLLs, MeGui will crash. I need to post in the MeGui development thread about that. |
|
|
|
|
#329 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
@Inventive Software, the latest version does in fact support MeGUI I believe. neuron2 finished the multi instancing so you can use it properly with MeGUI.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#330 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
I was under the impression that MeGUI still had quirks that prevented it from working properly.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
#331 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
The quirks were the fact that MeGUI opens a file several times to check for various parameters. In the case of AVCSource(), it didn't like being called multiple times before.
I believe this was changed, but I could be wrong.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#332 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
I'll repeat it all again: Yes, AVCSource() now supports multi-instance. But MeGUI does not play nice and crashes. All other apps I have tried work fine. I don't know why MeGUI crashes and I don't plan to try to debug it. Someone needs to report it to the MeGUI developers. Last edited by Guest; 23rd September 2008 at 14:35. |
|
|
|
|
|
#334 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
So I'm not going nutso then! Good to know.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
#335 | Link |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
im the only "active" dev... but i already said i cant debug coz i havent a CUDA enabled videocard.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
#337 | Link |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
c#... managed code... exactly what you hate...
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
#338 | Link |
|
Registered User
Join Date: Apr 2006
Posts: 225
|
+1 vote for MKV support, since I'll be using that for all my TV shows this season. I hope you will bring it to the non-NVIDIA version as well, so my laptop can use it too.
Also, you said that you would be able to support VC-1 as well. Will this be fairly simple to add, or will you need to go through a lot of the trial and error stuff you went through getting DGAVCIndex as far along as it is today? I know the decoding part will be easily handled by the CUDA drivers, but I know there's a lot that goes into the indexing as well. No big rush as far as I'm concerned, since the only place I get VC-1 files is from Blu Rays, and I usually don't need to do frame accurate editing on those. Thanks again for all your hard work! Matt |
|
|
|
|
#339 | Link | |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
|
#340 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Yes, of course.
The VC-1 is defined as an available codec in the cuda header files, too. I haven't tried it yet but will soon. Theoretically, the CUDA interface is the same for all video types, so if it works it should not be hard to integrate. |
|
|
|
|
#341 | Link |
|
Registered User
Join Date: May 2008
Posts: 1,615
|
nice work, I have just one little issue that may or may not be resolvable. I often use radmin 3.2 between the 2 computers I have at home. It seems like when I disconnect from radmin it freezes x264 encoding if decoded with dgavcdecnv. Radmin has a 30 day trial period I'd really appreciate it if it could be looked at.
|
|
|
|
|
#342 | Link | |
|
LaTo INV.
Join Date: Jun 2007
Location: France
Posts: 701
|
Quote:
|
|
|
|
|
|
#343 | Link |
|
Registered User
Join Date: May 2008
Posts: 1,615
|
Well I use it at work regularly, and I was able to obtain some licenses from work. They bought a bigger package then they needed, but it didnt cost them any extra, volume pricing. So I didn't actually have to pay for it. I've never had much luck with vnc on windows, slower then im used to and random disconnects, especially when more than one is connected. Even on linux I choose nx over vnc if its for long amounts of time.
|
|
|
|
|
#345 | Link |
|
Registered User
Join Date: Jan 2007
Location: Romania, Timisoara
Posts: 223
|
it seems like only a low end chip has full VC-1 Decoding Support over DXVA:
http://forums.nvidia.com/lofiversion...hp?t74108.html |
|
|
|
|
#346 | Link |
|
Registered User
Join Date: May 2005
Location: Paris
Posts: 53
|
Hello Neuron2, you make a FANTASTIC JOB, with your software, a graphic card like the GeForce 9500GT (70 €) is more powerful than two C2Q Q9300 (400 €) in transcoding. Thanks a lot !!!!
__________________
Intel Core i5 4200 RAM 8 Go Nvidia GeForce 840M Windows 10 |
|
|
|
|
#347 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Don't thank me too hard yet. I have to tell you that for the NV versions I am going to a model like jdobbs has for DVD Rebuilder Pro. That's the reason that the current binaries have an expiration. I plan to roll it out before they expire.
|
|
|
|
|
#350 | Link | |
|
aka XaS
Join Date: Jun 2005
Location: France
Posts: 1,122
|
Quote:
![]() Seriously, do compare with --b-adapt 1, I believe it's not the second pass that's too fast but the first pass that's slown down ^^' (though you only used 3 b-frames, hmm wierd). Please post some test results if you want this settled
__________________
Q9300 OC @ 3.2ghz / Asus P5E3 / 4GB PC10600 / Geforce 8600 GTS |
|
|
|
|
|
#351 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I've published my development dialog with Nvidia. It will be interesting to developers.
http://neuron2.net/dgavcdecnv/cuda/cuda.html I have also rolled out the licensed version. http://neuron2.net/dgavcdecnv/dgavcdecnv.html There will not be any more free versions of DGAVCDecNV available after the current alpha expires next month. |
|
|
|
|
#352 | Link |
|
Registered User
Join Date: May 2006
Posts: 335
|
Hey neuron2, do you plan on doing a version of DGIndex for MPEG-2 with GPU decoding anytime soon? I know it wouldn't be a massive improvement since MPEG-2 decoding is not that CPU intensive as H264, but it would be nice, since the deinterlacer would be GPU processed.
DGAVCdevNV is really impressive. Totally worth the $15! |
|
|
|
|
#353 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Just curious, is the licensing fee a fee that nvidia requires, or is this towards you? I don't mind either way, but if it's towards you I'm all the more eager to donate
![]() @Dark Eiri: True that MPEG-2 doesn't require as much CPU, but when you deal with very high bitrates (the early blu-rays) there's still some benefit.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#354 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
http://developer.download.nvidia.com...al_license.txt |
|
|
|
|
|
#355 | Link | ||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
|
||
|
|
|
|
#357 | Link | |
|
Registered User
Join Date: Oct 2006
Posts: 303
|
I just tried to make a contribution from the link you have with a Credit Card, but I don't think it went through, but the message is a little confusing: I'll check my email for the next day and if nothing shows up, I'll do it again.
The message I got when I submitted: Quote:
|
|
|
|
|
|
#359 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
@rebkell
I just called PayPal and they say everything is fine and in fact a donation arrived from someone else while I was on the phone with them. They think it is some problem with your account or credit card info. I'd prefer people to PM or email me with issues like this, so we can keep to technical things in the thread. |
|
|
|
|
#360 | Link | |
|
Registered User
Join Date: Dec 2006
Posts: 69
|
Quote:
and finally well done neuron2 - good too see that gpu power being used for something, and if you do the same for mpeg-2 (au dvb-t = mpeg-2) there is no doubt in my mind that nvidia gets my vote for my next gfx purchase. Been interesting watching this thread, and the speed (and enthusiam) with which you have working prototypes - impressive.
|
|
|
|
|
|
#362 | Link |
|
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,421
|
Works for me....
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
|
|
|
|
#363 | Link | |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
|
#367 | Link | ||
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,892
|
Wow nice to see Nvidias open approach here though i wish you would also get in contact here with ATI and give them a chance to react, but still im a little surprised why Nvidias approach for Windows is so open though for Linux nothing is being done yet
, never the less it's great to see Nvidia cares about this support and also Open Source approaches even if it's currently only the case for 1 Platform in terms of Video Support ![]() Also it shows that Nvidia cared about 100% spec compliance and that most problems are coming from the streams themselves btw neuron2 Quote:
Quote:
__________________
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; 24th September 2008 at 15:06. |
||
|
|
|
|
#368 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
You didn't read the dialog carefully! You missed the places where Nvidia talks about how they are making a cross-platform version and cutting the connection to DX/D3D.
To be honest, I have had very bad experiences with ATI products. I am not all that keen about it. Also, I see some posts elsewhere saying that the required API is not yet exposed, and may not be. To answer some other questions: I will try to integrate MPEG/AVC/VC1 but if not feasible they will be separate. I have no plans to license the libavcodec version (though I could because I access the GPL part via a DLL). I'm not going to get rich through my stuff, I just thought it would be nice to cover my website hosting and keep the beer flowing while I do my coding.
Last edited by Guest; 24th September 2008 at 14:55. |
|
|
|
|
#369 | Link |
|
Registered User
Join Date: Feb 2007
Location: ::1
Posts: 1,234
|
What?? The GPU indexer will not be FOSS?
Wouldn't be such a bad thing if NVIDIA didn't announce that they were making the CUDA decoding multi-platform, as you said. Now at the same time there's both hope for a GNU+Linux port, and it is lost. /me hopes NVIDIA's CUDA support is as good as you say, because the sooner there's a FOSS fork or patch to DGIndex/DGAVCIndex with GPU decoding, the better. Please don't take this as unappreciative for the great work you've done, or too critical of your decision. I understand your reasons. I am just a very big advocate of FOSS. By the way, how are you planning on copyrighting it? If I'm not mistaken, jackei also did work on the original DVD2AVI, and some code is likely still in DGAVCIndexNV... are you planning on rewriting it, or on simply using a one-size-fits-all FOSS GUI and CLI interface to a FOSS old-style decoder, and your copyrighted GPU decoder if they paid up, the decoders as DLLs? Last edited by Ranguvar; 24th September 2008 at 16:01. |
|
|
|
|
#371 | Link |
|
aka XaS
Join Date: Jun 2005
Location: France
Posts: 1,122
|
Did I miss something or isn't it also allowed to write closed-source + commercial products for linux ? Or did I misunderstand your statement ?
__________________
Q9300 OC @ 3.2ghz / Asus P5E3 / 4GB PC10600 / Geforce 8600 GTS |
|
|
|
|
#372 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
People are quite within their rights to make a program run on Linux and charge people for the privilege of doing so, without making the source available. Intel's compiler for example.
![]() @donald: I was surprised to find you'd employed a "license" strategy for DGAVCDecNV, but I guess you're the one writing the program, originally in response with PAFF hassle (i.e no response from libavcodec devs), so you're quite within the right to ask for a small charge as "beer money", as you so succinctly put it. All power to you, and if you end up making 5 figures out of it, that shows the user base you have. ![]() As Ranguvar has loosely written, I hope ATI are not only taking note, but wanting to add support alongside NVIDIA in this program.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
#373 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
There's nothing recognizable left from DVD2AVI in my current DGAVCIndexNV code base, and DGAVCDecodeNV is written from scratch. But DGMPGDec as it currently stands could not be closed. |
|
|
|
|
|
#374 | Link |
|
Registered User
Join Date: Feb 2006
Posts: 1,011
|
Good for you Neuron2, no shame in trying to keep some costs down. Alas, i don't own a NV card, and don't plan to. So my hopes still lay with a software and/or Ati version. In the mean time i stick to alpha 35 for the software-version; But congrats on this first mile-stone
Last edited by G_M_C; 24th September 2008 at 22:27. |
|
|
|
|
#375 | Link |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
I was going to add DGAVCIndexNV to RipBot package but since this software won't be free I had to abandon this idea. I will also stay with my 4850 and libavcodec...
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
#376 | Link | |
|
Registered User
Join Date: Dec 2006
Posts: 69
|
Quote:
Another thing too also consider that is if they open up a UVD api via their Stream SDK is their implementation of protected video path's secure - may be the real reason why they can't/won't allow access to it. |
|
|
|
|
|
#377 | Link | |
|
Registered User
Join Date: Dec 2005
Posts: 71
|
Quote:
I think this is really a bad day for the doom9 community. Asking for donations is totally fine especially if someone needs the money to be able to continue his great work but I doubt that licensing models are the right way to go.IMHO the software/code contributed here should stay free. This is escpecially important for other people offering free software who rely on your work like Atak_Snajpera (Ripbot264) or others. If more people choose to go that way it will slow the community down and might destroy what it is now. Btw.: I also own a Radeon 4850. Just my 2 cents on the whole licensing idea. Something like the following is even more annoying considering how many DRM infested programs require doing things when you change your PC: "Your activation is tied to your system drive that carries the C: partition. So if you replace that drive, please email me for a new license file." Source: http://neuron2.net/dgavcdecnv/dgavcdecnv.html See here also: http://forum.doom9.org/showthread.php?t=141409 Last edited by Warrex; 25th September 2008 at 07:03. |
|
|
|
|
|
#378 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I don't want this thread to devolve into an argument about how I make my work available. It's for technical discussion of the program. That is a warning that OT strikes can follow. Send me a PM or open a new thread in General about it, but don't further pollute this thread.
|
|
|
|
|
#379 | Link |
|
Registered User
Join Date: Dec 2005
Posts: 71
|
Okay, sorry, I did not know that this was purely technical here. I opened a thread for anyone willing to discuss licensing models in software/code contributed on Doom9.net here:
http://forum.doom9.org/showthread.ph...89#post1187889 |
|
|
|
|
#380 | Link |
|
Registered User
Join Date: May 2008
Posts: 80
|
some issues with dgavcdecnv100a3:
- when doing "bobbing-with-two-dgavcdecnv-instances", only the use_top_field=true frames are correctly deinterlaced. The use_top_field=false frames look interpolated. ![]() ![]() Also, when adding more instances like: Code:
a=DGAVCDecodeNV_AVCSource("00014.dga", deinterlace=true, use_top_field=true)
b=DGAVCDecodeNV_AVCSource("00014.dga", deinterlace=true, use_top_field=false)
c=DGAVCDecodeNV_AVCSource("00014.dga", deinterlace=true, use_top_field=true)
d=DGAVCDecodeNV_AVCSource("00014.dga", deinterlace=true, use_top_field=false)
Interleave(a,b,c,d)
- when bobbing, going forward in the stream too fast can result weird artifacts. I'm no expert, but I guess the instances desyncronize at higher fps, or the video processor/CUDA gets overloaded or something like that. - more than four instances crash virtualdubmod instantly without error message. - when using a single instance of DGAVCDecodeNV, use_top_field=false results in the same stream as use_top_field=true. IIRC this was a CUDA bug, though. Great work so far, I'm looking forward to VC-1 and MPEG2 decoding and will donate soon. Last edited by Zwitterion; 25th September 2008 at 01:17. |
|
|
|
|
#381 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Yes, there are some issues with the bobbing solution and the current implementation is a hack due to an nvcuvid.dll deficiency. When I update the dialog with the recent correspondence you will see what is going on in that regard. Engineer O has said that he will try to get it working properly. And given what he has done so far, I expect it to be resolved.
I'm working on MPEG integration and MKV container support right now. |
|
|
|
|
#382 | Link |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
Intel Xeon X3360
nVidia GeForce 8600GTS 2GB RAM (who cares) Windows XP Professional SP3 I installed it (couldn't figure out the whole missing license thing), but I gladly paid since I've been using free stuff for years and its the least I could do. Got the license, I can demux files fine. **EDIT** I had to drop the nvcuvid.dll in the system32 dir to get it to work** Couple of Questions if I may: #1 - When I 'encode' , 'transcode' (whatever), my h264 content to, say xvid, in vdubmod ... I'm seeing same exact fps than what I normally see (with same CPU usage). so, "how" do I know if I'm using anything correctly or not? Or perhaps better stated ... I don't know what I'm doing. #2 - when one turns deinterlace=true after the .dga file in the AVCSource line in my .avs file; will that actually deinterlace the file, or do I still need a plugin to perform that action? #3 - when people are stating that they are getting 60fps at 0% CPU usage ... what are they referring to? Just the rendering of the AVC file itself? In other words, it has nothing to do with 'encoding/transcoding' (I don't know the correct vernacular). Thanks for answering, and thanks Donald for everything you do (rule violation??) |
|
|
|
|
#383 | Link | ||||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
![]() Quote:
Quote:
Quote:
|
||||
|
|
|
|
#384 | Link |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
ok, by adding:
AVCSource("1.dga", deinterlace=true) The output file (lagarith) was deinterlaced (what seems to be very well) [I'm working with a 1080i h264 source file] Is there something else I can add that will provide frame decimation so that I don't have to use 'any' plugins at all in my script for sources that require IVTC? If that were the case, I would be a happy guy here (less work for me in backing up my shows). Additionally, when dealing with 720p content, I have been reading this thread, and it seems that one can do this: a=AVCSource("file.dga",deinterlace=true,use_top_field=true) b=AVCSource("file.dga",deinterlace=true,use_top_field=false) Interleave(a,b) ??? To achieve 29.97fps (from 59.94)? Please be kind to me, I'm new at this stuff for the most part. |
|
|
|
|
#385 | Link | ||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
Tell me more about your source material. Better yet, post an unprocessed source sample. Then I can advise you properly. |
||
|
|
|
|
#386 | Link |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
http://www.megaupload.com/?d=RI51NIK1
Two files there. 1080i which requires deinterlace (of course) and decimation (since it should be 23.976fps). 720p which requires halving the framerate to bring it "back" to 29.97fps. Not sure if this is what you were asking for? Bottom line - I tried with deinterlace=true in the line with the 1080i (subsequently had to decimate in the script as well) and it turned out really well. I'm asking if one can add something (in addition to) that will allow for decimation as well as deinterlace (without having to use a filter in my script). I understand what you wrote above, so I guess that's not possible. But, what is needed in order to get the 59.94fps down to 29.97, other than separatefields()? Are there options? |
|
|
|
|
#387 | Link | ||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
|
||
|
|
|
|
#388 | Link |
|
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,854
|
Sorry if this was asked before but I don't get the point of hardware decoding, isn't the decoder mostly used for transcoding and shouldn't rather the encoder use the hardware instead?
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
|
|
|
#389 | Link |
|
Registered User
Join Date: Jan 2004
Posts: 849
|
The point is in freeing up CPU for encoding by moving source decoding to GPU. As for encoding needing hardware, CUDA in its current state is no good for that (as per x264 dev experience, and DS actually saying he'd rather learn GPU assembly then use CUDA for encoding)
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 |
|
|
|
|
#390 | Link |
|
Registered User
Join Date: May 2008
Posts: 80
|
Another bug (affects both DGAVCDecNV and DGAVCDec):
When indexing the M2TS of Die Hard (over 2 hours long, nearly 30 GB big), an error message appears at frame 138187 (or at frame 162775 for DGAVCDec) that says: "Could not allocate memory: AllocPPS: slice_group_id" At this point, memory usage for DGAVCIndexNV.exe is at 137148 kilobytes. Maybe this is a limit? Trying to use the same instance of DGAVCIndexNV.exe again fails right at the start of the indexing with the same error message. I couldn't cut out a sample, because the error doesn't appear with small streams. |
|
|
|
|
#391 | Link | |
|
x264 developer
Join Date: Sep 2005
Posts: 8,664
|
Quote:
Plus, well, we saw what happened with Badaboom. |
|
|
|
|
|
#392 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Last edited by Guest; 25th September 2008 at 16:18. |
|
|
|
|
|
#393 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
1. Speedup of transcoding for some machines. 2. Correct decoding of streams that libavcodec still has problems with. 3. Access to the PureVideo deinterlacing and possibly the 3:2 engine to come. 4. Decoding of VC1 to come. 5. Integration of MPEG, AVC, and VC1 into one application. |
|
|
|
|
|
#394 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
Sorry if this sounds completely pointless, but on the filter page on your site, do you periodically update the correspondance between you and NVIDIA?
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
#397 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
Excellent! I must be going mental then, cos I swore there was some new material in that page... I only read it yesterday! Ah well.... time to section meself!
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
#398 | Link |
|
Retired AviSynth Dev ;)
![]() Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
|
Congrats on your new software, Donald. You seriously deserve some beer money for all your hard labour!
May I humbly suggest, that you put a slightly more informative text into your "Missing License" dialog; as usual I didn't RTFM, and I had no idea what to do. Maybe you could also allow it to decode the first 10% of a given clip, just as a teaser. MP4/MOV parsing would also be exceptionally useful, since MPEG4 seems to become a quite common container. CUDA development is very interesting - especially if they get their async interface working optimally. Keep up the great work!
__________________
Regards, sh0dan // VoxPod |
|
|
|
|
#399 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I can use the "beer money" to buy the MP4 spec I need. I've just used some it at lunchtime to buy the BluRay Disk I need to test memory leak issue reported above.
You suggestion on the licensing is a good one. I will do something about that. |
|
|
|
|
#400 | Link | |
|
Registered User
Join Date: May 2008
Posts: 80
|
Quote:
![]() I'm using AnyDVD 6.4.6.9, "rip to image", "keep protection", then Virtual CloneDrive to load the image. This way I don't need the physical disc the whole time. |
|
|
|
|
|
#402 | Link | |
|
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,952
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|
|
|
#404 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
neuron2: I have a feature request. Would it be possible to merge DGAVCIndex and DGAVCIndexNV into one program, and offer a license to enable GPU decoding? I could imagine that for AVCSource() you could call it like so: AVCSource("file.dga",GPU=true,deinterlace=true). I'd think that you could somehow just have it check for a license key before it allows GPU decoding.
Just a thought It would be nice to see but if it's not possible then no worries.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#408 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
Test it for the first time, it's impressive. I think about a new feature. I think that cuda have optimized functions to resize the image. Is there a possibility to serve already resized frames ? As 1920x1080 -> 1280x720 is CPU consuming.
Great job. |
|
|
|
|
#410 | Link |
|
Registered User
Join Date: Mar 2005
Location: France
Posts: 149
|
Just a question.
I've installed the CUDA driver, and now the Hardware accelration on POWERDVD (7.3) not run. If I desactive the PureVideo Acceleration on POWERDVD, the display is correct (but I lost the Hardware accelration) and the pureVideo activated no video displayed (black sreen with error message and video run). Anybody have a solution for that ? Thank and sorry for my bad english. |
|
|
|
|
#413 | Link |
|
Registered User
Join Date: Mar 2005
Posts: 136
|
Setup;
E8200@2.66G 9600GT 2GB RAM Source is Blu-ray 1080p dgavcdecnv 1.0 alpha3 script used; LoadPlugin("f:\dgavcdecnv100a3\DGAVCDecodeNV.dll") AVCSource("f:\test.gpu.dga") Crop(0, 144, -0, -136) LanczosResize(1280, 528) LoadPlugin("f:\dgavcdeca35\DGAVCDecode.dll") AVCSource("f:\test.dga") Crop(0, 144, -0, -136) LanczosResize(1280, 528) x264 987 logs; F:\samples>x264.exe --bframes 3 --ref 5 --crf 18 --direct auto --weightb --me umh --subme 6 --b-rdo --mixed-refs --bime --trellis 1 --no-fast-pskip --level 4.1 --progress --threads 3 --output DGAVCDecode.mkv DGAVCDecode.avs avis [info]: 1280x528 @ 23.98 fps (2414 frames) . . . x264 [info]: PSNR Mean Y:46.967 U:49.524 V:49.814 Avg:46.782 Global:42.528 kb/s:5658.03 encoded 2414 frames, 5.84 fps, 5658.21 kb/s F:\samples>x264.exe --bframes 3 --ref 5 --crf 18 --direct auto --weightb --me umh --subme 6 --b-rdo --mixed-refs --bime --trellis 1 --no-fast-pskip --level 4.1 --progress --threads 3 --output DGAVCDecodeNV.mkv DGAVCDecodeNV.avs avis [info]: 1280x528 @ 23.98 fps (2414 frames) . . . x264 [info]: PSNR Mean Y:46.967 U:49.523 V:49.814 Avg:46.782 Global:42.528 kb/s:5651.09 encoded 2414 frames, 6.69 fps, 5651.28 kb/s So, I get approx. 0.85fps speedup. If the full movie has 200000 frames, using DGAVCDecodeNV will finish encoding about 1h12min earlier. |
|
|
|
|
#416 | Link |
|
Registered User
Join Date: Jan 2007
Location: Romania, Timisoara
Posts: 223
|
It should work, but you have to do "real" CUDA programming for that.
http://forums.nvidia.com/index.php?showtopic=60853 Last edited by lucassp; 26th September 2008 at 13:45. |
|
|
|
|
#418 | Link |
|
Registered User
Join Date: May 2008
Posts: 1,615
|
neuron2 for the radmin\microsoft rdp issue. You might have rdp (remote desktop protocol) installed, check for computer properties, advanced settings, remote, and tick allow if it isnt already.Otherwise you'll need to install radmin on a dgavcindexnv capable computer. Start an encode, and if you either login or logout from either service the encoder hangs.
Last edited by turbojet; 26th September 2008 at 14:38. |
|
|
|
|
#420 | Link |
|
Registered User
Join Date: Jun 2008
Posts: 175
|
Donald, what about to make free version with limit to half of source framerate for example? It will not be suited for realtime decoding, but provide good demo of technology. Also with heavy encoding settings I'm don't think that 1-5% speedup is worth 15$.
|
|
|
|
|
#424 | Link |
|
Registered User
Join Date: Mar 2005
Location: France
Posts: 149
|
I've a problem.
DGAVCDecNVindex run correctly, and I can save the projet. But I can load the avs file in MEGUI (the soft close immediatly) and when i want to test directly with X264 command line I see teh error message : "RAWYUV imput requires a resolution" ??. If you have any suggestion for a solution ? THX. |
|
|
|
|
#425 | Link | |
|
aka XaS
Join Date: Jun 2005
Location: France
Posts: 1,122
|
Quote:
Post your script though, there's probably something missing in it.
__________________
Q9300 OC @ 3.2ghz / Asus P5E3 / 4GB PC10600 / Geforce 8600 GTS |
|
|
|
|
|
#427 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
I did ask for a step-by-step. I just don't have time to do experiments to figure things out. EDIT: OK, I have remote desktop working. Now, what do I do exactly? Do I connect and start the encode and then disconnect? Do I start it locally and then connect from remote? You gotta tell me what to do. EDIT 2: I remote connected and tried to start DGAVCIndexNV. I get a CUDA init failure 100. I have written to Nvidia about it. Probably something related to the DX/D3D init. Last edited by Guest; 26th September 2008 at 17:22. |
|
|
|
|
|
#428 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Nvidia responds as follows:
Quote:
|
|
|
|
|
|
#429 | Link |
|
Registered User
Join Date: May 2008
Posts: 1,615
|
Bummer. VNC is ok software, I like that its open and free. But it really reduces my ability to work as I mentioned before with sluggish performance and random dropouts.
Thanks for checking with nvidia. I'll go see if radmin can work around this. |
|
|
|
|
#430 | Link |
|
Registered User
Join Date: Nov 2001
Posts: 9,770
|
mp4 specs are freely available:
http://standards.iso.org/ittf/Public...12_2005(E).zip
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
|
|
|
|
#436 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
@rebkell
What do you mean by "have one in history"? Can you please give us a step-by-step? Thanks! @all I just installed the Nvidia driver 178.13 which came out within the last few days and my High Profile, Level 5.1 streams now decode properly. The problem with non-detection of the CUDA device requiring a reboot is also believed to be fixed by this driver version. |
|
|
|
|
#437 | Link | |
|
Registered User
Join Date: Oct 2006
Posts: 303
|
Quote:
After it's through, go to the Log tab and expand the Job(s) one of the lines will be very long and it's the x264 encode line, just right click it and Edit Text->Node and it will open the command line for the first pass in notepad. It will contain the exact command used by x264 for the encode. Do the same for the second pass to get the final pass command line. |
|
|
|
|
|
#439 | Link | |
|
Registered User
Join Date: Oct 2006
Posts: 303
|
Quote:
Code:
"C:\Program Files\megui\tools\x264\x264.910.modified.exe" --pass 1 --bitrate 3400 --stats "G:\Junk\Bones\Bones0405.stats" --level 4.1 --keyint 60 --min-keyint 1 --bframes 3 --direct auto --subme 1 --analyse none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --qcomp 0.5 --me dia --merange 12 --threads auto --thread-input --progress --no-psnr --no-ssim --output NUL "G:\Junk\Bones\Bones0405.avs" "C:\Program Files\megui\tools\x264\x264.910.modified.exe" --pass 2 --bitrate 3400 --stats "G:\Junk\Bones\Bones0405.stats" --level 4.1 --keyint 60 --min-keyint 1 --ref 3 --mixed-refs --bframes 3 --b-rdo --bime --weightb --direct auto --subme 6 --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --qcomp 0.5 --me umh --merange 12 --threads auto --thread-input --progress --no-psnr --no-ssim --output "G:\Junk\Bones\Bones0405.mkv" "G:\Junk\Bones\Bones0405.avs" |
|
|
|
|
|
#440 | Link |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
I don't know if I'm the only one experiencing this, but if I have a script that looks like this:
AVCSource("1.dga", deinterlace=true) ++ AVCSource("2.dga", deinterlace=true) Then when virtualdubmod gets to the second AVCSource, it crashes with some error that says it can't be "read." If I run them seperately, then both of them work fine. Also, once an AVS is loaded into vdubmod, and then if one closes that file, and tries to load another one (without physically closing the program), vdubmod crashes again based on the same type of message. Something is getting hung up is my guess? |
|
|
|
|
#443 | Link |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
Also, two more questions:
I guess only one thread can be addressed at one time? I thought this was fixed? Neither vdub can be accessed with more than one instance at a time, nor can x264 from CLI. Additionally, I know that you (Donald) had mentioned building a ts cutter for h264 since there isn't a good one out there. If this is still something that you intend to pursue, is it possible that it could use the purevideo CUDA things as well (as opposed to DirectShow and/or haali)? |
|
|
|
|
#444 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I'm sorry but multi-instance is working fine and you are the only person reporting an issue. Let me think about it and then send you a debugging build to try to find out what is happening for you. In the meantime what is the exact error you get when you load the script the second time?
An intitial version of a cutter would use libavcodec for broadest compatibility, but don't look for this to arrive any time soon. |
|
|
|
|
#446 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
I search in windows error log to see if the problem with meGui is the same than Staxrip. I've got two different cases :
meGui : Application défaillante MeGUI.exe, version 0.3.0.2017, horodatage 0x48d8f4c3, module défaillant DGAVCDecodeNV.dll, version 1.0.0.0, horodatage 0x48dc15d3, code d’exception 0xc0000005, décalage d’erreur 0x000044ac, ID du processus 0x1514, heure de début de l’application 0x01c9219ae07f4a02. StaxRip : Application défaillante StaxRip.exe, version 1.1.1.0, horodatage 0x4875d9fb, module défaillant d3d9.dll_unloaded, version 0.0.0.0, horodatage 0x4791a65d, code d’exception 0xc0000005, décalage d’erreur 0x71acf03c, ID du processus 0x9d4, heure de début de l’application 0x01c920dbe791eefd. Sorry for the language, I'm French. This is strange that the DGAVCDecodeNV.dll installed is not 1.0.0.0 but 1.0.1.0. I tried to create multiple instances of the DGAVCDecodeNV and have no problem with two virtualdubmod. Tell me if you want me to test something. |
|
|
|
|
#447 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Just tell me with an exact error message in text. Your link is all screwed up and I can't see anything.
Quote:
Also, provide a link to a stream sample that I can use to duplicate this. Last edited by Guest; 28th September 2008 at 22:01. |
|
|
|
|
|
#449 | Link | |
|
Registered User
Join Date: Jan 2007
Posts: 943
|
Quote:
horodatage = time stamp module défaillant = faulting module code d’exception = exception code décalage d’erreur = fault offset ID du processus = process id heure de début de l’application = application start time Let me guess the OS, Windows Vista. |
|
|
|
|
|
#451 | Link | ||
|
Registered User
Join Date: Aug 2008
Posts: 25
|
Quote:
The instruction at "0x06d897a8" referenced memory at "0x6db4240". The memory could not be "read". Click on OK to terminate the program **Other than bad grammar, that is exactly what the message says when trying to load the exaxt same .avs file into two different instances of vdubmod. The first one can open it, the second one will give this error everytime. When the second one has to be closed becasue of this, the first one is still open and works fine. Additionally, when there is a file open, and say one steps through and makes trims, once trims are saved, and then the .avs is reloaded into the same vdubmod session (that you just made trims from), it gives the same error as above and the program crashes. The 'hex referenced numbers' are canged however (0x091997a8, 0x01c04240) The CLI commands I used were these: I opened up two cmd windows and typed the same exact thing in both. First cmd window I hit 'enter' to start encoding, it does. Second window, I hit enter to start encoding, it starts, then just stops (there is no error message given, it just won't do it). x264.exe --pass 1 --bitrate 2500 --stats "C:\backup\test1.stats" --bframes 3 --b-pyramid --filter -1:0 --subme 2 --partitions none --vbv-maxrate 25000 --me dia --threads 4 --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output NUL "C:\backup\test1.avs" x264.exe --pass 1 --bitrate 2500 --stats "C:\backup\test2.stats" --bframes 3 --b-pyramid --filter -1:0 --subme 2 --partitions none --vbv-maxrate 25000 --me dia --threads 4 --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output NUL "C:\backup\test1.avs" **the only difference between the two is creating a different .stats file which would need to be done.** Quote:
When I do the same tests using DGDecode on mpeg2 content, everything works. I have not tried with DGAVCDecode. |
||
|
|
|
|
#453 | Link |
|
Junglist
Join Date: May 2003
Location: Belarus, Minsk
Posts: 298
|
Cool... PayPal does not even have a Country, where i live, listed...
__________________
Rule Number 6: Concentrate!!! (c)Hercules, Disney "I like to build planes.... in the air" (c) some ADV. tutorials How to Setup agent-based encoding with x264farm (the easy way) |
|
|
|
|
#454 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Version 1.0.2
Version 1.0.2 changes:
* New version of nvcuvid.dll that improves high-level error recovery. * Fixed quirks in the bobbing solution for DGAVCDecodeNV. * Fixed decode failure when no PPS 0 exists. * Improved robustness of transport parsing. http://neuron2.net/dgavcdecnv/dgavcdecnv.html |
|
|
|
|
#455 | Link |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
VirtualDub 1.8.3 - it will just close without an error. So, short answer is yes. Only difference is absence of error message. I don't know if that is the latest (its the latest one I have).
First one opens fine, second instance is a no-go. |
|
|
|
|
#456 | Link |
|
Registered User
Join Date: May 2008
Posts: 80
|
Now if deinterlacing with a single instance, a low quality deinterlacing filter seems to be used (jaggy lines like in the pic above).
When bobbing, the every two frames are a bit different, but they are both reconstructed from the same field. Using the usual avisynth commands from the manual. Last edited by Zwitterion; 30th September 2008 at 06:49. |
|
|
|
|
#463 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
@xopowo
Have you tried installing the latest version of the Nvidia drivers: 178.13? Also, please ensure that you have only one instance of nvcuvid.dll present and that it is the one shipped with the version of DGAVCDecNV that you are using (which should be 1.0.1 or 1.0.2). Make sure you have one version of the DLL in your system32 directory and no others anywhere else (including your Avisynth plugins directory and the directory that DGAVCDec is installed and its subdirectories). What video card do you have? How much memory does it have? Last edited by Guest; 30th September 2008 at 13:37. |
|
|
|
|
#468 | Link | |
|
Registered User
Join Date: May 2008
Posts: 80
|
Quote:
I'm referring to this pic here: http://forum.doom9.org/showpost.php?...&postcount=380 The sample is still here (It's frame 92): http://forum.doom9.org/showpost.php?...&postcount=298 dgavcdecnv102 gives the following result: ![]() ![]() command line: Code:
DGAVCDecodeNV_AVCSource("00014.dga", deinterlace=true)
|
|
|
|
|
|
#469 | Link | |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
Quote:
NVIDIADisplayWin2K(177_84)Int.exe ** that is the name of the driver I'm using. I went to the nVidia site again and this is the only one that it lets me download? nvcuvid.dll - I have one on the box and it is in the \system32 folder. VIDEO CARD - GPU Type : GeForce 8600 GTS GPU Clocks : Core 675 MHz / RAM 1008 MHz GPU Memory : DDR3 256MB |
|
|
|
|
|
#470 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
http://www.nvidia.com/object/winxp_178.13_whql.html
It's quite possible that you don't have enough memory on your GPU card. |
|
|
|
|
#472 | Link | ||
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
Quote:
|
||
|
|
|
|
#474 | Link | |
|
Registered User
Join Date: Sep 2007
Posts: 2
|
LONG time lurker... 1st time poster.
Quote:
I'm giving it a try on the 8500 tonight and I'll report back. |
|
|
|
|
|
#475 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
For multi-instance, you're going to need a lot of memory. My 8500GT card has 1024MB.
BTW, regarding problems in MEGUI, etc., I am working on a solution such that all instances use a single instance of D3D and float the CUDA contexts. If this succeeds it will have the useful consequence of dramatically reducing memory needs for multi-instance. I'm not concerned about the overhead of floating contexts because in practice the usage is serialized. |
|
|
|
|
#476 | Link |
|
Registered User
Join Date: Mar 2004
Posts: 1,274
|
neuron, have you done tests to see what speed difference different cards make, is the ram alot more important than the clock speeds or the memory speeds? Would help quite alot of people.
I know this is off topic but does the amount of ram make a massive difference for DXVA-HD-Balanced x264 profile in megui? As i use the following tools to create my 720p bluray encodes and not dgavc: GraphStudio, Eac3to, x264, AVSP, AviSynth, FFmpeg source, MeGUI, Haali, ffdshow, SurCode DTS, Arcsoft DTS DLLs, Arcsoft Total media. |
|
|
|
|
#478 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Would it theoretically be possible to utilize two cards to help with multi instance decoding? I could imagine the instances would be split between the two.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#480 | Link |
|
Registered User
Join Date: Aug 2002
Location: Latvia
Posts: 69
|
To neuron2:
Well, may be little offtopic, but I am confused. I would like to pay for your product, but have no PayPal account and would like to avoid creating the one. On your WEB page you were stating: "Note that you do not need to have a PayPal account; you can pay with a credit card account also.", but when I do go to "Donate" page, the only option is to create the PayPal account... Is there the way to pay by Credit card WITHOUT creating this account? Screw |
|
|
|
|
#482 | Link |
|
Registered User
Join Date: Aug 2002
Location: Latvia
Posts: 69
|
Sorry, but when I do open your "Donate" link, for me there is no such a choice as you did describe:
http://img515.imageshack.us/img515/4928/ppnolinkzh2.png May be there is something wrong with my browser (IE) or firewall. I shall try to find another solution than. Screw Last edited by screw; 2nd October 2008 at 15:44. |
|
|
|
|
#483 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld Last edited by Inventive Software; 2nd October 2008 at 16:06. |
|
|
|
|
#485 | Link |
|
aka XaS
Join Date: Jun 2005
Location: France
Posts: 1,122
|
@Inventive Software & Screw : Paypal shows me the specific link neuron2 mentions, and clicking on it points me the same page you both have; ie: a page to pay with a credit card without an account
![]() It seems depending on what cookies you have in your cache, the website doesn't display the same info
__________________
Q9300 OC @ 3.2ghz / Asus P5E3 / 4GB PC10600 / Geforce 8600 GTS |
|
|
|
|
#487 | Link |
|
Registered User
Join Date: Aug 2002
Location: Latvia
Posts: 69
|
Well, I do guess, it more likely depends from which country I am reaching this PayPal page. Possibly PayPal does not accept direct payments from some countries, like Latvia.
OK, I shall find the another way. Screw |
|
|
|
|
#489 | Link |
|
Registered User
Join Date: Oct 2001
Location: Washington State University
Posts: 110
|
It looks like things are progressing quite nicely. Neuron2 i just sent you $15. Its the first time I've paid for software in sometime. Can't wait to see whats next from you. I hope to do an analysis of power consumption with and without your software in the near future.
|
|
|
|
|
#490 | Link | |
|
Registered User
Join Date: Sep 2007
Posts: 2
|
Alright, both of my systems:
Q9300, Quadro FX 570 w/ 256mb E6600, Geforce 8500 GT w/ 256mb performed in the exact same manor. They both indexed BD AVC material. With a simple avsynth script loading just the indexed file, the full res video played choppy in Media Player Classic. They both encoded material using virtualdubmod and WMV9 VCM. Trying to encode video either through Windows Media Encoder or through WMV encoder scripting crashed the program. Why WMV? Simply because I've been doing it for years and I know it. I have money burning a hole in my pocket to go get an 8500 GT with 1Gb of memory. I'll probably hold off while to see how this progresses: Quote:
|
|
|
|
|
|
#491 | Link |
|
Registered User
Join Date: Oct 2001
Location: Washington State University
Posts: 110
|
Since megui is not working yet i created my own 2pass x264 launcher program. You can get the program and source code here. http://www.hddvdstrikesback.com/vers/x264launcher.zip
Example command line x264launcher.exe c:\movie\ 8000 1 x264 must be in C:\Program Files\megui\tools\x264\ The output directory must contain test.avs The second argument is the desird bitrate Select 0 for standalone hd-dvd fast and 1 for standalone hd-dvd Select 2 for standalone Bluray fast and 3 for standalone Bluray Example of useage below for hd-dvd fast x264launcher c:\input 8000 0 |
|
|
|
|
#492 | Link | |
|
Registered User
Join Date: Jul 2008
Posts: 9
|
Quote:
What type of your NV display card? How fast pass2 when you use standalone Bluray? |
|
|
|
|
|
#493 | Link |
|
Registered User
Join Date: Oct 2001
Location: Washington State University
Posts: 110
|
I have a 8500gt and a q6600 cpu. I can encode the 2nd pass of the Bluray standalone profile at around 6.15fps. FFdshow give me about 5.90fps. The first pass is about 10-13% faster with dgavcdecnv though. I'm still in the process of testing.
These figures are for full 1080p24 input and output, with no filtering. Last edited by ReferenceDivx; 4th October 2008 at 06:07. |
|
|
|
|
#494 | Link |
|
Registered User
Join Date: Jul 2008
Posts: 9
|
We have same hardware, Have you try to disable display.(This option is intended for getting an idea of the performance of the GPU's decoding engine. When this option is enabled, all display operations are disabled except for one: the FPS field of the Info dialog is updated. If you load your stream, select this option, and start a preview, the FPS field will show the raw decoding rate of the GPU decoder as implemented in DGAVCIndexNV. Note that the conversion from YV12 to RGB24 used when display is enabled is very CPU intensive. So if you want to assess the frame rate and CPU utilization of the GPU decoder, it is necessary to disable the display.)
CPU usage 99%? Last edited by saemonz; 4th October 2008 at 13:23. |
|
|
|
|
#496 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
My findings so far on the problem with crashing in MEGUI, etc...
It appears that all the managed applications (you know, the .NET crud) crash when trying to allocate a second D3D instance. The crash is within the Microsoft D3D CreateDevice() function. I can't trace it and there is nothing useful on the web about this issue. Using floating CUDA contexts is not a viable solution because they must all be within one process. If the encoder applications use multiple processes, we're screwed. In any case, it seems like a better system-wide solution to have a HW resource support separate client processes. So, my plan is to package the GPU decoder as an out-of-process local COM server. That way, only one D3D instance is ever needed. I know that the first instantiation always succeeds with the managed applications; for example, the preview screen works in MEGUI but it crashes when you enqueue the job. A useful side effect will be a reduction in memory requirements. And it will be valuable to have a COM GPU decoder that can be re-used by other applications! So it may take some time to get this working as COM programming is new for me. I do have a simple server and client working, however, and I am now plugging in the decoder. The frame will be returned to the Avisynth filter in shared memory. We'll just have to see if this solves the problem, as it is hard to predict what gotchas might arise. |
|
|
|
|
#500 | Link | |
|
@DVBPortal
Join Date: Feb 2004
Posts: 434
|
Quote:
I am still not sure what the problem with MeGUI is. I can run multiple instances of vdub GPU AVS scripts. What is so special with MeGUI? |
|
|
|
|
|
#501 | Link | ||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
|
||
|
|
|
|
#502 | Link |
|
Registered User
Join Date: Jun 2007
Posts: 106
|
I'm experiencing a bug. X264 hangs at 99.9% with VirtualDubMod and ASXGui 1.9.4. I'm not sure why it's not closing? The two programs use different builds of X264 and it's happening in both XP and Vista.
Last edited by meatwad; 5th October 2008 at 03:05. |
|
|
|
|
#503 | Link | |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
Quote:
BTW: x264 + VDubMod means you use x264 VfW, which probably is not the best idea...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
|
|
|
|
#504 | Link |
|
Registered User
Join Date: Jun 2007
Posts: 106
|
I just use the Nvidia Pure Deinterlace option:
loadplugin("Z:\dgavcdecnv102\DGAVCDecodeNV.dll") avcsource("__vid__", deinterlace=true) VFW for virtualdub is correct, but ASXGui 1.9.4 uses CLI. I'll use a different CLI of X264 with it and see what happens. I just thought it was weird that it hangs with both programs in two different operating systems. I'm sure the problem is on my end because no one else seems to be experiencing it. |
|
|
|
|
#511 | Link |
|
Registered User
Join Date: Jun 2007
Posts: 106
|
This isn't looking good for me. It behaves exactly the same in XP, Vista 32 and Vista 64. It will get to around 99% and not close. It's more than likely something about my system:
Q6600 Gigabyte p35-ds3r EVGA 9800gt 512mb 4gb ram 1.5tb raid 0 array. It's done this from day one, but I assumed it was virtualdub. I'd never tried to do a complete encoding with another program until the other day. That's when I realized it wasn't virtualdub. The memory and video card are brand new so I suppose I should run a memory check. It's not overclocked either. Last edited by meatwad; 5th October 2008 at 18:28. |
|
|
|
|
#514 | Link |
|
Registered User
Join Date: Jun 2007
Posts: 106
|
My memory test is at 50% with no errors and I'm suspecting my GPU. I can transplant the GPU into another PC and install the necessary software, but you'd have to send me a new key for it or a test version with expiration.
GPU: EVGA 512-P3-N975-AR 9800GT 512M I can also do a bare install of XP with the necessary software to test the decoder in case it's something I have installed in all three OS that's causing the problem. Last edited by meatwad; 5th October 2008 at 18:46. |
|
|
|
|
#516 | Link |
|
Registered User
Join Date: Jun 2007
Posts: 106
|
It still hangs even with a clean minimal install. The only codec I installed was YV 12.
@ReferenceDivx I've tested several builds and the results are the same. I don't have the sdk or the toolkit installed this time. Just the Cuda Driver. I'm going to put the card in a different machine and see if it still hangs. I hate to ask DG for another key. |
|
|
|
|
#517 | Link | |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
Quote:
But it certainly doesn't start to encode and then decides to stall at 99.9%
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
|
|
|
|
#519 | Link |
|
Registered User
Join Date: May 2008
Posts: 80
|
meatwad, what do you mean by cuda driver? This one?
http://www.nvidia.com/object/winxp_178.13_whql.html |
|
|
|
|
#520 | Link |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
What if you open the AVS script in VirtualDub and seek all the way to the end?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
|
|
|
#521 | Link |
|
Registered User
Join Date: Jun 2007
Posts: 106
|
Yes. I was just about to post that I believe it completes the encode, just the encoder doesn't close. In VirtualDub I can see the completed encode but I have to stop the encoder. If I stop X264 CLI when it hangs I can't view the video. Naturally I can't do any batch encoding running like this.
@Zwitterion: I've been using this one from the CUDA page NVIDIADisplayWinVista(177_84)Int.exe, I believe I tried the regular driver as well since others have said they used it without any issues. I'll try it again before I move the card to another system. I really appreciate everyone's help with this. Sorry I'm such a pain DG. Update: I just found that if I seek to the end and then go back it locks up VirtualDub. Last edited by meatwad; 5th October 2008 at 23:23. |
|
|
|
|
#523 | Link |
|
Registered User
Join Date: Jun 2007
Posts: 106
|
I found what was wrong, it doesn't like my avc .ts streams. It will work with other avc sources but not my transport streams (even if they're demuxed). Neuron2, could you please add support for them in a future release? I'll send you all the samples you need.
They're all I really work with. I would forever be in your debt if you could also get it to decode the same type of avc streams in .vdr (video disk recorder) format. Also, were you able to get the sample to encode with vdub or x264 cli? Last edited by meatwad; 6th October 2008 at 07:15. |
|
|
|
|
#524 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
EDIT: OK, I know what is happening. When you hit EOF the decode thread is waiting for a signal from the decoder to say that a requested frame is available, but the EOF processing doesn't send that signal to allow the decode thread to terminate. I don't know why it was happening only on these streams, but it's a design issue, so I'll release an update ASAP. Last edited by Guest; 6th October 2008 at 13:54. |
|
|
|
|
|
#525 | Link |
|
Registered User
Join Date: Jun 2007
Posts: 106
|
You are far and above the cut. Thank you so much for addressing the issue. I've included a link to a sample avc .vdr file so you can see the similarities. They are a pain to work with, unlike the mpg version (just rename the files to .mpg and they'll work with most anything). Linux gurus probably eat them for breakfast, but it takes me several steps to get a finished .mkv file. The streams inside the vdr file should be the same make as the transport stream sample.
http://www.zshare.net/download/200884986b8c802a/ If you don't have the time to look at the sample don't worry about it. Just fixing the transport stream issue is more than enough. Once again, thank you for making such a wonderful product. |
|
|
|
|
#526 | Link |
|
Registered User
Join Date: Jan 2007
Posts: 455
|
@neuron2
Marc99 post a message on the mpc-hc thread that puzzle me : http://forum.doom9.org/showpost.php?...postcount=4468 The weird things is that VSFilter is not supposed to be compatible with DXVA for 2 reasons : - IMediaSample::GetPointer is not supposed to return buffer (because it's DX Surface) - Video decoder cannot initiate the DXVA negociation with EVR (because of intermediate filters) But marc99 screenshot show that mpc detect H264 bitstream mode. Mpc-hc show this only if : - Someone ask interface IDirectXVideoDecoderService on the EVR - Someone successfully call IDirectXVideoDecoderService::CreateVideoDecoder So I have a small question for you : are you using the IDirectXVideoDecoderService interface one way or another in your AVISynth filter (asking to EVR filter or using Media foundation)?
__________________
Tired of tearing? Try this Media Player Classic mod : http://mpc-hc.sourceforge.net |
|
|
|
|
#527 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
http://neuron2.net/dgavcdecnv/cuda/cuda.html |
|
|
|
|
|
#528 | Link | |
|
Registered User
Join Date: Jan 2007
Posts: 455
|
Quote:
__________________
Tired of tearing? Try this Media Player Classic mod : http://mpc-hc.sourceforge.net |
|
|
|
|
|
#529 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
@meatwad
Your issue has made it to the Nvidia development dialog, as it appears to expose a regression in nvcuvid.dll. Scroll to the bottom of the dialog and you'll see the analysis. http://neuron2.net/dgavcdecnv/cuda/cuda.html |
|
|
|
|
#530 | Link |
|
Registered User
Join Date: Jun 2007
Posts: 106
|
I was hoping it was going to be something minor, but I have faith they'll come through. You were right about Nvidia being extremely helpful. It's in their best interest after all as it will help them sell more GPUs (and I'm proof of that).
|
|
|
|
|
#531 | Link |
|
Registered User
Join Date: Apr 2005
Posts: 1,339
|
@meatwad - sounds like the same problem I was experiencing -
http://forum.doom9.org/showthread.ph...58#post1186758 |
|
|
|
|
#533 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
OK, Pookie, I've figured out the problem with your streams.
The stream is sending a lump of 8 PPSs every so often. When I seek, though, I was just injecting the previous 5 known PPSs, so the decoder was silently discarding the frames with orphaned PPSs, and when I reached the end of the stream, my app thought there were more frames to come but the decoder couldn't provide any more. I have to rethink my heuristics for SPS/PPS injection on a seek. For now I've bumped it to inject the last 15 prior to the seek point. I should be able to think of something a little more intelligent, however, as I do have the stream indexed at that point and know about all the PPSs. I spent two days being confused because I thought the problem was caused by end of stream handling when all along it was caused by start of stream handling! Also, Nvidia has delivered a new nvcuvid.dll with better performance and some bug fixes. So I'll make a release tonight with that, the temporary PPS fix, and the fix for meatwad. That should keep us going until I redesign the SPS/PPS heuristics properly. Last edited by Guest; 9th October 2008 at 03:29. |
|
|
|
|
#534 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Version 1.0.3
1. Fixed an uninitialized variable in the CUDA parser creation that could cause random suboptimal decoding performance.
2. Changed handling of NALUs with forbidden_zero_bit set. They are now silently discarded. 3. Fixed a problem that could cause a stream to not be properly flushed on end of stream, which in turn could cause DGAVCDecNV to hang. 4. Fixed D3D device object leak for XP. 5. Improved the heuristic for SPS/PPS injection when seeking. This fixes some other cases of hanging at the end of the stream. 6. Added a safety timeout for end of stream hangs (although I think they are all solved now). 7. Updated the Nvidia Development dialog at my web site. http://neuron2.net/dgavcdecnv/dgavcdecnv.html I'm still working on compatibility with managed applications, i.e., the COM server solution. Last edited by Guest; 9th October 2008 at 03:32. |
|
|
|
|
#535 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
|
|
|
|
|
|
#539 | Link |
|
Registered User
Join Date: Jun 2007
Posts: 106
|
Unfortunately I don't have a clue either. I've asked in some Linux forums but no one responded. I'd probably just put this on the back burner as you have much bigger fish to fry with all your other projects. Besides, I'm looking forward to your avc cutter and you've already done more than enough for me in the last few days. Thanks again for the fix and I'll test it out later tonight.
|
|
|
|
|
#544 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
What is this great time reduction you are talking about? The time for indexing is small compared to encoding. |
|
|
|
|
|
#545 | Link | |
|
Registered User
Join Date: Jun 2008
Posts: 175
|
Indexing time isn't so small if you encode BD to some small device at realtime speed. And before encoding I'm usually set cropping and denoise filters — which I can't before index completes.
So how to open file without indexing, will «AVCSource("00001.m2ts")» work? (Your documentation says that it need dga file) Tried with DGAVCDecode — it says: Quote:
|
|
|
|
|
|
#546 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
@Quark.Fusion: Here's a little trick: Try opening the m2ts file in DSS (Directshowsource("file.grf")) and then start indexing the file in DGAVCIndex(NV). Apply filters as necessary on your video in AvsP w/ the DSS instance
![]() I do this kind of multitasking all the time and it works great.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#549 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
Hi neuron2,
Getting this error on a file. PicParset 0 references an invalid (uninitialized) Sequence Parameter Set with ID 0, expect the unexpected. A couple of samples. 33 is the first 500 or so frames 55 is a random selection from the middle No problems on this file with the software version. Last edited by Audionut; 11th October 2008 at 06:45. |
|
|
|
|
#550 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
@Quark.Fusion
Sorry, no, I don't intend to support anything like that. Just make yourself a cup of coffee, or balance the checkbook, while your stream is indexing. Or make a small project using the range feature first. Then start your full project. You can tweak using the small project while the full one is cranking. @Audionut I'll look at it this evening. @all I ditched the COM idea because it's a PITA, with all the GUIDs, registry stuff, etc. I have to make shared memory anyway to pass the frame, so I'm using it also to implement an RPC mechanism. So that together with some events and a mutex gives me all I need without the COM insanity. The way it will look to the user is that you first open a CUDA decoder server application. You can minimize it but as long as it stays alive the CUDA decoder is available to clients, i.e., AVCSource() instances. The clients access it using the named shared memory, events, and mutex. I'll publish the interface, the server source code, and a basic client so that it can be re-used. My DG client applications will remain closed. Last edited by Guest; 11th October 2008 at 02:19. |
|
|
|
|
#551 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Actually, it affects DGAVCIndex also.
I found two problems: 1. I assumed a too small size for the SPSs that I store. Your stream had bigger ones! 2. A later edition of the AVC standard added some new profile_idc values that I had to allow for. With these fixes your streams play fine. I'll release fixes for DGAVCDec and DGAVCDecNV tomorrow. |
|
|
|
|
#552 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
Thanks.
Unless the errors are somehow affecting the information display, this stream also has a max bitrate of over 60Mbps. Way out of spec, for both the 4.1 level it's encoded at, and the blu-ray spec. edit: I just checked the software version results, and it shows max bitrate 58.475Mbps. Last edited by Audionut; 11th October 2008 at 06:53. |
|
|
|
|
#553 | Link |
|
I shot my foot with sugar
Join Date: Oct 2001
Location: Leipzig, Saxony, Germany
Posts: 7,392
|
Could you please add the hardware requirements to the documentation?
I remember differences in the grade of hardware support by the variants of the GeForce 8xxx family, and I wonder if this project requires a minimum variant (I mean, on-board / mobile IGPs and low-cost variants like 8300/8400{M} might not support DXVA enough to be of use for AVC decoding). "Minimum hardware requirement: GeForce 8500" would be a probably sufficient example to know that one needs a stand-alone graphic card and may not get an on-board solution to work (if that is the case; but if IGP/Mobile are fine, let's say "8xxx"). TechARP - Desktop GPUs: Nvidia TechARP - Mobile GPUs: Nvidia |
|
|
|
|
#554 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
Device supporting CUDA.
http://www.nvidia.com/object/cuda_learn_products.html Looks like any 8xxx series hardware or higher. Last edited by Audionut; 11th October 2008 at 09:27. |
|
|
|
|
#555 | Link | |
|
@DVBPortal
Join Date: Feb 2004
Posts: 434
|
Quote:
I also wanted to ask, if the current dgavcindex is open source, as a have read about it, but never found sources. |
|
|
|
|
|
#556 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
@crypto Not open source at this time. |
|
|
|
|
|
#557 | Link | |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
This is from the full stream of the sample posted earlier. "Die hard 1. Region B"
Gathered using the software version. I'll post the hardware version when an encode i have running is finished. Quote:
Last edited by Audionut; 11th October 2008 at 13:58. |
|
|
|
|
|
#559 | Link |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
...Except for the 8800 Ultra/GTX/GTS, Telsa S870/D870/C870, Quadro Plex 1000 and Quadro FX 5600/4600.
One of the cheapest cards available, the 8400, contains VP3 instead of VP2 like the others - but this makes no change to H264 decoding, only VC1 and MPEG2 are improved. |
|
|
|
|
#560 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
In any case, to compare the two they must be defined the same way, and I don't know how the spec defines "max bitrate". Do you? |
|
|
|
|
|
#563 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
|
|
|
|
|
#564 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
And here for h.264.
http://en.wikipedia.org/wiki/H.264 Under section levels. How accurate the wiki is though, is anyone's guess. BTW. I've only seen 1 blu-ray so far out of about 35 that has had a max bitrate under the 40mbps of the spec. And IIRC about 2 or 3 with max bitrates above 50mbps. The limit of level 4.1. Last edited by Audionut; 11th October 2008 at 14:40. Reason: I guess people would like to understand the post. |
|
|
|
|
#565 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Version 1.0.4
* Fixed a problem that could cause large SPSs to not be processed, resulting in decode failures.
* Revised the NALU parser to allow for some missing profile_idc values. * Added lines CODED and PLAYBACK in the DGA file to provide the number of coded and playback frames. * Added a workaround for the Windows bug that (rarely) caused the DGAVCIndexNV window to open off the screen. http://neuron2.net/dgavcdecnv/dgavcdecnv.html |
|
|
|
|
#566 | Link | |
|
Angel of Night
![]() Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,549
|
Quote:
|
|
|
|
|
|
#567 | Link | |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
On the contrary, the wiki clearly states, Max video bitrate for given levels. Max frame size, Max macroblocks per second.
Quote:
http://akuvian.org/src/x264/ITU-T_H264.pdf.gz Last edited by Audionut; 11th October 2008 at 23:57. |
|
|
|
|
|
#569 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
My local build working with MEGUI
Some good news...
My local build is working with MEGUI. This is not the server version but rather just based on the current code but implementing a single D3D instance shared by floating contexts, as recommended by Nvidia. I want to do a little more testing before releasing a beta for testing. MEGUI does some real goofy stuff internally. It opens the script 7 times for a simple 2-pass encode! |
|
|
|
|
#572 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
|
|
|
|
|
|
#573 | Link |
|
Registered User
Join Date: Dec 2006
Posts: 69
|
Dare I say it - yes I will, bit sloppy, even though I use MeGUI myself and like it, but 7 times, fair enough I could understand - once for the preview, and a few for the encode (depending on no# of cores), but that exceeds even that amount (would be 5 in a quad core machine). There is no reason too even have the preview open while encoding anyway .. and sorry neuron2 I know you want too keep the thread clean.
|
|
|
|
|
#574 | Link |
|
Registered User
Join Date: Aug 2002
Location: Latvia
Posts: 69
|
Some experience with DGAVCIndexNV on NVIDIA Quadro NVS140M (Lenovo T61 notebook).
Although there is no certain info about V2 existence on this chip on NVIDIA site, I did give a try, since my previous attempt with GeForce 8800GTS failed (I had to read all discussion thread more carefully). Well, back to Quadro NVS 140M - it works but not on full HD resolution. I could run DGAVCIndexNV on smaller sample videos: 720x400 ~ 200 FPS in preview mode, 1280x720 ~ 90 FPS. When I did try to open 1920x1080 clip, DGAVCIndexNV fails to initialize video decoder: "GPU decoder: Failed to create video decoder (100)" Possibly it is some limitation of chipset, although DXVAChecker does report ability to decode H.264 up to 1920x1080. Another issue - did try to encode to something else (Xvid, MPEG-2). Xvid went fine (I did use VirtualDub on .AVS script), but CCE SP2 Trial did fail with Exception 0xC0000005 in all attempts. Any ideas what might be the reason for this CCE crush? The same clip when used with DGAVCIndex (libavcodec) and DGAVCDecode works normally on CCE. Added later info 19.10.2008: I did try also encoding to MPEG-2 with HC_enc (0.23) and QuEnc (0.72). Both failed exactly the same way - Exception 0xC0000005. Can anyone report the success with MPEG-2 encoding if DGACVDecodeNV is used in .AVS script? Last edited by screw; 19th October 2008 at 10:21. |
|
|
|
|
#575 | Link | |
|
Registered User
Join Date: Dec 2007
Posts: 639
|
Quote:
|
|
|
|
|
|
#576 | Link | |
|
Registered User
Join Date: Dec 2006
Posts: 69
|
Quote:
)---- I was under the belief that x264 can output too sout and serr (standard out and standard error streams) so therefore there isn't really a need for the extra as MeGUI could just monitor those streams and do whatever it wants with the info (it does already with the fps, time, etc), so it really doesn't justify extra avisynth processes running just for monitoring (actually it doesn't make much sense at all too me). Then again I haven't looked at the MeGUI code, so I may just be spouting crap.
|
|
|
|
|
|
#577 | Link |
|
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
sorry for helping the hijack here...
x264 writes the log information (debug, info, warnings, etc. depending on the level of info you want: see --verbose and --quiet) to stderr by default, and the code is hardcoded for that, so it can't output video data to stderr. x264 can write to stdout though by specifying the out file as - the thing is iirc, A. megui already monitors the stderr stream for displaying the progress statistics and x264 error/info within megui B. I don't recall megui natively supporting x264 writing to stdout, it wants x264 to write to a file. C. megui handles more programs than just x264, so i believe point B is related to not all the programs it deals with having stdout support. i have only a vague idea why megui would open the avs script that many times as i don't use it regularly; that would be to check the video parameters (AR, FPS, etc.) and then from opening it, it would find errors. But of course this is just speculation within reason. would have to ask Sharktooth on why it actually opens that many times. so a bit back on topic... hows the progress on testing that floating context version build coming along? because honestly once that stabilizes the whole multiopening conflict within megui and any other encoding programs, the problem becomes moot. Last edited by kemuri-_9; 18th October 2008 at 16:25. |
|
|
|
|
#578 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
But there is good news. I went back to my server idea and just tonight completed the implementation of DGAVCDecodeNV based on the client-server model. It works just fine and MEGUI works without issues. Interestingly, a global mutex was not required because MEGUI is well behaved about closing the script each time before re-opening it again. I may add one later anyway, but it's not required to support MEGUI. I hope to roll this out tomorrow evening after doing a code review. I also plan to release the source code for the server as well as a primitive GUI client (though not the source code for DGAVCDecodeNV). That will enable other people to use the CUVID decoder in their own applications. Last edited by Guest; 22nd October 2008 at 05:50. |
|
|
|
|
|
#579 | Link |
|
Registered User
Join Date: Jan 2004
Posts: 849
|
Neuron, I was following the CUDA dialogue you keep track of on your site with interest, and I was wondering if the code provided by NVidia engineer (NV12->YUY2) is under any form of licence or if it's otherwise inadvisable to just take it from there and use it. Also if it is free-for-all kind of a deal, your last recorded message reads that you are using an updated version of that function. Is that the second one posted there, or have they sent you an even newer one?
Thanks.
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 |
|
|
|
|
#580 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
|
|
|
|
|
|
#581 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Things are still bubbling. The thing is that ideally I'd like to be able to support a script like this:
a=AVCDecode("file.dga").reverse() b=AVCDecode("file.dga") interleave(a,b) ...which with a file of frames 0-95 would give: 95 0 94 1 93 2 92 3 ... In other words, a script should support multiple independent AVCSource() instances. The script above worked with earlier versions of nvcuvid.dll when opening with VirtualDub. But now there are two problems: 1. Doing this with the latest nvcuvid.dll crashes. Nvidia has been informed. 2. It never worked with the managed apps like MEGUI, which crashed when trying to instantiate a second decoder instance. Assuming that Nvidia can fix 1 leaves us still with 2. 2 can be fixed either with the server model (working fine) or the floating context model (working with issues probably solvable). But both these solutions preclude ever doing the multiple independent decodes, because only one decoder is ever instantiated. It seems like a big loss to give up multiple instantiation. So I'm tempted to hold off on the server model rollout and work the issues 1 and 2 some more in hopes of solving them. But then users won't have a MEGUI solution in the meantime. Or I can rollout the server now and perhaps have to abandon it later. One advantage of the server model is that the decoder code is always in one place and fixing bugs there, or adding features there, fixes all applications that use it. And the server model is simple and robust. So there's something to be said for the server model. So I don't know what to do. Your thoughts will be appreciated. Is it really so bad to lose multiple instantiation?
Last edited by Guest; 23rd October 2008 at 04:17. |
|
|
|
|
#582 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Why would you have to abandon the server model though? It seems like it has no disadvantages.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Guest; 23rd October 2008 at 04:21. |
|
|
|
|
#583 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
AVCSource("fileA.dga")++AVCSource("fileB.dga") There is a way to support that with the server model by forcing every GetFrame() call to do a full decoder reset. But the performance would be horrible. Last edited by Guest; 23rd October 2008 at 04:24. |
|
|
|
|
|
#584 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Well #1 seems like it could be, or should be, a very simple fix -- something that nvidia can resolve for us (hopefully). MeGUI on the other hand.. Perhaps we can work with the developers to make it not crash.
Both seems completely solvable, just requires someone to actually do it. I wish I knew enough code to help on #2
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#586 | Link |
|
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
hmmm.....
the server model works for megui for a single instantiation call, but not for several and the 'normal' method (once fixed) supports multiple instantiation.... then how viable would it be to have both? Seeing at how there are the people who would like to do complicated multiple instantiation and then the megui users. probably hitting an over generalization here: but i would say that the multiple instantiation users will probably encode the file to a lossless with filtering they will perform, which they will then use that in megui - removing the necessity for DGAVCDecodeNV withing megui. and then the megui users generally want to straight-shot convert a single video. - without multiple instantiation capability. sure if they both worked simultaneously people would be foaming out of the mouth in joy, but hey if it absolutely requires two versions, i think people could live with that; we should be happy to get anything at all. As for the file concatenating idea, what cuda restrictions are there in place to prevent you from doing so within the project .dga and only having one AVCSource() call (like DGAVCIndex and DGIndex)? is there any chance of getting it worked out with nvidia, or is it an absolute no-go? - mp4box's stream concatenation feature can be used for files that have the same properties as a workaround for that if it doesn't ever work out.... .... geh, what a wall of text :< Last edited by kemuri-_9; 23rd October 2008 at 05:52. |
|
|
|
|
#587 | Link | |
|
Registered User
Join Date: Dec 2006
Posts: 69
|
Quote:
Alternatively perhaps keep the code managed so that both can be contained within the same app even but selection via options/preferences too keep it all in one app rather than dividing it up based on what the end user wants too do, better too keep it in one imho (but may mean some code repetition - but honestly who's worried about memory/storage space these days on recent machines). Just an idea... ---- edit: Just make sure that its documented (hell even well tool-tipped) what the difference's are and whats best for what use. Last edited by tre31; 23rd October 2008 at 06:43. Reason: more... |
|
|
|
|
|
#588 | Link |
|
Registered User
Join Date: Jun 2008
Posts: 175
|
Storage is still matters — shadow copies for example can eat space pretty fast if you will do massive writes. That requires separate storage for temporary data — it's not something that comes for free.
Memory also heavily matters in 32-bit apps, fft3dgpu for example eat allocation space in that way, so it's not possible to use it two times on HD content. If you add memory requirement for encoding and decoding, mvtools processing, etc — you will suffer from insufficient address space. (Sorry for my english) |
|
|
|
|
#589 | Link | |
|
Registered User
Join Date: Dec 2006
Posts: 69
|
Quote:
Anyway its up too neuron2, I was just offering an idea that encompases both, since both seem too be valid solutions too different problems.
|
|
|
|
|
|
#590 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Actually, it turns out that AVCSource()++AVCSource() works fine with the server because the uses of the decoder are serialized. It's only when you interleave their usage that problems arise. So I'll go ahead and release the server version tonight.
|
|
|
|
|
#591 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
How odd.. I don't suppose most people would realistically use two sources interleaved, would they?
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#593 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Version 1.0.5: Server implementation fixes MEGUI operation
OK, I'm rolling out the server version. Nvidia already fixed problem 1 described above but problem 2 remains intractable for now. Some notes:
* I strongly recommend killing the MEGUI preview before starting the encode. You can leave it open if you want to be perverse, but if you navigate in it after starting encoding, kiss your life goodbye. And don't say I didn't warn you. * DGAVCIndexNV still uses a built-in GPU decoder; the server does not have to be active. But again for the same reason as above, kill DGAVCIndexNV before trying to execute scripts. * Don't even think about writing a script that in any way interleaves access to multiple instances of AVCSource(). It's OK if they are serialized, e.g., AVCSource()++AVCSource(). Note that normal PureVideo bobbing without multiple instances is coming. * The server is licensed, so either put it in the same directory as DGAVCIndexNV.exe, or put a copy of your license.txt file with its executable. * Tomorrow I will release a basic server client with source code, so that you can use the server in your own applications. http://neuron2.net/dgavcdecnv/dgavcdecnv.html Last edited by Guest; 14th November 2008 at 15:01. |
|
|
|
|
#596 | Link |
|
Registered User
Join Date: Sep 2004
Location: Germany, Hamm
Posts: 161
|
oh sorry, have many work at the moment
will test it more tomorrow.I test some small Premiere HD Stream. I only load the dga project in avs script an encode it with dxva hq profile in megui. source file playes finde. but the encoded one has terrible lags. and sorry about my english |
|
|
|
|
#598 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
CUVID Sample Client Application version 1.0.0
I've released the sample client package with source code. It works with the CUVID Server contained in DGAVCDecNV 1.0.5. The package contains documentation for the CUVID Server interface. I would be interested in any ideas for improving the interface.
http://neuron2.net/dgavcdecnv/dgavcdecnv.html |
|
|
|
|
#600 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
No, because the license models are different.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
#601 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
The license model is not an obstacle. The features could be combined with only the NV support being controlled by the license file. In other words, to turn on NV support you need the license file, but not for libavcodec operation.
The thing is, though, I am highly pessimistic about libavcodec ever being fixed to the level needed for proper operation in a frame accurate seeking application. For me, NV is the only viable way right now. Maybe CoreAVC will come through with an API, but I'm not holding my breath. |
|
|
|
|
#602 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
|
|
|
|
|
|
#604 | Link |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Load the script into the AviScript Script input. The preview is opened when the script is loaded. Go to Tools and then AutoEncode. This is where the freeze happens. If I close the preview before clicking on AutoEncode is does not freeze. I use AutoEncode to set the output size and to mux the audio and chapters with the video.
|
|
|
|
|
#608 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
![]() BTW. The script is: Code:
LoadPlugin("C:\Program Files\DGAVCIndexNV\DGAVCDecodeNV.dll")
AVCSource("F:\Blu-ray\Forbidden Kingdom.dga")
|
|
|
|
|
|
#611 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
I just tried to open the AVS in virtualDub, pressing the right narrow to play the file i can see the lags in live, but if i return to a previous point in the movie and replay the same part, I cannot reproduce it again.
So this is unpredictable. What do you need ? |
|
|
|
|
#612 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Playing the AVS will not be smooth, as DGAVCDecodeNV is not designed as a player application. But returning on the timeline gets frames from the Avisynth cache, which will not have decoding delays. So it is normal.
The important question is: Does your encoded file have unexpected duplicate frames? |
|
|
|
|
#613 | Link |
|
Registered User
Join Date: Jan 2004
Posts: 849
|
ultra (and everyone else with the problem) what decoder are you using? I tested the old preview of avcsourceNV (during early development, i hijacked my friend's machine to play around since I don't have NV), and did encounter such a problem (the lag), but then I played the output on PS3 and it was smooth as silk. I assumed at the time it was libav decoding issue (ffdshow) or faulty mp4 splitting in haali. Though I'm not sure what triggers it and what it has to do with the source frameserver (one would think it's the output x264 profile that matters).
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 Last edited by lexor; 25th October 2008 at 19:37. |
|
|
|
|
#614 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
Ok, effectively, there is duplicate frames. In one of them the frame seems cut in the middle with a shift between the up part and the down part (a man walking on the snow, his trunk is no more in front of his legs). In this case the old frame is repeated on the up part, only the down part is the new frame.
I encode the same part of the movie three times : 2 with AVCSource from DGAVCDecodeNV, one from directshow. Same encoder settings, the two NV based encodes lags at different moment, the one form directshow doesn't. Last edited by ultratoto14; 25th October 2008 at 19:42. |
|
|
|
|
#615 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
OK, thank you. I know from your description exactly what is happening. The server is re-using the shared memory before the client is done with it. I'll release a fix ASAP. Thank you for your very clear and valuable trouble report.
@lexor There are two unrelated meanings for "lag" here. I'm sure it's clear now after you realize the issue I mentioned just above. Last edited by Guest; 25th October 2008 at 20:05. |
|
|
|
|
#619 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
It takes me a long time since i have a very slow internet connection, here is the sample you want http://www.mediafire.com/?sharekey=e...cff8d127bac7ae.
8800 GTS 512Mo |
|
|
|
|
#620 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Thank you.
But there is no cropping rectangle and I cannot duplicate the issue. I made a basic script with just AVCSource() and then encoded in MEGUI with DXVA HD Fast. Please tell me exactly what you did to make that happen. Include your script, MEGUI profile, and everything up to and including how you made that frame grab. I can't fix a problem if I can't duplicate it. |
|
|
|
|
#628 | Link |
|
Registered User
Join Date: Oct 2008
Posts: 11
|
Sorry, if this is a bit offtopic, but which method of deinterlacing is used by the PureVideo deinterlacer?
How does it compare to Yadif or even Mcbob in terms of Quality? I understand there is no way of choosing a particular method in the nvidia control panel. Is there a difference in terms of method/quality between the XP and Vista drivers? I guess my basic question is: If I have an interlaced source and want to archive good quality, should I use Yadif or PureVideo? |
|
|
|
|
#629 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
If you look through the 16 pages of the thread, somewhere you will find some screenshots. In my opinion, PureVideo is better and faster than the available Avisynth filters.. It does only single rate for now (no bobbing).
I don't think there's any difference between XP and Vista, as it is a hardware function. Last edited by Guest; 27th October 2008 at 00:04. |
|
|
|
|
#630 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Indeed, I did a mini comparison of TempGaussMC (using naive defaults) vs the built in VP deinterlacing and nvidia's implementation came out on top. IMO, for the naive user who just wants it to work right, the deinterlacing interface provided by DGAVCDecNV is very handy, or well anyone who wants good deinterlacing
![]() If I find more interlaced H.264 sources I'll post the results too. Edit: Here are the results
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 27th October 2008 at 01:00. |
|
|
|
|
#631 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
Strange error using with x264 on Vista 64.
avis [error]: unsupported input format (DIB ) x264 [error]: could not open input file 'd:\test.avs' I've used the same workflow I have always used on winxp. The avs file loads fine in virtualdub and mpc. And as far as I can tell it is yv12. edit: and it works with the same x264.exe in megui but not the cli. Last edited by Audionut; 27th October 2008 at 16:05. |
|
|
|
|
#632 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
@Neuron2 :
1 - I use TSMuxer, eac3to and DGAVCindexNV to extract audio from a m2ts file. The 3 resulting ac3 are exactly the same (great !!) but the one extracted from DGAVCindexNV is marked with a delay of -265 ms. And when remuxed with this delay, the file is not in sync. I tried two others files muxed with TSMuxer and the -265 ms is present every time. Do you have any clue on that ? 2 - What is the roadmap of DGAVCindexNV : VC1/MPEG2 support ? Thanks for all, my first encode with the CUVidServer is grrrrreeeeaaaattt. |
|
|
|
|
#633 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
1. The version of DGAVCDecNV you are using. 2. The x264 CLI command that fails, and the version of the x264.exe you used. 3. Your exact script. 4. A piece of the unprocessed source stream that will allow me to duplicate your issue. But if the exact same thing doesn't fail on XP, you're on your own because I don't use Vista 64. Last edited by Guest; 27th October 2008 at 16:12. |
|
|
|
|
|
#634 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
1. latest.
2. Code:
--crf 18.0 --level 4.1 --keyint 24 --min-keyint 2 --ref 3 --mixed-refs --bframes 3 --b-adapt 2 --weightb --direct auto --subme 7 --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --qpmin 1 --qpstep 6 --ipratio 1.3 --pbratio 1.1 --vbv-bufsize 40000 --vbv-maxrate 40000 --scenecut -1 --me umh --threads auto --thread-input --aq-mode 0 --progress --no-psnr --no-ssim --output "output" "input" Code:
loadplugin("d:\dgavcdecodenv.dll")
avcsource("d:\test.dga")
spline36resize(1280,544)
removegrain()
The error occured with a basic loadplugin, avcsource script aswell. |
|
|
|
|
#635 | Link | ||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
PureVideo bobbing VC-1 MPEG1/2 |
||
|
|
|
|
#636 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
And what happens if you just load the script into VirtualDub? Where did you put nvcuvid.dll? You should not use nvcuvid64.dll. You should put nvcuvid.dll in your sys32wow directory. That may not be the exact name but it is something like that. ![]() Also, check the Nvida driver version. It must support CUDA. Last edited by Guest; 27th October 2008 at 16:19. |
|
|
|
|
|
#637 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
1. no
2. works fine. Also works fine with the same x264.exe in megui. 3. Didn't put anywhere, but tried system32 and syswow64, didn't make any difference. Works in megui without me putting it anywhere. 4. latest driver 180.43 iirc. See pm for sample. Edit. It seems awfully strange that it doesn't work in cli but does in megui. |
|
|
|
|
#638 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Your answer to 1 is ambiguous. Does it or does it not work fine on 32-bit XP?
You have to put the correct DLL in the correct place! Get rid of all the existing nvcuvid.dll and nvcuvid64.dll and put the nvcuvid.dll from the zip file into the correct directory for Vista 64 32-bit DLLs. I don't lknow what that is as I don't use Vista 64. Last edited by Guest; 27th October 2008 at 17:05. |
|
|
|
|
#641 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
I put two samples of files with delay not detected by other programs here : http://www.mediafire.com/?sharekey=e...cff8d127bac7ae
|
|
|
|
|
#642 | Link | |
|
Registered User
Join Date: Oct 2008
Posts: 17
|
Quote:
"Removed filename passed to new VobinputWindow as SetConfig passes it anyway.This way OpenVideo isn't called twice." Any chance that this simplifies things? Last edited by adiabatic; 28th October 2008 at 07:06. Reason: edit |
|
|
|
|
|
#644 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I don't know, but it appears to be irrelevant at this point as the current version of DGAVCDecNV works with MEGUI.
@ultratoto14 I don't know, but in any case, there are no options for such a thing exposed in the CUVID interface. |
|
|
|
|
#645 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Different programs can see different delays depending upon how they do their demuxing, etc. |
|
|
|
|
|
#646 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
CUVID Server goes open source
I decided to unlicense the CUVID Server and release its source code under GPL.
http://neuron2.net/dgavcdecnv/cuvidserver100.zip |
|
|
|
|
#647 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
Just another question about the roadmap :
As the current release work for h264 but allow only one instance at a time, isn't it more simple to support VC1 and mpeg2 in this release and after that give more time for bobbing, etc ? (I really miss VC1 support, )
|
|
|
|
|
#650 | Link | |
|
@DVBPortal
Join Date: Feb 2004
Posts: 434
|
Quote:
|
|
|
|
|
|
#651 | Link |
|
Registered User
Join Date: Oct 2003
Posts: 435
|
sorry if this question is unsuitable for this thread topic, but would this setup give good de-interlaced results for sports OTA mpeg2 1080i. i ask because if it can i will invest in a nvidia card and support this program for sure. i basically use a script to resize and deinterlace and encode cmd line x264. i run a ati4850 at the moment but hey i will use whatever suits my needs.
is the deinterlacing engine in purevideo one for the better ones out there? |
|
|
|
|
#652 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
If you want very fine single rate deinterlacing of that material this is definitely for you. If you'd like to post an unprocessed sample, I'll run it through and post the result so that you can assess the results. I'll also advise you on card selection. You don't need a really high-end card. Mine is about as low as you can get ($50), but it still kicks some major butt.
EDIT: I just noticed you said MPEG2! You'll have to wait a bit for that. I'm working on it. But go ahead and post a sample. I'll use it as a test clip. Last edited by Guest; 29th October 2008 at 01:38. |
|
|
|
|
#653 | Link | |
|
Registered User
Join Date: Oct 2003
Posts: 435
|
Quote:
![]() its pretty tough source as its ice hockey footage so it should test purevideo heh... heres the clip, and i did read your edit about mpeg2 thx. http://tinyurl.com/6g8dzw Last edited by woah!; 29th October 2008 at 02:10. |
|
|
|
|
|
#654 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
1. Single instance double rate deinterlacing (because it's easy). 2. MPEG1/MPEG2 (because random access is already understood). 3. VC-1 (hardest because technology for random access needs to be designed, although the decoding is there already). |
|
|
|
|
|
#655 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Wait, you get MPEG-1 acceleration on the hardware? Huh, I didn't think they even had that there anymore.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#657 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Most likely after all the raw formats are supported. Unfortunately, there's only one of me.
![]() @Sagekilla Don't you read the source code? It's right there in the Nvida header file. And why would they support MPEG2 and not MPEG1? They have to support anything that DXVA can play, and MPEG1 is still an acceptable DVD video format. |
|
|
|
|
#658 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I haven't looked at the source code, but I just didn't think we had hardware decoding of MPEG-1 because, relative to MPEG-2 and H.264, it's a fairly simple format. Certainly doesn't hurt, but I was just surprised by it.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#662 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I'll trade you my 8500GT for it. And I'll throw in a Britney Spears DVD.
@ all I've updated the CUDA development dialog. As always, thanks to Nvidia for their amazing support. http://neuron2.net/dgavcdecnv/cuda/cuda.html |
|
|
|
|
#666 | Link |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Believe me I'd like to be proven wrong, but even using a card with VP3 (full mpeg2 acceleration) CUDA's decoding speed is well below dgmpgdec (not to mention more optimized decoders) and since MPEG2 requires so little cpu power these days there's no apparent speed difference when feeding x264/xvid_encraw. I can see how the deinterlacer might appeal to some but personally if the source is interlaced I keep it that way when making the backup.
VC1, now there's something interesting. Advanced profile is relatively easy to parse due to start codes - in fact, you could almost get away with just changing the mpeg2 startcode definitions. |
|
|
|
|
#667 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Well, given a sufficiently fast CPU any multithreaded and heavily optimized decoder can outperform the VPx hardware. All the VPx hardware out there right now is fixed clock speed, and you end up getting (more or less) the same performance decoding 720p as 1080p, for example. MPEG-2 @ 720p would decode faster than MPEG-2 @ 1080p obviously on a CPU, but if you had some ridiculously huge bitrate streams, then the VP hardware would have an edge up still.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#668 | Link |
|
Registered User
Join Date: Jan 2004
Posts: 849
|
According to CUDA Engineer reply in the dialogue that Neuron keeps track of, there is no such thing as VP3, VP2 has all the bells and whistles that VP3 is claimed to have (wikipedia is lying to us again).
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 |
|
|
|
|
#670 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
VP3 is VP2 with full VC-1 and MPEG-2 acceleration tweaks, but VP3 isn't an official designation. It's like we have SSSE3 and we called it SSE4 before it was identified as SSSE3, more or less.
VP3 s not an official name, but the fact is that the newer cards have extra VP hardware on them.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#671 | Link | ||
|
Registered User
Join Date: Jan 2004
Posts: 849
|
Quote:
Quote:
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 |
||
|
|
|
|
#672 | Link | ||
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Quote:
Quote:
|
||
|
|
|
|
#673 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
"Let me know when you have a beta - I'll give it a try and see how it performs on VP3 "
|
|
|
|
|
|
#674 | Link |
|
Registered User
Join Date: Jan 2004
Posts: 849
|
No I didn't, but from context it seemed like it was an unreleased part that he was going to test it on. Am I wrong? Something is out with VP3 already?
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 |
|
|
|
|
#675 | Link |
|
Registered User
Join Date: Mar 2008
Posts: 41
|
VP3 has been out since last year with the introduction of new version of 8400gs (core G98). orginal 8400gs is G86 (VP2 only). as far as i can remember, cards base on core G86, G92, G94, G96(not so sure, they revised few times), gt200 are vp2 only. IGP 8200/8300, G98 8400 ( any other cards based on G98), possible one or 2 other G9x cores have VP3.
NV is swaping cores on the same card series all the time. just like 8400gs G86 to G98, 9600gso went from G92 to G94.. |
|
|
|
|
#676 | Link |
|
Registered User
Join Date: Oct 2008
Posts: 3
|
Here the dgavcdecnv.dll does not work
I have: 1 - XFX Geforce 8600GT 2 - Windows Vista 32-bit 3 - plugins nvcuda.dll, nvapi.dll, nvcuvid.dll in the System32 folder 4 - Driver 178.13 installed 5 - Cuda Toolkit 2.0 installed 6 - Cuda SDK installed 7 - DGAVCIndexNV 1.0.5 installed I generated one ''file.DGA'' using DGavcdecNV.exe and in my ''file.AVS'' has the following: LoadPlugin ( "C: \ Program Files \ Megui \ dgAVCdecNV \ DGAVCDecodeNV.dll") LoadPlugin ( "C: \ Program Files \ Megui \ dgAVCdecNV \ Decomb.dll") AVCSource ( "G: \ ns70v2.dga") fielddeinterlace () I loaded the CUVIDserver.exe, so I used the VirtualDub to import the file.avs, disable the priview the video, started the encode but the processor is at 100% and the video is encoded in 2 FPS. then tried to use the meGUI and the Video is at 10 FPS and 100% CPU utilization. I too disabled the display but not worked. I'm doing something wrong? why DGAVCDecodeNV.dll don't work here? |
|
|
|
|
#678 | Link | |
|
Registered User
Join Date: Apr 2008
Posts: 1,178
|
Quote:
|
|
|
|
|
|
#679 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Thanks, roozhou, I didn't notice he said he'd started an encode.
On some machines there may be a small performance improvement, but the main purpose of using CUDA is to get correct decoding for the streams that are not handled by libavcodec, and to access some of the post-processing capabilities of CUDA. Also, to add support for VC-1 in the future. |
|
|
|
|
#682 | Link | |
|
Registered User
Join Date: Oct 2008
Posts: 3
|
Quote:
1 - It's possible use this plugin with the tmpgenc plus? 2 - you want to launch a video encoder with the power of the GPU? |
|
|
|
|
|
#683 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
If that application can open Avisynth scripts, then yes.
Quote:
|
|
|
|
|
|
#684 | Link |
|
Registered User
Join Date: Oct 2003
Posts: 435
|
just to let you know, i saw a driver set on nvidia's site http://www.nvidia.com/object/winxp_180.43_beta.html
Version: 180.43 which crashes your server app on my setup anyways.. back to the GeForce Release 178 WHQL Version: 178.24 and all is good. i know they were beta and this is just for reference in case anyone else has issues... |
|
|
|
|
#686 | Link | |
|
too much lurking
Join Date: Sep 2006
Location: Valhalla
Posts: 668
|
Quote:
This is an important question for me (as an ATI owner) and many others since ATI doesn't support CUDA and purchasing a new video card can be a big step. |
|
|
|
|
|
#687 | Link |
|
Registered User
Join Date: Dec 2007
Posts: 215
|
@neuron2: I'm not really familiar with how it all works, but will it ever be possible to have a H.264 DirectShow decoder/filter that uses CUDA the way DGAVCDecNV does? Currently, MPC-HC and PowerDVD use DXVA (which is somewhat similar, but buggy/restricted)...
|
|
|
|
|
#689 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Yes, that is the point of DGAVCDecNV, to be a frame accurate Avisynth source filter. Many people also find DGAVCIndexNV to be a useful little app in its own right for quickly inspecting AVC streams, getting PIDs, seeing what audio is present, etc. The NV support also brings you the PureVideo deinterlacing. And it will bring you VC-1 support in the future. For some it also brings a performance inprovement when transcoding. For fast systems, that will be modest.
|
|
|
|
|
#693 | Link | |
|
Registered User
Join Date: Oct 2003
Posts: 435
|
Quote:
avc and vc1 of course makes sense, but using purevideo to deinterlace mpeg2 content before passing to the encoder would be great i have lost the plot it seems...
Last edited by woah!; 4th November 2008 at 01:56. |
|
|
|
|
|
#695 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
One way or another I will have CUDA support for MPEG2. It's a feature that I need myself, so the likliehood of rapid implementation is very high. Higher than VC-1. But right now I am just finishing up double rate deinterlacing for DGAVCDecNV.
|
|
|
|
|
#696 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
neuron2, is the double rate deint is already present in hardware? or did you have to do extra tricks with single rate to get double rate too?
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#698 | Link |
|
Registered User
Join Date: Sep 2008
Posts: 2
|
Hi!
I've muxed out a .264 file (from a Bluray disc with tsmuxer), and when I tried to load it the following error message is appeard: GPU decoder: Failed to create video decoder [100] CUDA driver, sdk, toolkit is installed, i've started the server application, and the dll file is in the right place (Windows\SysWOW64) My pc details: OS: Vista Business x64 SP1 CPU: AMD Athlon 64 X2 64 6000+ GPU: 8800GTS 320MB (NV50/G80 revision A2) I hope that somebody can help me Last edited by slip_; 5th November 2008 at 02:00. |
|
|
|
|
#701 | Link |
|
Registered User
Join Date: Jan 2004
Posts: 55
|
Can I make a minor, aesthetic request? Could the server process be made to run in the System Tray? As far as I can see, it doesn't need to be a windowed process and it would be nice to keep it out the way - I do like a tidy desktop
|
|
|
|
|
#703 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
It's not fully clear to me. I think it may be, as Nvidia just told me that indeed that card does not have the VP2. On the other hand, I think it works for Badaboom and crypto and bob0r have things working with it. E.g.:
http://forum.doom9.org/showthread.ph...74#post1183174 Hopefully they will comment on it, or you could PM them about it. I have recently upgraded to a 9600GT, and the performance is leaps and bounds above the 8500GT. |
|
|
|
|
#705 | Link | |
|
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
Quote:
|
|
|
|
|
|
#706 | Link | |
|
@DVBPortal
Join Date: Feb 2004
Posts: 434
|
Quote:
I guess DGAVCDecNV does not only need CUDA (which is supported on 8800 GTS) but also a VP2. The 8600 GTS (G84) has a VP2, the 8800 GTS (G80) not (with the exception of the 512 MB model which has a G92). Sorry for that. As I see it, all GPUs since G84 have a VP2 and can be used with DGAVCDecNV. GeForce 8300 GS GeForce 8400 GS GeForce 8500 GT GeForce 8600 GS GeForce 8600 GT GeForce 8600 GTS GeForce 8800 GS GeForce 8800 GT GeForce 8800 GTS 512MB only All GeForce 9 series |
|
|
|
|
|
#707 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
I have some problems with the CUDA server. I've got 2Go of memory. Windows has 1Go of free memory when the AVS starts. After a while, the Cuda server takes only few megs but windows complains about low memory and want to close only CUDA Server. When i close the server it crashes Firefox. Is it a bad shared memory allocation this is random but it occurs 3 times on 10 encodes.
|
|
|
|
|
#708 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
There is no dynamic allocation at all in the server. And the shared memory is completely static.
There is a memory sizing issue with 1920-wide clips that I have fixed in my local build. Maybe it's related. I'll release a new version tonight with that fix, minimize to systray, and double rate deinterlacing. |
|
|
|
|
#710 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I also just reviewed the code and I see that I haven't freed the shared memory when the server is closed! So if you've opened and closed it multiple times you may accumulate orphaned memory. I have just now fixed that and will release it tonight.
|
|
|
|
|
#712 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Version 1.0.6
1. Added support for double rate deinterlacing.
2. Released shared memory properly on termination. 3. Fix memory issue causing crash with latest Nvidia drivers. 4. Fix for streams with cropping on the right. 5. Server opens in the system tray. 6. Fix problem with transport streams that have a PES header split between transport packets. http://neuron2.net/dgavcdecnv/dgavcdecnv.html |
|
|
|
|
#713 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
Still have memory problem with the last version. I'm trying to encode Irobot Blu-ray EUROPE version to 8Gb 1080p. There's free memory on my computer even if windows complains there's not. It happens when i launch a compressibility check. @ 77% of compressibility check -> memory crash. I tried to launch directly the encode, it stops working on the first pass a few frame before the end. Just stop serving frames. The Server runs, if i cancel the first pass and tried another script just after, the script get frames. So i think there's something between the client and the server. If you need more infos...
|
|
|
|
|
#717 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
I tried again and the first pass lock at 165020 frame of 165048. I tried to cut out and encode only the 10000 last frames and the encode was not locked. As it seems to lock only on full encode, do you have a debug version of the server to log on my machine(i cannot send you the complete blu-ray ...)
|
|
|
|
|
#721 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
Here is the blu-ray IRobot European version. http://www.amazon.fr/I-Robot-Blu-ray...6349676&sr=8-1
|
|
|
|
|
#723 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
I finally demux the h264 stream from the main m2ts with tsMuxer. During the process, tsMuxer complains about unwanted h264 frames in the stream. I finally got it working by removing the 100 last frames as you suggested.
|
|
|
|
|
#724 | Link |
|
Registered User
Join Date: Mar 2005
Location: France
Posts: 149
|
Hello, just a suggestion for a future version :
On the Cuvidserv module, can you integrate the creation of a "dummy" avi file (like as makeavis with ffdshow) for the frame serving ? For use with encoder not accpet avs script. Thank you and sorry for the bad english. |
|
|
|
|
#726 | Link |
|
Registered User
Join Date: Sep 2006
Posts: 82
|
Just a post to thank Neuron2 and relate a painless installation of DGAVCDecNV.
The results are more than satisfactory... Index Version 1.0.6 Dll Version 1.0.5.0 Server Version 1.0.1 Megui updated 28/11/08 Asus EN9600GT Matrix (the fan didn't even come on!) Q6600 on Asus P5B at stock speed, 2GB Ram at 4-4-4-12 @ 824MHz Using GPU basically halves encode time (when tested with the PD-PS3-Xbox360_Fast profile and a basic avscript). Also the computer stayed far more reactive during encoding, despite MeGui task being set to "Higher than normal" * First pass using software frame server : 17.12 fps using the Nvidia GPU : 39.81 fps * Second pass using software frame server : 16.92 fps using the Nvidia GPU : 31.20 fps Basic avs template script: LoadPlugin("D:\HDTrials\Cuda\DGAVCDecodeNV.dll") avcsource("__vid__") LanczosResize(1280,720) x264 command lines: --pass 1 --bitrate 3112 --stats "****" --level 4.1 --bframes 3 --weightb --direct auto --subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --qcomp 0.5 --me dia --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output NUL "***" --pass 2 --bitrate 3112 --stats "***" --level 4.1 --bframes 3 --weightb --direct auto --subme 5 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --qcomp 0.5 --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output "***" "***"I am currently encoding with a much more complex profile. Previously I got about 7 fps on pass 1, currently I am getting 12 fps. Here us the first pass command line --pass 1 --bitrate 3213 --stats "***.stats" --level 4.1 --bframes 5 --b-adapt 2 --b-pyramid --weightb --direct auto --deblock -3:-3 --subme 2 --partitions none --me dia --merange 32 --threads auto --thread-input --aq-strength 0.5 --sar 1:1 --progress --no-psnr --no-ssim --output NUL "***.avs"So so far so good and I am a very happy camper. |
|
|
|
|
#727 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
|
|
|
|
|
|
#731 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I suppose he wants to get GPU decoding so he has more CPU to run LSF. That should be possible within ffdshow though.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#732 | Link |
|
Kid for Today
Join Date: Aug 2004
Posts: 1,982
|
nothing, but I mean can we replace CoreAVC by this thing in ffdshow, w/o changing filenames each time or sumthing
and do you know which cards are VP3 ? noone agrees on that ![]() some say even the 9600GT is VP2, and so would be the 9500GT. how about the G92-150-A2 9600GSO ?
|
|
|
|
|
#733 | Link | ||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
Last edited by Guest; 1st December 2008 at 00:40. |
||
|
|
|
|
#734 | Link |
|
Kid for Today
Join Date: Aug 2004
Posts: 1,982
|
great news, thanks! better talk to God than to his saints..
apparently only G98 would be VP3.. well I wanna use it in DS with Reclock and Haali's Renderer + ffdshow A/V post-processing but I guess it's not quite possible to make a call through the AVS filter of ffdshow... |
|
|
|
|
#737 | Link |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
The current 8400GS models are the only cards that use VP3, nothing else. It is not faster for H264 since VP2 already had full bitstream acceleration, but is meant to be better for MPEG2/VC1.
|
|
|
|
|
#738 | Link | |
|
Registered User
Join Date: Mar 2008
Posts: 41
|
Quote:
did anyone here say anything about vp3 vs vp2 on h264??? I didn't, I am pretty sure about this part. anyway, G98 8400gs may still be the only desktop model that has vp3, but it is not the only model that has vp3. |
|
|
|
|
|
#740 | Link |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Sorry for the confusion, I was quoting you to demonstrate to leeperry that the topic has already been covered in this thread and that the information available on wikipedia etc. is generally inaccurate.
|
|
|
|
|
#741 | Link | ||
|
Kid for Today
Join Date: Aug 2004
Posts: 1,982
|
Quote:
I wanna use CUDA to decode H264 so I can use ffdshow A/V on top of it. DXVA in MPC means no ffdshow..... Quote:
and from what DXVAChecker tells me, it seems to support full bitstream H264 & VC1 |
||
|
|
|
|
#743 | Link |
|
Registered User
Join Date: May 2006
Posts: 36
|
Hi Donald,
I'm having an issue when using DGAVCDecNV which I hope you might be able to help me out with: When I use the "trim" function in avisynth, the frame numbers don't seem to be matching up to what I see when I view the whole file. For example, I open my avs file in Virtualdub, and want to isolate a scene that plays between frames 1000-2000. When I add the trim command with that frame range specified to the script, it seems to be starting at frame 1002. In order to get all the frames I want, I need to change the start of the trim to 998. This happens with every bluray stream I've ripped thus far. My apologies if this is a known issue that has already been covered. |
|
|
|
|
#745 | Link | |
|
Registered User
Join Date: May 2006
Posts: 36
|
Quote:
http://www.megaupload.com/?d=RR7BDFGW Here's the script: Code:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGAVCDecodeNV.dll")
avcsource("D:\00002.dga")
Trim(133,351)
Hope its something simple. ^_^ |
|
|
|
|
|
#746 | Link |
|
Registered User
Join Date: Sep 2006
Posts: 82
|
Neuron2
One or two little bugs. I used to use the Nvidia mpeg decoder for my Sat card viewer (DVBViewer) - now if the CUVID server is running the video pauses every second or so. Obviously fixed by choosing a different mpeg decoder but a bit of a niggle all the same. I had a bluescreen a short time after I began the second pass on a Megui/x264 encode. Code:
EventID 1003 Code erreur 1000008e, paramètre 1 c000001d, paramètre 2 d33c0005, \ paramètre 3 baa67a30, paramètre 4 00000000. I have turned down Megui priority to "Normal" and done another encode since with no problems. Cheers Last edited by Guest; 2nd December 2008 at 01:03. |
|
|
|
|
#747 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Not simple, but not too hard. libavcodec drops nondecodable orphaned frames while CUDA does not. I needed to allow for that difference. It will happen only with open GOPs, so you must have the Treat I as IDR option enabled. If you disable that it won't happen. Anyway, I have fixed it and will release it soon. Thank you for your trouble report.
|
|
|
|
|
#748 | Link | ||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
|
||
|
|
|
|
#749 | Link | |
|
Registered User
Join Date: Sep 2006
Posts: 82
|
Quote:
The machine was rock solid before I swapped out my 7600 for the 9600. No CPU overclock, memory is 900MHz underclocked at 824 MHz and no graphics overclocking. I have two 120mm case fans and a 120mm fan in the psu. CPU cooler is an Asus Silent Square. However, like you, I suspect a stability problem because fitting the 9600 (and the latest driver - 180.48) also broke Xvid (cured by a re-install) and h164ts_cutter refuses to show any video except immediately after a re-boot. I know that this thread is probably not the correct place to discuss this if it is my machine that is at fault rather than your excellent software, but if anyone has any ideas? Cheers |
|
|
|
|
|
#751 | Link | |
|
Registered User
Join Date: Sep 2006
Posts: 82
|
Quote:
SO not a bug after all. However it might be an idea to test if the NVidia mpeg encoder is being used when frame serving starts and issuing a warning? I suspect that the blue screen might be linked to me having run both together and not having stopped/restarted the server before doing another encode. h164ts_cutter problem looks as if it's linked to the Cyberlink h264 decoder being broken - removing it now. Cheers |
|
|
|
|
|
#752 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Your question is unclear so I'll make some statements and hope to answer you.
DGAVCDecNV can decode MBAFF correctly. DGAVCDecNV can deinterlace via Nvidia PureVideo. You can alternatively deinterlace using any Avisynth deinterlacer in your Avisynth script. If I've missed your point, please clarify it. |
|
|
|
|
#754 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
|
|
|
|
|
#755 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Version 1.0.8
* Fix bug in demuxing of DTS audio tracks.
* Fix problem with random access. http://neuron2.net/dgavcdecnv/dgavcdecnv.html |
|
|
|
|
#757 | Link | |
|
Kid for Today
Join Date: Aug 2004
Posts: 1,982
|
Quote:
plus I see you're also working on VC1, that would be a nice combo. CoreAVC isn't gonna support CUDA before a long while, and their CoreVC1 vaporware isn't gonna show up anytime soon either. you're the code guru and the ffdshow coders are registered users of this forum, maybe a simple option could make your server compatible w/ ffdshow using an AVS call ? Last edited by leeperry; 4th December 2008 at 13:26. |
|
|
|
|
|
#758 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,892
|
indeed a direct implementation via the Ncuvid API inside ffdshow would rock so selecting Nvidia in the Dropdown instead of libavcodec and then adding Nvidias De-Interlacer to the De-Interlacing Options
![]() Leeperry there are already a lot of DXVA Decoder available MPC- Video Decoder, Cyberlink , Intervideo (Corel), Arcsoft, Elecard (DivX) currently
__________________
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; 4th December 2008 at 13:52. |
|
|
|
|
#759 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 368
|
Perhaps I will appear as a fool, perhaps not.
Many of these experts, including Neuron2, have given of their time whether it be coding-knowledge, contributions in code, or general advice to newbies - so the majority of us - recipients of their kindness in sharing, should probably be thankful. If you are going to file bug-reports, spend a little extra time before posting, prepare - post usefully. Be thankful if you haven't paid nor contributed. Complaints or wishes? - ask and give details rather than just complain.
__________________
Thankyou!, I am grateful for any help |
|
|
|
|
#760 | Link | |
|
Kid for Today
Join Date: Aug 2004
Posts: 1,982
|
Quote:
![]() but they only work in NV12 and/or VMR9/EVR(on Vista), and you can't add ffdshow post-processing...and on ATI cards you get that lousy red blockiness(the drivers are unable to do progressively upsampled chroma RGB32). so adding support for neuron2's code in ffdshow would allow post-processing in combination w/ DXVA...in any video renderer/player you want....be it MCE/WMP/KMP in EVR(on XP)/VMR7/HR/Mplayer OGL renderers. that'd be a major leap for HTPC's I think. Last edited by leeperry; 4th December 2008 at 14:14. |
|
|
|
|
|
#761 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,892
|
that's why i said a direct implementation would rock (that wouldn't be DXVA) it would give GPU supported editing possibilities via Dshow
![]() you can't get the frames via DXVA only direct via Ncuvid
__________________
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 |
|
|
|
|
#762 | Link | |
|
Kid for Today
Join Date: Aug 2004
Posts: 1,982
|
Quote:
Last edited by leeperry; 4th December 2008 at 14:33. |
|
|
|
|
|
#764 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,892
|
@leeperry
the era of "GPU acceleration" is over we are in the era of complete Bitstream Video Decoding on consumer PC systems now, as long as you only work via Ncuvid there is practically 0 cpu utilization
__________________
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; 4th December 2008 at 14:45. |
|
|
|
|
#765 | Link |
|
Kid for Today
Join Date: Aug 2004
Posts: 1,982
|
well that would finally be true "no b/s" GPU decoding
![]() no more NV12 only/VMR9 only/"no ffdshow PP for you coz you've been a naughty boy" ![]() plus CoreAVC would be pointless, as most ppl who are using it at this point don't wanna go DXVA because it's L4.1/NV12 only I'd be happy to register for it, and many ppl too(especially on AVS/HCFR)
|
|
|
|
|
#766 | Link |
|
Registered User
Join Date: Nov 2008
Posts: 55
|
Hi, I got a problem with DGAVCDecNV.
Actually I wanted to compare the decoding quality of DGAVCDecNV to DGAVCDec. Thereby I stunbled onto something I didn't expect. With AvsP I just loaded the appropiate .dll and used AVCsource(). from "Die Welle" Blu-ray DGAVCDec .............. DGAVCDecNV .............. DGAVCDecNV "reverted" from "Hellboy" Blu-ray DGAVCDec .............. DGAVCDecNV .............. DGAVCDecNV "reverted" DGAVCDec seems to be correct, the actual picture of the frame decoded with DGAVCDecNV is slighty offset and stretched. I had the impression as if it was decoded to 1920x1088 and then cut at the bottom to 1920x1080. To "revert" that I added 8 lines at the bottom of the frame (->1920x1088) and resized it back to 1920x1080 et voilà the result was the same as the frame DGAVCDec decoded. Setup: DGAVCDec 1.0.6, DGAVCDecNV 1.0.6, Windows Server 2008 x64, 8800GTS512 180.48whql driver. It's the same with DGAVCIndexNV, also 1.0.8 and DGVC1Dec/IndexNV. I know of another user (Vista x64, 8800GT 512MB, 177.35) with the same problem. Prolly a Nvidia bug? if needed: "Die Welle" 20MB .m2ts sample created with DGSplit. (P4$5VV0RD: --- ) Last edited by vucloutr; 5th December 2008 at 20:28. |
|
|
|
|
#767 | Link | |
|
Registered User
Join Date: May 2008
Posts: 58
|
Quote:
__________________
Windows 7 RC 64bit, NVidia GF8600GT 190.38 Last edited by marc99; 4th December 2008 at 22:15. |
|
|
|
|
|
#768 | Link | |
|
Registered User
Join Date: Mar 2007
Posts: 2
|
Quote:
I was going to buy this to support the author (even though most of the stuff I encode is MPEG2 1080i -> H.264 720p), but the lack of a demo and this glitch has me worried that for the occasional encode where I do want to use it, that I won't be able to. Can anyone else verify that this bug exists? |
|
|
|
|
|
#770 | Link | |
|
Registered User
Join Date: Mar 2007
Posts: 2
|
Quote:
I read through close to 40 pages of this thread and hadn't seen anyone else complain of that issue. I was wondering if it was something that only affected a few people. |
|
|
|
|
|
#771 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
No, I have not duplicated it. I am still investigating.
Initially, I opened the sample in DGAVCIndex and DGAVCIndexNV and did Save BMP. The two BMPs were binary exactly the same. Now I am checking the DGAVCDecode(NV) output... |
|
|
|
|
#772 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Test 1: Open your sample stream in DGAVCIndex and then do Save BMP. Repeat with DGAVCIndexNV. The resulting BMPs are bitwise identical. Test 2: Serve the video via basic script using DGAVCDecode.dll to VirtualDub. Copy frame to clipboard and then save it using Paint. Repeat for DGAVCDecodeNV.dll. The resulting BMPs are bitwise identical. Earlier versions of DGAVCDecNV did not handle cropping rectangles properly. Please retest with the version given above. Also, be sure to update the CUVID server and nvcuvid.dll with the ones in the zip file. Last edited by Guest; 6th December 2008 at 00:49. |
|
|
|
|
|
#774 | Link |
|
Registered User
Join Date: Nov 2008
Posts: 55
|
strange though.
here with DGAVCIndex 1.0.7 + DGAVCIndexNV 1.0.8 http://www.imagebam.com/image/a3983b20099687 |
|
|
|
|
#776 | Link |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
I have noticed a discrepancy in the description of the detected audio streams from the audio demux and the audio section of the information panel.
The source file is "Hellboy 2" Blu-ray m2ts. Notice in the audio demux listbox stream 1100 is labeled as "L+R" and in the audio section of the information panel it is labeled as "C+L+R+SL+SR 48 1536" ![]() ![]() BTW, is it possible to give these appropriate names, i.e. DTS Master Audio, TrueHD? Last edited by rack04; 5th December 2008 at 19:42. |
|
|
|
|
#777 | Link |
|
Registered User
Join Date: Nov 2008
Posts: 55
|
Well, I just redownloaded dgavcdecnv108.zip and suddenly, magically everything is fine.
(i've almost gone nuts at this point..)So I just looked up the two different "dgavcdecnv108.zip" files. You updated the nvcuvid.dll right? I had downloaded dgavcdecnv108.zip before you reuploaded it with the updated nvcuvid.dll. Seemingly the bug was in the old nvcuvid.dll: DGAVCIndexNV 1.0.8 to the left with new nvcuvid.dll, to the right with old nvcuvid.dll dunno what to say finally.. hm.. problem solved, thanks anyway.
Last edited by vucloutr; 5th December 2008 at 20:16. |
|
|
|
|
#780 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
http://www.megaupload.com/?d=RVSRQ0VK Last edited by rack04; 6th December 2008 at 03:30. |
|
|
|
|
|
#784 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Your report is that a DTS stream shows up different in the Audio Demux menu and the Information display. But when I preview, the DTS stream never shows up in the Information display. The sample is too small and doesn't include the start of that audio stream. |
|
|
|
|
|
#785 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
http://www.megaupload.com/?d=QOFWY2M6 |
|
|
|
|
|
#786 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Well, sort of.
Um, are you even trying to duplicate the issue with the streams you give me? Because again, pid 1100 doesn't show up in the Info dialog. But that in itself is a problem, though it is not the same one you reported. I'll work on that and if you give me a stream that lets me duplicate your reported issue, I can work on that too. |
|
|
|
|
#787 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
Come on!Each file that I have uploaded shows the 1100 stream as DTS L+R in the Audio Demux and C+L+R+SL+SR 48 1536 in the information panel. |
|
|
|
|
|
#788 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
What version of DGAVCDecNV are you using?
I've tried again with 1.0.8 and if I "Preview" I don't see the stream in the Info dialog. If I "Save Project" I see it and it doesn't match the Audio/Demux screen. So I can duplicate your issue. Don't get mad at me, I specifically said "preview", and you never mentioned that you were Saving Project. Last edited by Guest; 7th December 2008 at 01:54. |
|
|
|
|
#789 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
Last edited by rack04; 7th December 2008 at 02:25. |
|
|
|
|
|
#791 | Link |
|
Registered User
Join Date: Sep 2006
Posts: 82
|
Hmm I am still having problems here, but I do not know if it DGAVC or MeGui that is at fault (or me?).
The CUVIDServer becomes unresponsive and encoding stops. This happened when I was encoding two vids at once (by mistake, but I left it running to see what happpened). The first pass on video1 terminated OK but the second pass stalled immediately (not even a % finished). The first pass on video2 carried on but then hung 1 hour later at 97%. The CUVID server icon became unresponsive and had to be killed. MeGui managed to shut itself down when asked. x264 was still in the process list. A reboot was required to get the CUVID server running again. I have also managed to hang the server by doing this: Start Megui, load an avs, close the video screen because it was the wrong avs, load another avs. This seems to hang megui and the server. (using latest DGAVCNV version) TIA |
|
|
|
|
#797 | Link | |
|
Ubuntu French Roast
Join Date: Apr 2006
Location: Bordeaux, France
Posts: 191
|
Quote:
I guess it makes sense since we have about the same graphics card that we get about the same results though your CPU is much better than mine. However, CPU usage gets very high too. Is there a way to make sur it is actually using the GPU? And by the way, loading the AVS in a player works perfectly well for watching, and should be more widely supported that loaging the M2TS directly (and would allow for some light filtering in AVS too).
__________________
Code:
Copy Protection: A clever method of preventing incompetent pirates from stealing software and legitimate customers from using it. Last edited by HymnToLife; 8th December 2008 at 14:38. |
|
|
|
|
|
#798 | Link | |||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
Quote:
|
|||
|
|
|
|
#799 | Link |
|
Registered User
Join Date: Sep 2006
Posts: 82
|
Donald, please credit me with a little more intelligence than that.
If you run two parallel encodes in MeGui, both using DGAVCDecNV as a frame server, you get a mixture of bands from both files. Hence my quip about it being useful if you want to watch two at once. However, and on a more serious note, I have noticed that running h264ts_cutter at the same time as your frameserver results in artefacts in the cut .ts. This I find astonishing because AFAIK h264ts_cutter only does any rendering except while you are searching through the video for cut points. But there must be a link because h264ts_cutter will also cause a BSOD in some cases (which it never does if your frameserver isn't working). It would also appear that playing any video while frameserving can have catastrophic results. Is it possible to index another .ts while frameserving to x264? I suspect not either. Your code should have some check of whether there is already an instance serving frames when it is called. All this makes capturing/encoding a very linear process and reduces the benefit of the high framerates obtained. I cannot capture from a sat card while indexing/encoding. I cannot index another file while encoding or capturing. I cannot edit a .ts while indexing/encoding. |
|
|
|
|
#800 | Link |
|
Ubuntu French Roast
Join Date: Apr 2006
Location: Bordeaux, France
Posts: 191
|
Reporting since I don't think it's normal: if I have this:
Code:
AVCSource("tokikake.dga")
Trim(42972, 43000)
Source sample needed?
__________________
Code:
Copy Protection: A clever method of preventing incompetent pirates from stealing software and legitimate customers from using it. Last edited by HymnToLife; 9th December 2008 at 23:04. |
|
|
|
|
#802 | Link |
|
Ubuntu French Roast
Join Date: Apr 2006
Location: Bordeaux, France
Posts: 191
|
Hmm, big thread is big, what is the correct method to cut a sample from the TS?
__________________
Code:
Copy Protection: A clever method of preventing incompetent pirates from stealing software and legitimate customers from using it. |
|
|
|
|
#804 | Link |
|
Ubuntu French Roast
Join Date: Apr 2006
Location: Bordeaux, France
Posts: 191
|
Is setting start and end points in DGAVCIndexNV and then choosing "Save and demux video" a good way to get a stream sample? (the problem is reproductible with a stream obtained that way.)
__________________
Code:
Copy Protection: A clever method of preventing incompetent pirates from stealing software and legitimate customers from using it. |
|
|
|
|
#805 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Certainly, that is fine if it allows me to duplicate your issue. Please provide a link to the stream and the script and instructions for duplicating the issue. I'm very keen to address issues with random access, as it is the raison d'etre of the DG tools. Thank you for your willingness to help with debugging.
|
|
|
|
|
#806 | Link |
|
Ubuntu French Roast
Join Date: Apr 2006
Location: Bordeaux, France
Posts: 191
|
http://itsuki.fkraiem.org/stuff/toki...vs.demuxed.264
Create DGA file normally, then make an AVS script like this: Code:
DGAVCDecodeNV_AVCSource("blah.dga")
Trim(90, 0)
(EDIT: Note the key point is accessing at frame 90, the problem does not happen with e.g. Trim(89, 0).)
__________________
Code:
Copy Protection: A clever method of preventing incompetent pirates from stealing software and legitimate customers from using it. Last edited by HymnToLife; 10th December 2008 at 06:52. |
|
|
|
|
#808 | Link |
|
Ubuntu French Roast
Join Date: Apr 2006
Location: Bordeaux, France
Posts: 191
|
Original Japanese Blu-ray.
__________________
Code:
Copy Protection: A clever method of preventing incompetent pirates from stealing software and legitimate customers from using it. |
|
|
|
|
#809 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Interesting. The POCs are goofy in the stream (i.e., wrong) and I'm tempted to simply say that the stream is wrong. But there is a way to fix it. Instead of looking at the POCs of the first two pictures of the GOP to decide if it is open, I can look at the picture types. I've tried it and it fixes the problem so I'll probably go with that. I'm porting the AV sync fixes and I'll include this with the next release if it doesn't break anything else.
|
|
|
|
|
#810 | Link |
|
Ubuntu French Roast
Join Date: Apr 2006
Location: Bordeaux, France
Posts: 191
|
Other small question: is it safe to work on a DGAVCDec (non-NV) script in VDub while there is a DGAVCDecNV script encoding?
__________________
Code:
Copy Protection: A clever method of preventing incompetent pirates from stealing software and legitimate customers from using it. |
|
|
|
|
#812 | Link | ||
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Quote:
|
||
|
|
|
|
#813 | Link | |
|
Registered Developer
Join Date: Sep 2006
Posts: 5,011
|
Quote:
Code:
0x03: MP2 (MPEG-1 Audio Layer II) 0x04: MP2 (MPEG-2 Audio Layer II) 0x0f: AAC (MPEG-2 Part 7 Audio) 0x11: AAC (MPEG-4 Part 3 Audio) 0x80: LPCM (only if format id descriptor is 'HDMV') 0x81: AC3 0x82: DTS 0x83: TrueHD+AC3 0x84: E-AC3 0x85: DTS-HD High Resolution 0x86: DTS-HD Master Audio 0x87: E-AC3 0xA1: E-AC3 (secondary audio) 0xA2: DTS Express (secondary audio) |
|
|
|
|
|
#816 | Link |
|
Registered User
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,508
|
Code:
0x83: TrueHD+AC3 http://www.sendspace.com/file/miye0c 0x86: DTS-HD Master Audio http://www.sendspace.com/file/eoboij 0x84: E-AC3 or 0x87: E-AC3 http://www.sendspace.com/file/08wkhg Code:
0xA1: E-AC3 (secondary audio) 0xA2: DTS Express (secondary audio) Last edited by nautilus7; 13th December 2008 at 00:48. |
|
|
|
|
#818 | Link |
|
Registered User
Join Date: Mar 2008
Posts: 2,017
|
DTS-HD-HR into m2ts container:
http://www.mediafire.com/?sharekey=6...1f79f1876d365a You will find the modified pcm by Pcm2Tsmu and raw pcm under the same folder. (audio.pcm is raw and audiopcm_out.m2ts is modified by Pcm2Tsmu) Last edited by rica; 14th December 2008 at 01:12. |
|
|
|
|
#820 | Link |
|
Registered User
Join Date: Jul 2005
Posts: 436
|
Just for curiousity, neuron2, have you planned creating a GPU based decoder for H264 and VC1 for ATI cards, using ATI's stream API? I would be very interested in that and I assume a lot others who own ATI graphics cards.
|
|
|
|
|
#822 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,892
|
i wouldn't say so though if UVD will be accessible we gonna see December 16, but it would be bad in public if it wouldn't as Nvidia provides it for Windows same as for Linux
![]() Though sure Ati could decide only Licensed 3rd Party ISVs but why should they makes no sense except if they cant provide a secure way to the UVD part without interfering with Blu-Ray security
__________________
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; 13th December 2008 at 20:43. |
|
|
|
|
#823 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
|
|
|
|
|
|
#824 | Link |
|
Registered User
Join Date: Mar 2008
Posts: 2,017
|
No, i'm not sure.
Looks like MA: http://bluray.highdefdigest.com/1416/27dresses.html But eac3to gives this information: Code:
[C:\>eac3to\eac3to E: 1) M2TS, 1 video track, 5 audio tracks, 19 subtitle tracks, 1:50:49 1: Chapters, 25 chapters 2: h264/AVC, 1080p24 /1.001 (16:9) 3: DTS Hi-Res, English, 5.1 channels, 24 bits, 3018kbps, 48khz (core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz) 4: DTS, Italian, 5.1 channels, 24 bits, 768kbps, 48khz 5: DTS, Spanish, 5.1 channels, 24 bits, 768kbps, 48khz While it gives this info for Close Encounters BD: Code:
C:\>eac3to\eac3to E: 1) M2TS, 1 video track, 2 audio tracks, 20 subtitle tracks, 2:17:13 1: Chapters, 20 chapters 2: h264/AVC, 1080p24 /1.001 (16:9) 3: TrueHD/AC3, English, 5.1 channels, 48khz (embedded: AC3, 5.1 channels, 448kbps, 48khz) 4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz (core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz) Last edited by rica; 14th December 2008 at 04:31. |
|
|
|
|
#826 | Link |
|
Registered User
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,508
|
I really think eac3to gives the correct format. It's very precise.
EDIT: rica, what is this sample (audio.dtshd.m2ts)? Is this a remux? Using tsmuxer perhaps? Maybe that buggy program uses wrong id for the audio track. Send a sample from the original file. If you are willing to help, please send original samples. (neuron2, the samples i promised will be up soon. Do you want them to have VC-1 video only? You will add these changes to your other apps as well, correct?) Last edited by nautilus7; 14th December 2008 at 14:31. |
|
|
|
|
#827 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I'm working on DGAVCDec(NV) right now, so I prefer AVC at this point. But I'll happily accept samples with VC-1 too. Yes, I will update the other apps next. I was hoping to release something today, so it would be helpful if you could upload your samples ASAP. Thank you.
Last edited by Guest; 14th December 2008 at 14:54. |
|
|
|
|
#828 | Link | |
|
Registered User
Join Date: Mar 2008
Posts: 2,017
|
Quote:
Here is a direct cut from the original by clip.exe (27_cut.m2ts): http://www.mediafire.com/?sharekey=6...5f4ee94eb39148 I'm uploading a direct cut by eac3to into the same folder as well. (27_cut.dtshd raw audio) Edit: Uploaded... Last edited by rica; 14th December 2008 at 17:36. |
|
|
|
|
|
#829 | Link |
|
Registered Developer
Join Date: Sep 2006
Posts: 5,011
|
I've found that some streams do not strictly follow the specs. E.g. sometimes there's an E-AC3 track with a stream_type for AC3 or vice versa. The same might be true with DTS-HD High Resolution vs. DTS-HD Master Audio.
eac3to only does rough stream_type checks. E.g. all AC3 and E-AC3 stream_type streams are running through the same general parser which supports both AC3 and E-AC3. And all DTS related stream_type streams are running through one and the same DTS parser which supports all types of DTS streams. The exact stream parameters are then determined by parsing the audio bitstream. This way eac3to cannot be confused by incorrect stream_type values. |
|
|
|
|
#830 | Link | |
|
Registered User
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,508
|
Quote:
Anyway, give me 1 hour (top) because i have to change hdds to find the proper samples. |
|
|
|
|
|
#831 | Link |
|
Registered User
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,508
|
National Treasure 2 sample
track list Code:
1: h264/AVC, 1080p24 /1.001 (16:9) 2: h264/AVC, 480p24 /1.001 (20:11) 3: TrueHD/AC3, 5.1 channels, 48khz (embedded: AC3, 5.1 channels, 640kbps, 48khz) 4: AC3 Surround, 2.0 channels, 192kbps, 48khz 5: AC3, 5.1 channels, 640kbps, 48khz 6: AC3, 5.1 channels, 640kbps, 48khz 7: AC3, 5.1 channels, 640kbps, 48khz 8: AC3, 5.1 channels, 640kbps, 48khz 9: AC3 Surround, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB 10: DTS Express, 2.0 channels, 24 bits, 192kbps, 48khz track list Code:
1: h264/AVC, 1080p24 /1.001 (16:9) 2: h264/AVC, 480p24 /1.001 (20:11) 3: DTS Master Audio, 5.1 channels, 24 bits, 48khz (core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz) 4: DTS, 5.1 channels, 24 bits, 768kbps, 48khz 5: DTS, 5.1 channels, 24 bits, 768kbps, 48khz 6: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB 7: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB 8: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB 9: AC3, 2.0 channels, 224kbps, 48khz, dialnorm: -27dB 10: DTS Express, 2.0 channels, 16 bits, 192kbps, 48khz track list Code:
1: h264/AVC, 1080p24 /1.001 (16:9) 2: h264/AVC, 480p24 /1.001 (20:11) 3: TrueHD/AC3, 5.1 channels, 48khz, dialnorm: -27dB (embedded: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB) 4: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB 5: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB 6: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB 7: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB 8: AC3 Surround, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB 9: E-AC3, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB Last edited by nautilus7; 14th December 2008 at 17:02. |
|
|
|
|
#832 | Link |
|
Registered User
Join Date: Mar 2008
Posts: 2,017
|
nautilus7,
DTS-HD HR is still missing since we are not sure yet whether my cut is HR or MA. Edit: Ok, i've found one. Gonna upload soon. Last Edit: Here it is: Hitman: http://www.mediafire.com/?sharekey=6...aa14c0f07f9723 Code:
1: h264/AVC, 1080p24 /1.001 (16:9) 2: DTS, 5.1 channels, 24 bits, 768kbps, 48khz, -769ms 3: DTS Hi-Res, 5.1 channels, 24 bits, 3018kbps, 48khz (core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz), -1003ms 4: DTS, 5.1 channels, 24 bits, 768kbps, 48khz, -769ms 5: DTS, 5.1 channels, 24 bits, 768kbps, 48khz, -769ms 6: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB, -865ms 7: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB, -865ms 8: AC3 Surround, 2.0 channels, 224kbps, 48khz, dialnorm: -27dB, -545ms 9: Subtitle (PGS) Last edited by rica; 14th December 2008 at 18:09. |
|
|
|
|
#834 | Link |
|
Registered User
Join Date: Jul 2005
Posts: 436
|
A general question: I've experimented with encoding speeds and wonder, if it makes a huge difference when the GPU decodes the video stream. I created a blank clip with AviSynth at 1920x1080 and encoded that with x264. I got something around 15 fps or so, which should be close to a GPU decoding (in terms of CPU usage when decoding because there are no details - completely black picture), right? So am I right saying if the CPU isn't REALLY fast, x264 is the bottleneck anyway and decoding only a couple of frames per second isn't too much of an effort for a C2D CPU. So since x264 cannot encode so fast due to the CPU, it only requires some few frames per second which takes only little CPU usage (for the decoding). The impact of a GPU decoded video stream increases, when the CPU is able to encode at let's say real time or something like that, when this amount of frame decoding would take a lot CPU usage. Is this theory correct?
Last edited by moviefan; 16th December 2008 at 15:30. |
|
|
|
|
#835 | Link |
|
Registered User
Join Date: Dec 2007
Posts: 639
|
The idea is that x264 will use 100% of your CPU. A decoder can eat some of the available CPU, and even if it's very little (because of the general slowness), some of us do veeeeeeeeery long encodes so even 1% CPU has a big impact in the long run.
|
|
|
|
|
#836 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Quote:
|
|
|
|
|
|
#837 | Link |
|
Registered User
Join Date: Jan 2004
Posts: 55
|
Had my first ever crash of CUVID server while trying to encode. Windows Event log shows:
Faulting application CUVIDServer.exe, version 0.0.0.0, time stamp 0x49328ce7, faulting module nvcuvid.dll, version 0.0.0.0, time stamp 0x4937286b, exception code 0xc0000005, fault offset 0x00039399, process id 0x1624, application start time 0x01c9667ee9e9ae00. On examination of the source TS, there is a broadcast glitch at the point that I get the crash. DGAVCIndex doesn't complain and creates the DGA file ok - it's just the Server that doesn't like it. I've cut the relevant portion out here (60MB): http://www.mediafire.com/?sharekey=0...db6fb9a8902bda The glitch is about 75% of the way through. Should the code handle glitches like this, or is a crash likely if you have glitches in the original stream? Thanks, and Happy Christmas! |
|
|
|
|
#838 | Link |
|
Registered User
Join Date: Nov 2008
Posts: 11
|
a question, why set Disable Display, the CPU ulity is about 10% in my computer, which is compared with 40% CPU ulity when Enable Display.
why I/O will consum so much cpu resource? isn't the display card push the YUV file to monitor directly? if the process of coverting yuv to RGB consumed much cpu resource? then is there any display card support YUV input directly? |
|
|
|
|
#839 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
Hi neuron2, I recorded a stream from DVB-T in france.
Frame Size 1440x1080 SAR 4:3 Display Size 1920x1080 When i load the dga via DGAVCDecodeNV the resulting frame is 1440x1080. Is it the normal behavior ? Happy new year. |
|
|
|
|
#843 | Link |
|
Registered User
Join Date: Sep 2005
Posts: 87
|
the following were my results from encoding a 1080p avc stream croppped at resized to 1280x528 (via avisynth). I did it the three different ways that I know, of dgAVCdec , dgAVCdecNV and finally, wrapping the stream in the matroska container and loading it with directshowsource
The stream was 20 seconds and had an average bitrate of 30 and a max of 41 I am encoding with 2gb ddr2 ram, 1066mhz, a Intel CPU, Q6600 / GeForce 8800GS 384mb DDR3 ram. 1st pass 2nd pass dgAVCdec 100a26 14.61 fps 7.55 fps dgAVCdecNV 108 23.76 fps 8.11 fps ffdshow-libav 19.73 fps 7.65 fps to be quite frank, I was really expecting a bit more... So um... I'm not a programmer but are there any plans for down the line, having the GPU handle cropping and resizing as well ? I took the encoded 1280x528 steam, indexed and encoded it the three different ways without any resizing and got the following results. 1st pass 2nd pass dgAVCdec 100a26 26.52 fps 9.98 fps dgAVCdecNV 108 30.19 fps 10.14 fps ffdshow-libav 26.96 fps 10.00 fps So it would appear to me that offsetting the decoding of the stream itself bears very little benefit but if it could be used also to handle resizing of the image, then that would result in a 30% speed increase. On another note, (and I did 1st do a search of the thread for "saver" and didn't find anything but i'm sure this has point has been raised before), I have had to disable the screensaver. Last edited by jonathonsunshine; 4th January 2009 at 11:42. Reason: i had a nice little table made up of the different FPS, but on the board, all the spaces were taken out. |
|
|
|
|
#844 | Link |
|
.
![]() Join Date: Oct 2001
Location: Germany
Posts: 7,992
|
@jonathonsunshine: "to be quite frank, I was really expecting a bit more..." Why? Decoding normally is not the major work that needs to be done during reencoding to h264. If you use high speed settings with (--me hex, --subme 1,..) speed difference might be higher, since decoding speed will become a greater factor.
|
|
|
|
|
#848 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,500
|
Why are you using such and old version?
http://neuron2.net/dgavcdec/dgavcdec108.zip Quote:
|
|
|
|
|
|
#854 | Link |
|
Registered User
Join Date: Mar 2004
Posts: 1,274
|
has development started on an ATI version of this app yet neuron or are you waiting for their equivalent of CUDA to improve or waiting for API's that will allow you to create an ATI version?
This app is looking very nice indeed. |
|
|
|
|
#858 | Link |
|
Registered User
Join Date: Jan 2003
Posts: 143
|
regarding license.
I just donated and got the license. I am going to return my new graphics card and get a different one ("Point of View" vs EVGA, both 9600GT) since its too loud and the fan not controlable. Not automatic or by software. Do I need a new license for it afterwards? Best regards |
|
|
|
|
#859 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
You won't need a new license.
BTW, my BFG 9600GT was making noise too, but it was a subtle "chirping". It turned out to be a small piezoelectric speaker intended to alarm an undervoltage condition. I'm sure there was no undervoltage. Anyway, I just covered the little exit hole of the speaker and it's inaudible now. |
|
|
|
|
#860 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Version 1.0.9
1. Added support for the new audio types found on BluRay disks.
2. Improved the audio delay calculation. 3. Removed the Treat I as IDR option as it is now always enabled. 4. Machine ID now not tied to system partition, so machine ID changes will be rare. 5. Updated the CUVID server to 1.0.3. http://neuron2.net/dgavcdecnv/dgavcdecnv.html Last edited by Guest; 10th January 2009 at 17:29. |
|
|
|
|
#861 | Link |
|
Registered Developer
Join Date: Sep 2006
Posts: 5,011
|
Just for my own interest: Doesn't this result in artifacts during seeking? I mean, I've been told that if you seek to an I (non IDR) frame with h264, you're in danger of getting artifacts. Aren't we supposed to look for "recovery point SEIs"?
|
|
|
|
|
#866 | Link |
|
Registered User
Join Date: Feb 2008
Posts: 64
|
Hi.
Stumbled upon this thread in my search for quicker x264 encoding, and this might help me do that, am I correct ? If i understand correctly DGAVCDecNV is a filter ( or is it a program ) that will frame serve for me leaving all of my Intel quad core's processing power free to do the x264 encoding, and in that way help me achieve faster encoding speeds ? I got a Geforce 9400 GT card, but is that a fast enough graphics card or wont it help me at all ? I will gladly donate ( pay ) for the filter, but I am a little concerned that I have misunderstood what DGAVCDecNV is and how to use it
|
|
|
|
|
#867 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
It's discussed several times in this thread. Bottom line: speedup will be quite modest on fast systems because decoding requires a small fraction of the total decoding+encoding load. On some slower systems it can give a useful speedup. The motivation for using the GPU is to get correct decoding, access to the PureVideo postprocessor, and support for VC1.
|
|
|
|
|
#869 | Link |
|
Registered User
Join Date: Mar 2008
Posts: 2,017
|
Denner, i can suggest you to use DGAVC so as to have an idea.
It is a free, software based decoder+frame Server using Libav Codec instead of nVidia's HW based decoder. I'm about to open a topic on BD retranscoding via DGAVCNV and DGVC1NV. Last edited by rica; 12th January 2009 at 21:08. |
|
|
|
|
#871 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
First MKV file decoded and displayed
It's early days and all that, but I thought you might be interested to know that I just decoded and displayed my first MKV file with AVC video in DGAVCIndexNV. I adapted low-level MKV parsing code provided to me by Haali.
![]() There's still a lot of work to do, especially with DGAVCDecodeNV and audio demuxing, but it looks like there's nothing to stop me from implementing full MKV support. With DivX backing MKV+AVC now, I think it will be a useful addition to the DG tools. In case you're wondering, I made my own MKV file with mkvtoolnix.
|
|
|
|
|
#873 | Link | |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
Quote:
|
|
|
|
|
|
#875 | Link | |
|
Registered User
Join Date: Sep 2006
Posts: 82
|
Quote:
The server/decoder is excellent software and I would be lost without it. Since I posted I have changed my sat card (got a Skystar HD2 - highly recommendable) and this new one will work in the bottom PCI slot. The previous one would only work in the 2nd slot which put it right next to my double-width 9600GT. This was leading to overheating problems which explains why I could not index/frameserve while capturing - obviously the extra heat from the 9600GT engine during this operation was just enough to cause the sat card to glitch seriously. Keep up the good work! |
|
|
|
|
|
#876 | Link | |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
Quote:
The issue I have with CUVIDServer is 99.999% soimething with it though, or so I would think
|
|
|
|
|
|
#877 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 272
|
Quote:
"Mr bridgeman the ATI/AMD Executive in charge of the current code/documentation releases and ATI market push, has been asked to work with the open code initatives and provide the equivanent NV/VS2 ATI UVD API documentation were he stated in the very professional developer relations manner last week "bridgeman:we are going to look into opening up UVD, I just can't make any commitments until we have actually gone through the investigation and it won't be quick. ...." and he confirmed ATT after i asked will it take months, "bridgeman:For open source, yes," the one point of light at the moment (but probably not relevant in this case unless the open/closed code developers of NV cuda/VS2 apps have a personal interest in also producing UVD code in the future for [non] windows platform), is this, Bridgeman also said "I expect fglrx will have it sooner" when refering to that long month on months wait for the open source vendors. potentially that means any org or business looking to use and/or port the closed ATI/AMD fglrx driver or use any of the "UVD" capabilitys could potentialy get hold of the required API documentation, work with Bridgeman, and impliment it into their products...." Last edited by popper; 19th January 2009 at 12:26. |
|
|
|
|
|
#878 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,892
|
Popper it's typical for the Industry it's slow (@ releasing stuff they have developed the last 2 years and finished laying around) and fooling the consumer when ever it can, but Nvidia is currently far far ahead of ATI they even run them over in Video which is was ATIs dominating Market space for years they run over ATIs Xilieon platform also with Tegra @ it's back and the Ion Platform too and Ati has Paper laying around and talks about "we investigate" that's pathetic just pathetic it shows that this company is not able currently to react fast enough to the market and it's competitors, i wonder how his explanation impacted their share on wall street
__________________
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; 19th January 2009 at 12:55. |
|
|
|
|
#881 | Link |
|
Registered User
Join Date: Jun 2008
Posts: 143
|
I confirm, when you stop x264 (by a -hard stop- like two time control C and not let it end "gently") cuvidserver hang and no other encode can be done. Happen in my case too.
Last edited by Esurnir; 19th January 2009 at 23:45. |
|
|
|
|
#884 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
Do you have a changelog from 1.0.8 to 1.0.10?
edit: cuvidserver works fine in vista and windows 7 64bit. Or are you requesting a 64bit build menlvd? edit: nevermind, it's in the release notes. Thanks Don.
__________________
http://www.7-zip.org/ Last edited by Audionut; 24th January 2009 at 10:38. |
|
|
|
|
#888 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Update on MKV support
Good news...MKV support for video is working all the way through to frame accurate serving via DGAVCDecodeNV.
I want to do some regression testing for ES and TS and then I'll make a test release. Then I need to add audio support. |
|
|
|
|
#891 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
MKV support test version
Here's a test version for MKV support. No audio yet. Feedback will be appreciated. Use the same CUVID server and nvcuvid.dll as for 1.0.10. This version uses a revised DGA file format, so you'll have to remake your existing projects if you want to open them with this version.
http://neuron2.net/dgavcdecnv/dgavcdecnv1011test.zip When reporting problems, please provide a stream sample that I can use to duplicate the issue. |
|
|
|
|
#895 | Link |
|
Registered User
Join Date: Oct 2003
Posts: 435
|
mkv processing seems ok even though it seems to choose 29.97fps unless forced to 23.976fps which the mkv is (original avc video from a bluray + 1 audio stream). also dont skip through the mkv with the slider, it will hang. just load the mkv and process it straight away. you cant skip through the finished avs script either.
|
|
|
|
|
#897 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
I even asked explicitly for that in my post! |
|
|
|
|
|
#902 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
OK, the MKV test version is back on the road:
http://neuron2.net/dgavcdecnv/dgavcdecnv1011test.zip Please provide test streams with your problem reports. I added some pop-up messages to notify you of possible problem conditions. Please let me know if you see any of them. |
|
|
|
|
#903 | Link |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
When I load my avs script into vdubmod (I have to have to server running). Say I make frame cuts, then close the file and then reopen it to have it open honoring the cuts. CUVIDServer will keep frames in memory.. So, if there was a video frame (non-black) in memory, than if I start to encode from there, that frame, even if not included with the cuts that I made; will be part of the final encode. Don't know why it does that, but it does it every time. The only way around this that I know of is to make cuts in vdubmod, close the app, close cuvidserver, reopen the server, then vdubmod, load the avs and then it's good. I don't know if this is happening to anyone else, but it happens to me everytime. |
|
|
|
|
#904 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
When you exit VDM, the filter gets deinstantiated, which should clear the CUVID server. I don't know what happens if you just do File/Close video file. If VDM doesn't deinstantiate the source filter, then there can be trouble. Last edited by Guest; 27th January 2009 at 03:20. |
|
|
|
|
|
#905 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Nvidia Development Dialog Updated
I've updated the Nvidia Development dialog to cover the period of the VC1 development and the ongoing MKV support.
http://neuron2.net/dgavcdecnv/cuda/cuda.html The updated material starts here: http://neuron2.net/dgavcdecnv/cuda/cuda.html#update |
|
|
|
|
#906 | Link | |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
Quote:
Perhaps "cuts" wasn't the best way in which to describe it. When I make trims would be more appropriate. Then, when the trims are saved into the avs file, then I re-open the file so that the script will load with the applicable trims. When this happens, if there was a video frame that was viewed with the server running, then even though I load the script again with the appropriate trims, that video frame is stuck in memory somehow and it will actually encode into the video even if that particular frame is outside of the boundary of the trims that were specified. Does that perhaps explain it better? It makes sense to me, but that obviously does nobody but myself any good. **edit** If I hit file/close, or just re-open the avs with the trims in it, or if I physically close the application and re-launch it ... this particular anomoly happens each time. I 'have' to exit the cuvid server and relaunch it to clear any frames that it may have in memory. Last edited by xopowo; 27th January 2009 at 07:46. |
|
|
|
|
|
#907 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I guess you are using the AVS script editor?
You should tell me exactly what menu items you select, etc., as I am not a user of that and when you say "I re-open the file" that means nothing to me because I don't know what you are actually doing in the program to make that happen. I also don't know how VDM refreshed the AVS script and whether it deinstantiates the filter. If it isn't deinstantiating it to reload the script then it won't work. I'm willing to work to make third party apps work right with the server, but VDM is abandoned for a long time. Last edited by Guest; 27th January 2009 at 07:56. |
|
|
|
|
#911 | Link |
|
Registered User
Join Date: Mar 2008
Posts: 2,017
|
I get this:
![]() with this mkv: http://www.sendspace.com/file/hsogkj That is working with TMT and MPC-HC. The method i used: On the fly cut from original disc as is with head.exe. Remux video to mkv with eac3to or GraphStudio. (both files don't work.) _ _ _ _ Last edited by rica; 27th January 2009 at 22:10. |
|
|
|
|
#920 | Link |
|
н∂-ƒαиαтι¢
Join Date: May 2006
Location: Bedfordshire, UK
Posts: 1,005
|
i cant seek at all. would u like a sample?
edit: after i saved the project, it let me seek. i then tried to open another mkv and it crashed. had to restart cuvid server. loaded the mkv again, no seeking..saved the project, seeking works
Last edited by ~bT~; 27th January 2009 at 23:49. |
|
|
|
|
#924 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I fixed the seeking in the MKV test version. It should be really fast now without any hangs.
http://neuron2.net/dgavcdecnv/dgavcdecnv1011test.zip I'm learning way more than I wanted to know about Matroska files. ![]() A CUDA encoder is a massive project. Ask Dark_Shikari about it.
Last edited by Guest; 28th January 2009 at 05:11. |
|
|
|
|
#925 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
I'd search for his previous responses before doing that.
__________________
http://www.7-zip.org/ |
|
|
|
|
#926 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I'd not even ask about a CUDA encoder to begin with. Discussion of it has popped up -many- times and it's a no go because of the extensive resources required. Unless you have a lot of coders who are willing to put time and effort into optimizing code for CUDA, it's not happening. IIRC, one huge issue Dark Shikari had was getting functions to run fast enough to make it worthwhile.
@neuron2: Thanks for adding mkv support No need for me to demux a mkv for doing comparisons of my encodes anymore!
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#928 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
Care to port AviSynth and neuron2's DG toolset to Linux?
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
#930 | Link | |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
Quote:
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
|
#932 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
MKV support with audio demuxing
I've added audio demuxing. Note that some formats are not supported yet. If you hit one of them you'll get a popup asking you to send me a sample.
I need samples to implement the support.Be sure to update with the included nvcuvid.dll. http://neuron2.net/dgavcdecnv/dgavcdecnv1011test.zip |
|
|
|
|
#933 | Link | |
|
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
A. compare against a non-supported list and give you samples for the ones on the list rather than trying to hunt B. compare against a supported list and give you samples for things not on the list. i imagine B would be easier to do as you know what you've implemented and may forget listing some formats for A. |
|
|
|
|
|
#934 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
The documentation of audio CodecIDs is incomplete, so by hunting I will find out ones that are in use but not documented. Anyway, here are the ones I currently support (because I have samples):
A_AC3 A_MPEG/L1 A_MPEG/L2 A_MPEG/L3 A_DTS |
|
|
|
|
#935 | Link |
|
Swallowed in the Sea
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
|
A_AAC
A_EAC3 A_FLAC A_PCM/INT/LIT A_REAL A_TTA1 A_VORBIS A_WAVPACK4 http://haali.cs.msu.ru/mkv/codecs.pdf http://samples.mplayerhq.hu/Matroska/ http://www.bunkus.org/videotools/mkvtoolnix/samples/ Last edited by Kurtnoise; 29th January 2009 at 18:26. |
|
|
|
|
#936 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Added A_AAC support to MKV demuxer
Added support for A_AAC in MKV files.
http://neuron2.net/dgavcdecnv/dgavcdecnv1011test.zip What's the priority on the remaining formats? |
|
|
|
|
#937 | Link | |
|
Registered User
Join Date: Mar 2008
Posts: 2,017
|
Quote:
Code:
Stream Type: Matroska Profile: High Level: 4.1 Frame Size: 1920x1080 SAR: 1:1 Display Size: 1920x1080 Frame Rate: 23.976024 fps Colorimetry: BT.709 [1] Frame Structure: Frame Frame Type: I Coded Number: 257 Playback Number: 257 Frame Repeats: 0 Field Repeats: 0 Bitrate: 27.122 Bitrate (Avg): 13.526 Bitrate (Max): 27.122 Audio Stream: 1: A_FLAC 48000 6ch "und" Elapsed: 0:00:00 Remain: 0:00:00 FPS: Info: Finished! Code:
Stream Type: Transport [192] Profile: High Level: 4.1 Frame Size: 1920x1080 SAR: 1:1 Display Size: 1920x1080 Frame Rate: 23.976024 fps Colorimetry: BT.709 [1] Frame Structure: Frame Frame Type: I Coded Number: 217 Playback Number: 217 Frame Repeats: 0 Field Repeats: 0 Bitrate: 35.124 Bitrate (Avg): 34.615 Bitrate (Max): 35.383 Audio Stream: 1100: DTS HDHR C+L+R+SL+SR 48 1536 Audio Stream: 1101: DTS C+L+R+SL+SR 48 768 Audio Stream: 1102: DTS C+L+R+SL+SR 48 768 Audio Stream: 1103: DTS C+L+R+SL+SR 48 768 Audio Stream: 1104: AC3 3/2 48 448 Elapsed: 0:00:01 Remain: 0:00:00 FPS: Info: Finished! Code:
Stream Type: Transport [192] Profile: High Level: 4.1 Frame Size: 1920x1080 SAR: 1:1 Display Size: 1920x1080 Frame Rate: 23.976024 fps Colorimetry: BT.709 [1] Frame Structure: Frame Frame Type: I Coded Number: 258 Playback Number: 258 Frame Repeats: 0 Field Repeats: 0 Bitrate: 27.123 Bitrate (Avg): 13.697 Bitrate (Max): 27.123 Audio Stream: 1100: TrueHD AC3 3/2 48 640 Audio Stream: 1101: AC3 3/2 48 640 Audio Stream: 1102: AC3 3/2 48 640 Audio Stream: 1103: AC3 3/2 48 640 Audio Stream: 1104: AC3 3/2 48 640 Audio Stream: 1105: AC3 2/0 48 192 Audio Stream: 1a00: E-AC3 2/0 48 192 Elapsed: 0:00:01 Remain: 0:00:00 FPS: Info: Finished! _ _ _ Last edited by rica; 30th January 2009 at 01:32. |
|
|
|
|
|
#938 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Added A_FLAC
Added support for A_FLAC in MKV files.
http://neuron2.net/dgavcdecnv/dgavcdecnv1011test.zip I'd like to release this, so please beat on it. |
|
|
|
|
#942 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I'd really appreciate it if you'd say if you think there's a problem and what it is.
You may need to download it again as I updated it shortly after posting the new version. The demuxed .flac plays fine in WinAmp. Be aware that I demux to raw flac, while mkvextract by default puts it into an ogg wrapper. Do you need it to be in an ogg wrapper or are you drawing my attention to something else? |
|
|
|
|
#946 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Version 1.0.11 rc1
* Fixed a bug in the handling of multiple slice frames. This affected the stream provided by rica, so update to this version for proper handling of the stream.
* Added CLI support for audio demuxing for MKV files. * Updated the users manuals. http://neuron2.net/dgavcdecnv/dgavcdecnv1011rc1.zip |
|
|
|
|
#949 | Link | |
|
Registered User
Join Date: Mar 2008
Posts: 2,017
|
Quote:
Thanks snow; dtsHD-HR and dtsHD-MA is supported by mkvmergegui. Here is the method i used: Demux/remux video to mkv and demux audio to dts with eac3to 3.0.5 and remux to mkv with mkvmergegui 2.4.2. Here are the results: Code:
General
Complete name : C:\Users\rica\Desktop\TEST\video_dtsHD.mkv
Format : Matroska
File size : 37.0 MiB
Duration : 8s 50ms
Overall bit rate : 38.6 Mbps
Encoded date : UTC 2009-01-31 19:13:05
Writing application : mkvmerge v2.4.2 ('Oh My God') built on Jan 18 2009 17:30:28
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Muxing mode : Container profile=Unknown@0.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 8s 41ms
Bit rate : 34.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Standard : NTSC
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.684
Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Format profile : HRA
Codec ID : A_DTS
Duration : 8s 50ms
Bit rate mode : Constant
Bit rate : 3 045 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 24 bits
Code:
General
Complete name : C:\video_dtsMA.mkv
Format : Matroska
File size : 23.2 MiB
Duration : 9s 426ms
Overall bit rate : 20.6 Mbps
Encoded date : UTC 2009-01-31 20:00:47
Writing application : mkvmerge v2.4.2 ('Oh My God') built on Jan 18 2009 17:30:28
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@0.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 9s 416ms
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA
Codec ID : A_DTS
Duration : 9s 426ms
Bit rate mode : Variable
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 24 bits
dtshd-HR: http://www.mediafire.com/?sharekey=a...5965eaa7bc68bc dtshd-MA: http://www.sendspace.com/file/g9fzhm Previous test version extracts those audio files. Here it is: (you have to put your own licence.txt instead of the fake one i put.) [link deleted] while 1.0.11 rc1 can not. _ _ _ _ Last edited by Guest; 1st February 2009 at 01:40. Reason: Please don't link my withdrawn test versions |
|
|
|
|
|
#950 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
I fixed the problem with audio demuxing. Please redownload rc1.
http://neuron2.net/dgavcdecnv/dgavcdecnv1011rc1.zip Thanks for pointing it out, rica. |
|
|
|
|
#952 | Link |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
The serial number that was generated for me when I bought the license works ... on WinXP. Now that I'm using Win7 (xp is jacked up), the same serial won't work. How does one generate a new number? Or is it just a matter of asking? I'm using the same computer, so don't know why anything would be different, but who knows.
|
|
|
|
|
#953 | Link | |
|
Registered User
Join Date: Jun 2008
Posts: 143
|
Quote:
|
|
|
|
|
|
#954 | Link |
|
Registered Developer
Join Date: Sep 2006
Posts: 5,011
|
@neuron2, I've just added MKV demuxing to eac3to, too. You may want to peek into the eac3to thread once in a while cause users are posting funny MKV samples there to keep me busy. Just in case you're interested in collecting more strange samples...
|
|
|
|
|
#958 | Link |
|
Registered User
Join Date: Jun 2007
Posts: 106
|
Has anyone been able to use the GPU deinterlacer with StaxRip? The problem is that I can't alter the avs file to add the line to AVCSource. Even if I try to manually edit the avs file StaxRip still won't process it. I'll ask in the StaxRip Forum as well if no one here has been successful.
Could there possibly be an alternate form of syntax I could use to get the Nvidia Deinterlacer to work? I can easily add it in the line below it like any other function, just not on the AVCSource line: AVCSource("%source_file%") deinterlace=true Naturally that doesn't deinterlace, but it crashes if I try to alter it to this: AVCSource("project.dga", deinterlace=true) Last edited by meatwad; 6th February 2009 at 14:29. |
|
|
|
|
#959 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
it's deinterlace=1
AVCSource("project.dga", deinterlace=1) http://neuron2.net/dgavcdecnv/DGAVCDecodeNVManual.html |
|
|
|
|
#961 | Link |
|
Registered User
Join Date: Jan 2005
Posts: 112
|
@neuron
http://neuron2.net/dgavcdecnv/DGAVCDecodeNVManual.html In the samples, there is AVCSource("project.dga", deinterlace=true) instead of AVCSource("project.dga", deinterlace=1) |
|
|
|
|
#963 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
CUVID Server/CUVID Client 1.0.4
I've updated the CUVID server and client to support MPEG1 and MPEG2 video.
http://neuron2.net/dgavcdecnv/dgavcdecnv.html You can probably guess what's coming next. After that my plan is to combine all three variants into one. Then I will add "output trimmed TS" as well as multiple ranges. |
|
|
|
|
#964 | Link | |
|
Registered User
Join Date: Oct 2003
Posts: 435
|
Quote:
|
|
|
|
|
|
#967 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Thanks for all your work neuron2! Looking forward to become a supporter as soon as I get out of my poor-college-student situation
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
#968 | Link | |
|
Aging Video Hobbyist
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
|
Quote:
|
|
|
|
|
|
#969 | Link |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
Is there a memory leak in CUVIDServer 1.0.4? I'm using Win 7 64-bit and encoding with x264.exe and the memory used by the server has grown from 262mb to now 690mb in 19 minutes. I only have 4gb of memory. Is 64gb recommended
![]() avs is just "1.dga", deinterlace=1) not doing anything fancy ... decimating after that, no cropping or resize I was looking at x264.exe memory usage ... cuvidserver passed it ... now, 22 minutes into the encode, it's at 867mb! Last edited by xopowo; 9th February 2009 at 04:50. |
|
|
|
|
#970 | Link | |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Quote:
Can I have your full script please? I thought it only happens with random access. Decimation could force that. |
|
|
|
|
|
#972 | Link |
|
Najarenthur
Join Date: Jan 2006
Location: Austria (Vienna)
Posts: 202
|
@neuron2
The Core Team just updated CoreAVC to 1.9.0.0 with CUDA-Support. Would be interesting, if it's more efficient than VP2-Part. I never read it but is it possible for DGAVCIndexNV to index LV 5.0/5.1 Streams? |
|
|
|
|
#975 | Link |
|
Najarenthur
Join Date: Jan 2006
Location: Austria (Vienna)
Posts: 202
|
Damn, I hoped it could be more. So it's not really reasonable. The only sense it does for me to decode non-DXVA compatible Streams, but that's it. At least other DXVA Video decoder can use ATI UVD too.
Last edited by Deinorius; 11th February 2009 at 22:23. |
|
|
|
|
#977 | Link | |
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
From the CoreAVC thread.
Quote:
The closet I have is nvcuda.dll edit: and everything works fine that way too.
__________________
http://www.7-zip.org/ |
|
|
|
|
|
#978 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Both DGXXXIndexNV.exe and CUVIDServer.exe must be able to find nvcuvid.dll. DGXXXDecodeNV.dll does not need it and so is irrelevant. Thus, the two EXEs must see the DLL via the Windows DLL search path:
http://msdn.microsoft.com/en-us/libr...18(VS.80).aspx If you have those two EXE's in the same directory with nvcuvid.dll, everything will be fine. It is reasonable to have the CUVID Server in its own directory, as well as to have the DG tool variants in their own directories. That is why I recommended to put nvcuvid.dll in system32, so that multiple copies of it are not required. I will give some thought to a solution that doesn't require multiple copies and doesn't overwrite the version installed by the Nvidia driver install. Ideas are welcome. Last edited by Guest; 12th February 2009 at 03:44. |
|
|
|
|
#984 | Link | ||
|
Registered User
Join Date: Nov 2003
Posts: 1,256
|
Quote:
None have included it. Quote:
Can you include the dll into the exe's? Aren't you combing all 3 decodeNV's into the same exe? Then you would only have the 1 exe and 1 dll. Can you run a check on the version of the dll in system32 folder and overwrite with your copy if newer? Create installers. Overwrite dll in install folder if its older than the new decodenv being installed. I really don't see the problem though. Download zip, Extract, run exe. .
__________________
http://www.7-zip.org/ |
||
|
|
|
|
#985 | Link |
|
Registered User
Join Date: May 2006
Location: Moscow
Posts: 97
|
what can be wrong
last dgavcdecnv sys win7 x64 drv 181.22 using 2 pass encoding 1 pass processed fine, but 2 even start (w/o manual close and starting again CUVIDServer.exe) in sys wxp-sp3 32 everything is fine |
|
|
|
|
#987 | Link | |
|
Registered User
Join Date: May 2006
Location: Moscow
Posts: 97
|
latest x264 1109 x64
not using gui simple run from scrip or run from cmd sample Quote:
will try install latest forceware 182.05, but i'll don't think thats solve problem Last edited by menlvd; 12th February 2009 at 15:03. |
|
|
|
|
|
#988 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
Version 1.0.12
1. When serving video, replace copies of leading orphaned B frames with copies of the first decodable frame.
2. Fixed blocking on seeks with deinterlace=1. 3. Fixed false sync lock for M2TS files. 4. Fixed problem where stepping by GOP backward could wrap from the start of the file to the end of the file. 5. Closing the window while a play/preview is running caused a CUVID popup error. Fixed. 6. Enable "Disable Display" option only after a file is loaded. This prevents a crash scenario. 7. Fixed nvcuvid.dll memory leak. 8. Update CUVID Server to version 1.0.4. http://neuron2.net/dgavcdecnv/dgavcdecnv.html Last edited by Guest; 13th February 2009 at 02:43. |
|
|
|
|
#990 | Link | |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Quote:
I don't know where you've got the 185.xx beta from, sounds wrong to me since the beta driver released earlier this week is 182.05. |
|
|
|
|
|
#991 | Link | |
|
Registered User
Join Date: May 2006
Location: Moscow
Posts: 97
|
Quote:
seems to be a avsyuv produce bug that can cause broblem with cuvidsvr |
|
|
|
|
|
#992 | Link |
|
Registered User
Join Date: Aug 2008
Posts: 25
|
Unfortunately, I just replaced everything with the new version(s) and the memory leak is still incredibly bad
![]() Here is the AVS script I'm using ... LoadPlugin("C:\encode\Dlls\DGAVCDecodeNV.dll") AVCSource("1.dga") selecteven() That's it. Nothing more when doing a 720p source to bring it back to 29.97fps from 59.97 OS - Windows 7 (64-bit) Build 7000 CPU - Intel Xeon x3360 Memory - 4GB DDR2 800 Video - nVidia GeForce 9600 GSO (768mb) Avisynth - 2.57 VirtualDubMod 1.5.10.2 (virtualdub doesn't work for me) 7 minutes into the encode, and CUVIDServer.exe went from 23772k (at launch) to 644040k. Longer encodes, the server crashes (when it eats about 1.7gb of memory). There is a dialogue box that pops up that just says "server" and an 'OK' button (nothing legible). I don't know what to tell you other than even with the new version, it still leaks badly. nvcuvid.dll has to be located in \Windows\System\ in order for it to work for me (as opposed to \system32\) Let me know if you need more information. I just tested the same exact avs file with VirtualDub version 1.8.8 (32-bit version) and the same exact results. CUVIDServer.exe crashed on that one 18:47 into the encode with memory at 1,688,596K ... yikes! Last edited by xopowo; 13th February 2009 at 08:36. |
|
|
|
|
#995 | Link |
|
Aging Video Hobbyist
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
|
I just had an unexpected result in an encoding: I had used eac3to to make an .mkv file, indexed it with v1.0.11 and re-encoded with x264, and my encode is "off" by 3 frames from the original, messing-up the I-frames I'd specified and thus my chapter marks. Puzzling over this I noticed my XP Pro x64 setup has your updated nvcuvid.dll in my SysWOW64 directory, but an older version from 16-Dec-08 in my system32 folder. Brand-new to 64-bit OS, I'd read that (counterintuitively) 32-bit dlls were to go into SysWOW64 and 64-bit into system32 (so the older nvcuvid.dll must likely be from my Nvidia 9600display card driver installation).
Should I have placed the 08-Feb-09 (new) nvcuvid.dll into system32 instead, replacing the one that's there? Trying to sort this before I re-run my encoding (8 hours) with the newer 1.0.12... ![]() UPDATE: Well I put DG's nvcuvid.dll into system32 and rebooted and it didn't crash. Realized also that I run CUVID Server from its own directory so tried using procexp to ID which dll it was using. Can't tell--neither the Dec version nor DG's identifies itself in any way that I can tell. Guess if no one has advice for me I'll try 1.0.12 and do it again (hell I dunno if this has anything to do with frames being "off" anyway)... UPDATE2: And in fact it doesn't seem to be the problem--I still am "off" by 3 frames. Going to start-over from scratch, extracting as .h264 not .mkv. Still, would appreciate if someone knows if replacing nvcuvid.dll everywhere (sysWOW64, system32, every tool location) is the right thing to have done. That's where I'm at now. Last edited by laserfan; 14th February 2009 at 00:37. |
|
|
|
|
#997 | Link |
|
Guest
Join Date: Jan 2002
Posts: 21,868
|
@laserfan
Put my nvcuvid.dll into the same directory as DGAVCIndexNV.exe. Also, put it in the same directory as CUVIDserver.exe, if that differs from the former. Then you won't have to put it in a system directory. Regarding your three-frame discrepancy, redownload 1.0.12 and try with that. If it still occurs tell me how to duplicate it, providing a stream if necessary. |
|
|
|
|
#998 | Link | |
|
Aging Video Hobbyist
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
|
Quote:
Re: 3 frames off, I have a couple other things to try (along w/your fixed version) and appreciate your offer of help! |
|
|
|
|
|
#999 | Link | |
|
Registered User
Join Date: May 2003
Posts: 149
|
Quote:
http://www.nvnews.net/vbulletin/show...1&postcount=28 Cheers, -jj- |
|
|
|
![]() |
|
|