嵌入式爱好者

查看: 40361|回复: 4

[Linux] IMX6Q 移植MPlayer播放视频出现问题

[复制链接]

10

主题

43

帖子

114

积分

i.MX6Q通行证

扫一扫,手机访问本帖
发表于 2019-1-2 12:03:58 | 显示全部楼层 |阅读模式
  1. 控制台输出如下,提示WM8960有问题,貌似MPlayer本身已经启动,不知是否是板子驱动问题
  2. root@freescale /media$ mplayer ./testVideo.mp4
  3. mplayer: /usr/lib/libz.so.1: no version information available (required by mplayer)
  4. mplayer: /usr/lib/libz.so.1: no version information available (required by mplayer)
  5. MPlayer 1.2.1-4.6.2 (C) 2000-2016 MPlayer Team

  6. Playing ./testVideo.mp4.
  7. libavformat version 56.40.101 (internal)
  8. libavformat file format detected.
  9. [mov,mp4,m4a,3gp,3g2,mj2 @ 0xad4f10]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
  10. [lavf] stream 0: video (h264), -vid 0
  11. [lavf] stream 1: audio (aac), -aid 0, -alang eng
  12. VIDEO:  [H264]  1920x1080  24bpp  25.000 fps  2716.4 kbps (331.6 kbyte/s)
  13. Clip info:
  14. major_brand: isom
  15. minor_version: 512
  16. compatible_brands: isomiso2avc1mp41
  17. encoder: Lavf57.41.100
  18. Load subtitles in ./
  19. ==========================================================================
  20. Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
  21. libavcodec version 56.60.100 (internal)
  22. Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
  23. =================================WM8960 PLL: Unsupported N=1
  24. =================================WM8960 PLL: Unsupported N=2
  25. ========
  26. =======================WM8960 PLL: Unsupported N=2
  27. =================================WM8960 PLL: Unsupported N=4
  28. ==================
  29. Opening audioWM8960 PLL: Unsupported N=5
  30. decoder: [ffmpeg] FFmpeg/libavcoWM8960 PLL: Unsupported N=5
  31. dec audio decoders
  32. AUDIO: 44100 WM8960 PLL: Unsupported N=5
  33. Hz, 2 ch, floatle, 124.6 kbit/4.4Failed to set SYSCLK: -22
  34. 2% (ratio: 15578->352800)
  35. Selectasoc: machine hw_params failed
  36. ed audio codec: [ffaac] afm: ffmpWM8960 PLL: Unsupported N=1
  37. eg (FFmpeg AAC (MPEG-2/MPEG-4 AudWM8960 PLL: Unsupported N=2
  38. io))
  39. ===========================WM8960 PLL: Unsupported N=2
  40. =================================WM8960 PLL: Unsupported N=4
  41. ==============
  42. [AO OSS] Can't seWM8960 PLL: Unsupported N=5
  43. t audio device /dev/dsp to s16le WM8960 PLL: Unsupported N=5
  44. output, trying s16le...
  45. WM8960 PLL: Unsupported N=5
  46. Failed to set SYSCLK: -22
  47. asoc: machine hw_params failed
  48. [AO OSS] Can't set audio device /WM8960 PLL: Unsupported N=1
  49. dev/dsp to s16le output, trying sWM8960 PLL: Unsupported N=2
  50. 16le...
复制代码


回复

使用道具 举报

1

主题

3670

帖子

4157

积分

发表于 2019-1-7 11:20:37 | 显示全部楼层
您好
我搜索了一下报错信息,您可以参考一下是否有帮助https://blog.csdn.net/xanxng/art ... ionNum=14&fps=1

点评

感谢,解决了一些问题  详情 回复 发表于 2019-1-8 08:32
我试一下,感谢!  详情 回复 发表于 2019-1-8 08:06
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

10

主题

43

帖子

114

积分

i.MX6Q通行证

 楼主| 发表于 2019-1-8 08:06:56 | 显示全部楼层
飞凌-chongzi 发表于 2019-1-7 11:20
您好
我搜索了一下报错信息,您可以参考一下是否有帮助https://blog.csdn.net/xanxng/article/details/843 ...

我试一下,感谢!
点评回复 支持 反对

使用道具 举报

10

主题

43

帖子

114

积分

i.MX6Q通行证

 楼主| 发表于 2019-1-8 08:31:23 | 显示全部楼层
使用zlib-1.2.11编译后的文件,更新开发板的/usr/lib中的文件,第03和04行内容没有了,可能是我编译mplayer时候没加alsa-lib,我再试一下
  1. root@freescale /$ mplayer /media/testVideo.mp4
  2. MPlayer 1.2.1-4.6.2 (C) 2000-2016 MPlayer Team

  3. Playing /media/testVideo.mp4.
  4. libavformat version 56.40.101 (internal)
  5. libavformat file format detected.
  6. [mov,mp4,m4a,3gp,3g2,mj2 @ 0xad4f10]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
  7. [lavf] stream 0: video (h264), -vid 0
  8. [lavf] stream 1: audio (aac), -aid 0, -alang eng
  9. VIDEO:  [H264]  1920x1080  24bpp  25.000 fps  2716.4 kbps (331.6 kbyte/s)
  10. Clip info:
  11. major_brand: isom
  12. minor_version: 512
  13. compatible_brands: isomiso2avc1mp41
  14. encoder: Lavf57.41.100
  15. Load subtitles in /media/
  16. ==========================================================================
  17. Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
  18. libavcodec version 56.60.100 (internal)
  19. Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
  20. ============================WM8960 PLL: Unsupported N=1
  21. =================================WM8960 PLL: Unsupported N=2
  22. =============
  23. ==================WM8960 PLL: Unsupported N=2
  24. =================================WM8960 PLL: Unsupported N=4
  25. =======================
  26. Opening WM8960 PLL: Unsupported N=5
  27. audio decoder: [ffmpeg] FFmpeg/liWM8960 PLL: Unsupported N=5
  28. bavcodec audio decoders
  29. AUDIO: 4WM8960 PLL: Unsupported N=5
  30. 4100 Hz, 2 ch, floatle, 124.6 kbiFailed to set SYSCLK: -22
  31. t/4.42% (ratio: 15578->352800)
  32. Sasoc: machine hw_params failed
  33. elected audio codec: [ffaac] afm:WM8960 PLL: Unsupported N=1
  34. ffmpeg (FFmpeg AAC (MPEG-2/MPEG-WM8960 PLL: Unsupported N=2
  35. 4 Audio))
  36. ======================WM8960 PLL: Unsupported N=2
  37. =================================WM8960 PLL: Unsupported N=4
  38. ===================
  39. [AO OSS] CanWM8960 PLL: Unsupported N=5
  40. 't set audio device /dev/dsp to sWM8960 PLL: Unsupported N=5
  41. 16le output, trying s16le...
  42. WM8960 PLL: Unsupported N=5
  43. Failed to set SYSCLK: -22
  44. asoc: machine hw_params failed
  45. [AO OSS] Can't set audio device /WM8960 PLL: Unsupported N=1
  46. dev/dsp to s16le output, trying sWM8960 PLL: Unsupported N=2
  47. 16le...
  48. WM8960 PLL: Unsupported N=2
  49. WM8960 PLL: Unsupported N=4
  50. WM8960 PLL: Unsupported N=5
  51. WM8960 PLL: Unsupported N=5
  52. WM8960 PLL: Unsupported N=5
  53. Failed to set SYSCLK: -22
  54. asoc: machine hw_params failed
  55. [AO OSS] Can't set audio device /WM8960 PLL: Unsupported N=1
  56. dev/dsp to s16le output, trying sWM8960 PLL: Unsupported N=2
  57. 16le...
  58. WM8960 PLL: Unsupported N=2
  59. WM8960 PLL: Unsupported N=4
复制代码
点评回复 支持 反对

使用道具 举报

10

主题

43

帖子

114

积分

i.MX6Q通行证

 楼主| 发表于 2019-1-8 08:32:24 | 显示全部楼层
飞凌-chongzi 发表于 2019-1-7 11:20
您好
我搜索了一下报错信息,您可以参考一下是否有帮助https://blog.csdn.net/xanxng/article/details/843 ...

感谢,解决了一些问题
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-11-23 03:16

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表