hi35xx / live-streamer

RTP/RTSP stream server
GNU General Public License v3.0
125 stars 102 forks source link

MJPEG encoder not working #9

Open RSultanov opened 1 month ago

RSultanov commented 1 month ago

Hi! I compiled live-streamer (live-streamer 1.9.3) from buildroot for H3518ev200. Then I try to use MJPEG encoder: live-streamer -vsrc "isp0:sensor=imx222|videv0|vichn0|vpgrp0|vpchn0" -venc "vp chn0|vechn0:encoding=MJPEG,resolution=720p,framerate=25" - stream 0:vechn0 -B And I don't get video on the receiving side. I use gstreamer for receiving: gst-launch-1.0.exe rtspsrc location=rtsp://192.168.1.10:554/0 ! decodebin ! fpsdisplaysink

I added debug message in "himpp-video-venc.cpp" when calling "watch_handler", but in case of MJPEG this event doesn't happen. I don't see any errors in the logs. What am I doing wrong?

P.S. H264 pipe works fine: live-streamer -vsrc "isp0:sensor=imx222|videv0|vichn0|vpgrp0|vpchn0" -venc "vp chn0|vechn0:encoding=H264,resolution=720p,framerate=25" -stream 0:vechn0 -B