<div dir="ltr">gst-launch-1.0 \<br>    uridecodebin uri=$uri \<br>        ! tsdemux \<br>        ! timeoverlay \<br>        ! x264enc bitrate=2000 key-int-max=60 bframes=0 byte-stream=false aud=true tune=zerolatency \<br>        ! h264parse \<br>        ! "video/x-h264,profile=main" \<br>        ! queue \<br>        ! mux. \<br>        ! "audio/x-raw, format=(string)S16LE, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2" \<br>        ! voaacenc bitrate=128000 \<br>        ! flvmux streamable=true name=mux \<br>        ! rtmpsink location="rtmp://<a href="http://a.rtmp.youtube.com/live2/x/$AUTH" target="_blank">a.rtmp.youtube.com/live2/x/$AUTH</a> app=live2"<br><br><br>WARNING: erroneous pipeline: link without source element<br><br><div class="gmail_extra">I also noticed:<br>Missing element: H.264 decoder<br></div><div class="gmail_extra"></div><div class="gmail_extra"><br></div><div class="gmail_extra">So switched to a .webm file and removed most of the parameters - I'll tune it once I get the pipline working.<br><br>gst-launch-1.0 \<br>    uridecodebin uri=$uri \<br>        ! qtdemux name=mux \<br>        ! x264enc \<br>        ! h264parse \<br>        ! "video/x-h264,profile=main" \<br>        ! queue mux.\<br>        ! audio/x-raw \<br>        ! voaacenc \<br>        ! flvmux streamable=true mux. \<br>        ! rtmpsink location="rtmp://<a href="http://a.rtmp.youtube.com/live2/x/$AUTH">a.rtmp.youtube.com/live2/x/$AUTH</a> app=live2"<br><br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMatroskaDemux:matroskademux0: GStreamer encountered a general stream error.<br>Additional debug info:<br>matroska-demux.c(4671): gst_matroska_demux_loop (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMatroskaDemux:matroskademux0:<br>stream stopped, reason not-linked<br>ERROR: pipeline doesn't want to preroll.<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 20, 2014 at 8:09 AM, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas.dufresne@collabora.com" target="_blank">nicolas.dufresne@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><br>
Le 2014-09-20 01:38, Carl Karsten a écrit :<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
        ! mux. "audio/x-raw, format=(string)S16LE, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2" \<br>
</blockquote>
I didn't tested the rest, but you are missing a ! between mux. and audio/. Hopefully that's all you need. I don't think that having live sources is strictly required, though without live source streamable=true must be manually set on flvmux (as it can't guess), but you do that already.<br>
<br>
cheers,<br>
Nicolas<div><div><br>
<br>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</div></div></blockquote></div><br></div></div>