Am attempting to run an avi file on a custom device which uses the i.MX6Q. Following is the terminal output. I received the following error:
get GST_MESSAGE_ELEMENT missing-plugin, type=(string)decoder, detail=(GstCaps)audio/x-ac3, bitrate=(int)448000, framed=(boolean)true, name=(string)"AC-3\ \(ATSC\ A/52\)\ decoder";
Where do I find and how do I install this missing plug-in?
root@linaro-ubuntu-desktop:~# gst-launch playbin2 uri=file:///clips/big_buck_bunny_720p_surround.avi
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Aiur: 3.0.5
Core: AVI_PARSER_03.05.05 build on Dec 10 2012 16:02:24
mime: video/x-msvideo
file: /usr/lib/imx-mm/parser/lib_avi_parser_arm11_elinux.so.3.1
Content Info:
URI:
file:///clips/big_buck_bunny_720p_surround.avi
Idx File:
/root/.aiur/.clips.big_buck_bunny_720p_surround.avi.aidx
Seekable : Yes
Size(byte): 332243668
Movie Info:
Seekable : Yes
Live : No
Duration : 0:09:56.480000000
ReadMode : File
Track : 2
Track 00 [video_000000] Enabled
Duration: 0:09:56.457379000
Language: und
Mime:
video/mpeg, mpegversion=(int)4, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)5000000/208333
[INFO] Product Info: i.MX6Q/D/S
vpudec versions :smileyhappy:
plugin: 3.0.5
wrapper: 1.0.28(VPUWRAPPER_ARM_LINUX Build on Dec 14 2012 12:23:57)
vpulib: 5.4.10
firmware: 2.1.8.34588
Track 01 [audio_000000] Enabled
Duration: 0:09:56.480000000
Language: und
Mime:
audio/x-ac3, channels=(int)5, rate=(int)48000, bitrate=(int)448000, framed=(boolean)true
WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/x-ac3, channels=(int)5, rate=(int)48000, bitrate=(int)448000, framed=(boolean)true'.
Additional debug info:
gsturidecodebin.c(867): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
MFW_GST_V4LSINK_PLUGIN 3.0.5 build on Dec 14 2012 13:58:00.
[INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0
>>V4L_SINK: Actually buffer status:
hardware buffer : 10
software buffer : 0
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
full screen size:1280x720
[V4L Update Display]: left=0, top=0, width=1280, height=720
New clock: GstSystemClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 18288056047 ns.
Setting pipeline to PAUSED ...
Running time 0:00:18.290392354 render fps 24.002
Setting pipeline to READY ...
Total rendered:439
Setting pipeline to NULL ...
[--->FINALIZE v4l_sink
[--->FINALIZE aiurdemux
Freeing pipeline ...
root@linaro-ubuntu-desktop:~# gplay /clips/big_buck_bunny_720p_surround.avi
playbin2 is employed!
fsl_player_init(): Successfully initialize!
fsl_player_set_media_location(): filename=/clips/big_buck_bunny_720p_surround.avi
[Stopped ][Vol=01][00:00:00/00:00:00][fps:0]Aiur: 3.0.5
Core: AVI_PARSER_03.05.05 build on Dec 10 2012 16:02:24
mime: video/x-msvideo
file: /usr/lib/imx-mm/parser/lib_avi_parser_arm11_elinux.so.3.1
Content Info:
URI:
file:///clips/big_buck_bunny_720p_surround.avi
Idx File:
/root/.aiur/.clips.big_buck_bunny_720p_surround.avi.aidx
Seekable : Yes
Size(byte): 332243668
Movie Info:
Seekable : Yes
Live : No
Duration : 0:09:56.480000000
ReadMode : File
Track : 2
Track 00 [video_000000] Enabled
Duration: 0:09:56.457379000
Language: und
Mime:
video/mpeg, mpegversion=(int)4, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)5000000/208333
[INFO] Product Info: i.MX6Q/D/S
vpudec versions :smileyhappy:
plugin: 3.0.5
wrapper: 1.0.28(VPUWRAPPER_ARM_LINUX Build on Dec 14 2012 12:23:57)
vpulib: 5.4.10
firmware: 2.1.8.34588
Track 01 [audio_000000] Enabled
Duration: 0:09:56.480000000
Language: und
Mime:
audio/x-ac3, channels=(int)5, rate=(int)48000, bitrate=(int)448000, framed=(boolean)true
get GST_MESSAGE_ELEMENT missing-plugin, type=(string)decoder, detail=(GstCaps)audio/x-ac3, bitrate=(int)448000, framed=(boolean)true, name=(string)"AC-3\ \(ATSC\ A/52\)\ decoder";
FOUND GST_MESSAGE_TAG!
codec: AC3
language code: und
bitrate: 448000
FOUND GST_MESSAGE_TAG!
container format: AVI
encoder: AVI-Mux GUI 1.17.7, Aug 8 2006 20:59:17
FOUND GST_MESSAGE_TAG!
codec: MPEG4
language code: und
MFW_GST_V4LSINK_PLUGIN 3.0.5 build on Dec 14 2012 13:58:00.
[INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0
>>V4L_SINK: Actually buffer status:
hardware buffer : 10
software buffer : 0
full screen size:1280x720
[V4L Update Display]: left=0, top=0, width=1280, height=720
fsl_player_play()
FSL_PLAYER_01.00_LINUX build on Dec 14 2012 14:02:35
[h]display the operation Help
[p]Play
[s]Stop
[e]Seek
[a]Pause when playing, play when paused
[v]Volume
[m]Switch to mute or not
[>]Play next file
[<]Play previous file
[r]Switch to repeated mode or not
[f]Set full screen or not
[z]resize the width and height
[t]Rotate
[c]Setting play rate
[i]Display the metadata
[x]eXit
get GST_MESSAGE_ELEMENT prepare-xwindow-id;
get GST_MESSAGE_ELEMENT playbin2-stream-changed, uri=(string)file:///clips/big_buck_bunny_720p_surround.avi;
[Playing ][Vol=01][00:09:56/00:09:56][fps:19]EOS Found!
FSL_PLAYER_UI_MSG_EOS
Running time 0:09:56.429497823 render fps 19.632
Total rendered:11709
fsl_player_stop()
fsl_player_stop()
player_exit(): No more multimedia files, exit.
[--->FINALIZE v4l_sink
[--->FINALIZE aiurdemux
[Stopped ][Vol=01][00:00:00/00:00:00][fps:19]g_main_loop_thread_fun() quit!
fsl_player_deinit
解決済! 解決策の投稿を見る。
Hi Paul, Freescale beepdec element does not support that audio cap. There is an element which handles the x-ac3 decoding on the gst-plugins-bad, so install it and try the pipeline again.
Leo
More gstreamer info
root@linaro-ubuntu-desktop:~# gst-inspect | grep ac3
beep.imx: ac3: ac3
beep.imx: 3ca: ac3
beep.imx: beepdec.ac3: AC3 decoder
rtp: rtpac3pay: RTP AC3 audio payloader
rtp: rtpac3depay: RTP AC3 depayloader
audioparsers: ac3parse: AC3 audio stream parser
typefindfunctions: audio/x-ac3: ac3, eac3
ffmpeg: ffenc_ac3: FFmpeg ATSC A/52A (AC-3) encoder
ffmpeg: ffenc_ac3_fixed: FFmpeg ATSC A/52A (AC-3) encoder
ffmpeg: ffenc_eac3: FFmpeg ATSC A/52 E-AC-3 encoder
ffmpeg: ffdec_ac3: FFmpeg ATSC A/52A (AC-3) decoder
ffmpeg: ffdec_atrac3: FFmpeg Atrac 3 (Adaptive TRansform Acoustic Coding 3) decoder
ffmpeg: ffdec_eac3: FFmpeg ATSC A/52B (AC-3, E-AC-3) decoder
Hi Paul, Freescale beepdec element does not support that audio cap. There is an element which handles the x-ac3 decoding on the gst-plugins-bad, so install it and try the pipeline again.
Leo