Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > DVD2AVI / DGIndex
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 22nd May 2009, 00:10   #181  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Turtleggjp View Post
I'm having trouble with the hardware bob deinterlacer.
Try both field orders with the use_top_field set as true and false. If it won't work either way then upload a failing source stream.
Guest is offline  
Old 22nd May 2009, 00:26   #182  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,126
Quote:
Originally Posted by neuron2 View Post
I have finally started it. I have DGMPGIndexNV working with video and AC3 and MPA audio. I plan to get DGDecodeNV working next and then add the other audio types. What audio types do you need most?

I don't plan to support MPEG1 video or MPEG1 program streams. Is that a problem?
Thats great i just cap ws.pdtv and 1080i mpeg2 so .ac3 and .mpa/.mp2 support is all i need and pretty much all anyone needs really, not many countries use mpeg2 with aac.

have u done any speed tests comparing it with the normal dgmpgdec? 1080i takes a while to make a .d2v file, SD is fairly quick, atleast for short tv shows.

No-one uses mpeg1 anymore, no point adding that.
hajj_3 is offline  
Old 22nd May 2009, 03:18   #183  |  Link
Turtleggjp
Registered User
 
Join Date: Apr 2006
Posts: 225
Uploading a sample now. It is a .ts file trimmed with HDTV2MPEG 1.11.89.

In the indexer, you can see the repeated frames, but no combed frames (even with Full HD display enabled). If I index the file, and serve it with AVISynth, I can see repeated frames and the following combed frames. If I set deinterlace=1 with use_top_field=true, it looks smooth (no repeated/dropped frames). With use_top_field=false, I can see duplicated frames, followed by a noticeable jump caused by a missing frame.

Here is the sample:
http://www.mediafire.com/?sharekey=f...4e75f6e8ebb871
Turtleggjp is offline  
Old 23rd May 2009, 15:44   #184  |  Link
halsboss
likes to tinker
 
Join Date: Jan 2004
Location: girt by sea
Posts: 635
I have fast sports field action HD sources with a lot of blocking (the channels mangle these, unfortunately, also upscaled SD due to inter-channel agreements). The non-NV version seems to provide deblocking natively and easily (can I make it stronger ?)
Code:
#ipp=true interlaced post-processing 
#cpu=4    DEBLOCK_Y_H, DEBLOCK_Y_V, DEBLOCK_C_H, DEBLOCK_C_V 
#cpu=6    DEBLOCK_Y_H, DEBLOCK_Y_V, DEBLOCK_C_H, DEBLOCK_C_V, DERING_Y, DERING_C 
MPEG2Source("G:\HDTV\q2.d2v",info=0,ipp=true,cpu=6)
Does/will the NV version have the same facility ?
halsboss is offline  
Old 23rd May 2009, 16:51   #185  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by halsboss View Post
Does/will the NV version have the same facility ?
No, because the GPU delivers the decoded frame and my code has no access to the quants. You can use a deblocker in your script, such as BlindPP(), Deblock(), and others.
Guest is offline  
Old 23rd May 2009, 16:53   #186  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Version 1.0.2 adds program stream support

1. When demuxing with the CLI, audio filenames no longer erroneously include the string ".dgm" in the filename.

2. Program streams are now supported. Currently, only MPA and AC3 audio is supported.

3. The machine ID field in the About box is now copyable.

4. Fixed a bug in PAT/PMT parsing.

5. Added a warning popup for cases of blank audio at the start of the stream that can cause incorrect reported audio delay. User is recommended to skip GOPs at the beginning of the project.

http://neuron2.net/dgmpgdecnv/dgmpgdecnv.html

Next I want to add pulldown handling and address the Purevideo deinterlacing issues that have been raised.
Guest is offline  
Old 23rd May 2009, 17:55   #187  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,126
ooooo

The license file would work with DGAVCDecNV too right?

How is the purevideo de-interlacing doing, does it do a good visual job, is it better than leakkerneldeint or field de-interlace (no blend)? Is it faster than those?

If i wanted to use this with gordianknot what would i need to put in the .avs to be able to load the .dgm file and would there be any way for me to check the cropping in gordian knot or would i have to use a different app to find out the cropping then manually enter the cropping needed into a .avs file?

keep up the great work neuron!
hajj_3 is offline  
Old 23rd May 2009, 18:22   #188  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Something wrong when i select whole DVD or multiple vobs. Decoding stoped after first vob.
shon3i is offline  
Old 23rd May 2009, 19:49   #189  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Read the release notes.
Guest is offline  
Old 24th May 2009, 00:21   #190  |  Link
halsboss
likes to tinker
 
Join Date: Jan 2004
Location: girt by sea
Posts: 635
Quote:
Originally Posted by neuron2 View Post
2. Program streams are now supported. Currently, only MPA and AC3 audio is supported.
etc
Nice. Thank you very much Neuron2.
halsboss is offline  
Old 24th May 2009, 08:42   #191  |  Link
halsboss
likes to tinker
 
Join Date: Jan 2004
Location: girt by sea
Posts: 635
A hopeful query: if the GPU is doing the work of decoding and returning frames, and can deinterlace if you ask it to, are the cards/cuda smart enough to re-size (interlaced/deinterlaced) frames for you too to a specified size ? I guess I'm asking if that's possible, then would the NV based decoders may be able to resize something like HD1080i->SD576i. That'd be really really handy, if it could I ask about interlaced in particular since a lot of my footage is fast sports field action where the interlaced fields have quite large differences.
halsboss is offline  
Old 24th May 2009, 14:06   #192  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Actually they can, the API allows the program to set the desired size of the decoded frames.
squid_80 is offline  
Old 24th May 2009, 14:15   #193  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by squid_80 View Post
Actually they can, the API allows the program to set the desired size of the decoded frames.
Can you be more specific and/or provide sample code, please?
Guest is offline  
Old 25th May 2009, 05:52   #194  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
From the cudaVideoDecode SDK sample app:
Code:
VideoDecoder::VideoDecoder(const CUVIDEOFORMAT & rVideoFormat)
{
    // Validate video format. Currently only a subset is 
    // supported via the cuvid API.
    cudaVideoCodec eCodec = rVideoFormat.codec;
    assert(cudaVideoCodec_MPEG1 == eCodec || cudaVideoCodec_MPEG2 == eCodec || cudaVideoCodec_H264 == eCodec);
    assert(cudaVideoChromaFormat_420 == rVideoFormat.chroma_format);
    // Fill the decoder-create-info struct from the given video-format struct.
    memset(&oVideoDecodeCreateInfo_, 0, sizeof(CUVIDDECODECREATEINFO));
    // Create video decoder
    oVideoDecodeCreateInfo_.CodecType           = rVideoFormat.codec;
    oVideoDecodeCreateInfo_.ulWidth             = rVideoFormat.coded_width;
    oVideoDecodeCreateInfo_.ulHeight            = rVideoFormat.coded_height;
    oVideoDecodeCreateInfo_.ulNumDecodeSurfaces = FrameQueue::cnMaximumSize;
    // Limit decode memory to 24MB (16M pixels at 4:2:0 = 24M bytes)
    while (oVideoDecodeCreateInfo_.ulNumDecodeSurfaces * rVideoFormat.coded_width * rVideoFormat.coded_height > 16*1024*1024)
    {
        oVideoDecodeCreateInfo_.ulNumDecodeSurfaces--;
    }
    oVideoDecodeCreateInfo_.ChromaFormat        = rVideoFormat.chroma_format;
    oVideoDecodeCreateInfo_.OutputFormat        = cudaVideoSurfaceFormat_NV12;
    oVideoDecodeCreateInfo_.DeinterlaceMode     = (rVideoFormat.progressive_sequence) ? cudaVideoDeinterlaceMode_Weave : cudaVideoDeinterlaceMode_Adaptive;
    // No scaling
    oVideoDecodeCreateInfo_.ulTargetWidth       = oVideoDecodeCreateInfo_.ulWidth; // Set this to the desired output width 
    oVideoDecodeCreateInfo_.ulTargetHeight      = oVideoDecodeCreateInfo_.ulHeight; // Set this to the desired output height 
    oVideoDecodeCreateInfo_.ulNumOutputSurfaces = 2;  // We won't simultaneously map more than 2 surfaces
    
    // create the decoder
    CUresult oResult = cuvidCreateDecoder(&oDecoder_, &oVideoDecodeCreateInfo_);
    assert(CUDA_SUCCESS == oResult);
}
I haven't played with different values myself so YMMV.
squid_80 is offline  
Old 25th May 2009, 09:07   #195  |  Link
halsboss
likes to tinker
 
Join Date: Jan 2004
Location: girt by sea
Posts: 635
this does interlaced resizing, right ? sorry to harp on it, but that's important for some people (well, me) with 1080i captured sources with lots of movement and panning/zooming, and only a SD (PAL 576) DVD player to watch it with)

Last edited by halsboss; 25th May 2009 at 11:01. Reason: spelling and clarification
halsboss is offline  
Old 25th May 2009, 15:08   #196  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Hold your horses there, bro'. We don't even know if it resizes at all yet.
Guest is offline  
Old 26th May 2009, 00:30   #197  |  Link
halsboss
likes to tinker
 
Join Date: Jan 2004
Location: girt by sea
Posts: 635
No worries I hope, but do not expect at all ! Imagine it, a GPU based sourcer/resizer. (I know, there's probably heaps of pragmatic issues which would rule it out). I wish upon a star that Nvidia had deblocking built-in as well, but that's for another decade or century All the best.
halsboss is offline  
Old 26th May 2009, 04:39   #198  |  Link
Turtleggjp
Registered User
 
Join Date: Apr 2006
Posts: 225
Quote:
Originally Posted by neuron2 View Post
Next I want to add pulldown handling
Sweet. I'm unable to use your NV version for working with my TV shows right now, as most of them are using pulldown.

Quote:
Originally Posted by neuron2 View Post
and address the Purevideo deinterlacing issues that have been raised.
Cool, so I can assume that you were able to repeat my problem on your end?
Turtleggjp is offline  
Old 26th May 2009, 05:14   #199  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Yes, and Nvidia is looking at it. It appears to affect MPEG2 only.
Guest is offline  
Old 26th May 2009, 14:26   #200  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
Hey I notice you've slipped-in a newer DGDecodeNV.dll to this release package! I'm gonna assume I should use this latest version for my VC1 and AVC testing now, unless you tell me differently...

EDIT: Oops--now I looked at the Properties of the old vs. new and they appear identical anyway! Never mind then!

Last edited by laserfan; 26th May 2009 at 14:31.
laserfan is offline  
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:12.


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