Page 1 of 1

streaming rtsp to flv

Posted: 21 Jul 2009 15:58
by multiuser
hi!

i need help:

i have a cam with a stream, 640x480, rtsp and i want to get the stream in a player in my website.
i use this player: http://www.longtailvideo.com

and use dhis command: cvlc -vvv rtsp://MYIPADDRESS#1/live.sdp --sout '#transcode{vcodec=FLV1,acodec=none}:std{access=http,dst=MYIPADDRESS#2:8082/stream.flv}'

the rtsp video is very good, but the quality of the flv is bad! see here:
Image

can i get this video better??
please help!!

Re: streaming rtsp to flv

Posted: 21 Jul 2009 16:26
by Jean-Baptiste Kempf
Change the video bitrate.

Re: streaming rtsp to flv

Posted: 21 Jul 2009 16:38
by multiuser
sorry my question, but how do i do this? please help :-) thanks

Re: streaming rtsp to flv

Posted: 21 Jul 2009 17:05
by multiuser
ok, i have see the "fb="... but not a better video quality! standart is 800 - what value i should take?

Re: streaming rtsp to flv

Posted: 21 Jul 2009 17:08
by Mika56
Try to use the half and you'll see :p

Mika.

Re: streaming rtsp to flv

Posted: 21 Jul 2009 17:28
by multiuser
thanks, but its not the key!

thats best: cvlc -vvv rtsp://MYIP1/live.sdp --sout '#transcode{vcodec=FLV1,scale=5,acodec=none}:std{access=http,dst=MYIP2:8082/stream.flv}'

scale=5 is good!


now, just my last problem: in commandline i always get "rc buffer underflow" - 5 times per second! whats that?

Re: streaming rtsp to flv

Posted: 21 Jul 2009 17:30
by multiuser
oh no - now i get this:


[0x8101db0] main mux warning: late buffer for mux input (467816)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (479352)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (444496)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (405135)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (365771)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (326385)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (286987)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (247584)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (208213)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (167823)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (128426)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (89032)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (49631)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (10328)
rc buffer underflow
[0x8101db0] main mux warning: late buffer for mux input (58677)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (69580)
[0x80f9c98] stream_out_transcode stream out debug: late picture skipped (28696)

Re: streaming rtsp to flv

Posted: 23 Jul 2009 14:42
by multiuser
has onyone an idea?