Now this all works, even on a Raspberry Pi.(Which is my main goal)
However: one stream works, two aswel. But when I try a third instance of VLC to convert for a third stream (I am in fact using the same input per instance right now) it sort of stops working. Different things happen when I add the third: Sometimes all of the VLC's stop working. Sometimes, the first two keep going and the third just does nothing. Just now: the first stopped, second seemed slow and the third worked.
The command I use, replacing <> tags with my own folders and such. (I use a different folder per stream)
Code: Select all
VLC -I dummy rtsp://<INPUTSTREAM> vlc://quit --sout="#std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=<MY_FOLDER>/mystream.m3u8,index-url=<MY_IP>/mystream-########.ts},mux=ts{use-key-frames},dst=<MY_FOLDER>/mystream-########.ts}"
Raspberry Pi: Output on 16GB MicroSD card (Write speed up to 6 MB/s)
Raspberry Pi: Output on 16GB USB 3.0 stick (Write speed up to 25 MB/s tested)
MacBook: Output on 16GB USB 3.0 stick (Same as above)
MacBook: Output on 128GB SSD (Write speed up to 243MB/s)
Macbook: Output on 128GB SSD and 16GB USB stick combined.
The average output of my files seems to be about 2.5-3 MB/s, and as each file is 10seconds that equals about 0.3 MB/s. So it cant be the write speed that is the limit here. Nor the i/o given it doesnt work on a mac with an ssd.
CPU-usage during 2 instances and more on the raspberry is ok about 16% per instance (so up to 30%)
RAM usage remains below per VLC, seems to be ± 2.2%
By the way, I am using VLC 2.0.3 Twoflower on the Raspberry Pi and 2.0.6 Twoflower 64bit on my Mac.
To my knowledge these are the latest versions, tho I do find it a bit strange that Raspberry Pi is older.
Im wondering what the issue could be here. Did I overlook anything ?