• Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop
  • Register
  • Login
  • Register
  • Login
  • Search
  • Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop

gstreamer video framework

Ubuntu
2
4
771
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    george last edited by george Mar 9, 2023, 11:29 AM Mar 3, 2023, 8:53 AM

    The latest ubuntu22.04 firmware(20230303-ubuntu-22.04-preinstall-desktop-arm64) integrates ffmpeg and gstreamer video frames, and can call the hardware codec module of Rockchip, which can greatly improve the video codec performance of the device and reduce the CPU load.

    • With kmssink, the CPU utilization of 4K video playback is reduced to about 10%.The disadvantage is that it occupies one layer.

    • The following command can obtain layer information.

       sudo cat /sys/kernel/debug/dri/0/state | grep "plane"
    
    • Use the following command to play the video and replace xxx.mp4 with the actual path. 88 represents the layer, kmssink only supports the display of Esmart layer.
       gst-play-1.0  xxx.mp4 --videosink='kmssink plane-id=88'
    
    • You can also use other plug-ins, such as xvimagesink glimagesink waylandsink, etc.

    50b880fb-d9d7-4e37-8390-4db38abc1423-image.png
    e5daa33a-b078-41c2-b50d-be1040b17d50-image.png

    J 2 Replies Last reply Mar 16, 2023, 7:26 AM Reply Quote 1
    • J
      jugg @george last edited by jugg Mar 9, 2023, 10:16 AM Mar 9, 2023, 10:16 AM

      @george

      sudo cat /sys/kernel/debug/dri/0/state | grep "plane["
      

      1f15a54c-0161-4682-aece-864772ac7e20-image.png
      这个命令好像不行

      sudo cat /sys/kernel/debug/dri/0/state | grep "plane"
      

      或

      sudo cat /sys/kernel/debug/dri/0/state | grep "plane\["
      

      fe398c0e-e20b-4a88-b4c7-804a1ea12314-image.png

      G 1 Reply Last reply Mar 9, 2023, 11:30 AM Reply Quote 1
      • G
        george @jugg last edited by Mar 9, 2023, 11:30 AM

        @jugg 已经修改,谢谢提醒。

        1 Reply Last reply Reply Quote 0
        • J
          jugg @george last edited by Mar 16, 2023, 7:26 AM

          @george
          gstramer的硬件解码插件叫什么 只有openh264dec ?
          Screenshot from 2023-03-16 15-21-23.png

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 out of 4
          • First post
            1/4
            Last post