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 > Video Encoding > MPEG-4 AVC / H.264

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 5th September 2008, 03:01   #1381  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by rebkell View Post
Are you still contemplating a h264 editor type application, maybe using the cuda to re-encode to get frame accurate cuts? I'll buy an Nvidia card in a heartbeat, if you plan on going that route.
Contemplation is cheap.

I work on things that 1) I need, and 2) I enjoy doing. Such a thing satisfies both. So, it's a matter of time and competing projects.
Guest is offline  
Old 5th September 2008, 03:08   #1382  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Here's another thought for you...

The CUDA video decoder engine decodes VC1! Would you like a frame accurate VC1 Avisynth frame server? I thought you might.

And oh, BTW, it also does MPEG2. Want better decoding performance for DGIndex? I thought you might.
Guest is offline  
Old 5th September 2008, 03:23   #1383  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
what about OpenCL?
Sharktooth is offline  
Old 5th September 2008, 03:24   #1384  |  Link
rebkell
Registered User
 
Join Date: Oct 2006
Posts: 303
Quote:
Originally Posted by neuron2 View Post
Here's another thought for you...

The CUDA video decoder engine decodes VC1! Would you like a frame accurate VC1 Avisynth frame server? I thought you might.

And oh, BTW, it also does MPEG2. Want better decoding performance for DGIndex? I thought you might.
I think, I could live with any and/or all of the above without a problem.
rebkell is offline  
Old 5th September 2008, 03:36   #1385  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Sharktooth View Post
what about OpenCL?
http://www.electronista.com/articles...encl.standard/

It's a ways off but Nvidia is on-board.
Guest is offline  
Old 5th September 2008, 03:48   #1386  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
thats quite an old arcticle. things keep moving... and now there is official support from AMD/ATI (amd just started to integrate OpenCL in their Stream SDK...) and the OpenGL group (Khronos consortium) is working on standardizing OpenCL... things are moving fast.
Sharktooth is offline  
Old 5th September 2008, 10:41   #1387  |  Link
canTsTop
Registered User
 
canTsTop's Avatar
 
Join Date: Apr 2007
Location: Lithuania
Posts: 120
Wow! It seems that CUDA is answer for DGACVDec decoding Does anyone knows if there are video card supporting CUDA with AGP interface?
canTsTop is offline  
Old 5th September 2008, 11:23   #1388  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
@canTsTop: Time to upgrade
Ranguvar is offline  
Old 5th September 2008, 12:09   #1389  |  Link
lucassp
Registered User
 
Join Date: Jan 2007
Location: Romania, Timisoara
Posts: 223
Quote:
Originally Posted by neuron2 View Post
Here's another thought for you...

The CUDA video decoder engine decodes VC1! Would you like a frame accurate VC1 Avisynth frame server? I thought you might.

And oh, BTW, it also does MPEG2. Want better decoding performance for DGIndex? I thought you might.
I guess it doesn't do that on the VP2 Processor. The VP2 can do only H.264 and MPEG2 full hardware decoding.

There is also a CUDA Linux version. Does the VideoDecode Sample work on Linux?

EDIT: @Sharktooth: It doesn't matter which API is used (CUDA, OpenCL or FireStream, etc.) as long as it gives you direct access to the VP2/UVD. At this moment only CUDA gives us access to VP2.

Last edited by lucassp; 5th September 2008 at 12:50.
lucassp is offline  
Old 5th September 2008, 13:20   #1390  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by lucassp View Post
I guess it doesn't do that on the VP2 Processor. The VP2 can do only H.264 and MPEG2 full hardware decoding.
It still offers VC1 decoding. It's just that some of the work is still done on the CPU.
Guest is offline  
Old 5th September 2008, 13:28   #1391  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
@lucassp: im not so sure. being openCL an open computing language (it's not yet fully standardized, so i cant call it an open standard) hardware producers can implement what features they like including VP2 or UVD access... in OSX it is an OS API, so it's even easier...
the difference between opencl and cuda is cuda is a proprietary solution and works only on nvidia cards while opencl is ... ehrr... open.

Last edited by Sharktooth; 5th September 2008 at 13:32.
Sharktooth is offline  
Old 5th September 2008, 14:56   #1392  |  Link
Sulik
Registered User
 
Join Date: Jan 2002
Location: San Jose, CA
Posts: 216
I don't think OpenCL includes any video-decode-specific APIs, pretty much everything is focused on general purpose parallel computing (just like DX11 Compute Shaders, and generic CUDA functionality), not dedicated hardware engines (though it would be nice to have a cross-platform equivalent to DXVA).
Sulik is offline  
Old 5th September 2008, 16:27   #1393  |  Link
crypto
@DVBPortal
 
crypto's Avatar
 
Join Date: Feb 2004
Posts: 434
Quote:
Originally Posted by neuron2 View Post
Update on CUDA developments...

All clips that fail with libavcodec are correctly decoded with CUDA. This is the big deal for me, because I'm highly doubtful that libavcodec will ever be completed. Using CUDA also finesses the difficult-to-debug crashes that libavcodec is prone too..)
Wow, this is great news. I am also suffering from libavcodecs PAFF macroblocking errors. If you need testers, let me know.
crypto is offline  
Old 5th September 2008, 17:46   #1394  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by crypto View Post
Wow, this is great news. I am also suffering from libavcodecs PAFF macroblocking errors. If you need testers, let me know.
What video card do you own?
Guest is offline  
Old 5th September 2008, 17:59   #1395  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
There seems to be a either huge memory leak or a robustness issue with version 1.0.0.35. I tried to index a 35+ GB m2ts file, and it ended up, 30 minutes or so later, with a popup saying starting with "AllocPPS" (i don't remember the precise error message ) When checking the memory used by DGAvcIndex at that moment, it reported 1.9+ GB of virtual memory.

I don't know whether the stream was corrupted (I doubt it since I know somebody else at work managed to index it with a previous version of DGAvcIndex - dunno which one) or if it's a regression.

I'll try to get more information (especially which previous version did work), but that won't be before I get back to work on monday. Where can I find previous versions, in order to search for a possible regression (if that would help) ?
__________________
Manao is offline  
Old 5th September 2008, 18:11   #1396  |  Link
rebkell
Registered User
 
Join Date: Oct 2006
Posts: 303
Quote:
Originally Posted by Manao View Post

I'll try to get more information (especially which previous version did work), but that won't be before I get back to work on monday. Where can I find previous versions, in order to search for a possible regression (if that would help) ?
http://www.neuron2.net/dgavcdec/
rebkell is offline  
Old 5th September 2008, 18:12   #1397  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
They're all still online. Replace the XX as required:

http://neuron2.net/dgavcdec/dgavcdec100aXX.zip

I'll have a look at my memory management for SPS/PPS's.
Guest is offline  
Old 6th September 2008, 03:09   #1398  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Just for fun, I benchmarked Nvidia 8500GT versus CoreAVC on E8500 @ 3.8GHz using a 1080P25 AVC video. I forced the frame rate to 120fps using an Avisynth script.

Nvidia GPU: 66 fps (CPU 4%)
CoreAVC: 60 fps (CPU 60%)

Which would you prefer?

And consider that the PureVideo deinterlacing and 3:2 processing are available as well with the GPU. That gives you excellent deinterlacing in hardware!

The 8500GT is < $100.

Last edited by Guest; 6th September 2008 at 03:18.
Guest is offline  
Old 6th September 2008, 03:22   #1399  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
well the answer is obvious, isnt it?
Sharktooth is offline  
Old 6th September 2008, 03:36   #1400  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I think so.

Waiting for the naysayers to chime in...
Guest is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 08:32.


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