Viewing NVR files?
vining
X Member
I was wondering if there was a way to view .avi files recorded and stored on an NVR. They're stored as .avi and video codec used is MJPEG so I was thinking that it may be possible to download that file onto the master parse out the .avi wrapper to leave only the MJEG file but then I thought there's nothing a TP could do with that since it would need a player capability to read the MJPEG header to determine frame rate, etc. Normally MJPEG viewing on a TP I assume is frame by frame by a server push so it's really only a bunch of stills.
This is impossible isn't it unless I can get the NVR to stream the .avi which after looking at the NVR's web api looks like it may be possible.
This is impossible isn't it unless I can get the NVR to stream the .avi which after looking at the NVR's web api looks like it may be possible.
Comments
-
If you know the frame rate and you're not dealing with a variable frame rate perhaps you could reconstruct the header needed to get the TPs to work. (not that I would have time to reverse engineer such a thing myself. But it does sound kinda fun)
-
I don't know about that. I think I would have to dissect the file into individual frames and then show them on the TP as re-animated jpeg stills at the proper frame rate. While doing that would be fun, I don't think it would work well enough to be worth the effort.
Looking at the NVR's api could call a recorded event stream and it will server push the file but I'm not sure how I would go about sending the GET via the TP. I guess if I put the GET string less GET that might work. I think the server will be pushing with the .avi wrapper so I don't know if that can be ignored and the mjpeg portion still used. If I were a betting man I would bet against that working.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums