playing RTSP stream -- with buffer possible? #39
Comments
I think the idea is fine, but live streaming isn't a supported feature of info-beamer right now as I have pretty much no experience with that, so I don't feel confident to support it. So there won't be any related improvements in the near future. |
Could anyone please send me the node.lua with a working rtsp usage? I cannot get it to work.. |
Set the environment variable |
one of my node.lua looks like:
|
Thanks! Unfortunately I am getting many "RTS: missing packets" which leads to lots of artifacts in the stream... any idea how to improve this? |
You might try the undocumented |
This is now the debug using even a different camera (AXIS M1114). Any ideas? [fileref.c] Streaming remote content isn't officially supported at the moment. [rtsp @ 0x6bd00480] video codec set to: h264 uptime 10s, cpu 1s+0s, rss 15100kb, 1 objs, 55'C
|
do you run infobeamer on a raspberry (2/3) ? what was the first cam? same errors? does the missing packets show up in the image on the screen? |
Raspberry 3 |
just one guess: i have a small screen setup, what about the rasperry gpu-settings in raspi-config? only guessing...maybe worth checking .. |
If you read the first text here for this topic: it is exactly my problem. In omxplayer is seems to be possible to give a cache-option which helps. There is none of this for info-beamer obviously. |
ok, old thread, long ago my first entry. now that i have it running my setup over years, i dont know anymore if there are missing packets. but, i dont see any drop outs in the image. But, also, maybe i fiddelt with the GPU settings in the raspberry to improve my first error. maybe also worth checking this for you? |
If you find out how/if the omxplayer cache option maps to an |
result from running the rtsp-stream with omxplayer? |
Sorry, I am still on but a bit busy.. will check and come back |
Any updates on this. I am having the same problem with dropped packets when streaming from an IP camera. It results in a lost of vertical streaks on the screen. |
No update from my side. If anyone provide an easy way to me to locally reproduce this problem, I'd be happy to help. Otherwise I'm a bit lost on how to approach solving this. |
I use udp, but it's set the same way; just add "buffer_size" to the URL query string. My go-to is If you see
Works great :) |
...one year later.... seems to me, that this url-buffer-option only works with cameras, which have that option for rtsp-streams (even udp) ?? |
That's udp protocol options. Handled by ffmpeg/libav which info-beamer uses. |
cool! i giv this a rocket too. cool option for rtsp-improvement. |
Looking at the docs it looks like upping reorder_queue_size may help as well; I'd see what adding
does. |
thanks for helping me starting...
still love info-beamer, now getting videos from my rtsp-cams to work in overlay as child-nodes..
if i do this with more than one videostream, i am starting to get missing packets..
i did this before with omxplayer, it was possible to give a cache-option (" --video_queue 10") and i was able to get 8 windows/streams together with only some small lack/missing packets..
is there also a buffer option for info-beamer and video.resource as RTSP?
may you consider building one? 😄
i start this way:
or i am going architectural totally wrong (as i am still a noob..) 😄
The text was updated successfully, but these errors were encountered: