Short question: I've a IP camera stream that it can't be grabbed by OBS directly.. I've to take with VLC and pass to OBS via localhost.
Digging in the problem just a bit, I've tried to play the stream by ffmpeg like this
ffmpeg -i rtsp://192.168.1.2:554/video -acodec copy -vcodec copy ./pp.mp4
and I got the message
"UDP timeout, retrying with TCP
[rtsp @ 0xe01140] Could not find codec parameters for stream 0 (Video: h264): unspecified size"
So.. doing some minor tweak, adding the parameter
ffmpeg -rtsp_transport tcp -i rtsp://192.168.1.2:554/video -acodec copy -vcodec copy ./pp.mp4
and.. voila! The magic happens, I can grab and save the stream.
The question is: HOW to pass that parameter to OBS in the INPUT field of MEDIA SOURCE?
I guess that if OBS knows how to handle that stream, it will work ok.
Any idea? Thanks!
Digging in the problem just a bit, I've tried to play the stream by ffmpeg like this
ffmpeg -i rtsp://192.168.1.2:554/video -acodec copy -vcodec copy ./pp.mp4
and I got the message
"UDP timeout, retrying with TCP
[rtsp @ 0xe01140] Could not find codec parameters for stream 0 (Video: h264): unspecified size"
So.. doing some minor tweak, adding the parameter
ffmpeg -rtsp_transport tcp -i rtsp://192.168.1.2:554/video -acodec copy -vcodec copy ./pp.mp4
and.. voila! The magic happens, I can grab and save the stream.
The question is: HOW to pass that parameter to OBS in the INPUT field of MEDIA SOURCE?
I guess that if OBS knows how to handle that stream, it will work ok.
Any idea? Thanks!