RTP Stream Stops After 10 Seconds
Posted: 17 Sep 2005 04:19
I am transcoding a MPEG 4 stream from an Axis 232D camera to a lower bit rate using ffmpeg. I was trying to relay the stream with Darwin Streaming Server and the stream would stop streaming after about 2 minutes. I started trouble shooting. Using the command line below I get the same results with VLC streaming UDP but the stream stops about 5 to 10 seconds later.
If I replace the input of the above command with a local AVI file the stream works as expected and never drops out.
When I use -vvv with the RTSP stream I get the following output with the last 2 lines repeating them selves.
Any ideas?
Code: Select all
./VLC rtsp://192.168.0.90:554/mpeg4/media.amp --sout '#transcode{vcodec=mp4v,vb=450,venc=ffmpeg{keyint=45,fps=15}}:duplicate{dst=std{access=udp,mux=ts,url=68.35.96.91:13000,ttl=25}}'
When I use -vvv with the RTSP stream I get the following output with the last 2 lines repeating them selves.
Any ideas?
[00000255] stream_out_duplicate private debug: duplicated a new stream codec=mp4v (es=0 group=0)
[00000263] main private debug: adding a new input
[00000263] mux_ts private debug: adding input codec=mp4v pid=68
[00000263] mux_ts private debug: new PCR PID is 68
[00000255] stream_out_duplicate private debug: - added for output 0
[00000249] macosx interface debug: input has changed, refreshing interface
[00000264] livedotcom demuxer debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
[00000263] mux_ts private warning: packet with too strange dts (dts=1372879893469564,old=1126923265255160,pcr=1126923265255160)
[00000282] ffmpeg encoder warning: almost fed libavcodec with a frame in the past (current: 1126923265393920, last: 1372879893499564)
[00000282] ffmpeg encoder warning: almost fed libavcodec with a frame in the past (current: 1126923265427276, last: 1372879893499564)