LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Video Stream from RasPi to Linux Debian (https://www.linuxquestions.org/questions/linux-newbie-8/video-stream-from-raspi-to-linux-debian-4175491044/)

CokeAt3C 01-12-2014 02:54 PM

Video Stream from RasPi to Linux Debian
 
Dear Community!
As you can see, it is my first post on linuxquestion.org.
Of course I tried to use the forum and google search, but maybe I dont know the right words to find a solution for my problem. So I decide to ask here.

I tried to set up a video-stream from my RasPiCam to a linux based laptop (debian-7.3.0-i386-DVD-1.iso). Therefore I want to use this tutorial. Until the point with the MacBook it works fine. But I have no Macbook and I realy dont know how to realize the receiver (laptop) settings.

I hope that someone can help me to find a solution.

I also know about the oficial stream solution from raspberrypi.org/camera. His latency is to high for me.

Thanks, Simon

lleb 01-12-2014 03:36 PM

http://rpm.pbone.net/index.php3/stat...gst-launch-1.0

http://gstreamer.freedesktop.org/dat...ter-using.html

even with the tutorial using OSx, you should be fine running that command line or something very similar in your Debian system.

Good luck, let us know how it pans out. sounds like an interesting project.

CokeAt3C 01-14-2014 11:40 AM

Hello all,

just a litle update:
I found some inspiration on this website and show you (imho) the relevant steps:
source: https://gnunet.org/build-instructions-debian-73

Quote:

# apt-get update
# apt-get upgrade
# nano /etc/apt/sources.list

# These were there before:
deb http://ftp.de.debian.org/debian/ wheezy main
deb-src http://ftp.de.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
deb http://ftp.de.debian.org/debian/ wheezy-updates main
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main

# Add these lines (feel free to adjust the mirror):
deb http://ftp.de.debian.org/debian/ testing main
deb http://ftp.de.debian.org/debian/ unstable main

The next step is to create/edit your /etc/apt/preferences file to look like this:

Package: *
Pin: release a=stable
Pin-Priority: 700

Package: *
Pin: release a=testing
Pin-Priority: 650

Package: *
Pin: release a=unstable
Pin-Priority: 600

Update again

Now, run again

# apt-get update
# apt-get upgrade

now it is possible to install gstreamer:
apt-get install -t unstable gstreamer1.0
and you can run the reciever command:

gst-launch-1.0 -v tcpclientsrc host=YOUR-PI-IP-ADDRESS port=5000 ! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

thanks, Simon


All times are GMT -5. The time now is 12:50 AM.