I'm trying to output a video to youtube with gstreamer using the examples 
provided by liquidsoap and I'm getting the following in the logs:

> 2018/12/05 18:33:51 [clock.wallclock_gstreamer:2] Error when starting output 
> output(dot)gstreamer: Gstreamer.Failure_msg("syntax error")!
> 2018/12/05 18:33:51 [stderr:3]
> 2018/12/05 18:33:51 [stderr:3] (Liquidsoap:27451): GStreamer-CRITICAL **: 
> gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
> 2018/12/05 18:33:51 [clock.wallclock_gstreamer:3] Raised by primitive 
> operation at file "io/gstreamer_io.ml", line 112, characters 16-46
> 2018/12/05 18:33:51 [clock.wallclock_gstreamer:3] Called from file 
> "io/gstreamer_io.ml", line 68, characters 18-30
> 2018/12/05 18:33:51 [clock.wallclock_gstreamer:3] Called from file 
> "tools/start_stop.ml", line 99, characters 6-16
> 2018/12/05 18:33:51 [clock.wallclock_gstreamer:3] Called from file 
> "clock.ml", line 237, characters 19-37
> 

this is my code:


```
def startYoutube(source) =

    file="/home/teste/cover.ppm"
    width=0;
    height=0;
    x=0;
    y=0;

    width = if width == 0 then "" else "width=#{width}" end
    height = if height == 0 then "" else "height=#{height}" end
    x = if x == max_int() then "" else "x=#{x}" end
    y = if y == max_int() then "" else "y=#{y}" end
    image = single(id="image","annotate:#{width},#{height},#{x},#{y}:#{file}")
    s = mksafe(mux_video(video=image, source))
    output.youtube.live(key="xxxxx",s);

end
```

Any clues?

-- 
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/672
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to