打印
[i.MX]

Yocto + Linux3.10.17 , gplay 播放视频时VPU出错

[复制链接]
5910|14
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
colorsky520|  楼主 | 2014-8-11 14:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
如题:

开发环境是 Yocto + imx6dlsabresd + Linux3.10.17
rootfs:  用的是 fsl-image-multimedia-full。

使用 gplay 播放 音频文件时,正常。

使用gplay播放视频文件时,无法播放,提示:  
[ERR]   fatal: VPU is busy in vpu_GetVersionInfo
Wait status change from 2 to 4
Wait status change from 2 to 4
Wait status change from 2 to 4



相关帖子

沙发
colorsky520|  楼主 | 2014-8-11 15:20 | 只看该作者
有没人啊!

使用特权

评论回复
板凳
l4ever| | 2014-8-11 15:44 | 只看该作者
楼主,按文档我都不能用repo init -u初始化仓库,总是提示fatal: error [Errno 101] Network is unreachable。
请问,你们是怎么解决的?谢谢了

使用特权

评论回复
地板
colorsky520|  楼主 | 2014-8-11 16:07 | 只看该作者
本帖最后由 colorsky520 于 2014-8-11 16:15 编辑
l4ever 发表于 2014-8-11 15:44
楼主,按文档我都不能用repo init -u初始化仓库,总是提示fatal: error [Errno 101] Network is unreachabl ...

换个地址就好了,文档上的那个地址已经无效了。
另外,也有可能是你网络问题,你可以尝试使用***,并直接使用google的域名解析服务器。

使用特权

评论回复
5
FSL_TICS_A| | 2014-8-11 16:15 | 只看该作者
colorsky520 发表于 2014-8-11 15:20
有没人啊!

楼主,你好!
今天i.MX工程师请假,明天上班后我会将你的问题转告给他的。

使用特权

评论回复
6
colorsky520|  楼主 | 2014-8-11 16:16 | 只看该作者
FSL_TICS_A 发表于 2014-8-11 16:15
楼主,你好!
今天i.MX工程师请假,明天上班后我会将你的问题转告给他的。 ...

谢谢,谢谢!!  这个问题看了快1个星期了,没有进展。

使用特权

评论回复
7
FSL_TICS_A| | 2014-8-11 16:19 | 只看该作者
colorsky520 发表于 2014-8-11 16:16
谢谢,谢谢!!  这个问题看了快1个星期了,没有进展。

不客气

使用特权

评论回复
8
colorsky520|  楼主 | 2014-8-12 11:43 | 只看该作者
FSL_TICS_A 发表于 2014-8-11 16:19
不客气

使用特权

评论回复
9
FSL_TICS_Rita| | 2014-8-12 16:13 | 只看该作者
楼主你好,请问你是如何使用gplay播放的?播放视频是什么格式的呢?

使用特权

评论回复
10
colorsky520|  楼主 | 2014-8-12 16:49 | 只看该作者
FSL_TICS_Rita 发表于 2014-8-12 16:13
楼主你好,请问你是如何使用gplay播放的?播放视频是什么格式的呢?

mp4,aac,mov,flv 都有试过,一样的现象。

下面是播放mp4的信息:

root@imx6dlsabresd:~# gplay /media/mmcblk0p3/other/1.mp4
playbin2 is employed!
fsl_player_init(): Successfully initialize!
fsl_player_set_media_location(): filename=/media/mmcblk0p3/other/1.mp4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Aiur: 3.0.11
Core: MPEG4PARSER_06.07.04  build on Dec  5 2013 11:41:38
  mime: video/quicktime; audio/x-m4a; application/x-3gp
  file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm11_elinux.so.3.2
Content Info:
        URI:
              file:///media/mmcblk0p3/other/1.mp4
        Idx File:
              /home/root/.aiur/.media.mmcblk0p3.other.1.mp4.aidx
        Seekable  : Yes
        Size(byte): 62191597

Movie Info:
        Seekable  : Yes
        Live      : No
        Duration  : 0:04:45.860000000
        ReadMode  : Track
        Track     : 2

Track 00 [video_000mxc_vpu 2040000.vpu: Not power off before vpu open!
000] Enabled
        Duratiomxc_vpu 2040000.vpu: size=0x4000, page no.=0x2040
n: 0:04:45.520000000
        Language: und
        Mimemxc_vpu 2040000.vpu: [ALLOC] mem alloc cpu_addr = 0x8c200000
:
              video/mpeg, mxc_vpu 2040000.vpu: start=0x73914000, pgoff=0x1c200, size=0x7c000
mpegversion=(int)4, parsed=(boolean)true, width=(int)640, height=(in
              t)360, framerate=(fraction)25/1, codec_data=(buffer)000001b001000001b58913000001
              000000012000c48d8800cd14042d1443000001b24c61766335332e382e30
[ERR]   fatal: VPU is busy in vpu_GetVersionInfo
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]
poll_for_state_change(): Element playbin0 time out in state transferring from READY to PLAYING
try to play failed

使用特权

评论回复
11
FSL_TICS_Rita| | 2014-8-13 15:23 | 只看该作者
楼主你好,请问你是用的官网的Demo image吗?

使用特权

评论回复
12
colorsky520|  楼主 | 2014-8-14 09:58 | 只看该作者
FSL_TICS_Rita 发表于 2014-8-13 15:23
楼主你好,请问你是用的官网的Demo image吗?

不是, 是自己编译的

使用特权

评论回复
13
FSL_TICS_Rita| | 2014-8-15 17:49 | 只看该作者
colorsky520 发表于 2014-8-14 09:58
不是, 是自己编译的

楼主你好,建议你编译Multimedia Codec,然后再试。

使用特权

评论回复
14
colorsky520|  楼主 | 2014-8-18 16:58 | 只看该作者
FSL_TICS_Rita 发表于 2014-8-15 17:49
楼主你好,建议你编译Multimedia Codec,然后再试。

是按下面这样操作吗?

$ bitbake -c cleanall -f gst-fsl-plugin
$ bitbake gst-fsl-plugin
$ bitbake -c rootfs fsl-image-multimedia-full   #重新生成rootfs

启动提示:

udevd[163]: starting version 182
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_ioctl_0
mxc_v4l2_capture: Unknown symbol v4l2_int_ioctl_0 (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_devdata
mxc_v4l2_capture: Unknown symbol video_devdata (err -22)
mxc_v4l2_capture: disagrees about version of symbol device_create_file
mxc_v4l2_capture: Unknown symbol device_create_file (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_device_unregister
mxc_v4l2_capture: Unknown symbol v4l2_int_device_unregister (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_ioctl_1
mxc_v4l2_capture: Unknown symbol v4l2_int_ioctl_1 (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_unregister_device
mxc_v4l2_capture: Unknown symbol video_unregister_device (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_device_register
mxc_v4l2_capture: Unknown symbol v4l2_int_device_register (err -22)
mxc_v4l2_capture: disagrees about version of symbol dev_err
mxc_v4l2_capture: Unknown symbol dev_err (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_device_alloc
mxc_v4l2_capture: Unknown symbol video_device_alloc (err -22)
mxc_v4l2_capture: disagrees about version of symbol __video_register_device
mxc_v4l2_capture: Unknown symbol __video_register_device (err -22)
Starting Bootlog daemon: mxc_v4l2_capture: disagrees about version of symbol video_usercopy
mxc_v4l2_capture: Unknown symbol video_usercopy (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_device_release
mxc_v4l2_capture: Unknown symbol video_device_release (err -22)
mxc_v4l2_capture: disagrees about version of symbol device_remove_file
mxc_v4l2_capture: Unknown symbol device_remove_file (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_ioctl_0
mxc_v4l2_capture: Unknown symbol v4l2_int_ioctl_0 (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_devdata
mxc_v4l2_capture: Unknown symbol video_devdata (err -22)
mxc_v4l2_capture: disagrees about version of symbol device_create_file
mxc_v4l2_capture: Unknown symbol device_create_file (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_device_unregister
mxc_v4l2_capture: Unknown symbol v4l2_int_device_unregister (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_ioctl_1
mxc_v4l2_capture: Unknown symbol v4l2_int_ioctl_1 (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_unregister_device
mxc_v4l2_capture: Unknown symbol video_unregister_device (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_device_register
mxc_v4l2_capture: Unknown symbol v4l2_int_device_register (err -22)
mxc_v4l2_capture: disagrees about version of symbol dev_err
mxc_v4l2_capture: Unknown symbol dev_err (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_device_alloc
mxc_v4l2_capture: Unknown symbol video_device_alloc (err -22)
mxc_v4l2_capture: disagrees about version of symbol __video_register_device
mxc_v4l2_capture: Unknown symbol __video_register_device (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_usercopy
mxc_v4l2_capture: Unknown symbol video_usercopy (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_device_release
mxc_v4l2_capture: Unknown symbol video_device_release (err -22)
mxc_v4l2_capture: disagrees about version of symbol device_remove_file
mxc_v4l2_capture: Unknown symbol device_remove_file (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_ioctl_0
mxc_v4l2_capture: Unknown symbol v4l2_int_ioctl_0 (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_devdata
mxc_v4l2_capture: Unknown symbol video_devdata (err -22)
mxc_v4l2_capture: disagrees about version of symbol device_create_file
mxc_v4l2_capture: Unknown symbol device_create_file (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_device_unregister
mxc_v4l2_capture: Unknown symbol v4l2_int_device_unregister (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_ioctl_1
mxc_v4l2_capture: Unknown symbol v4l2_int_ioctl_1 (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_unregister_device
mxc_v4l2_capture: Unknown symbol video_unregister_device (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_device_register
mxc_v4l2_capture: Unknown symbol v4l2_int_device_register (err -22)
mxc_v4l2_capture: disagrees about version of symbol dev_err
mxc_v4l2_capture: Unknown symbol dev_err (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_device_alloc
mxc_v4l2_capture: Unknown symbol video_device_alloc (err -22)
mxc_v4l2_capture: disagrees about version of symbol __video_register_device
mxc_v4l2_capture: Unknown symbol __video_register_device (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_usercopy
mxc_v4l2_capture: Unknown symbol video_usercopy (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_device_release
mxc_v4l2_capture: Unknown symbol video_device_release (err -22)
mxc_v4l2_capture: disagrees about version of symbol device_remove_file
mxc_v4l2_capture: Unknown symbol device_remove_file (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_ioctl_0
mxc_v4l2_capture: Unknown symbol v4l2_int_ioctl_0 (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_devdata
bootlogd: cannot allocate pseudo mxc_v4l2_capture: Unknown symbol video_devdata (err -22)
tty: No such file or directorymxc_v4l2_capture: disagrees about version of symbol device_create_file

mxc_v4l2_capture: Unknown symbol device_create_file (err -22)
bootlogd.
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_device_unregister
mxc_v4l2_capture: Unknown symbol v4l2_int_device_unregister (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_ioctl_1
mxc_v4l2_capture: Unknown symbol v4l2_int_ioctl_1 (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_unregister_device
mxc_v4l2_capture: Unknown symbol video_unregister_device (err -22)
mxc_v4l2_capture: disagrees about version of symbol v4l2_int_device_register
mxc_v4l2_capture: Unknown symbol v4l2_int_device_register (err -22)
mxc_v4l2_capture: disagrees about version of symbol dev_err
mxc_v4l2_capture: Unknown symbol dev_err (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_device_alloc
mxc_v4l2_capture: Unknown symbol video_device_alloc (err -22)
mxc_v4l2_capture: disagrees about version of symbol __video_register_device
mxc_v4l2_capture: Unknown symbol __video_register_device (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_usercopy
mxc_v4l2_capture: Unknown symbol video_usercopy (err -22)
mxc_v4l2_capture: disagrees about version of symbol video_device_release
mxc_v4l2_capture: Unknown symbol video_device_release (err -22)
mxc_v4l2_capture: disagrees about version of symbol device_remove_file
mxc_v4l2_capture: Unknown symbol device_remove_file (err -22)


播放mp4文件现象一样:

root@imx6dlsabresd:~# gplay /media/sda/other/1.mp4
MAX resolution 800x480
playbin2 is employed!
fsl_player_init(): Successfully initialize!
fsl_player_set_media_location(): filename=/media/sda/other/1.mp4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Aiur: 3.0.11
Core: MPEG4PARSER_06.07.04  build on Dec  5 2013 11:41:38
  mime: video/quicktime; audio/x-m4a; application/x-3gp
  file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm11_elinux.so.3.2
Content Info:
        URI:
              file:///media/sda/other/1.mp4
        Idx File:
              /home/root/.aiur/.media.sda.other.1.mp4.aidx
        Seekable  : Yes
        Size(byte): 62191597

Movie Info:
        Seekable  : Yes
        Live      : No
        Duration  : 0:04:45.86000mxc_vpu 2040000.vpu: Not power off before vpu open!
0000
        ReadMode  : Tramxc_vpu 2040000.vpu: size=0x4000, page no.=0x2040
ck
        Track     : 2

Track 00 [video_00000mxc_vpu 2040000.vpu: [ALLOC] mem alloc cpu_addr = 0x8c280000
0] Enabled
        Duration:mxc_vpu 2040000.vpu: start=0x7392c000, pgoff=0x1c280, size=0x7c000
0:04:45.520000000
        Language: und
        Mime:
              video/mpeg, mpegversion=(int)4, parsed=(boolean)true, width=(int)640, height=(in
              t)360, framerate=(fraction)25/1, codec_data=(buffer)000001b001000001b58913000001
              000000012000c48d8800cd14042d1443000001b24c61766335332e382e30
[ERR]   fatal: VPU is busy in vpu_GetVersionInfo
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4

使用特权

评论回复
15
lianyq1986| | 2015-3-23 16:32 | 只看该作者
楼主你好,问题解决了么?

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

9

主题

44

帖子

0

粉丝