Git Product home page Git Product logo

Comments (4)

Tedyst avatar Tedyst commented on July 4, 2024

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.

fnando1995 avatar fnando1995 commented on July 4, 2024

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.

Tedyst avatar Tedyst commented on July 4, 2024

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.

fnando1995 avatar fnando1995 commented on July 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.