Video transcoding using GPU instead of CPU? Tips for speed

Need help? Post your questions here.

Moderator: moderators

Video transcoding using GPU instead of CPU? Tips for speed

Postby Swixxy » Mon Jul 25, 2011 5:36 pm

Hey all, i'm running on an Acer aspire and while its great at transcoding the music and such it seems quite slow at transcoding the video files however the GPU is great for rendering videos. Is there a flag that i can enable that will let it use the GPU instead of cpu for transcoding video? (Or does it do this already and just its not able to handle it?)

Any tips for faster transcoding would be great :)
Swixxy
 
Posts: 14
Joined: Sun Jul 24, 2011 10:45 pm

Postby tgrhp » Tue Jul 26, 2011 6:31 pm

There may be gpu transcoders, but I havent really looked into it. I know there are multithreaded transcoders, but usually that feature is not compiled into the binaries that are available. So, to get multithreading [and gpu support] you will probably need to compile the codes yourself.

try adding the ffmpeg option "-vcodec libx264" to the transcoding settings. So if it was:
ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -
change it to:
ffmpeg -vcodec libx264 -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -

this encoder is multithreaded, but may need to be compiled from source to be supported...

If your using ubuntu this tell you how to compile ffmpeg and libx264 from source:
http://ubuntuforums.org/showthread.php?t=786095
I have not tried this... My computer is fast enough so far.


An easier option would be to move all of your files to a desktop. If you still want to use your laptop to watch, use subsonic to access your files.
tgrhp
 
Posts: 16
Joined: Wed Jul 13, 2011 3:54 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 25 guests