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. |
14th September 2008, 22:40 | #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. |
|
15th September 2008, 00:46 | #162 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
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. |
15th September 2008, 01:54 | #163 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
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. |
16th September 2008, 00:48 | #166 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
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. |
16th September 2008, 01:34 | #168 | Link | |
Registered User
Join Date: Feb 2008
Posts: 4
|
Quote:
|
|
16th September 2008, 02:14 | #169 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
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.
|
17th September 2008, 14:51 | #174 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
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. |
17th September 2008, 15:05 | #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. |
17th September 2008, 15:13 | #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!!! |
17th September 2008, 15:49 | #177 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
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? |
|
17th September 2008, 16:01 | #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!!! |
17th September 2008, 16:12 | #179 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
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. |
|
|
|