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. |
25th April 2009, 14:07 | #1203 | Link |
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
I fully agree, FWIW. Unfortunately people still do it.
The problem isn't the total size of the DPB (although it can be on cards with only 256MB), it's mainly due to windows/DXVA only allowing a DPB made up of 16 frames. In theory this is ok since non-ref B frames can bypass the DPB but this isn't how the nvcuvid decoder works - every frame is decoded via the DPB and if there's no free slot (all filled with reference frames) artifacts show up. |
2nd May 2009, 20:44 | #1207 | Link |
Registered User
Join Date: Sep 2004
Posts: 1,295
|
I was backing up a movie using DGAVCDecNV for frame decoding and today, in the morning, after several x264 hours, when I looked into the computer I had a dialog stating that there was some cuda error decoding the frame. Everytime I closed the dialog, a new one appeared. I had to abort the encoding. After this I have opened the Avisynth script in VirtualDub to see if there was any error decoding the frame in which the encoding stopped, but there was no problem, it worked flawlessly.
It was my first real encoding using DGAVCDecNV. Before this, I have tryed it with small video segments and worked good. Only now, during a full movie encoding, this happened. Any idea what could have happened? |
4th May 2009, 10:00 | #1211 | Link | |
Registered User
Join Date: Sep 2004
Posts: 1,295
|
Quote:
Yesterday I started the compression job again. At night, when I decided to go to bed and leave the PC running for the night, I was going to hit Ctrl+Alt+Del to keep the PC in locked mode. Then I remember the tip from squid_80, about the screen saver... I have it disabled, but when we hit Ctrl+Alt+Del to lock the PC, it enters a different state, covering the desktop with the login dialog. I can not test it again right now because I don't want to mess up the encoding again, it already passed the critical point of yesterday. I will test it and update here as soon as I could. |
|
5th May 2009, 22:29 | #1213 | Link | |
Registered User
Join Date: Sep 2004
Posts: 1,295
|
Quote:
When I unlock the computer I have this message on screen: When I close this dialog, appears this other message: When I close it, appears the first again, and it keeps like this, always showing both messages, one after the other. I believe this should be a problem in CUVIDServer. Do you think it could be fixed? If not, I think it's a good idea put a warning in your guides, because it's a bit annoying to crash a long encoding job just because we locked our computers for security reasons... |
|
5th May 2009, 22:42 | #1214 | Link |
Aging Video Hobbyist
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
|
Maybe I'm off-base w/this suggestion, but you might want to see if it works to run CUVIDServer as a service:
http://support.microsoft.com/kb/137890 I haven't tried it (yet) myself... EDIT: Well I tried but was not successful in getting this to work. Maybe it's due to my XP x64 OS, or CUVIDServer itself, or maybe I didn't implement it correctly. Seems like a reasonable thing to attempt for a PC that uses it a lot though!? If anyone else can get it to work by all means please tell. Last edited by laserfan; 6th May 2009 at 03:37. |
8th May 2009, 17:26 | #1215 | Link |
Registered User
Join Date: Mar 2006
Posts: 1,538
|
Is there a way to index only a specific number of frames?
For example: I've set up a batch file which uses the WriteFile function in AviSynth to identify frame count, frame rate, width, and height of video streams. Currently, I index the entire h264 stream using DGAVCIndexNV, create a AviSynth script, and then feed the AviSyth script to ffmpeg to generate the WriteFile text file. Ideally, I'd like to specify just a few frames to index so this process is quicker. Though I don't know if this is even possible. Thanks. Code:
"%DGAVCIndexNV_PATH%" -i "%INPUT_VIDEO%" -o "%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-output.dga" -e -h Echo LoadPlugin("C:\Program Files\DGAVCIndexNV\DGAVCDecodeNV.dll")>"%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-analyze.avs" Echo AVCSource("%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-output.dga")>>"%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-analyze.avs" Echo WriteFile("%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-framecount.txt","Framecount")>>"%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-analyze.avs" Echo WriteFile("%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-framerate.txt","Framerate")>>"%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-analyze.avs" Echo WriteFile("%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-width.txt","Width")>>"%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-analyze.avs" Echo WriteFile("%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-height.txt","Height ")>>"%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-analyze.avs" goto ffmpeg :ffmpeg "%ffmpeg_PATH%" -i "%WORKING_DIRECTORY%\%OUTPUT_FILENAME%-analyze.avs" goto end |
10th May 2009, 15:40 | #1216 | Link |
Registered User
Join Date: Sep 2004
Posts: 1,295
|
Feature request: is it possible for you to include in the log file a small list (the higher 5) with the number of the frames that have the maximum bitrate? The higher the bitrate, the more complex the frames should be, so these frames should be a good reference when we are trying to find the apropriate encoding settings...
|
12th May 2009, 14:13 | #1217 | Link | |
Swallowed in the Sea
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
|
According to the doc for the command line use :
Quote:
Code:
DGAVCIndexNV.exe -i "E:\myfile.ts" -o "E:\myfile" -a -e -h Code:
DGAVCIndexNV.exe -i "E:\myfile.ts" -o "E:\myfile.dga" -a -e -h Is this intentional ? |
|
12th May 2009, 14:42 | #1219 | Link |
Swallowed in the Sea
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
|
Just to be clearer about audio streams...I've got this by example :
Code:
myfile.dga PID bc5 L2 2ch 48 160 DELAY -424ms.mp2 Code:
myfile PID bc5 L2 2ch 48 160 DELAY -424ms.mp2 |
14th May 2009, 18:45 | #1220 | Link |
Registered User
Join Date: Aug 2004
Posts: 14
|
Has anyone got DGAVCDecNV working with an onboard video card?
I'm looking to pair a mobo w/ onboard GeForce 8200 with an X4 920 2.8GHz processor. The Nvidia site seems to indicate it would be supported: http://www.nvidia.com/object/cuda_learn_products.html One of my requirements for the new build is to frameserve AVC content. A main source for my content are Dish Network captures and I always had problems with the PAFF encoding with DGAVCDec, although I admit I haven't checked for awhile. It sounds like DXVA has better PAFF handling than libavcodec. Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|