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. |
10th October 2008, 20:17 | #544 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
What is this great time reduction you are talking about? The time for indexing is small compared to encoding. |
|
10th October 2008, 21:36 | #545 | Link | |
Registered User
Join Date: Jun 2008
Posts: 177
|
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:
|
|
10th October 2008, 21:42 | #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. |
10th October 2008, 22:42 | #549 | Link |
Registered User
Join Date: Nov 2003
Posts: 1,281
|
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. |
10th October 2008, 22:56 | #550 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
@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. |
11th October 2008, 05:29 | #551 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
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. |
11th October 2008, 06:51 | #552 | Link |
Registered User
Join Date: Nov 2003
Posts: 1,281
|
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. |
11th October 2008, 09:07 | #553 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,781
|
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 |
11th October 2008, 09:21 | #554 | Link |
Registered User
Join Date: Nov 2003
Posts: 1,281
|
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. |
11th October 2008, 10:05 | #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. |
|
11th October 2008, 13:30 | #556 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
@crypto Not open source at this time. |
|
11th October 2008, 13:55 | #557 | Link | |
Registered User
Join Date: Nov 2003
Posts: 1,281
|
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. |
|
11th October 2008, 14:22 | #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. |
11th October 2008, 14:30 | #560 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
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? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|