<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      It now works but I'm not sure why, I made a few changes :<br>
      - changed pix=state-&gt;image*,* by pix=state-&gt;image*;* in line
      84 of src/gem/pix_pix2gst.cpp and recompile<br>
      - noticed that you need to add "capsfilter" before audio/x-raw or
      video/x-raw = [capsfilter audio/x-raw-int rate=44100 depth=16
      channels=2] to create the object as shown in a test patch<br>
      - desactivated my firewall<br>
      - added a [videorate] object<br>
      <br>
      audiotestsrc is ok but I'm still trying to add audio from alsa or
      jack to the stream : no error for alsa but no stream, <br>
      with jacksrc : <br>
      [jackaudiosrc]: gstbaseaudiosrc.c(840): gst_base_audio_src_create
      (): /GstPipeline:pipeline0/GstJackAudioSrc:jackaudiosrc1:<br>
      Dropped 17408 samples. This is most likely because downstream
      can't keep up and is consuming samples too slowly.<br>
      [jackaudiosrc]: Impossible d'enregistrer assez rapidement les
      donn&eacute;es audio<br>
      <br>
      <br>
      ++<br>
      Benjamin<br>
      <br>
      <br>
      Le 04/02/2013 02:17, Benjamin ~ 01xy a &eacute;crit <br>
    </div>
    <blockquote cite="mid:510F0C26.6030008@free.fr" type="cite">Hello,
      <br>
      <br>
      I'm trying to stream a webcam to an icecast server with pdgst and
      Gem with the attached patch
      <br>
      I managed to stream to icecast using [v4l2src] object, so without
      pix_pix2gst
      <br>
      pix2gst.pd example works
      <br>
      I managed to stream to icecast out of Pd using this command :
      <br>
      # gst-launch v4l2src ! video/x-raw-yuv,width=320,height=240 !
      ffmpegcolorspace ! theoraenc quality=16 ! oggmux ! shout2send
      ip=labomedia.org port=8000 password=**** mount=live.ogv
      <br>
      <br>
      but I can't create [video/x-raw-yuv] ("video/x-raw-yuv ...
      couldn't create) and [audio/x-raw-float channels=2] neither
      <br>
      <br>
      and when I try without it with the attached patch, no error but no
      stream
      <br>
      <br>
      tried with PD-extended 0.43.4, GEM: ver: 0.93.3 compiled: Jan 28
      2013, Gstreamer 0.10.36-1 on linux mint debian (wheezy)
      <br>
      <br>
      Does pix_pix2gst only works to "Loads in a movie with the videoIO
      framework" as written in the source code or with the pix_snap
      object ?
      <br>
      I also tried to stream the webcam using Pix_snap to feed
      pix_pix2gst with no success.
      <br>
      Did anybody already managed to use pdgst for video streaming ?
      <br>
      <br>
      thanks for any tips
      <br>
      ++Benjamin
      <br>
      <br>
      PS : I can give the pwd of the icecast server in a private e-mail
      so as to prevent this pwd to be archived with the mailing list
      <br>
      <br>
      == Pd log (4) ==
      <br>
      setting property 'ip'
      <br>
      setting property 'port'
      <br>
      setting property 'password'
      <br>
      setting property 'mount'
      <br>
      <a class="moz-txt-link-freetext" href="info:theora">info:theora</a>: __gst connect theoraenc1
      <br>
      <a class="moz-txt-link-freetext" href="info:ogg">info:ogg</a>: __gst connect oggmux1
      <br>
      <a class="moz-txt-link-freetext" href="info:shout2send">info:shout2send</a>: __gst connect shout2send1
      <br>
      <a class="moz-txt-link-freetext" href="info:vorbis">info:vorbis</a>: __gst connect vorbisenc1
      <br>
      <a class="moz-txt-link-freetext" href="info:ogg">info:ogg</a>: __gst connect oggmux1
      <br>
      <a class="moz-txt-link-freetext" href="info:shout2send">info:shout2send</a>: __gst connect shout2send1
      <br>
      <a class="moz-txt-link-freetext" href="info:ogg">info:ogg</a>: __gst connect oggmux1
      <br>
      <a class="moz-txt-link-freetext" href="info:shout2send">info:shout2send</a>: __gst connect shout2send1
      <br>
      GEM: Only using 8 color bits
      <br>
      GEM: Direct Rendering enabled!
      <br>
      GEM: GLEW version 1.5.4
      <br>
      GEM: Start rendering
      <br>
      info: proplist numread 11
      <br>
      ....
      <br>
      v4l2: GEM: pix_video: Opened video connection 0x16
      <br>
      <a class="moz-txt-link-freetext" href="info:theora">info:theora</a>: __gst connect theoraenc1
      <br>
      <a class="moz-txt-link-freetext" href="info:ogg">info:ogg</a>: __gst connect oggmux1
      <br>
      <a class="moz-txt-link-freetext" href="info:shout2send">info:shout2send</a>: __gst connect shout2send1
      <br>
      <a class="moz-txt-link-freetext" href="info:vorbis">info:vorbis</a>: __gst connect vorbisenc1
      <br>
      <a class="moz-txt-link-freetext" href="info:ogg">info:ogg</a>: __gst connect oggmux1
      <br>
      <a class="moz-txt-link-freetext" href="info:shout2send">info:shout2send</a>: __gst connect shout2send1
      <br>
      <a class="moz-txt-link-freetext" href="info:ogg">info:ogg</a>: __gst connect oggmux1
      <br>
      <a class="moz-txt-link-freetext" href="info:shout2send">info:shout2send</a>: __gst connect shout2send1
      <br>
      <a class="moz-txt-link-freetext" href="info:pix2gst">info:pix2gst</a>: stream_status 0 audiotestsrc1
      <br>
      <a class="moz-txt-link-freetext" href="info:pix2gst">info:pix2gst</a>: stream_status 1 audiotestsrc1
      <br>
      <a class="moz-txt-link-freetext" href="info:pix2gst">info:pix2gst</a>: stream_status 0 appsrc0
      <br>
      <a class="moz-txt-link-freetext" href="info:pix2gst">info:pix2gst</a>: stream_status 1 appsrc0
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>