[FFmpeg-user] rtsp streaming

Shatrughna Pandey shatrughna.win at gmail.com
Mon Oct 6 08:19:33 CEST 2014


hello sir

i am trying to stream video from one rtsp url to another rtsp url using
ffserver conf file.

my ffmpeg command is   " ffmpeg  -i  rtsp://127.0.0.1:1935/live/test.sdp
rtsp://127.0.0.1:5454/feed1.ffm"

i have streamed a video already on  "rtsp://127.0.0.1:1935/live/test.sdp"
and i want to stream this live sdp video to another rtsp url "rtsp://
127.0.0.1:5454/feed1.ffm" using ffserver conf file.

my ffserver.conf file is :

Port 8090
RTSPPort 5454
BindAddress 0.0.0.0
RTSPBindAddress 0.0.0.0
MaxClients 1000
MaxBandwidth 1000
NoDaemon

<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 5000M
ACL allow 127.0.0.1
ACL allow 192.0.0.0 192.255.255.255
</Feed>

 # flv compatible
<Stream live.flv>
Feed feed1.ffm
Format flv
VideoFrameRate 24
VideoSize 480x272
VideoBitRate 100
VideoBufferSize 40
VideoGopSize 30
AudioBitRate 64
StartSendOnKey
</Stream>

# H264 compatible

<Stream rtsp.flv>
Feed feed1.ffm
Format rtp
#File /tmp/feed1.ffm
VideoFrameRate 24
VideoSize 480x272
VideoBitRate 100
VideoBufferSize 40
VideoGopSize 30
AudioBitRate 64
StartSendOnKey
</Stream>

<Stream test1-rtsp.flv>
Format rtp
File "/home/pandey/coffee.mp4"
ACL allow 192.0.0.0 192.255.255.255
</Stream>

<Stream stat.html>
Format status
ACL allow localhost
ACL allow 192.0.0.0 192.255.255.255
</Stream>

# Redirect index.html to the appropriate site

<Redirect index.html>
URL http://www.ffmpeg.org/
</Redirect>


i am starting this ffserver.conf file with comman "ffserver -d  -f
/etc/ffserver.conf

and ffserver is started.

after that when i play link "rtsp://127.0.0.1:5454/rtsp.flv" with vlc the
server is stopped giving message "segmentation fault"

where i am going wrong ...........????? pls help me ...........
thanx in advance..................


More information about the ffmpeg-user mailing list