Streaming camera module with ffmpeg

Discussion in 'General Programming Discussion' started by nonlinearmind, Sep 11, 2014.

  1. nonlinearmind

    nonlinearmind New Member

    Joined:
    Aug 9, 2014
    Messages:
    8
    Likes Received:
    0
    I've been trying several different ways to get the camera module to stream, and have had no luck.

    Has anyone been able to stream the camera module using ffmpeg? I'm trying the following with little success:

    Code:
    ffmpeg -f video4linux2 -input_format yuv420p -i /dev/video7 -vcodec copy -an -f flv -metadata streamName=myStream tcp://192.168.1.20:6666
    ffmpeg gives me no errors, and seems to be streaming, but isn't.

    Any ideas?
     
  2. SvartaHajen

    SvartaHajen New Member

    Joined:
    Jan 12, 2015
    Messages:
    5
    Likes Received:
    0
    Hi,

    I am actually trying to do the exact same thing, and so far what I've concluded is that in order to freely use the camera is if it was a "standard" one, you need to use it as a loopback device. (see the last section of http://elinux.org/UDOO_Camera_Module)

    I will come back with the results once I've tried it.

    Cheers,
    Enric
     

Share This Page