本帖最后由 深渊 于 2015-8-12 19:46 编辑
版主,你好,我这里出现一个问题,更新文件系统后,gplay播放视频会卡在视屏的第一个画面,按 p 也没用,输入x退出指令,无法退出gplay,会被卡住,播放模式,ctrl+c也不能退出gplay播放模式,只有重启开发板,输入其他指令正常,而且发现如果用mfgtool烧写文件系统和内核,会出现文件系统 push error 的错误,不太明白怎么回事?文件系统出错了吗?这里我有点想法,求版主解惑1.音频驱动的问题,配的是 wm8994实际上硬件是wm8962 ,但是驱动出问题应该不会导致烧写文件系统出错吧?最多在播放的时候没声音吧。。
2.移植gstreamer出的问题,我是按照官方的文档i.MX_6_Series_Ubuntu_Multimedia_User's_Guide.pdf 做的,选择了那七个包libfslcodec, libfslparser, libfslvpuwrap, gst-fsl-plugins, gst-plugins-gl, and fslalsa-plugins,gstreamer-plugins-good 编译完成直接挂载内核,rootfs 没有执行 2.2 Installing/Building Plug-Ins on Ubuntu,这样是正确的吗?
求版主解惑!!!!
下面是开发板的执行gplay test.avi的log
root@freescale /$ gplay test.avi
playbin2 is employed!
fsl_player_init(): Successfully initialize!
fsl_player_set_media_location(): filename=test.avi
[Stopped ][Vol=01][00:00:00/00:00:00][fps:0]Aiur: 3.0.7
Core: AVI_PARSER_03.05.07 build on Mar 27 2013 10:06:13
mime: video/x-msvideo
file: /usr/lib/imx-mm/parser/lib_avi_parser_arm11_elinux.so.3.1
Content Info:
URI:
file:////test.avi
Idx File:
/root/.aiur/..test.avi.aidx
Seekable : Yes
Size(byte): 13905930
Movie Info:
Seekable : Yes
Live : No
Duration : 0:02:41.133333000
ReadMode : File
Track : 2
Track 00 [video_000000] Enabled
Duration: 0:02:41.133333000
Language: und
Mime:
video/x-xvid, width=(int)1608, height=(int)904, framerate=(fraction)15/1
[INFO] Product Info: i.MX6Q/D/S
vpudec versions :)
plugin: 3.0.7
wrapper: 1.0.35(VPUWRAPPER_ARM_LINUX Build on Aug 7 2015 02:21:55)
vpulib: 5.4.16
firmware: 2.3.10.40778
Track 01 [audio_000000] Enabled
Duration: 0:02:41.123250000
Language: und
Mime:
audio/mpeg, mpegversion=(int)1, framed=(boolean)true, channels=(int)2, rate=(int
)44100, bitrate=(int)128000
[Stopped ][Vol=01][00:00:00/00:00:00][fps:0]FOUND GST_MESSAGE_TAG!
codec: MP3
language code: und
bitrate: 128000
FOUND GST_MESSAGE_TAG!
container format: AVI
FOUND GST_MESSAGE_TAG!
codec: Xvid
language code: und
MFW_GST_V4LSINK_PLUGIN 3.0.7 build on Aug 7 2015 02:23:34.
Wait status change from 2 to 4
Wait status change from 2 to 4
Wait status change from 2 to 4
wm8962 0-001a: DC servo timed out
Wait status change from 2 to 4
[Stopped ][Vol=01][00:00:00/00:00:00][fps:0][INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0
FOUND GST_MESSAGE_TAG!
audio codec: MPEG 1 Audio, Layer 3 (MP3)
nominal bitrate: 128000
FOUND GST_MESSAGE_TAG!
has crc: FALSE
channel mode: joint-stereo
Beep: 3.0.7
Core: MP3 decoder Wrapper build on Mar 15 2013 09:57:40
mime: audio/mpeg, mpegversion = (int)1
file: /usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm12_elinux.so
CODEC: BLN_MAD-MMCODECS_MP3D_ARM_02.13.00_CORTEX-A8 build on Dec 5 2012 09:45:19.
FOUND GST_MESSAGE_TAG!
minimum bitrate: 128012
maximum bitrate: 128012
>>V4L_SINK: Actually buffer status:
hardware buffer : 10
software buffer : 0
FOUND GST_MESSAGE_TAG!
number of channels: 2
bitrate: 128000
sampling frequency (Hz): 44100
audio codec: MPEG-1 Layer 3
FOUND GST_MESSAGE_TAG!
minimum bitrate: 127706
get GST_MESSAGE_ELEMENT playbin2-stream-changed, uri=(string)file:////test.avi;
full screen size:1024x768
[V4L Update Display]: left=0, top=0, width=1024, height=768
Wait status change from 2 to 4
fsl_player_play()
FSL_PLAYER_01.00_LINUX build on Aug 7 2015 02:24:15
[h]display the operation Help
[p]Play
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
Display the metadata
[x]eXit
[Playing ][Vol=01][00:00:00/00:02:41][fps:0]p //按下p播放下面的播放的时间进度依然为00:00:00
fsl_player_set_media_location(): filename=test.avi
fsl_player_play()
[Playing ][Vol=01][00:00:00/00:02:41][fps:0]s //按下s 也停止了,卡住了
Aborted by signal Interrupt... //ctrl+c 就卡死了,退不出播放器的操作界面 |