Hi,
my objective is to acquire a RTSP streaming (H.264 + AAC) and:
1. remux it to FLV and streaming to desktop
2. stream to mobile idevices (via segmenter and .m3u8)
3. record it on a .MP4 file.
At the moment I was able to do points 1 and 2.
When I try to record the stream on a mp4 file, i get no errors but the flv streaming stops.
This is my syntax:
vlc -I dummy $SOURCE vlc://quit
--sout="#duplicate{dst=std{access=livehttp{seglen=5,delsegs=true,numsegs=3,index=$DESTINATION/$PREFIX.m3u8,index-url=$DOMAIN/$PREFIX-########.ts},mux=ts{use-key-frames},dst=$DESTINATION/$PREFIX-########.ts},dst=std{access=http,mux=flv,dst=0.0.0.0:${PORT}/live.flv}}:std{access=file,mux=mp4,dst=/var/www/streaming/file.mp4}"
--http-reconnect --http-continuous :no-sout-rtp-sap
:no-sout-standard-sap :sout-keep
What's wrong?
Thanks!