GPU accelerated transcoding

Feature requests for VLC.
matejdro
New Cone
New Cone
Posts: 8
Joined: 01 Nov 2010 00:01

GPU accelerated transcoding

Postby matejdro » 04 Mar 2011 23:07

I have my movies on HTPC, which is powered by ION (slow atom processor + powerful nvidia gpu). And i want to stream them to my STB in other room. But problem is that STB only supports several formats, so i need to transcode most of my movies. But atom cpu inside is not powerful enough and movies are skipping. If i could use gpu to transcode movies, i think it would improve performance dramatically.

Is there any chance that we get GPU accelerated transcoding via cuda or opencl?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: GPU accelerated transcoding

Postby Jean-Baptiste Kempf » 05 Mar 2011 11:40

This is not really in the works...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

wateras
Blank Cone
Blank Cone
Posts: 12
Joined: 26 May 2010 13:17

Re: GPU accelerated transcoding

Postby wateras » 20 Mar 2011 01:38

gpu decode/encode isn't real time on older systems by a long shot. i doubt it would work

DJs3000
New Cone
New Cone
Posts: 4
Joined: 14 May 2012 08:58

Re: GPU accelerated transcoding

Postby DJs3000 » 14 May 2012 09:16

x264 codec is used in the project OpenMCU (openmcu.ru)
There is a strong desire to use the Cuda (Nvidia) and OpenCL (Ati, Intel ...) the priority of course use the Cuda. Will there be support for Cuda in X264?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: GPU accelerated transcoding

Postby VLC_help » 14 May 2012 18:52

Will there be support for Cuda in X264?
Many people have tried to add GPU acceleration to x264, but AFAIK nobody has made anything that is really useful (so CPU is faster).

DJs3000
New Cone
New Cone
Posts: 4
Joined: 14 May 2012 08:58

Re: GPU accelerated transcoding

Postby DJs3000 » 15 May 2012 10:14

Well, I do not agree :) Cuda uses many cores (average 200-400 cores), the CPU currently uses an average of 4-8 cores. CPU processes the data sequentially in 4-8 threads depending on how many cores, and the data that have no time to be processed are placed in the cache. In many practical examples of using convert h264 Cuda passers by 2-4 times faster than the CPU. There is a solution but it paid http://www.mainconcept.com/products/sdk ... 64avc.html codec, and we use x264 in http://www.openmcu.ru project and we need a free codec as your x264. X264 Cuda will allow us to create FullHD video quality.

http://developer.download.nvidia.com/CU ... 1_2011.pdf

Cuda is not VAAPI or VDPAU! Cuda platform that uses the processing power of GPU for general purpose tasks. The main advantage is the Cuda Parallel computing.
http://www.render.ru/images/uploads/Ima ... g002_l.jpg

developer.nvidia.com/category/zone/cuda-zone - Here is everything you need to develop for the Cuda.

photonica
New Cone
New Cone
Posts: 8
Joined: 14 May 2012 21:18

Re: GPU accelerated transcoding

Postby photonica » 16 May 2012 04:36

I am all about this, I need this in order to transcode 4 HD h264 streams that come out of my Qam HD h264 modulator, this device accepts 4 hdmi inputs and puts it all into Qam256 channel at 6mbits each....

It has IPTV out.

I have already been able to seperate the MPTS stream and seperatly direct this to different HTTP ports

i can not imagine being able to transcode 4 streams without the CUDA support.

currently I use a twin frozure Nvidia card in My Adobe Premier Editing machine, the support it has for the CUDA processing makes it at least 4 times faster during render opperations then a duplicate machine with a ATI card.

If i could code this Myself, I would....

I vote Yes Please :)

DJs3000
New Cone
New Cone
Posts: 4
Joined: 14 May 2012 08:58

Re: GPU accelerated transcoding

Postby DJs3000 » 17 May 2012 12:34

The developers of x264 you hear us? :) Please note Cuda on us. :) If you arrange a vote'm sure many will agree that the need Cuda. Can I pay for this $ 150
If everyone who is interested in using Cuda for x264 will pay approximately $ 50 the amount will be good :) I am sure that you will not regret it :)

DJs3000
New Cone
New Cone
Posts: 4
Joined: 14 May 2012 08:58

Re: GPU accelerated transcoding

Postby DJs3000 » 23 May 2012 12:21

May 17 released a patch (alpha version)
allows you to use the GPU via OpenCL
http://www.mediafire.com/?8qxxp7zbocqn14m - patch
http://forum.doom9.org/showthread.php?t=164960&page=1 - discussion

realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

Re: GPU accelerated transcoding

Postby realjobe » 21 Feb 2014 08:03

Now we'r having VLC 2.1.3 version and I'd like to ask have this gone further?

VLC input & Codecs has "Automatic/DXVA2/disable" for decoding but what about realtime transcoding from mp4/mpeg2 into H264?
Is this accelerater as well?


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 6 guests