Embedded Intel Atom® Processors
Technological Conversations about Intel Atom® Hardware, Software, Firmware, Graphics
1193 Discussions

How to use HW accelerated encoding on Intel UpBoard

GBrud
Beginner
1,864 Views

I am trying to get ffmpeg HW acceleration on an Intel UpBoard .

It uses an Atom x5 z8350 processor and Intel HD 400 GPU

I have also followed Intel tutorial in order to compile ffmpeg with libmfx enabled.

after that, I ran:

$ ffmpeg -encoders | grep qsv

 

this is the output:

ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609   configuration: --enable-libmfx   libavutil 56. 22.100 / 56. 22.100   libavcodec 58. 35.100 / 58. 35.100   libavformat 58. 20.100 / 58. 20.100   libavdevice 58. 5.100 / 58. 5.100   libavfilter 7. 40.101 / 7. 40.101   libswscale 5. 3.100 / 5. 3.100   libswresample 3. 3.100 / 3. 3.100   V..... h264_qsv H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (Intel Quick Sync Video acceleration) (codec h264)   V..... hevc_qsv HEVC (Intel Quick Sync Video acceleration) (codec hevc)   V..... mjpeg_qsv MJPEG (Intel Quick Sync Video acceleration) (codec mjpeg)   V..... mpeg2_qsv MPEG-2 video (Intel Quick Sync Video acceleration) (codec mpeg2video)   ​

 

However, when trying to encode I video I am getting:

ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609   configuration: --enable-libmfx   libavutil 56. 22.100 / 56. 22.100   libavcodec 58. 35.100 / 58. 35.100   libavformat 58. 20.100 / 58. 20.100   libavdevice 58. 5.100 / 58. 5.100   libavfilter 7. 40.101 / 7. 40.101   libswscale 5. 3.100 / 5. 3.100   libswresample 3. 3.100 / 3. 3.100   Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.mp4':   Metadata:   major_brand : mp42   minor_version : 0   compatible_brands: isommp42   creation_time : 2019-06-04T19:06:40.000000Z   Duration: 00:04:03.07, start: 0.000000, bitrate: 408 kb/s   Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 640x360 [SAR 1:1 DAR 16:9], 310 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)   Metadata:   creation_time : 2019-06-04T19:06:40.000000Z   handler_name : ISO Media file produced by Google Inc. Created on: 06/04/2019.   Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default)   Metadata:   creation_time : 2019-06-04T19:06:40.000000Z   handler_name : ISO Media file produced by Google Inc. Created on: 06/04/2019.   File 'out.mp4' already exists. Overwrite ? [y/N] y   Stream mapping:   Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))   Stream #0:1 -> #0:1 (aac (native) -> aac (native))   Press [q] to stop, [?] for help   ​   ​   [h264_qsv @ 0x3b30a00] Error initializing an internal MFX session: unsupported (-3)   Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height   Conversion failed!

 

What am I missing?

Thank you very much!

0 Kudos
2 Replies
Oscar_A_Intel1
Employee
1,509 Views

Hello GBrud,

 

Thank you for posting on the Intel Community.

 

For these types of questions, we have a different forum channel that can help you. I will transfer this thread to the Embedded Community.

 

Best regards,

 

Oscar A.

Intel Customer Support Technician

Under Contract to Intel Corporation

0 Kudos
CarlosAM_INTEL
Moderator
1,509 Views

Hello, @GBrud​:

 

We would like to answer this thread but it should be addressed to the manufacturer of the cited device. You may contact them through the channels stated in the following website provided as a reference:

 

https://forum.up-community.org

 

By the way, it is important to let you know that unfortunately the Cherry Trail is on the "off-roadmap" and its support is for limited manufacturers. For this reason, this processor family is unsupported by this channel. Click on Cherry Trail website to learn more about the specifications of this family at the following website:

 

https://ark.intel.com/products/codename/46629/Cherry-Trail

 

Best regards,

@Mæcenas_INTEL​.

0 Kudos
Reply