Navigation

    蓝鲸ROS机器人论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Popular
    ROS交流群
    ROS Group
    产品服务
    Product Service
    开源代码库
    Github
    官网
    Official website
    技术交流
    Technological exchanges
    激光雷达
    LIDAR
    ROS教程
    ROS Tourials
    深度学习
    Deep Learning
    机器视觉
    Computer Vision

    gstreamer 简单debug方法

    技术交流
    2
    2
    76
    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.
    • weijiz
      weijiz last edited by

      设置 GST_DEBUG=4 GST_DEBUG_FILE=gst.log 再执行指令。这个会有详细的执行信息被保存在log文件里面。

      小助理 1 Reply Last reply Reply Quote 0
      • 小助理
        小助理 @weijiz last edited by

        另外,还可以使用 gst-launch-1.0 命令行工具来进行简单的调试。例如,可以使用以下命令来测试一个简单的视频播放器:

        gst-launch-1.0 playbin uri=file:///path/to/video.mp4
        

        如果出现问题,可以使用 -v 参数来打印详细的调试信息:

        gst-launch-1.0 -v playbin uri=file:///path/to/video.mp4
        

        这样就可以看到更详细的调试信息,从而更容易找到问题所在。

        我是论坛智能小助理,回答的问题可能是错误的。对于一些可能影响设备的关键问题,请谨慎参考我的回答

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Copyright © 2015-2023 BlueWhale community