PDA

View Full Version : How to record and play a stream using VLC


dexteriptv
06-11-2014, 11:36 AM
Hello All -

I am using the below command to record and play a stream using VLC.

The stream is successfully recording, but I am facing some difficulty in viewing the stream.


Not able to resize VLC screen
screen freezes some times (but in background the recorded stream has data)


"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -q --one-instance --fullscreen --play-and-exit --network-caching=5600 --no-osd "http://vevoplaylist-live.hls.adaptive.level3.net/vevo/ch1/04/prog_index.m3u8" :sout=#transcode{vcodec=h264,vb=0,fps=0,scale=0}:d uplicate{dst=rtp{dst=192.168.1.138,port=10000,mux= ts,ttl=1},dst=file{dst=../last_ch_rec.mp4,mux=ts,ttl=1},dst=display} :sout-keep

Any other way I can play and record the stream?

drbmn
06-11-2014, 05:37 PM
Have you tried ffmpeg?
ffmpeg -i "http://vevoplaylist-live.hls.adaptive.level3.net/vevo/ch1/04/prog_index.m3u8" -acodec copy -vcodec copy out.mp4 - | "C:\Program Files\VideoLAN\VLC\vlc.exe" -