Regular streaming consume too much CPU
I am trying to run a video from http site:
It is working, but the CPU that the process takes is ~20%. Running a local file (1080) does not consume CPU at all (so, no HW acceleration issue).
For me, it looks like a lot of CPU cycles go for the download of the stream. To verify that, I used the following config file (and then opened the stream via http://127.0.0.1:8080):
new bg broadcast enabled
setup bg option image-duration=-1
setup bg input "http://nana10live-lh.akamaihd.net/i/HD_0@123101/index_2400_av-p.m3u8?sd=10&rebase=on"
setup bg output #transcode{sfilter=mosaic,vcodec=mp4v,vb=1024,scale=0.5}:bridge-in{id-offset=10000}:standard{access=http,mux=ogg,dst=127.0.0.1:8080}
control bg play
The first process now consumes ~20% CPU, but the second one (from 127.0.0.1:8080) takes only 0.7% CPU.
Originally, I was trying to use the mosaic option, but since it is consuming too much CPU (~ 50% for 4 videos), I start to debug it and found out that the problem occurs also for a direct vlc streaming from the video site.
I posted a thread on the forum:
Someone suggested to test the latest build (VLC 3.x) - It is the same in the latest nightly build (vlc-3.0.0-20170212-0448-git-win64.exe
)
I decided to check ace player ... running the same stream from ace player (VLC 1.1.2) and it takes no more than 1.5% CPU, while in VLC (3/2.x) it takes 25% ...
Tested also on linux (mint 17.3) ... same problem
Please assist, Thx, Yohay