ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Viorel Baicu
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Viorel Baicu

    • RE: Artefacts and poor image quality on high frame-rates using the hardware encoder

      Hello,

      I recorded the RSTP stream locally, on the device, using the ffmpeg. The bandwidth cannot be an influence.

      ffmpeg -i rtsp://localhost:8900/live -c copy -f segment -strftime 1 -segment_time 300 -segment_format mpegts /var/lib/rdars/recording/saved_%Y-%m-%d_%H-%M-%S.ts
      

      The recording shows the bad quality of the stream.

      posted in VOXL 2
      Viorel BaicuV
      Viorel Baicu
    • Artefacts and poor image quality on high frame-rates using the hardware encoder

      I'm trying to use the VOXL streamer to create an RTSP Stream that I can record and further streamer over the internet from my UAV. However, I'm not able to get a quality stream at an acceptable framerate. For my Application, 15 to 20 FPS would be enough.
      I have the following settings for the voxl-camera-server:

      voxl2:~$ cat /etc/modalai/voxl-camera-server.conf 
      {
      	"version":	0.1,
      	"cameras":	[{
      			"name":	"tracking",
      			"enabled":	true,
      			"frame_rate":	30,
      			"type":	"ov7251",
      			"camera_id":	0,
      			"ae_desired_msv":	60,
      			"ae_filter_alpha":	0.600000023841858,
      			"ae_ignore_fraction":	0.20000000298023224,
      			"ae_slope":	0.05000000074505806,
      			"ae_exposure_period":	1,
      			"ae_gain_period":	1
      		}, {
      			"name":	"hires",
      			"enabled":	true,
      			"frame_rate":	24,
      			"api":	"hal3",
      			"type":	"imx214",
      			"camera_id":	1,
      			"decimator":	2,
      			"preview_width":	1920,
      			"preview_height":	1080,
      			"snapshot_width":	3840,
      			"snapshot_height":	2160
      		}]
      }
      

      and the following config for the vxol-streamer

      voxl2:~$ cat /etc/modalai/voxl-streamer.conf 
      {
      	"input-pipe":	"hires",
      	"bitrate":	1000000,
      	"decimator":	1,
      	"port":	8900,
      	"rotation":	0
      }
      

      With this config, the stream indeed has 24 FPS,l but the image is full of artefacts and at a very low quality, resembling a low bitrate stream. Increasing or decreasing the bitrate has no effect on the stream quality
      If I put the decimator to 4, I get ~4FPS, but the image quality is perfect, crisp with no artefacts.
      If I try to use the software encoder, the image quality at 24FPS is much, better, but the image itself is distorted. This gives me the impression that there is some issue with the hardware encoder.

      The MJPEG stream provided within the VOXL portal has an overall acceptable image quality, but the MJPEG bandwidth requirements are too high for my application.
      Also, when a client connects to the MJPEG stream, the VOXL streamer RTSP streams dies, and requires a service restart. This is different issue and I believe you already knew about it.

      Any help in regards to increasing the quality of the image on the RTSP stream would be helpful.

      I could provide video recordings of the RTSP stream to observes the quality issues.

      I have raised a ticket on gitlab for support on this issue:

      https://gitlab.com/voxl-public/voxl-sdk/services/voxl-streamer/-/issues/5

      posted in VOXL 2 voxl-streamer streaming h264 voxl-camera
      Viorel BaicuV
      Viorel Baicu