Unlimited range HD streaming with LTE

I tried to read some information about CPU using and Bandwidth during the streaming, seems better than when raspberry encode the video. Anyway i’m not able to do some techincal comparison
This is a great information , i didn’t know about this issue with ethernet controller. The USB encoder is V4L2 compatible , antother great information … more cheaper and less weight !
I’m curious to try it

Hello,

I have a Navio2 with my Raspberry3. It use a customised Raspbian Strecht image (Emlid kernel).

Is there a way to manually install Apsync and settings, without need of your image?

Thanks for your work

I don’t have experience with navio . Pobably the best way is add files manually in your image . If you want streaming video you need to install Gstreamer . If you can connect GCS in ethernet is a good point to start add LTE modem and video.

Great writeup @DomenicoPatella.
Few comments:

  • For LTE modem, use a Huawei HiLink, typically E3372H That will save you allot of trouble as the HiLink are Plug & Play.

  • If you want to stream video to multiple destination you can add multiudpsink to the pipeline
    Example:

     raspivid -n -w 1280 -h 720 -b 1000000 -fps 15 -t 0 -o - | \
              gst-launch-1.0 --gst-debug-level=0 -v \
              fdsrc do-timestamp=1 ! \
              h264parse ! \
              rtph264pay config-interval=10 pt=96 ! \
              multiudpsink clients=192.168.1.100:5600,192.168.1.101:5600,192.168.1.102:5600 
    
  • For those who use Zerotier behind a multi NAT network may experience pixalating frames or grey overlay in the HUD. In mission planner you can add the bellow rtpjitterbuffer snippet to the HUD=>Video => Set Gstreamer source

     udpsrc port=5600 caps = "application/x-rtp, media=video, clock-rate=90000, encoding-name=H264, payload=96" ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! videoconvert ! video/x-raw,format=BGRA ! appsink name=outsink
    

    There is no solution for this in QGC yet, but hopefully soon.
    https://github.com/mavlink/qgroundcontrol/issues/5721#issuecomment-524446059

3 Likes

Thank @Sinamics for your valuable advices , you have developed Uavcast , a great software to offer LTE experience . Anyway the pixalating frames or grey overlay is a little annoying. True the rtpjitterbuffer solved the problem, i hope will be fixed in some next release of QGC . With the encoder H.264 i tried to change some parameter , with VBR and low key interval the result has been good.

1 Like

Does UAVcast use the GPU in the Raspberry Pi for H.264 encoding? Does the RPi 4B give markedly better performance than RPi 3?

I’m new to all of this. I’m just looking for a way to build a project where I don’t have to buy a monthly subscription to anything besides my home internet that I already have. Is that the case with your setup (or the OP’s setup for that matter?)

1 Like

I’ll tell you what’s amazing to me, besides the fact that we, the unwashed masses, have access to this amazing technology, but that here’s a guy that developed UAVcast, getting paid for subscriptions, yet he’s STILL here helping out people that want to do it this way. What an amazing community.

6 Likes

Will this also allow Control/telemetry over LTE?

Thank you a lot! I would like to recreate the project for educational purposes. Could you tell, after following all instructions you gave will it be possible to set waypoints for drone over 4G connection

1 Like

Could you post your configuration?
I will try to help but I need to understand your hardware configuration

Oh yes , you can get the control via joystick instead of radio system

I solved it thank you what I need now is how to get the encoder work with this setup ? Because I saw that you didn’t post that tutorial

1 Like

Hello can you explain me how to change the dhcp server on the apsync because i want to change the ip instead of 10.0.1 use 192.168 is that possible ?

Hi
two q
1.
i have flash the Apsync
and connect the Pixhawk to Rpi 3.
i get the data on my pc browser (after connect to ardupilot WIFI)
but fail to connect to mission Planer on UDP 14550
and can not login with ssh (bitvize) keep getting wrong user/pswd.
not login on the terminal (kyb and screen connect to RPI) with usr & pwd apsync
Any idea ?
2.
can i use a cellular router (a small stick with sim. put it next to the RPI) and connect the RPI to this wifi ?
Thank you

Hi
Did you change the baud rate on Telem serial that you used to 921 ?
Are you sure abotu the SSH configuration client
In this topic there are more informations

Hi
at the Bitvise SSH Client the server should be 10.0.1.128 and the port is 22 ?
i get wrong user pwd (so it find the host, wright?)
and even if i connect a monitor and keyboard to the Rpi, i get the same login incorrect …

i’ve tried flash the img again and get the same login err :frowning:
Thank you

Hi, very strange
If you get data with your pc the IP address is correct
The username is apsync and password apsync
Try to use putty