I am streaming a video using obs studio to a local rtmp url and i want to access to the streaming using gstreamer. I have no issues accessing the audio of the streaming, however i am not able to get the video of the stream. I am using flvdemux to get the audio and video streams. When i get use demux. and demux.audio I have no issues. Meanwhile when i use demux.video i get some errors.
When I try the last approach that you have proposed the clock gets frozen and the command doesn’t capture the video and the audio. There is no error at first glance, but it seems that is not working correctly. I show below the output in the command line and the logs:
It seems that the first audio packacge is processed correctly, but there is an issue with the video processing and the second audio package is not processed by gstreamer.
Do you want the video file that I obtain from the rtmp stream?
I have tried with different set-ups, but I usually i have the rtmp server configured with nginx in ubuntu. And i create the rtmp streaming with obs studio. I am able to play the stream with different player (ffplay, vlc, etc.), but i demux the stream using flvdemux.
I can save the stream into a flv file and pass it to you. Is this what you are asking for?