In this film I take a look at online video streaming utilizing the Beaglebone black utilizing: RTP, UDP unicasting, and UDP multicasting, that makes it possible for an individual to various streaming. In all of these examples I utilized the VLC media gamer to show the film information. The closing area of this film goes on to describe how you can build your own program execution that can reveal the information utilizing LibVLC and the Qt structure. The benefit of performing this is that you can include your have information processing and handling efficiency into the video display screen. You might even develop code for recording numerous streams simultaneously and processing the information– for illustration, for stereo imaging.

In this online video I utilize a Logitech C920 and the Beaglebone Black. I would truly back both of these gadgets due to the truth of the processing electrical power of the Beaglebone black and the remarkable resolution performance of the C920 Having stated that, you truly ought to be geared up to adjust the code to any particular digital video camera.

If you utilize this code or the content product of the included video in your analysis, ensure you mention:.

Molloy, D.[DerekMolloyDCU] (2013, July, 19). Beaglebone: Streaming Video from Embedded Linux[Video file] Recovered fromhttp://youtu.be/-6DBR8PSejw

More information on the motion pictures on this channel can be observed at the web website http://www.derekmolloy.ie/ such as upgrade blog sites, supply code, textual material guides and structured guideline.

http://derekmolloy.ie/beaglebone/beaglebone-online video-capture-and-impression-processing-on-embedded-linux-applying-opencv/

source

22 thoughts on “Beaglebone: Streaming Online video from Embedded Linux & Personalized Motion Picture Gamer”

  1. I only have a (crappy but cheap) Logitech c270 so H.264 is not an option. I've only managed to make it work with the RTP stream so far.

    streamVideoRTP
    ———————–
    #!/bin/bash
    echo "RTP stream to some ip"

    # Work as fast as you can beaglebone !
    cpufreq-set -f 1000MHz

    # (shitty) 320p video
    v4l2-ctl –set-fmt-video=width=320,height=240,pixelformat=1
    # Can adjust framerate if needed
    #v4l2-ctl -set-parm=7.5 

    ffmpeg -f video4linux2 -input_format mjpeg  -i /dev/video0 -vcodec h263p -f  rtp rtp://<p>:<port>

  2. I have a problem:
    "./capture: error while loading shared libraries: libv4l2.so.0: cannot open shared object file: No such file or directory"
    __
    Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l GNU/Linux

    Does anyone have an idea how can I fix it?

  3. Time for some comment-thread necromancy! Rise from the grave, comment thread!

    Does a BeagleBone Black have the processing oomph to take frames from two 1920×1080 streams and do some rather simple point-detection analysis on them at maybe 2-4 analyses per second? I have an application I'm researching that involves distance/angle/orientation detection via camera and I can use three low-power laser diodes to provide a triangle of beams to detect, and OpenCV would make finding the point sources in the video frames pretty easy, but I'm wondering if the BBB can do this at a usefully quick pace. All I need to do is detect three point sources whose spread angle is known, and the math for determining distance/orientation based on the point sources' coordinates is pretty straightforward.

  4. Responding to Sheng Zhao (3 months ago):   I had the same problem you described.  The transmit frame rate started off high, but within half a minute it declined and declined to about 15 fps.   I found that it was caused by a low illumination level in the scene.   If the scene is bright (daytime), the logitech camera can maintain 30 fps easily.  If the scene is dim (indoors at night) the camera cannot maintain high frame rate.

  5. Thanks so much for these videos. I am learning so much. I do have a very noobish question. What is the easiest way to change the IP address of any of the streams? I am having problems with that. Thanks for any help!

  6. My daughter is on a springboard diving team at her school, and I think it would help the kids a lot if they could see streaming video (about a minute delayed) so that they could watch their own dive just as they get out of the pool. Do you think that the techniques you demonstrated could be used to make a video delay for this purpose? Any pointers would be greatly appreciated.

  7. Hi Derek, Congratulation for your videos, they are helping me to start my college project. I have one question about video stream in the BBB, is possible show the stream video in a web page embeded in the BBB?

  8. I tried the same setup, but I experience fps drops. It starts very high around 60fps and gradually drops and keeps dropping till around 15-16fps. Is there some setting I didn't configure properly?

  9. Hi. Yes, I am using Camtasia to record the PC desktop and it doesn't get across how smooth the video is. My guess is that I am getting a smooth display of 30 frames per second on the display. It is particularly smooth if the camera is stationary. Derek.

  10. Thank You Derek for uploading such a informative video. What once seemed a years' research to get things working on an affordable Embedded platform has been made so simple thanks to your video.

Leave a Reply

Your email address will not be published. Required fields are marked *