2011/11/2 Archil Matchavariani <[email protected]>: > HI Andrey, > I am trying to re-streaming my input stream from a cam to the rtmp server , > and I want to use FFmpeg for this issue, that's why I am using the following > command : > ffmpeg -i rtsp://root:[email protected]:554/live?tcp -vcodec copy -f flv > rtmp://xxx.xxx.xxx.xxx/live/teststream > (I need flesh format ) > but unfortunately it hangs at first and than it has delay about 15 > seconds.(rtsp://root:[email protected]:554/live?tcp is an input stream > from my cam and rtmp://xxx.xxx.xxx.xxx/live/teststream are output streams > from the rtmp server )
This delay is likely caused by initial stream probing. ffmpeg detects data format and codecs, which is quite unnecessary in case or RTSP, which brings this info in session description. I'm not sure if it acts how i described, but it likely does. -- Andrey Utkin _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
