Hey all!
Just wanted to ask I'm planing to make a little "streaming tv" but I'm having small problems.
I'm using the following code to get the stream up and running:
Code:
#!/bin/bash
/usr/bin/killall -9 screen
/usr/bin/killall -9 vlc
/usr/bin/screen -A -m -d -S test-1 /usr/bin/cvlc /home/shorto/video.mp4 -vvv input_stream --sout '#duplicate{dst=standard{access=http,mux=ts,dst=:8888}'
Now if I use an .mpg file everything works but when using a mp4 file with h264 only the sound streams on with no video.
Does somebody have a clue on how to fix this? Or perhaps if you can recommend a better alternative to VLC that can do this? The other problem I'm having here is that I would need to make a playlist of files, let's say I have 200 files to play and well I simply can't use this code to play those videos except if I stream every video on a different port and that is something I really don't want to do, just want a basic playlist that repeats itself when it's done so that it streams 24/7 and just plays one file after another.