I believe a couple of people have difficulties with live streaming and the ffmpeg settings chosen for the live streaming. Some people find them to high for there bandwidth, some people want more etc etc.
Until Cheezey implements either a manual option to choice your bandwith or true multi-bit rate, I think it is wise that we keep our tweaks, tips and questions about this settings centralized. (this or some sticky topic)
The following settings are distributed with the latest 5.1.0 version of iPiMP
CONFIX>XML
libx264-iPiMP.ffpreset
To kick of with my question and problems;
My mepo machine only has a P4 2.4 GHz, so is not capable of live streaming. with the above settings, CPU spikes to 100% and encoding time of 1 second of video is close to 1 second if not higher. It means it needs buffering now and then.
What can I do to tweak the settings, lowering the encoding speed under 1 second per second. I don't give anything about the bandwidth. Wifi is fast enough and everything is connected to the outside world by a glass fibre 50/50 connection. I just want to go a bit easy on the CPU.
Until Cheezey implements either a manual option to choice your bandwith or true multi-bit rate, I think it is wise that we keep our tweaks, tips and questions about this settings centralized. (this or some sticky topic)
The following settings are distributed with the latest 5.1.0 version of iPiMP
CONFIX>XML
Code:
<appconfig>
<transcoders>
<transcoder name="LiveTV" usetranscoding="1" filename=""D:/Program Files/iPiMP/Utilities/ffmpeg\ffmpeg.exe"" args="-i - -threads 0 -re -vcodec libx264 -fpre "D:/Program Files/iPiMP/Utilities/ffmpeg/ffpresets/libx264-iPiMP.ffpreset" -b 256k -s 480x272 -aspect 480:272 -acodec libfaac -ac 2 -ab 64k -ar 48000 -ac 2 -async 2 -f ism http://192.168.254.9:88/SmoothStream.isml/Streams(SmoothStream)?dvr_window_length=15" inputmethod="2" outputmethod="4" />
<transcoder name="Recording" usetranscoding="1" filename=""D:/Program Files/iPiMP/Utilities/ffmpeg\ffmpeg.exe"" args="-ss 420 -i "{0}" -threads 0 -re -vcodec libx264 -fpre "D:/Program Files/iPiMP/Utilities/ffmpeg/ffpresets/libx264-iPiMP.ffpreset" -b 256k -s 480x272 -aspect 480:272 -acodec libfaac -ac 2 -ab 64k -ar 48000 -ac 2 -async 2 -f ism http://192.168.254.9:88/SmoothStream.isml/Streams(SmoothStream)?dvr_window_length=15" inputmethod="0" outputmethod="4" />
<transcoder name="TVSeries" usetranscoding="1" filename=""D:/Program Files/iPiMP/Utilities/ffmpeg\ffmpeg.exe"" args="-i "{0}" -threads 0 -re -vcodec libx264 -fpre "D:/Program Files/iPiMP/Utilities/ffmpeg/ffpresets/libx264-iPiMP.ffpreset" -b 256k -s 480x272 -aspect 480:272 -acodec libfaac -ac 2 -ab 64k -ar 48000 -ac 2 -async 2 -f ism http://192.168.254.9:88/SmoothStream.isml/Streams(SmoothStream)?dvr_window_length=15" inputmethod="0" outputmethod="4" />
<transcoder name="Radio" usetranscoding="1" filename=""D:/Program Files/iPiMP/Utilities/ffmpeg\ffmpeg.exe"" args="-i - -threads 0 -re -acodec libfaac -ac 2 -ab 64k -ar 48000 -ac 2 -async 2 -f ism http://192.168.254.9:88/SmoothStream.isml/Streams(SmoothStream)?dvr_window_length=15" inputmethod="2" outputmethod="4" />
</transcoders>
</appconfig>
libx264-iPiMP.ffpreset
Code:
coder=0
flags=+loop
cmp=+chroma
partitions=+parti4x4+parti8x8+partp8x8
me_method=umh
subq=5
me_range=16
g=100
keyint_min=50
sc_threshold=0
i_qfactor=0.71
qmin=10
qmax=51
refs=1
trellis=2
deblockalpha=0
deblockbeta=0
crf=24
level=30
To kick of with my question and problems;
My mepo machine only has a P4 2.4 GHz, so is not capable of live streaming. with the above settings, CPU spikes to 100% and encoding time of 1 second of video is close to 1 second if not higher. It means it needs buffering now and then.
What can I do to tweak the settings, lowering the encoding speed under 1 second per second. I don't give anything about the bandwidth. Wifi is fast enough and everything is connected to the outside world by a glass fibre 50/50 connection. I just want to go a bit easy on the CPU.