weixin_39984952
weixin_39984952
2020-12-09 12:38

gstreamer stalling?

Hi, I'm having a problem while running an RTSP videoSource from the dev branch (the one that allows for authenticated uris). It happens from time to time (maybe 1/3 of the runs) ... the thing is that the videoSource.Capture() method kinda stalls, waiting for some condition on the gstreamer pipeline to finish, and while it cant resolve what's going on in the pipeline, it would appear as if it didn't return ...

This is part of the gstreamer output that I see while this condition is active ... and while this happens my program basically hangs waiting for something that apparently never happens ...

[gstreamer] opening gstDecoder for streaming, transitioning pipeline to GST_STATE_PLAYING [gstreamer] gstreamer changed state from NULL to READY ==> mysink [gstreamer] gstreamer changed state from NULL to READY ==> videorate3 [gstreamer] gstreamer changed state from NULL to READY ==> capsfilter18 [gstreamer] gstreamer changed state from NULL to READY ==> nvvconv3 [gstreamer] gstreamer changed state from NULL to READY ==> omxh264dec-omxh264dec8 [gstreamer] gstreamer changed state from NULL to READY ==> h264parse18 [gstreamer] gstreamer changed state from NULL to READY ==> rtph264depay18 [gstreamer] gstreamer changed state from NULL to READY ==> queue8 [gstreamer] gstreamer changed state from NULL to READY ==> rtspsrc8 [gstreamer] gstreamer changed state from NULL to READY ==> pipeline8 [gstreamer] gstreamer changed state from READY to PAUSED ==> videorate3 [gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter18 [gstreamer] gstreamer changed state from READY to PAUSED ==> nvvconv3 [gstreamer] gstreamer changed state from READY to PAUSED ==> omxh264dec-omxh264dec8 [gstreamer] gstreamer changed state from READY to PAUSED ==> h264parse18 [gstreamer] gstreamer changed state from READY to PAUSED ==> rtph264depay18 [gstreamer] gstreamer stream status CREATE ==> src [gstreamer] gstreamer changed state from READY to PAUSED ==> queue8 [gstreamer] gstreamer message progress ==> rtspsrc8 [gstreamer] gstreamer stream status ENTER ==> src [gstreamer] gstreamer changed state from READY to PAUSED ==> rtspsrc8 [gstreamer] gstreamer changed state from READY to PAUSED ==> pipeline8 [gstreamer] gstreamer message new-clock ==> pipeline8 [gstreamer] gstreamer message progress ==> rtspsrc8 [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> videorate3 [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter18 [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvvconv3 [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> omxh264dec-omxh264dec8 [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> h264parse18 [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> rtph264depay18 [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> queue8 [gstreamer] gstreamer message progress ==> rtspsrc8 [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> rtspsrc8 [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)11583360, maximum-bitrate=(uint)32654560, bitrate=(uint)15395729; [gstreamer] gstreamer message progress ==> rtspsrc8 [gstreamer] gstreamer rtspsrc8 ERROR Could not read from resource. [gstreamer] gstreamer Debugging info: gstrtspsrc.c(5917): gst_rtsp_src_receive_response (): /GstPipeline:pipeline8/GstRTSPSrc:rtspsrc8: Could not receive message. (System error) [gstreamer] gstreamer message progress ==> rtspsrc8 [gstreamer] gstreamer message progress ==> rtspsrc8 [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)2345800, maximum-bitrate=(uint)20655400, bitrate=(uint)3813294; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)7878000, maximum-bitrate=(uint)33955800, bitrate=(uint)11630612; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)2345800, maximum-bitrate=(uint)20690000, bitrate=(uint)3869547; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)2342200, maximum-bitrate=(uint)20690000, bitrate=(uint)3807197; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)11583360, maximum-bitrate=(uint)32654560, bitrate=(uint)15721958; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)7878000, maximum-bitrate=(uint)33955800, bitrate=(uint)11870816; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)2336400, maximum-bitrate=(uint)20690000, bitrate=(uint)3815523; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)2326800, maximum-bitrate=(uint)20690000, bitrate=(uint)3808952; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)884400, maximum-bitrate=(uint)33955800, bitrate=(uint)11931955; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)870800, maximum-bitrate=(uint)33955800, bitrate=(uint)11945827; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)749800, maximum-bitrate=(uint)33955800, bitrate=(uint)11903179; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)166000, maximum-bitrate=(uint)33955800, bitrate=(uint)11890159; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)2326800, maximum-bitrate=(uint)20690600, bitrate=(uint)3813485; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)2326800, maximum-bitrate=(uint)20693000, bitrate=(uint)3813473; [gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ (Main\ Profile)", minimum-bitrate=(uint)2313800, maximum-bitrate=(uint)20693000, bitrate=(uint)3806887;

I've already learned to recognize this pattern as a "ok, ill have to kill it and run it again" ... it's like if gstreamer has some problem starting the pipeline ... but it doesnt give me the chance to reconnect or anything.

I can attach the whole session logs if you need them. Thank you.

该提问来源于开源项目:dusty-nv/jetson-utils

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

8条回答