kotiko
Posts: 27
Joined: Tue Mar 26, 2013 5:06 pm

GPU usage

Mon Apr 21, 2014 3:17 pm

Hi,

We have a pictures (jpg) from a IP camera that I want to convert into a gif "video"

image1.jpg
image2.jpg
....
image3.jpg
----(convert)---------------->
image.gif

The problem is that ffmpeg and avconv are too slow... there are another software that uses the GPU to do it?

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: GPU usage

Mon Apr 21, 2014 3:25 pm

What's the exact command line you're using to do the conversion? It may be possible to speed the process up a little, or less likely a lot.
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

User avatar
sav25
Authorised Reseller
Authorised Reseller
Posts: 385
Joined: Thu Aug 30, 2012 7:18 pm
Location: Southend-on-Sea, Essex, UK
Contact: Website Twitter

Re: GPU usage

Tue Apr 22, 2014 7:11 am

You've probably already considered this, but I do it using a Windows Machine and VirtualDub as I haven't managed to get the Pi working properly to do it. I did a guide on doing that here: (it's a bit long winded moving files across though)

http://www.averagemanvsraspberrypi.com/ ... art-3.html

There is another way that uses the GPU, but I'm struggling to get my Pi to do this without it crashing, as per this forum topic:

http://www.raspberrypi.org/forums/viewt ... 43#p537343

kotiko
Posts: 27
Joined: Tue Mar 26, 2013 5:06 pm

Re: GPU usage

Wed Apr 23, 2014 10:03 am

Hi,

About Option1:

It's not possible because I want that raspberry pi "make" the video itself...

About Option 2:

Now, I send an e-mail to raspberry technical support. If they answer me, I copy the answer in this forum.

Thanks.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26660
Joined: Sat Jul 30, 2011 7:41 pm

Re: GPU usage

Wed Apr 23, 2014 10:06 am

kotiko wrote:Hi,

About Option1:

It's not possible because I want that raspberry pi "make" the video itself...

About Option 2:

Now, I send an e-mail to raspberry technical support. If they answer me, I copy the answer in this forum.

Thanks.
Raspberry Pi themselves don't have a technical support email - they will just redirect you here.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

kotiko
Posts: 27
Joined: Tue Mar 26, 2013 5:06 pm

Re: GPU usage

Sun Apr 27, 2014 5:11 pm

Hi jamesh,

Do you know a software /command in raspberry that can we convert a n images in a GIF "video" fast?

The avconv and ffmpeg are too slow..

thanks..

riklaunim
Posts: 265
Joined: Tue Apr 22, 2014 7:34 pm

Re: GPU usage

Sun Apr 27, 2014 5:15 pm

kotiko wrote:Hi jamesh,

Do you know a software /command in raspberry that can we convert a n images in a GIF "video" fast?

The avconv and ffmpeg are too slow..
convert from imagemagick? http://www.tjhsst.edu/~dhyatt/supercomp/n401a.html

but at some point you will have to use a stronger CPU or transfer images from Pi to another computer to make the gif and retrieve it if needed.

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: GPU usage

Sun Apr 27, 2014 5:24 pm

The second link sav25 posted is the only thing which
could work - but there might some problems to get it running.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Return to “General discussion”