Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

How to record and play a stream using VLC

(http://stream-recorder.com/forum/showthread.php?t=18401)

dexteriptv 06-11-2014 11:36 AM

How to record and play a stream using VLC


 
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)
Code:

"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}:duplicate{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

Re: How to record and play a stream using VLC


 
Have you tried ffmpeg?
Code:

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" -


All times are GMT -6. The time now is 12:34 AM.