Re: [FFmpeg-user] ffplay RTSP listen mode with UDP

2018-03-14 Thread Roee Kashi
any lead on this issue?

2018-03-08 12:10 GMT+02:00 Roee Kashi :

> Hi,
>
> i'm trying to use RTSP to push video from client to server.
> it works on TCP, but fails on UDP.
>
> server side:
> > ffplay.exe -rtsp_flags listen rtsp://0.0.0.0:14000/test
>
> client side (TCP mode):
> > ffmpeg.exe -re -i  -rtsp_flags prefer_tcp -f rtsp
> rtsp://SERVER_IP:14000/test
>
> cliend side (UDP mode):
> > ffmpeg.exe -re -i  -f rtsp rtsp://SERVER_IP:14000/test
>
>
> when I open the ffmpeg in the client side in TCP mode, everything works,
> and i see the video stream in the server.
> But when i open the ffmpeg in the client side in UDP mode, the server
> writes an error:
> "bind failed error number -10048" (already in use)
>
> to try and investigate this problem a little bit, i set RTSP min port in
> the server to 6001.
> the result was the same, yet i could see (using netstat) ffplay listening
> on 6001 in UDP (and still writes the same binding error).
>
> seems like something in the RTSP reverse mode is not fully compatible with
> UDP mode, and it tries to bind the same port twice.
>
> is there a workaround to this matter?
>
> tested with Zeranoe build 20180307-5ab0ecf
>
> Roee.
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] ffplay RTSP listen mode with UDP

2018-03-08 Thread Roee Kashi
Hi,

i'm trying to use RTSP to push video from client to server.
it works on TCP, but fails on UDP.

server side:
> ffplay.exe -rtsp_flags listen rtsp://0.0.0.0:14000/test

client side (TCP mode):
> ffmpeg.exe -re -i  -rtsp_flags prefer_tcp -f rtsp
rtsp://SERVER_IP:14000/test

cliend side (UDP mode):
> ffmpeg.exe -re -i  -f rtsp rtsp://SERVER_IP:14000/test


when I open the ffmpeg in the client side in TCP mode, everything works,
and i see the video stream in the server.
But when i open the ffmpeg in the client side in UDP mode, the server
writes an error:
"bind failed error number -10048" (already in use)

to try and investigate this problem a little bit, i set RTSP min port in
the server to 6001.
the result was the same, yet i could see (using netstat) ffplay listening
on 6001 in UDP (and still writes the same binding error).

seems like something in the RTSP reverse mode is not fully compatible with
UDP mode, and it tries to bind the same port twice.

is there a workaround to this matter?

tested with Zeranoe build 20180307-5ab0ecf

Roee.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".