导航

    全志在线开发者论坛

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

    t113单独aplay可以播放语音文件但是mplayer没声音报错

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

      # mplayer -zoom -x 320 -y 240 ruguomeiyou.FLV -fs -ao alsa -framedrop
      MPlayer 1.5-7.2.1 (C) 2000-2022 MPlayer Team
      
      Playing ruguomeiyou.FLV.
      libavformat version 59.17.102 (internal)
      libavformat file format detected.
      [lavf] stream 0: video (h264), -vid 0
      [lavf] stream 1: audio (aac), -aid 0
      VIDEO:  [H264]  1280x720  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
      ==========================================================================
      Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
      libavcodec version 59.21.100 (internal)
      Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
      ==========================================================================
      Load subtitles in ./
      ==========================================================================
      Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
      AUDIO: 44100 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->352800)
      Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
      ==========================================================================
      [AO_ALSA] alsa-lib: pcm_hw.c:1895:(_snd_pcm_hw_open) Unknown field slave
      [AO_ALSA] Playback open error: Invalid argument
      Failed to initialize audio driver 'alsa'
      Could not open/initialize audio device -> no sound.
      Audio: no sound
      Starting playback...
      Could not find matching colorspace - retrying with -vf scale...
      Opening video filter: [scale]
      [swscaler @ 0xf2d958]bicubic scaler, from yuv420p to bgra using C
      VO: [fbdev] 320x240 => 320x240 BGRA  [fs] [zoom]
      V:  45.5   0/  0 178% 150%  0.0% 0 0
      
      
      MPlayer interrupted by signal 2 in module: flip_page
      V:  45.5   0/  0 178% 150%  0.0% 0 0
      
      Exiting... (Quit)
      #
      #
      #
      # mplayer help
      MPlayer 1.5-7.2.1 (C) 2000-2022 MPlayer Team
      
      Playing help.
      File not found: 'help'
      Failed to open help.
      
      1 条回复 最后回复 回复 引用 分享 0
      • Y
        giao LV 6 最后由 编辑

        我也遇到这个问题 跟楼主是一样的 希望大佬们帮助解决一下
        如果用aplay 也是这样

        # aplay /root/test.wav
        ALSA lib pcm_hw.c:2021:(_snd_pcm_hw_open) Unknown field slave
        aplay: main:828: audio open error: Invalid argument
        
        1 条回复 最后回复 回复 引用 分享 0
        • 1 / 1
        • First post
          Last post

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

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