导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    A133 tplayerdemo 播放视频出错。。。

    其它全志芯片讨论区
    3
    7
    3124
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • M
      memory LV 7 最后由 编辑

      DEBUG  : awplayer <CdxPluginLoadList:221>: have config 0 entry
      DEBUG  : awplayer <CdxPluginLoadList:222>: start to open plugin lib
      DEBUG  : awplayer <AwStreamInit:107>: aw stream init...
      DEBUG  : awplayer <AwStreamInit:150>: stream list size:8
      INFO   : awplayer <AwParserInit:441>: aw parser init...
      DEBUG  : awplayer <AwParserInit:560>: aw parser size:17
      
      ******************************************************************************************
      * This program implements a simple player, you can type commands to control the player.
      * To show what commands supported, type 'help'.
      ******************************************************************************************
      argc = 2,argv[0] = tplayerdemo,argv[1] = /mnt/UDISK/bhsj.mp4
      may be is one file:cut down suffix is:.mp4
      find the matched type:.mp4
      
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : tina3.5
      branch: tina-dev
      date  : Mon Jul 15 19:04:59 2019 +0800
      Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
      -------------------------------------------------------------------------------
      DEBUG : tplayer <TPlayerCreate:198>: TPlayerCreate
      DEBUG  : awplayer <XPlayerCreate:236>: XPlayerCreate.
      DEBUG  : awplayer <LogVersionInfo:34>:
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CedarX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : CedarX-2.8.0
      branch: master
      commit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8
      date  : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800)
      author:
      ----------------------------------------------------------------------
      
      DEBUG : tsoundcontrol <TSoundDeviceCreate:147>: TinaSoundDeviceInit()
      DEBUG : tsoundcontrol <openSoundDevice:17>: openSoundDevice() in default style
      ALSA lib pcm_direct.c:1824:(_snd_pcm_direct_get_slave_ipc_offset) Invalid value for card
      ERROR : tsoundcontrol <openSoundDevice:24>: open audio device failed:No such file or directory, errno = 2
      DEBUG : tsoundcontrol <TSoundDeviceCreate:167>: open sound device fail
      ERROR : tplayer <TPlayerCreate:230>: sound device create fail,mPrivateData->mSoundCtrl is null
      WARNING: awplayer <XPlayerDestroy:341>: XPlayerDestroy
      WARNING: awplayer <XPlayerReset:991>: reset...
      DEBUG  : awplayer <PlayerStop:951>: ****** PlayerStop
      ERROR  : awplayer <PlayerStop:956>: invalid stop operation, player already in stopped status.
      can not create tplayer, quit.
      root@TinaLinux:/# 
      
      D 1 条回复 最后回复 回复 引用 分享 0
      • D
        dream LV 6 @memory 最后由 编辑

        @memory 打印信息提示,打开声卡设备失败,可以往这个方向去查一下。

        whycan M 3 条回复 最后回复 回复 引用 分享 0
        • M
          memory LV 7 最后由 编辑

          添加文件: ~/.asoundrc:

          pcm.!default {
                  type hw
                  card 0
          }
          
          ctl.!default {
                  type hw
                  card 0
          }
          

          搞定了。

          1 条回复 最后回复 回复 引用 分享 0
          • Moved from MR Series by  whycan whycan 
          • whycan
            whycan晕哥 LV 9 @dream 最后由 whycan 编辑


            1 条回复 最后回复 回复 引用 分享 0
            • M
              memory LV 7 @dream 最后由 编辑

              @dream
              谢谢, 可以了。

              1 条回复 最后回复 回复 引用 分享 0
              • M
                memory LV 7 @dream 最后由 编辑

                @dream

                请教tplayerdemo 怎么按视频长宽比例显示,默认是全屏显示。

                D 1 条回复 最后回复 回复 引用 分享 0
                • D
                  dream LV 6 @memory 最后由 编辑

                  @memory 抱歉,我没用过 tplayerdemo 来播放视频,或许可以通过查阅这部分代码或配置文件可以找到解决方法。

                  1 条回复 最后回复 回复 引用 分享 0
                  • 1 / 1
                  • First post
                    Last post

                  Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                  行为准则 | 用户协议 | 隐私权政策