Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
ffmpeg [2015/02/19 17:05] – [VLC] admin | ffmpeg [2018/07/24 16:24] (current) – admin |
---|
| |
===== VLC ===== | ===== VLC ===== |
| |
| |
<code bash> | <code bash> |
// AVCONV END | // AVCONV END |
</code> | </code> |
| |
| <code php> |
| // echo("/var/www/userspace/apps/lmcevideo/streamer.sh $localFile $tmp $url"); |
| |
| /* |
| $process = exec("sudo -su www-data cvlc -I dummy --mms-caching 0 $localFile vlc://quit --sout='#transcode{width=320,height=240,fps=25,vcodec=h264,vb=256,venc=x264{aud,profile=baseline,level=30,keyint=30,ref=1},acodec=mp3,ab=96}:std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=$tmp/stream.m3u8,index-url=$url},mux=ts{use-key-frames},dst=$tmp/stream0.ts}'"); |
| */ |
| //echo("sudo -su www-data cvlc -I dummy --mms-caching 0 $localFile vlc://quit --sout='#transcode{width=320,height=240,fps=25,vcodec=h264,vb=256,venc=x264{aud,profile=baseline,level=30,keyint=30,ref=1},acodec=mp3,ab=96}:std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=$tmp/stream.m3u8,index-url=$url},mux=ts{use-key-frames},dst=$tmp/stream0.ts}'"); |
| |
| </code> |
| |