Comments (4)
Hello. I have introduced the ability to enable skipping frames in the commit ddaa243. Can you see if this is the requested feature? I will close this issue after you confirm this is what you wanted. To enable this new feature you need to set in config.py the option skipFrames
to 10.
from hikload.
Hello @Tedyst
I check that you first download and then skip the video using ffmpeg. I want to download it already skipped.
Thanks.
from hikload.
I have added a way to skip the first x seconds of a stream by specifying the option skipSeconds
or by using the config (for the main example file)
from hikload.
I do not want to skip the first N seconds. I want to skip N seconds for every frame downloaded. Or in other words, skip FPS*N frames for every downloaded frame.
Example:
Lets say I want a video. This video have 10 frames per second, and I want to skip 3 frames per downloaded frame. The process will be:
for second 1 video have frames: f1,f2,f3,f4,f5,f6,f7,f8,f9,f10. but I want to download frames: f1,f5,f9
for second 2 video have frames: f11,f12,f13,f14,f15,f16,f17,f18,f19,f20. but I want to download frames: f13,f17
for second 3 video have frames: f21,f22,f23,f24,f25,f26,f27,f28,f29,f30. but I want to download frames: f21,f25,f29
... and so on. Note that I skipped 3 frames between each downloaded frame. Is this posible to be done from the DVR/NVR directly?, I do not want to download the video and then skip, I want to download the skipped video directly from the net device. Frames 1,5,9,13,17,21,25,29 should be the only frames downloaded from the net device.
from hikload.
Related Issues (20)
- Script error on OS X
- Script for Hikvision cameras with SD card HOT 55
- Script for Hikvision cameras with SD card - download .jpeg timed captures? HOT 11
- Supported Models of hikvision NVR for API HOT 1
- Error when downloading single file HOT 2
- Use TQDM loading bar
- Invalid Operation HOT 15
- TypeError: search_for_recordings() missing 1 required positional argument: 'args' HOT 7
- speed download video HOT 4
- how shell?
- Concatenating videos from one camera HOT 1
- module 'argparse' has no attribute 'BooleanOptionalAction' HOT 3
- Videos not downloading, while being streamed on the Hikconnect app. HOT 1
- Package is incompatible with older versions of Python (<3.9 at least), and doesn't declare such in its metadata HOT 1
- Downloaded video is incomplete if download is started shortly after recording ends
- cant run in windows and docker
- error while installing hikLoad using pip install hikload.
- requests.exceptions.InvalidURL: Failed to parse
- Starttime and endtime not used
- TypeError: string indices must be integers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hikload.