| Page 1 of 1 |
Slizza
Posts: 2345
Location: Bulgaria
|
Posted: Sun, 13th Jun 2010 20:53 Post subject: Using CUDA to convert avi to dvd. |
|
 |
I use convertxtodvd right now and it's a great app.
I would like to know if there is a way to use CUDA to do the same job and race my gtx 280's against the i7 cpu. (yes i'm that sad)
Anybody ever done this?
I'm aware of nero move it, and badaboom but looking at them without having tried the softwares they appear to only convert file types.
AVI>MKV etc.
Corsair 750D :: 750W DPS-G:: Asus x370 PRO :: R7 1800X ::16gb DDR4 :: GTX 1070::525gb SSD::Coolermaster 240MM AIO::
|
|
| Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73377
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Sun, 13th Jun 2010 21:40 Post subject: |
|
 |
CUDA encoders have not been able to compete quality-wise with traditional, CPU-based encoders. You see, the architecture of the GPU (and in extension GPGPU power) does not allow for optimal conditions for encoding. You can check this thread out for more in-depth explanation:
http://forum.doom9.org/showthread.php?t=137459
|
|
| Back to top |
|
 |
Slizza
Posts: 2345
Location: Bulgaria
|
Posted: Sun, 13th Jun 2010 21:58 Post subject: |
|
 |
| iNatan wrote: | CUDA encoders have not been able to compete quality-wise with traditional, CPU-based encoders. You see, the architecture of the GPU (and in extension GPGPU power) does not allow for optimal conditions for encoding. You can check this thread out for more in-depth explanation:
http://forum.doom9.org/showthread.php?t=137459 |
Thanks but that's not exactly what i'm after.
That doesn't talk about converting to dvd.
Not looking to encode movies to other formats like this.
I'm just looking to do the job of convertxtodvd. and get those 700mb dvdrips onto dvd-r via cuda.
Should do just as good a job there as cpu.
What i'm wondering is if it can do it faster, and is there software out there that does this task.
Corsair 750D :: 750W DPS-G:: Asus x370 PRO :: R7 1800X ::16gb DDR4 :: GTX 1070::525gb SSD::Coolermaster 240MM AIO::
|
|
| Back to top |
|
 |
|
|
Posted: Sun, 13th Jun 2010 22:13 Post subject: |
|
 |
Where have you read that "converting to dvd" works better on GPU then h264?
DVD uses MPEG2 which was designed at a time when parallel computing was less important then today. I would be surprised if MPEG2 encoding worked better on CUDA then MPEG4.
|
|
| Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73377
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Sun, 13th Jun 2010 22:15 Post subject: |
|
 |
MPEG2 has aspects that are similar to H264/MPEG4, some of which are simplified methods. What is said in that thread goes for MPEG2 as well as H264. And as you know, DVD video is MPEG2 with limitations.
Edit: As me7 says, because it is less prone to multithreaded design, it would be even worse on the GPU than a H264 encoder on the GPU.
Also ConvertXtoDVD is horrendous at encoding MPEG2. I'd want to compare something to CinemaCraft Encoder (CCE). 
|
|
| Back to top |
|
 |
Slizza
Posts: 2345
Location: Bulgaria
|
Posted: Sun, 13th Jun 2010 22:26 Post subject: |
|
 |
|
|
|
| Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73377
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Sun, 13th Jun 2010 22:32 Post subject: |
|
 |
No, I do not know of any CUDA MPEG2 encoders. Your best bet is to ask in the doom9 forums, in the MPEG2 section. If there is one, they will know about it.
|
|
| Back to top |
|
 |
|
|
Posted: Sun, 13th Jun 2010 22:50 Post subject: |
|
 |
actually i think making a multithreaded mpeg2 encoder would be simpler than mpeg4 encoder
mpeg4 works on the whole image and figures out how it morphs across frames
mpeg2 just works on sections of the picture at a time and compares to previous frame
i would think it would be easy to split each these sections into separate threads
but it's not like there's much demand for the shoddy mpeg2 encoding these days
|
|
| Back to top |
|
 |
|
|
Posted: Sun, 13th Jun 2010 23:07 Post subject: |
|
 |
@shole: I don't know whether you refer to macroblocks or slices, but h264 has both of them. I think slices can be used for multithreading in the way you described but it significantly lowers the picture quality AFAIK.
Lay the idea of CUDA video encoding to rest for a while. This has been hyped up by nVidia but has no substance behind it.
But there has been a breakthrough in lossless audio encoding. flaCUDA is a CUDA based flac encoder that beats CPU implementations in speed AND efficiency.
|
|
| Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Sun, 13th Jun 2010 23:13 Post subject: |
|
 |
It's not that it can't be done, it's just that there is no encoder that can easily be rewritten to do it without loss of quality at the moment 
|
|
| Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73377
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Sun, 13th Jun 2010 23:21 Post subject: |
|
 |
Actually, in the case of x264, it really would not be feasible to do, because the method that x264 works is not GPGPU friendly, and the result would be much slower than on a CPU. I am not saying it is impossible, someone might figure some magic that would make the impossible, but all indication of GPGPU encoders (CUDA or Stream or OpenCL) has been so far hideous at best. 
|
|
| Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
|
| Back to top |
|
 |
| Page 1 of 1 |
All times are GMT + 1 Hour |