Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream h264 in Fast Network Camera mode #636

Closed
tafryn opened this issue Dec 11, 2016 · 16 comments
Closed

Stream h264 in Fast Network Camera mode #636

tafryn opened this issue Dec 11, 2016 · 16 comments

Comments

@tafryn
Copy link

tafryn commented Dec 11, 2016

The MJPEG stream supported in Fast Network Camera mode is very bandwidth intensive. Raspberry Pis can output a less bandwidth intensive h264 stream without a heavy CPU load using raspivid. Can streamEye be adapted to serve up this h264 stream?

@Mikiya83
Copy link

Mikiya83 commented Dec 11, 2016

In the same aspect, it should be perfect if h264 stream can be output even if not in "fast mode", when motion is on (as you said, MJPEG is very intensive for network). H264 can be use for writing files but i cannot use it for streaming.

@ccrisan
Copy link
Collaborator

ccrisan commented Dec 11, 2016

Adding a backend such as streamEye for h264 is definitely a good idea. However having motion stream h264 (i.e. "not fast mode") is not something I see happening anytime soon.

@Mikiya83
Copy link

Ok, not a problem, it's already very good, thanks for your constant work 👍

@bortek bortek closed this as completed Jun 1, 2017
@leo-cheron
Copy link

Adding h264 output to fast mode is a real need feature as it would allow support of high fps / definition video streaming which can't be done with mjpeg.

@jasaw
Copy link
Collaborator

jasaw commented Nov 12, 2017

There are 2 different issues here:

  1. Fast Network Camera mode stream H264, which can be implemented via uv4l and uv4l-raspicam.
  2. Motion stream H264 (not in fast mode), which requires changes to motion software. This is difficult to implement and requires support from motion developers.

@Mikiya83
Copy link

The first point could be very useful if it's possible to implement it quite easily !

@jasaw
Copy link
Collaborator

jasaw commented Nov 13, 2017

@ccrisan Any thoughts on marking this issue as an enhancement request? The first point looks possible.

@ccrisan
Copy link
Collaborator

ccrisan commented Nov 14, 2017

I don't see any problem with it but I personally don't have time to take care of it. Pull requests are welcome, though :)

@jasaw
Copy link
Collaborator

jasaw commented Nov 14, 2017

Alright, making this issue as an enhancement and anyone can submit a pull request if they want to.

@d-faure
Copy link

d-faure commented Dec 8, 2017

According to https://www.raspberrypi.org/forums/viewtopic.php?t=51476#p449922,
or even https://chriscarey.com/blog/2017/04/30/achieving-high-frame-rate-with-a-raspberry-pi-camera-system/comment-page-1/
this should be doable combining raspivid and command-line vlc.

While the MotioneyeOS architecture is really nice as a camera firmware, this could be nice to embed vlc and provide a way to customize the streaming server to something else than streameye and/or raspimjpeg.py.

@yonailo
Copy link

yonailo commented Sep 27, 2018

+1 to have this feature at least in fast-mode !!

@Goeks1
Copy link

Goeks1 commented Oct 7, 2018

I am waiting also for a stream in h264 !!

@jasaw
Copy link
Collaborator

jasaw commented Jan 4, 2019

See #1764 and #1259

@jasaw
Copy link
Collaborator

jasaw commented Jan 20, 2019

If anyone is willing to be a guinea pig to test h264 stream in fast network cam mode, please go to PR #1764. There's a link to my pre-built image that supports this feature, but web UI hasn't been implemented yet, so it requires editing a couple of config files. Instructions are in the PR.
Any positive or negative feedback is welcomed.

@ghost
Copy link

ghost commented Jan 23, 2019

I will try in the next days if possible. Finally one elegant way to watch my 3D-printer in high-res high FPS over low(er) bandwidth connection! Thanks!

@jasaw
Copy link
Collaborator

jasaw commented May 13, 2019

Basic RTSP support has been implemented in dev branch.

@jasaw jasaw closed this as completed May 13, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

9 participants