Gstreamer crashes udoo when trying to stream camera module

Discussion in 'Accessories' started by nonlinearmind, Sep 10, 2014.

  1. nonlinearmind

    nonlinearmind New Member

    Joined:
    Aug 9, 2014
    Messages:
    8
    Likes Received:
    0
    I'm trying to get gstreamer to stream the camera module to a crtmpserver video server. I'm trying the following pipeline:

    Code:
    gst-launch -q mfw_v4lsrc ! x264enc byte-stream=true  ! flvmux ! tcpclientsink host=192.168.1.20 port=6666
    It ends up freezing the UDOO board, requiring a restart.

    However, the following test works:

    Code:
    gst-launch -q videotestsrc ! x264enc byte-stream=true  ! flvmux   ! tcpclientsink host=192.168.1.20 port=6666
    What do I need to change in my pipeline?
     
  2. toussa

    toussa New Member

    Joined:
    Aug 29, 2014
    Messages:
    4
    Likes Received:
    0
  3. mikelangeloz

    mikelangeloz Member

    Joined:
    Jul 9, 2013
    Messages:
    129
    Likes Received:
    1
    Try with

    Code:
    gst-launch-0.10 -q mfw_v4lsrc ! x264enc byte-stream=true  ! flvmux ! tcpclientsink host=192.168.1.20 port=6666
     
  4. nonlinearmind

    nonlinearmind New Member

    Joined:
    Aug 9, 2014
    Messages:
    8
    Likes Received:
    0
    Re: Gstreamer crashes udoo when trying to stream camera modu

    That's the same pipeline I tried.
     
  5. mikelangeloz

    mikelangeloz Member

    Joined:
    Jul 9, 2013
    Messages:
    129
    Likes Received:
    1
    Re: Gstreamer crashes udoo when trying to stream camera modu

    Nope,
    you tried:

    Code:
    gst-launch
    I suggested:

    Code:
    gst-launch-0.10
    ;)

    This is because in UDOOBuntu we have a different version of gstreamer, optimized for armhf... This is why you command is failing... We'll upgrade the doc accordingly.. Let me know!
     
  6. nonlinearmind

    nonlinearmind New Member

    Joined:
    Aug 9, 2014
    Messages:
    8
    Likes Received:
    0
    Re: Gstreamer crashes udoo when trying to stream camera modu

    With either, I get:
    MFW_GST_V4LSRC_PLUGIN 3.0.8 build on Nov 19 2013 12:57:36.

    then udoo freezes.

    Is there a way to make it work using ffmpeg? I've tried using /dev/video0, but get an error.
     
  7. mikelangeloz

    mikelangeloz Member

    Joined:
    Jul 9, 2013
    Messages:
    129
    Likes Received:
    1

Share This Page