Hi George,
I am trying to add the gstreamer1.0-plugins-ugly to my AGL image by adding the following lines in local.conf file.
IMAGE_INSTALL_append = " gstreamer1.0-plugins-good gstreamer1.0-plugins-base gstreamer1.0-plugins-ugly"
LICENSE_FLAGS_WHITELIST_append = " commercial_gstreamer1.0-plugins-ugly "
LICENSE_FLAGS_WHITELIST_append = " commercial_mpg123 "
LICENSE_FLAGS_WHITELIST_append = " commercial_gstreamer1.0-plugins-ugly "
LICENSE_FLAGS_WHITELIST_append = " commercial_mpg123 "
With the above changes, compilation failed with the below errors:
Parsing recipes: 100% |###########################################################################################################| Time: 0:02:47
Parsing of 2372 .bb files complete (0 cached, 2372 parsed). 3263 targets, 288 skipped, 0 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_agl-distro '^/home/mbaikana/workspace_agl/meta-agl/meta-agl-distro/'
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'mpeg2dec' (but /home/mbaikana/workspace_agl/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.12.2.bb DEPENDS on or otherwise requires it)
mpeg2dec was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST
NOTE: Runtime target 'gstreamer1.0-plugins-ugly' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gstreamer1.0-plugins-ugly', 'mpeg2dec']
ERROR: Required build target 'agl-demo-platform' has no buildable providers.
Missing or unbuildable dependency chain was: ['agl-demo-platform', 'gstreamer1.0-plugins-ugly', 'mpeg2dec']
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Parsing of 2372 .bb files complete (0 cached, 2372 parsed). 3263 targets, 288 skipped, 0 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_agl-distro '^/home/mbaikana/workspace_agl/meta-agl/meta-agl-distro/'
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'mpeg2dec' (but /home/mbaikana/workspace_agl/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.12.2.bb DEPENDS on or otherwise requires it)
mpeg2dec was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST
NOTE: Runtime target 'gstreamer1.0-plugins-ugly' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gstreamer1.0-plugins-ugly', 'mpeg2dec']
ERROR: Required build target 'agl-demo-platform' has no buildable providers.
Missing or unbuildable dependency chain was: ['agl-demo-platform', 'gstreamer1.0-plugins-ugly', 'mpeg2dec']
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
I am looking at it.
Regards,
-Madhu.
On Fri, Nov 30, 2018 at 8:48 PM George Kiagiadakis <george.kiagiadakis@xxxxxxxxxxxxx> wrote:
Hi Madhu,
There is no restriction on the MP3 format, however, the MP3 GStreamer plugins
have been classified as unrestricted in version 1.14 of GStreamer (by moving
them to the -plugins-good module of GStreamer), while the version of yocto used
by AGL still ships GStreamer 1.12 and doesn't build by default the -plugins-ugly
module, where the MP3 plugins used to be.
You can probably enable them by including the gstreamer1.0-plugins-ugly recipe
manually in your image.
Regards,
George
On Fri, 2018-11-23 at 18:10 +0530, Madhu B wrote:
> When I tried to play an MP3 file manually using gst-play-1.0, I found that
> there is no MP3 decoder(mad) on my raspberry pi.
> Warning message :No decoder available for type 'audio/mpeg,
>
> Regards,
> -Madhu.
>
> On Fri, Nov 23, 2018 at 5:36 PM Madhu B <madhu1313b@xxxxxxxxx> wrote:
> > Hi all,
> > I've tried to play the audio using USB headset, by modifying the
> > default name of USB sound card to the original one at my end. Now Media
> > player able to play the *.wav files through USB headset, but it's not
> > working with MP3 format files.
> >
> > Is there any restriction on the MP3 format? As per my understanding, there
> > is no such restriction on MP3 format.
> >
> > Regards,
> > -Madhu.
>
> _______________________________________________
> automotive-discussions mailing list
> automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
> https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
_______________________________________________ automotive-discussions mailing list automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions