Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I am trying to stream a video between two Ubuntu 9.04 stations using GStreamer. The following code is run on the emitting machine: Code: gst-launch videotestsrc ! queue ! ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    1

    GStreamer newbie test

    Hello,
    I am trying to stream a video between two Ubuntu 9.04 stations using GStreamer.

    The following code is run on the emitting machine:
    Code:
    gst-launch videotestsrc ! queue ! ffenc_mjpeg ! udpsink port=5000 host=192.168.1.100 -v
    And the following on the receiving machine with IP 192.168.1.100:
    Code:
    gst-launch udpsrc port=5000 caps="image/jpeg, width=320, height=240, framerate=30/1" ! queue ! ffdec_mjpeg ! ximagesink sync=true -v
    Whatever the order I'm running them (emit first or receive first), I'm getting the following error once both are connected (I can see the Ethernet lights blinking):

    ERROR*: element /GstPipelineipeline0/GstUDPSrc:udpsrc0*: internal error data flow.
    gstbasesrc.c(245: gst_base_src_loop (): /GstPipelineipeline/GstUDPSrc:udpsrc0:
    streaming task paused, reason not-negotiated (-4)
    Execution ended after 3191625000 ns.
    PAUSED...

    What's happening? I have set the caps and it still shows me the error.

    Thanks,
    Mike

  2. #2
    Just Joined!
    Join Date
    Jul 2010
    Posts
    1

    not able to playback ogg file using gstreamer....

    hi,
    i m trying playback ogg file on my target and i gave below command
    gst-launch-0.10 filesrc location=flip-piece.ogg ! decodebin ! audioconvert ! alsasink

    i m getting below error..

    (gst-launch-0.10:2119): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstsubparse.so': /usr/lib/gstreamer-0.10/libgstsubparse.so: undefined symbol: sami_context_init
    BAD screen resolution 16 x 4877128!
    Error initializing: Error re-scanning registry , child terminated by signal


    plz do the needful for the same...

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    4
    Hi michael7,

    your pipeline can work fine if you use xvimagesink instead of ximagesink. This is becouse xvimagesink is more reliable to input formats. If you have a timestamped stream xvimagesink could give you some problems due to buffering (when frame has to be displayed its timestamp is outdated). This can be avoid using property max-lateness=-1.

    bye!

  4. #4
    Just Joined!
    Join Date
    Sep 2010
    Posts
    4
    Hi ganeshpetkar,

    let's try the following pipeline:

    filesrc location=airplane.ogg ! oggdemux ! vorbisdec ! audioconvert ! alsasink

    this will allow to listen to the audio stream of the ogg file.

    bye

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...