tacosukoneko
New Member
Hi my problem is, my RTSP source works perfectly in
A full log file from a test reproducing the issue, uploaded from OBS "Upload Current Log File" (port is different here from the above tests because I configured different port, but just before executing OBS I tested the exact URL including port in
mpv
and I can see it, but adding the same URL as a Media Source in OBS on the same system, no matter whether mpv
is also running at the same time or not, results in the source not appearing in the preview and not appearing in the scene. To be clear, the exact command outside OBS I used here to prove to myself that the stream is valid is mpv rtsp://127.0.0.1:8082/video/h264
The RTSP server is proprietary CamON IP camera app for Android forwarded to the Arch Linux system over adb
over USB. The RTSP URL is rtsp://127.0.0.1:8082/video/h264 . CamON also supports MJPEG over HTTP format instead of RTSP, which does work in OBS Media Source with its own HTTP URL, but on this specific locked-bootloader Android device, the MJPEG stream is unusably poor framerate and quality and the RTSP stream shows in mpv
as vastly superior quality. I also reproduced this on 2 different Arch Linux systems across 5 different Android devices varying from fully rooted linegeos to fully locked bootloader samsung and from Android 7 to Android 11 (on some of them MJPEG is acceptable quality, but I need to use all of them at the same time and on the desired device in question MJPEG isn't performing with acceptable framerate as explained). I also tried adding mpegts
to "Input Format" field which did not help. As a workaround I am currently using mpv
with window size equal to RTSP resolution and then adding mpv
window as window capture in the scene, but since OBS is supposed to support RTSP it seems backwards to do this. Affecting both obs-studio
27.2.4 from official Arch Linux repositories and obs-studio-git
compiled today. This is what mpv
prints while it is displaying the stream correctly: https://clbin.com/AZnWX This is the portion of my OBS log after adding the source: https://clbin.com/z0vBW How can I specify "size" , "analyzeduration" or "probesize" in OBS? Could that help?A full log file from a test reproducing the issue, uploaded from OBS "Upload Current Log File" (port is different here from the above tests because I configured different port, but just before executing OBS I tested the exact URL including port in
mpv
and observed it work) https://obsproject.com/logs/0DC4catBzSLPpe8y