Increasing quality of video streams #4046
Replies: 1 comment 1 reply
-
Hi @wolfgang55283! There are numerous possibilities with video setup. There is even an option to use Regarding your question, you may want to specify the bitrate with output.icecast(
%ffmpeg(
format="ogg",
%audio(codec="libopus", samplerate=48000),
%video(codec="libtheora", b=10000000)
), And maybe other parameters like GOP ( The quality and stickiness of the video will be dependent on your CPU. So if it's possible and you have access to it - you can try Hardware Acceleration. Personally I think (%ffmpeg(format="mpegts",
%audio(
codec="aac",
samplerate=44100,
channels=2,
b="192k",
profile="aac_low"
),
%video(codec="libx264",
g="50",
maxrate="8000k",
bufsize="16000k",
preset="ultrafast",
tune="zerolatency")), send_icy_metadata=true, ... |
Beta Was this translation helpful? Give feedback.
-
Hey,
I started using the liquidsoap software on an ubuntu server some days ago. Streaming audio playlists works perfectly well. Today I wanted to stream a single video file. It worked, too but the video is quite blurry (low quality) and a little bit sticky. Just the video - the audio is the same quality as when I watch it local on a player)
So I tried to set the bitrate and the frames but liquidsoap said that these operations are unknow. Well, I must admit that I am not an expert in using ffmpeg, so maybe you can help me increasing the quality of the video stream or tell me if the reason for the low quality is something else.
Here is my script in order to give you information you may need:
`source = single("test.mp4")
output.icecast(
%ffmpeg(
format="ogg",
%audio(codec="libopus", samplerate=48000),
%video(codec="libtheora")
),
host = "localhost",
port = 5555,
password = "topsecret",
mount = "/stream",
source
)`
Would be happy to get some hints. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions