set("log.level",5)


set("frame.video.width",1280)
set("frame.video.height", 720)
set("gstreamer.add_borders", false)
set("clock.allow_streaming_errors", true)
set("log.file.path", "liq.log")


video = single("stream_background.ppm")
audio = single("42.mp3")


s = mux_video(video=video, audio)
s = fallback([s, blank()])



output.gstreamer.audio_video(
  video_pipeline=
    "videoconvert ! x264enc bitrate=2000 ! video/x-h264,profile=baseline ! queue ! mux.",
  audio_pipeline=
    "audioconvert ! voaacenc bitrate=256000 ! queue ! mux.",
  pipeline=
    "flvmux name=mux ! rtmpsink location=\"rtmp://localhost:1935/live/stream live=1\"",
  s)

Изменить пасту