login|Register
Forum > Device drivers(GPU&VPU)
Post|
看77554|回71|Favorite
jacer 看全部
2015-12-2 09:06:27

quote:

Rangarid replied at 2015-12-1 19:51
Another note... disabling h265 just seems to apply to the libvdpau-dev version in the lubuntu apt re ...

I think we should build OpenMAX player for H3.https://en.m.wikipedia.org/wiki/OpenMAX
jacer 看全部
2015-12-2 21:16:18

quote:

Rangarid replied at 2015-12-1 18:36
Just testet with Lubuntu Vivid and it seems to work. Follow these instructions:

I think you mean this command. The libvdpau_sunxi.so.1 file should be here.

code:

  1. sudo ln -s /usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_sunxi.so.1 /usr/lib/libvdpau_nvidia.so


jacer 看全部
2015-12-2 22:14:25

quote:

Rangarid replied at 2015-12-1 18:36
Just testet with Lubuntu Vivid and it seems to work. Follow these instructions:

I get this error below.

code:

  1. orangepi@OrangePI:~$ mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, -fs test.h264
  2. MPlayer2 2.0-728-g2c378c7-4 (C) 2000-2012 MPlayer Team
  3. Cannot open file '/home/orangepi/.mplayer/input.conf': No such file or directory
  4. Failed to open /home/orangepi/.mplayer/input.conf.
  5. Cannot open file '/etc/mplayer/input.conf': No such file or directory
  6. Failed to open /etc/mplayer/input.conf.

  7. Playing test.h264.
  8. Detected file format: raw H.264 video (libavformat)
  9. [h264 @ 0xb5d535b8]Estimating duration from bitrate, this may be inaccurate
  10. [lavf] stream 0: video (h264), -vid 0
  11. Load subtitles in .
  12. [VDPAU SUNXI] VE version 0x0000 opened.
  13. Forced video codec: ffmpeg12vdpau
  14. Forced video codec: ffh264vdpau
  15. Cannot find codec 'h264_vdpau' in libavcodec...
  16. Video decoder init failed for codecs.conf entry "ffh264vdpau".
  17. Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [libavcodec]
  18. Audio: no sound
  19. Starting playback...
  20. VIDEO:  1920x1080  25.000 fps    0.0 kbps ( 0.0 kB/s)
  21. VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12  [fs]
  22. [vdpau] Error when calling vdp_presentation_queue_target_create_x11: A catch-all error, used when no other error code applies.
  23. FATAL: Cannot initialize video driver.

  24. FATAL: Could not initialize video filters (-vf) or video output (-vo).

  25. [   vdpau] Error when calling vdp_presentation_queue_target_destroy: An invalid handle value was provided.

  26. Exiting... (End of file)


jacer 看全部
2015-12-3 11:46:10
I got errors on start mplayer.

code:

  1. orangepi@OrangePI:~$ mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau test.h264
  2. MPlayer2 2.0-728-g2c378c7-4 (C) 2000-2012 MPlayer Team
  3. Cannot open file '/home/orangepi/.mplayer/input.conf': No such file or directory
  4. Failed to open /home/orangepi/.mplayer/input.conf.
  5. Cannot open file '/etc/mplayer/input.conf': No such file or directory
  6. Failed to open /etc/mplayer/input.conf.

  7. Playing test.h264.
  8. Detected file format: raw H.264 video (libavformat)
  9. [h264 @ 0xb5d7b5b8]Estimating duration from bitrate, this may be inaccurate
  10. [lavf] stream 0: video (h264), -vid 0
  11. Load subtitles in .
  12. [VDPAU SUNXI] VE version 0x0000 opened.
  13. Forced video codec: ffmpeg12vdpau
  14. Forced video codec: ffh264vdpau
  15. Cannot find codec 'h264_vdpau' in libavcodec...
  16. Video decoder init failed for codecs.conf entry "ffh264vdpau".
  17. Cannot find codec matching selected -vo and video format 0x34363248.


  18. Exiting... (End of file)

code:

  1. orangepi@OrangePI:~$ vdpauinfo
  2. display: :0   screen: 0
  3. [VDPAU SUNXI] VE version 0x0000 opened.
  4. API version: 1
  5. Information string: sunxi VDPAU Driver

  6. Video surface:

  7. name   width height types
  8. -------------------------------------------
  9. 420     8192  8192  NV12 YV12

  10. Decoder capabilities:

  11. name                        level macbs width height
  12. ----------------------------------------------------
  13. MPEG1                           0 32400  3840  2160
  14. MPEG2_SIMPLE                    3 32400  3840  2160
  15. MPEG2_MAIN                      3 32400  3840  2160
  16. H264_BASELINE                  51 32400  3840  2160
  17. H264_MAIN                      51 32400  3840  2160
  18. H264_HIGH                      51 32400  3840  2160
  19. VC1_SIMPLE                     --- not supported ---
  20. VC1_MAIN                       --- not supported ---
  21. VC1_ADVANCED                   --- not supported ---
  22. MPEG4_PART2_SP                  5 32400  3840  2160
  23. MPEG4_PART2_ASP                 5 32400  3840  2160
  24. DIVX4_QMOBILE                  --- not supported ---
  25. DIVX4_MOBILE                   --- not supported ---
  26. DIVX4_HOME_THEATER             --- not supported ---
  27. DIVX4_HD_1080P                 --- not supported ---
  28. DIVX5_QMOBILE                  --- not supported ---
  29. DIVX5_MOBILE                   --- not supported ---
  30. DIVX5_HOME_THEATER             --- not supported ---
  31. DIVX5_HD_1080P                 --- not supported ---
  32. H264_CONSTRAINED_BASELINE      51 32400  3840  2160
  33. H264_EXTENDED                  --- not supported ---
  34. H264_PROGRESSIVE_HIGH          --- not supported ---
  35. H264_CONSTRAINED_HIGH          51 32400  3840  2160
  36. H264_HIGH_444_PREDICTIVE       --- not supported ---

  37. Output surface:

  38. name              width height nat types
  39. ----------------------------------------------------
  40. B8G8R8A8          8192  8192    -  
  41. R8G8B8A8          8192  8192    -  

  42. Bitmap surface:

  43. name              width height
  44. ------------------------------
  45. B8G8R8A8          8192  8192
  46. R8G8B8A8          8192  8192

  47. Video mixer:

  48. feature name                    sup
  49. ------------------------------------
  50. DEINTERLACE_TEMPORAL             -
  51. DEINTERLACE_TEMPORAL_SPATIAL     -
  52. INVERSE_TELECINE                 -
  53. NOISE_REDUCTION                  -
  54. SHARPNESS                        -
  55. LUMA_KEY                         -
  56. HIGH QUALITY SCALING - L1        -
  57. HIGH QUALITY SCALING - L2        -
  58. HIGH QUALITY SCALING - L3        -
  59. HIGH QUALITY SCALING - L4        -
  60. HIGH QUALITY SCALING - L5        -
  61. HIGH QUALITY SCALING - L6        -
  62. HIGH QUALITY SCALING - L7        -
  63. HIGH QUALITY SCALING - L8        -
  64. HIGH QUALITY SCALING - L9        -

  65. parameter name                  sup      min      max
  66. -----------------------------------------------------
  67. VIDEO_SURFACE_WIDTH              y         0     8192
  68. VIDEO_SURFACE_HEIGHT             y         0     8192
  69. CHROMA_TYPE                      y  
  70. LAYERS                           y         0        0

  71. attribute name                  sup      min      max
  72. -----------------------------------------------------
  73. BACKGROUND_COLOR                 -  
  74. CSC_MATRIX                       -  
  75. NOISE_REDUCTION_LEVEL            -  
  76. SHARPNESS_LEVEL                  -  
  77. LUMA_KEY_MIN_LUMA                -  
  78. LUMA_KEY_MAX_LUMA                -  


jacer 看全部
2015-12-3 14:28:34
How to use the H3 head files?

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC