@Alex-Kushleyev Awesome. On a different note, do you know why ffmpeg has no issue with the aspect ratio of the stream but in QGroundControl, the stream seems to be vertically squished? I would guess ffmpeg correctly makes some assumptions about the aspect ratio that voxl-streamer doesn't outwardly declare and maybe QGC doesn't make these assumptions?
Posts made by bendraper
-
RE: streamer default h265
-
RE: streamer default h265
@Alex-Kushleyev it's probably just my gstreamer ignorance and it not being as simple to set up an h265 stream as swapping our h264 with h265
-
RE: streamer default h265
@Alex-Kushleyev Thanks for getting back. Here's our fork of voxl-streamer and the specific commit
As you can see, not much going on here. I just noticed how the 265 omx encoder object would be created but just unused when encoding a raw stream (using hires_small_grey in my tests which is RAW8).
When I try to connect to the stream, streamer gives the following
voxl2-mini:~$ voxl-streamer -i hires_small_grey -s -b 2000000 -p 554 Waiting for pipe hires_small_grey to appear Found Pipe detected following stats from pipe: w: 1024 h: 768 fps: 30 format: RAW8 Stream available at rtsp://127.0.0.1:554/live A new client rtsp://169.254.4.2:40732(null) has connected, total clients: 1 Camera server Connected gbm_create_device(156): Info: backend name is: msm_drm rtsp client disconnected, total clients: 0 no more rtsp clients, closing source pipe intentionally
and using ffmpeg to connect gives the following
ffplay version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2003-2021 the FFmpeg developers built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 [rtsp @ 0x74e358000cc0] method DESCRIBE failed: 503 Service Unavailable rtsp://169.254.4.1:554/live: Server returned 5XX Server Error reply
-
streamer default h265
It looks like if you are to use voxl-streamer to encode a RAW8 pipe, it will default to encoding it in h264. Is there a way to change this to 265? I tried recompiling the service and editing the pipeline.c file to use the 265 encoder where applicable (and changed other mentions of 264 to 265) but the stream fails when I try to start it. Is there a simpler way to achieve what I'm trying to do that I'm missing?
-
M0125 vs M0151
What are the differences between M0125 and M0151? I can't find any references to M0151 in the forums or technical docs.
-
RE: VOXL 2 Ethernet and USB Hub Add-on STEP file
@Vinny Extremely useful. Thanks Vinny!
-
VOXL 2 Ethernet and USB Hub Add-on STEP file
Hi. The technical documentation page is currently blank but I was wondering if the step or sldprt file for the new VOXL 2 Ethernet and USB Hub was readily available. Thanks
-
RE: VOXL2 Mini Power Requirements
@Vinny Thanks for this info this is super helpful. I 100% agree about the last thing you said and if I can use the ModalAI power adapter then I definitely will. I got the 7.4V spec by assuming nominal 2S battery voltage to nominal 6S, which was probably a bad assumption. Even so, a 2S battery from dead to full charge is typically 6.4V to 8.4V so I figured 5V input was probably not sufficient for the power module as it was not in the range of 2S to 6S. Seems like this may not be the case though which is excellent
-
RE: VOXL2 Mini Power Requirements
@Vinny Unfortunately I will not be able to get the 7.4-22V input the ModalAI BEC requires so I'll try the one from the link i sent above. Rated for 4A so it will hopefully suffice
-
Voxl 2 Mini Mounting
When I plug a camera into J6 on the Voxl 2 Mini, the mounting hole gets partially covered. Is there an ideal mounting solution for this board?
-
RE: VOXL2 Mini Power Requirements
@Vinny The documentation says that the Voxl Mini requires 6A inrush current capability. Is that true? Just looking for alternative BEC's for our system because in our system we only have a 5V and 12S supply at our disposal. Looking at the following component specifically https://www.amazon.com/DSN6000AUD-Converter-Regulator-Photovoltaic-Generation/dp/B09BDXZSRZ
-
RE: Voxl 2 Mini Static IP
@wilkinsaf google seems to suggest changing a /etc/network/interfaces file may do the trick but this file does not exist in the voxl filesystem
-
RE: Voxl 2 Mini Static IP
@wilkinsaf Actually it seems these settings don't stick after rebooting the voxl... Any ideas?
-
RE: Voxl 2 Mini Static IP
@wilkinsaf This worked! Thank you
-
RE: Voxl 2 Mini Static IP
@wilkinsaf I was just connecting to my laptop for now. Laptop set with a static IP
-
Voxl 2 Mini Static IP
https://docs.modalai.com/voxl2-mini-shell-access/
The bottom of this doc says "If using wired ethernet, set up a static IP address." but I've tried doing ifconfig eth0 ~ip address~ netmask ~subnet~ to no avail. I've also tried ip addr add xxx.xxx.xxx.xxx/yy dev eth0 to no avail (always sets ip to 169.254.4.1). I know the Voxl 2 wasn't able to have a static ip set so if it is the same for the mini then so be it, the doc just made it seem like it may be possible so I was just curious
-
RE: USB-C Port on Voxl 2 Mini
@Vinny Thanks Vinny for looking into this! I'm going to do some bench tests knowing this and will let you know how it goes!