Page 1 of 1

RTSP transcode to FLV

Posted: 22 Feb 2010 10:57
by lockev3.0
After months playing with this great tool, at last I got woking next video flow :

Axis 1011w serving RTSP ---> vlc capturing and re-streaming in FLV format --> FlashPlayer (Flowplayer & jwplayer) watching final stream. But, because of bad use of apt-get dist-upgrade now it's all failing again.

My error :

Code: Select all

cvlc -vvv rtsp://user:passwd@172.16.1.110/axis-media/media.amp --sout "#transcode{vcodec=FLV1,acodec=none}:std{access=http{mime=video/x-flv},dst=172.16.1.111:9999/cam1.flv}" --loop --color -I dummy
Now my flash players always report : Video not found (or denied) at 172.16.1.111:9999/cam1.flv.

Indeed if I try same vlc to try to watch the FLV stream (just vlc http://172.16.1.111:9999/cam1.flv) next weird behaviour results :
.- As long as the server side keeps streaming (no errors at its output), the vlc client just reaches the last lines :

Code: Select all

[flv @ 0x3513510]warning: first frame is no keyframe
and do not show video at all.

.- As soon as i stop the server, like from a buffering problem, the client starts showing video (prerecorded ? )

My plattform :
.-Debian testing.
.-libvlc2 1.0.4-2+b1
.-libvlccore2 1.0.4-2+b1
.-vlc 1.0.4-2+b1
.-vlc-data 1.0.4-2
.-vlc-nox 1.0.4-2+b1
.-vlc-plugin-pulse 1.0.4-2+b1
.-libavcodec52 4:0.5+svn20090706-5
.-libavdevice52 4:0.5+svn20090706-5
.-libavfilter0 4:0.5+svn20090706-5
.-libavformat52 4:0.5+svn20090706-5
.-libavutil-dev 5:0.5+svn20100126-0.0
.-libavutil49 4:0.5+svn20090706-5
.-libavutil50 5:0.5+svn20100126-0.0

Re: RTSP transcode to FLV

Posted: 25 Feb 2010 09:48
by lockev3.0
buaaaahhhhhhh
no one cares about my troubles .... buaahhhhhhh
:(

Re: RTSP transcode to FLV

Posted: 28 Apr 2010 15:06
by LaBay
It is a wrong way for axis video flash streaming. To restream axis rtsp via Wowza with rtmp will be better solution.