motioneyeos icon indicating copy to clipboard operation
motioneyeos copied to clipboard

[QUESTION] Pass though video stream to web client without re-encoding?

Open AndreVallestero opened this issue 5 years ago • 3 comments
trafficstars

Does MotionEye do a simple pass-through of the cam video-stream if quality and framerate are maxed? What about if framerate is lowered? If motion optimization is on? Ideally, I would like MotionEye to not re-encode the originally ingested stream and rather pass it through when streaming it to the web client. Obviously this is not possible at lower quality settings since it would have to re-encode for a lower bitrate target, but I'm not sure if frame rate would also affect this since h264 bitstreams are reliant on keyframes and frame deltas which would change based on framerate.

My goal is to reduce CPU/VPU usage to a minimum by avoiding re-encoding since bandwidth is not an issue for me.

AndreVallestero avatar Apr 23 '20 16:04 AndreVallestero

I have the same question. In my case streaming fps is low(15 fps), but recording fps is ok (25 fps). Is there an option to pass through stream?

mitek96 avatar May 20 '20 19:05 mitek96

Same question, any ideas how to pass through stream without encoding and using lot of CPU power?

kpcz avatar Sep 16 '22 08:09 kpcz

For that particular scenario, you can test various settings in Settings, Video Streaming. Try quality 0 or quality 100, Turn it off all together, etc. Since motionEye is a wrapper to be a monitoring system for motion, I doubt that would be possible. Here are the basic settings for the Livestream I would consider putting such a feature request in their github (motion-project is a totally different group and project) at their contacts pages: https://github.com/Motion-Project/motion

starbasessd avatar Sep 16 '22 11:09 starbasessd