Decoding h.264 in SOC´s without VPU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Decoding h.264 in SOC´s without VPU

Decoding h.264 in SOC´s without VPU

The i.MX6UL and i.MX7D do not have VPU, so we use GStreamer plugins to decode videos that can apply to these SoC´s. The following steps are necessary to get H.264 installed on MX6ULEVK and MX7DSABRESD boards with yocto image on it.

Packages and Licenses:

Add in your <build-dir>/conf/local.conf file:

CORE_IMAGE_EXTRA_INSTALL += "gstreamer1.0-plugins-ugly-meta packagegroup-fsl-gstreamer1.0-commercial gst-ffmpeg"

LICENSE_FLAGS_WHITELIST += "commercial"

CORE_IMAGE_EXTRA_INSTALL += "gstreamer1.0-plugins-ugly"

Recipes:

Open your favorite text editor and copy the text below into a new text file:

PACKAGECONFIG_mx7d = "x264"

PACKAGECONFIG_mx6ul = "x264"

Save the file as gstreamer1.0-plugins-ugly_%.bbappend and put it in <build-dir>/sources/meta-fsl-arm/recipes-multimedia/gstreamer/.

Now, just run a bitbake to get the packages installed on the desired image. and you will able to see videos in h264 form with your mx6ul and mx7d

 

 

 

 

Labels (2)
%3CLINGO-SUB%20id%3D%22lingo-sub-1174012%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDecoding%20h.264%20in%20SOC%C2%B4s%20without%20VPU%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1174012%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%3CP%3EThe%20i.MX6UL%20and%20i.MX7D%20do%20not%20have%20VPU%2C%20so%20we%20use%20GStreamer%20plugins%20to%20decode%20videos%20that%20can%20apply%20to%20these%20SoC%C2%B4s.%20The%20following%20steps%20are%20necessary%20to%20get%20H.264%20installed%20on%20MX6ULEVK%20and%20MX7DSABRESD%20boards%20with%20yocto%20image%20on%20it.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPackages%20and%20Licenses%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAdd%20in%20your%20%3CBUILD-DIR%3E%2Fconf%2Flocal.conf%20file%3A%3C%2FBUILD-DIR%3E%3C%2FP%3E%0A%3CP%3ECORE_IMAGE_EXTRA_INSTALL%20%2B%3D%20%22gstreamer1.0-plugins-ugly-meta%20packagegroup-fsl-gstreamer1.0-commercial%20gst-ffmpeg%22%3C%2FP%3E%0A%3CP%3ELICENSE_FLAGS_WHITELIST%20%2B%3D%20%22commercial%22%3C%2FP%3E%0A%3CP%3ECORE_IMAGE_EXTRA_INSTALL%20%2B%3D%20%22gstreamer1.0-plugins-ugly%22%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ERecipes%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EOpen%20your%20favorite%20text%20editor%20and%20copy%20the%20text%20below%20into%20a%20new%20text%20file%3A%3C%2FP%3E%0A%3CP%3EPACKAGECONFIG_mx7d%20%3D%20%22x264%22%3C%2FP%3E%0A%3CP%3EPACKAGECONFIG_mx6ul%20%3D%20%22x264%22%3C%2FP%3E%0A%3CP%3ESave%20the%20file%20as%20gstreamer1.0-plugins-ugly_%25.bbappend%20and%20put%20it%20in%20%3CBUILD-DIR%3E%2Fsources%2Fmeta-fsl-arm%2Frecipes-multimedia%2Fgstreamer%2F.%3C%2FBUILD-DIR%3E%3C%2FP%3E%0A%3CP%3ENow%2C%20just%20run%20a%20bitbake%20to%20get%20the%20packages%20installed%20on%20the%20desired%20image.%20and%20you%20will%20able%20to%20see%20videos%20in%20h264%20form%20with%20your%20mx6ul%20and%20mx7d%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1174012%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1174012%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX6UL%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX7Dual%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎10-27-2020 10:52 AM
Updated by: