Use GPU to encode video on Odroid C2

Post Reply
arcf
Posts: 1
Joined: Wed Nov 06, 2019 9:50 pm
languages_spoken: english
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Use GPU to encode video on Odroid C2

Unread post by arcf » Wed Nov 06, 2019 11:28 pm

Hi,

I'm trying to encode video using FFmpeg on a Odroid C2 board running Ubuntu 18.04.3. The objective is to make a video streaming, so I want to encode with low latency.
I used the following command in command line:
ffmpeg.exe -i GOPR0381.MP4 -c:v libx265 -vf scale=480:-1 -crf 35 -r 20 -preset ultrafast GOPR0381x.MP4
I've encoded the video sucessfully, but it takes a bit of time.

I've noticed that during the encoding process only the CPU is used. So I would like to know if is possible, and how it is possible, to force Odroid C2 or FFmpeg using GPU for encoding, so that I can increase the performance and decrease the encoding time.
I've noticed too, that some aplication like Chromium browser use GPU automatically.

Nuems
Posts: 131
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Use GPU to encode video on Odroid C2

Unread post by Nuems » Thu Nov 07, 2019 12:41 am

Well, there is hardware encoding but on ARM boards, that isn't GPU encoding.

User avatar
rooted
Posts: 6761
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 205 times
Been thanked: 41 times
Contact:

Re: Use GPU to encode video on Odroid C2

Unread post by rooted » Thu Nov 07, 2019 5:44 am

I believe they were talking about VPU encoding.

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest