Translucent background for Mission Planner HUD

Is it possible to make the HUD background translucent?  I'm wanting to put it on top of a Mplayer stream for my low latency HD streaming project..  Currently have it in a reduced size on the bottom corner of my video, but not the cleanest and tough to read!!  Its a h264 stream so don't think I can feed correct through mission planner without using VLC which kills the latency....  Any help would be much appreciated!!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hi Patrick,

    We are currently facing the same problem.

    I have been trying to transcode a H264 video stream from a raspberry pi camera module to a format supported by Mission Planner. No luck. I could transcode it to MJPEG ou MPEG, but with a very low frequency. Moreover, it kills the raspberry pi, on which I need to save some cycles for other tasks. I have now realized that all transcoding would need to be performed on the base station and not in the air.

    Here's the best I can do right now:

    1- stream the video from the Raspberry to the base station, using netcat and raspivid and the following parameters width, height, fps and bitrate according to bandwidth.

    raspivid -param1 -param2 | nc -u my_ip my_port

    2- receive the stream on the base station and either:

    2.1 - read it with mplayer: nc -u -l -p my_port | mplayer -f my_framerate -cache 1024 -

    2.2 receive the stream with vlc to transcode it for mission planner AND display it locally without transcoding. (I will do this tonight and come back with the details if you are interested)

    Hope this helps!

    • Hi Alex,

       

      Def keep me posted on your progress; i tried transcoding and restreaming with VLC and never had any luck...  This was on a Windows 8.1 machine which I think might be part of the problem..  I'll keep you posted with any progress on my end as well. 

      • Did you guys have any luck with this? If mission planner can't read H264, I think the best way is to do the transcoding to MJPEG on the base station (my laptop!) rather than on the Pi.

        I am just about to start giving this a go

        • Sorry Guys,

          I missed the replies during summer time :)

          I do have 2 options that I have been using effectively to stream live over the internet my video feeds:

          1- H.264 stream with the raspberry pi camera module


          Nothing sexy here, but a quick hack that I have talked about in my first post. Here are the details:

          Inside the UAV, with my Raspberry Pi: 

          raspivid -hf -vf -w 1024 -h 768 -fps 20 -t 0 -o - | nc -l -p 1234

          In mplayer, in my control station: 

          nc drone_pub_ip 1234 | mplayer -fps 60 -nosound -cache 1024 -

          This solution meet my expectations: low latency (under 100ms), good quality and reliable.

          2- MJPEG stream with Logitech C270

          The Logitech C270 stream is very good. Although I did not test this solution as much, all the tests I have conducted meet my exceptions. Moreover, this stream can be embedded in Mission Planner of course. Here are the details:

          Inside the UAV, with my Raspberry Pi:

          mjpg_streamer -i "/usr/lib/input_uvc.so" -o "/usr/lib/output_http.so -w ./www"

          With Mission Planner:
          Connect the the feed at http://your_ip:8080?action=stream

          Hope this helps!

          Alex

This reply was deleted.

Activity

DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
More…