Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
projects:vlc_powered_streaming [2017/02/10 21:06] over23 [HTTP streaming] - mosaic streaming VLC |
projects:vlc_powered_streaming [2017/06/13 19:56] (current) over23 |
||
---|---|---|---|
Line 1: | Line 1: | ||
Documentation: https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/ | Documentation: https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/ | ||
+ | * http://www.guidingtech.com/ebooks/vlc-media-player/ | ||
+ | * http://alex.mamchenkov.net/2014/11/27/vlc-mosaic-multiple-rstp-streams/comment-page-1/ | ||
+ | * to test for streaming purposes instead of VLC : https://obsproject.com/ | ||
+ | * brmlabi stream: https://brmlab.cz/user/jenda/duga | ||
====== HTTP streaming ====== | ====== HTTP streaming ====== | ||
Line 41: | Line 44: | ||
control channel4 play | control channel4 play | ||
control mosaic play | control mosaic play | ||
+ | </code> | ||
+ | |||
+ | * to run | ||
+ | <code> | ||
+ | vlc --vlm-conf ~/Movies/mosaic.vlm.conf --mosaic-width 1280 --mosaic-order "1,2,3,4" --mosaic-height 720 | ||
</code> | </code> | ||
===== Stream in HTTP: ===== | ===== Stream in HTTP: ===== | ||
Line 96: | Line 104: | ||
</code> | </code> | ||
- | Na druhé straně ve vlc pustit network stream z adresy ''rtsp://ip_addr_rbpi:8554/live.ts'' | + | Na druhé straně ve vlc pustit network stream z adresy <code>rtsp://ip_addr_rbpi:8554/live.ts</code> |
+ | ==== STREAM POMOCI FFMPEG ==== | ||
+ | <code> | ||
+ | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f alsa -ac 2 -i hw:1,0 -i /dev/video0 | ||
+ | -vcodec h264_omx -vf scale=-1:480 -vb 300k -acodec aac -ab 128k -g 50 -strict experimental -f | ||
+ | flv rtmp://a.rtmp.youtube.com/live2/XXXXXXXXXXXXXXX | ||
+ | </code> |