[FFmpeg-user] rtsp_option issue

Marco Bernasconi bernasconi.berna at gmail.com
Fri Nov 13 18:53:53 CET 2015


Hello guys,

I've some issues on a FFMPEG command related to the rtsp_transport option.
The command is the following:

*.\ffmpeg.exe -i "rtsp://[camera_endpoint]" -c:v libx264 -b:v 150k -maxrate
150k -s 320x240 -threads 0 -profile:v baseline -preset:v ultrafast -vf
format=yuv420p -tune zerolatency -x264opts keyint=30 -an -rtsp_transport
tcp-f rtsp "rtmp://localhost:1935/live/132646"*

It goes in warn with the following string: "UDP timeout, retrying with TCP"
After that, an error is shown: "method PAUSE failed: 551 Option not
supported"

Instead, if I launch the following command:

*.\ffmpeg.exe rtsp_transport tcp -i "rtsp://[camera_endpoint]" -c:v libx264
-b:v 150k -maxrate 150k -s 320x240 -threads 0 -profile:v baseline -preset:v
ultrafast -vf format=yuv420p -tune zerolatency -x264opts keyint=30 -an
-rtsp_transport tcp-f rtsp "rtmp://localhost:1935/live/132646"*

All works well!!!

Why if I specify the rtsp_transport works well and why in the first case
doesn't work?


Thanks,
Marco


More information about the ffmpeg-user mailing list