Hi,
I have an i.mx6 solo wandboard and I am testing the video decode function.
Kernel is 3.0.35 from wandboard and rootfs is rootfs.tar.bz2 from freescale L3.0.35_3.0.0_121207_images_MX6.tar.gz.
I failed for following test and seems error in opening vpu firmware binary.
But actually I have firmware file:
root@freescale /$ ls -l /lib/firmware/vpu/
-rw-r--r-- 1 root root 65552 Dec 7 2012 vpu_fw_imx27_TO1.bin
-rw-r--r-- 1 root root 65552 Dec 7 2012 vpu_fw_imx27_TO2.bin
-rw-r--r-- 1 root root 147472 Dec 7 2012 vpu_fw_imx51.bin
-rw-r--r-- 1 root root 147472 Dec 7 2012 vpu_fw_imx53.bin
-rw-r--r-- 1 root root 253968 Dec 7 2012 vpu_fw_imx6d.bin
-rw-r--r-- 1 root root 253968 Dec 7 2012 vpu_fw_imx6q.bin
root@freescale /$
root@freescale /lib/firmware$ gst-launch playbin2 uri=file:///tmp/video/snsd.avi
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Aiur: 3.0.4
Core: AVI_PARSER_03.05.04 build on Nov 2 2012 13:28:54
mime: video/x-msvideo
file: /usr/lib/imx-mm/parser/lib_avi_parser_arm11_elinux.so.3.1
Content Info:
URI:
file:///tmp/video/snsd.avi
Idx File:
/root/.aiur/.tmp.video.snsd.avi.aidx
Seekable : Yes
Size(byte): 197361346
Movie Info:
Seekable : Yes
Live : No
Duration : 0:04:21.728000000
ReadMode : File
Track : 2
Track 00 [video_000000] Enabled
Duration: 0:04:21.594928000
Language: und
Mime:
video/x-h264, parsed=(boolean)true, width=(int)1920, height=(int)1080, framerate
=(fraction)2997/125
[ERR] Error in opening firmware binary file
[ERR] Please put bin file to /lib/firmware/vpu folder or export VPU_FW_PATH env
H264D_ARM11_02.06.01 build on Jul 12 2011 13:38:27.
MFW_GST_H264_DECODER_PLUGIN 3.0.4 build on Dec 7 2012 22:40:01.
Track 01 [audio_000000] Enabled
Duration: 0:04:21.728000000
Language: und
Mime:
audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)32000, bitrate=(int)0
, framed=(boolean)true, codec_data=(buffer)129056e50000
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/MFW_GST_H264DEC_INFO_T:mfw_gst_h264dec_info_t0: fatal error
Additional debug info:
non recoverable error while decoding the H.264 Data
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...