Missing Audio CODEC

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

Missing Audio CODEC

Jump to solution
1,529 Views
PaulDeMetrotion
Senior Contributor I


I am trying to play an AVI file using gst-launch-0.1. The video works great but there is no audio. How do I build all of the provided CODECs with Yocto? I am not sure if I am getting all of the plug-ins. During the LTIB days, I copied the CODEC binaries straight to the kernel, but I cannot find the same content.

I am using Yocto to build a 3.14.28 version kernel for a custom device. I am using the fsl-image-gui recipe. I have also tired the fsl-image-multimedia-full recipe and got the same error message.

root@imx6dlc420:~# gst-launch playbin2 uri=file:///home/root/ad7.avi

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

Aiur: 4.0.3

Core: AVI_PARSER_03.05.17  build on Dec 22 2014 06:43:14

  mime: video/x-msvideo

  file: /usr/lib/imx-mm/parser/lib_avi_parser_arm11_elinux.so.3.1

Content Info:

        URI:

              file:///home/root/ad7.avi

        Idx File:

              /home/root/.aiur/.home.root.ad7.avi.aidx

        Seekable  : Yes

        Size(byte): 56542572

Movie Info:

        Seekable  : Yes

        Live      : No

        Duration  : 0:02:20.608435000

        ReadMode  : Track

        Track     : 2

Track 00 [video_000000] Enabled

        Duration: 0:02:14.566666000

        Language: und

        Mime:

              video/mpeg, mpegversion=(int)4, parsed=(boolean)true, width=(int)800, height=(in

              t)480, framerate=(fraction)30/1, codec_data=(buffer)000001b001000001b58913000001

              000000012000c48d8800f519043c1443000001b24c61766335362e31332e31303000

[INFO]  Product Info: i.MX6Q/D/S

vpudec versions :smileyhappy:

        plugin: 4.0.3

        wrapper: 1.0.58(VPUWRAPPER_ARM_LINUX Build on Mar 31 2016 16:44:08)

        vpulib: 5.4.28

        firmware: 3.1.1.46063

Track 01 [audio_000000] Enabled

        Duration: 0:02:20.608435000

        Language: und

        Mime:

              audio/x-ac3, channels=(int)2, rate=(int)44100, bitrate=(int)0, framed=(boolean)t

              rue

Missing element: AC-3 (ATSC A/52) decoder

WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/x-ac3, framed=(boolean)true, rate=(int)44100, channels=(int)2, alignment=(string)frame'.

Additional debug info:

/home/pauldemet/fsl-arm-yocto-bsp/build-c420/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/gst-plugins-base/0.10.36-r8/gst-plugins-base-0.mxc_v4l2_output v4l2_out.22: Bypass IC.

10.36/gst/playback/gsturidecodebin.c(874): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0

MFW_GST_V4LSINK_PLUGIN 4.0.3 build on Mar 31 2016 16:44:57.

[INFO]  bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0

[WARN]  VPU iram is less than needed, some parts don't use iram

set v4l rotate sucessfully

>>V4L_SINK: Actually buffer status:

        hardware buffer : 10

        software buffer : 0

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

full screen size:800x480

[V4L Update Display]: left=0, top=0, width=800, height=480

set v4l display crop sucessfully

New clock: GstSystemClock

0 Kudos
Reply
1 Solution
1,235 Views
saurabh206
Senior Contributor III

Hi

AC3 support is not available.

You need to signed licence agreement for the AC3 support.

Thanks

Saurabh

View solution in original post

0 Kudos
Reply
3 Replies
1,236 Views
saurabh206
Senior Contributor III

Hi

AC3 support is not available.

You need to signed licence agreement for the AC3 support.

Thanks

Saurabh

0 Kudos
Reply
1,235 Views
PaulDeMetrotion
Senior Contributor I

Thanks, I did find the following in a README:

Restricted Codecs

-----------------

Some codecs (Microsoft, AC3 and AACP) have recipes in this layer but binaries are not provided in

the Yocto Project fetch system.

These codecs have contractual restrictions that require separate distribution.

Any idea how I get this resolved?

0 Kudos
Reply
1,235 Views
igorpadykov
NXP Employee
NXP Employee

Hi Paul

ac3 codec is described in attached Release Notes Table 7. Controlled access packages :

"Contact marketing representative to get access to the following controlled packages."

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply