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

h264 Passthrough Remote Monitor #1371

Open
SteveGilvarry opened this issue Mar 30, 2016 · 2 comments
Open

h264 Passthrough Remote Monitor #1371

SteveGilvarry opened this issue Mar 30, 2016 · 2 comments
Milestone

Comments

@SteveGilvarry
Copy link
Member

Enable h264 passthrough mode for Remote Monitors, should be pretty simple to extend the same process for ffmpeg to this code. Started work here, just haven't had time to debug why it is not recording.
https://github.com/SteveGilvarry/ZoneMinder/tree/video_remote

@SteveGilvarry SteveGilvarry added this to the Video Storage milestone Mar 30, 2016
@SteveGilvarry
Copy link
Member Author

Note @connortechnology and I worked through this and we found that while remote is using the AVPacket struct it is only populating the data element, making passing this through to a container as a complete packet non-viable. So to enabled h264 passthrough on remote cameras needs more work on remote camera first.

@connortechnology
Copy link
Member

Just for the fun of it in 1.35.17 I made some more efforts to get this going. In the end I had to disable it. We have to populate the AVStream and AVCodecContext structs properly as well at least wrt time_base. The remaining issue has to do with allocating/freeing the avpacket data. And I'm not sure that there is any reason to further maintain the remote RTSP code. EXCEPT as an RTSP proxy server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants