From 70fbf51f7750c598c486791d03604c818362cd19 Mon Sep 17 00:00:00 2001 From: Donald Burr Date: Sat, 14 Feb 2015 21:58:25 -0800 Subject: [PATCH] More changes --- scripts/start_video | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/start_video b/scripts/start_video index 88e9522..05a2aa6 100755 --- a/scripts/start_video +++ b/scripts/start_video @@ -47,10 +47,16 @@ echo "log file is available as video.log" #>>video.log 2>&1 # working, video+audio with vlc, audio-only with mplayer* +#--sout '#transcode{acodec=a52,ab=32}:http{mux=ts,dst=:8080,name=stream}' \ +#--sout '#transcode{vcodec=FLV1,acodec=mp3,vb=200,deinterlace,fps=25,samplerate=44100,ab=32}:duplicate{dst=std{access=http,mux=ffmpeg{mux=flv},dst=/stream.flv},dst=display}' \ +#:input-slave="alsa://hw:1,0:audio=0:channels=1:rate=44100" \ cvlc \ v4l2://$VIDEO_DEVICE:chroma=MJPG:width=320:height=240 \ -:input-slave="alsa://hw:1,0" \ ---sout '#transcode{acodec=mp3,ab=32}:http{mux=ts,dst=:8080,name=stream}' \ +:input-slave="alsa://plughw:CinemaTM,0" \ +--sout '#transcode{acodec=lpcm}:http{mux=ts,dst=:8080,name=stream}' \ +:live-cache=10000 :sout-mux-caching=10000 :sout-all :ttl=1 :sout-keep \ +--network-caching=10000 --sout-transcode-hurry-up --no-drop-late-frames \ +--no-skip-frames --rt-priority \ -vvv \ >>video.log 2>&1