https://github.com/savonet/liquidsoap/issues/709
Hello! I am not able to re-open the issue because of policy
---
My questions are:
1. How do i know when and **how** to use buffer?
2. How do i know when and **how** to use clocks?
3. Can i have basic example code of a 2500kbps stream in 1280x720, 30fps (or 25 
at least)? With simple single() audio and video.fill() function combined into 
one video. 
Everything i do ends up in 300kbps, which is not acceptable.  I spent like 3 
nights already (well, you guys spent way more, i know :D)

```
def output.restream.live(~id="",
  ~video_bitrate=2000,
  ~audio_encoder="fdkaacenc",
  ~audio_bitrate=128000,
  ~url="rtmp://a.rtmp.youtube.com/live2",
  ~key,
  source) =
  video_pipeline = "videoconvert ! x264enc bitrate=#{video_bitrate} 
byte-stream=false key-int-max=60 bframes=0 aud=true tune=zerolatency ! 
video/x-h264,profile=main ! queue ! mux."
  audio_pipeline = "audioconvert ! #{audio_encoder} bitrate=#{audio_bitrate} ! 
queue ! mux."
  pipeline = "flvmux streamable=true name=mux ! rtmpsink 
location=\"#{url}/#{key} live=1\""

  output.gstreamer.audio_video(id=id,video_pipeline=video_pipeline,
    audio_pipeline=audio_pipeline,pipeline=pipeline,source)
end
```
I am outputting the sound via gstreamer like this currently
---
Also i would like to add video-in-video without blinking
I want it to be as animated background for part of the screen
I tried to add in many ways but either liquidsoap crashes due to memory either 
my stream is back to 300kbps again :(

I am usually trying to do things myself, and i am still doing
I am programmer myself, but liquidsoap area is quite not clear for me currently

If you want, i can send a picture of my layout i want to achieve

---

p.s. is it a normal place to ask such questions? I heard about mailing list but 
i am out of this area currently too - is it even working? When i open 
mailing-list website i usually see some broken css&js so texts are unreadable 
without DevTools management

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/711
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to