Giter Club home page Giter Club logo

Comments (3)

avinashpaliwal avatar avinashpaliwal commented on May 16, 2024

Google colab has a linux OS while all the code in this repo was tested on Windows. I would suggest, if possible, to create the dataset on your local PC running Windows and upload it to colab. This seems tedious. Another approach would be to debug it on a linux machine. Execute the ffmpeg command for a single video (failing case) in a terminal and try to figure out the problem. Unfortunately, I won't be able to test - debug this issue due to other commitments.

If you do find a bug please post the solution here.

from super-slomo.

iocfinc avatar iocfinc commented on May 16, 2024

Hi @avinashpaliwal,

I did a test on the failed files that you have suggested and I found out the issue to be with the -vsync 0 parameter in the ffmpeg run.

Here are the results when I ran the line for ffmpeg extraction.

vsync On
GOPR9637a.mp4 extracted: 2
GOPR9648.mp4 extracted: 396
vsync Off
GOPR9637a.mp4 extracted: 1244
GOPR9648.mp4 extracted: 860

It looks like the ffmpeg extraction stops at some point when I set the vsync parameter leading to incomplete extraction of frames. I have tested the entire Adobe240fps Test dataset without the -vsync 0 parameter and so far I have no failures. I just want to check if it would be possible to run the ffmpeg line without the vsync parameter? I have been reading the ffmpeg documentation page and I can't seem to connect the relationship between the failures and the -vsync 0 setting. Hope you can clear it out for me.

Also, for anyone else, can I ask for confirmation that I have the correct extracted frames for the video files I have tested?

Will appreciate your help. Thank you!

from super-slomo.

iocfinc avatar iocfinc commented on May 16, 2024

I have tried running the script again and it is working now. I am not sure if it makes sense but I found that Colab has some sort of delay in unpacking files, especially large ones. This may be what's causing the issue regarding the processing of the files. Colab might be trying to process files that have not been fully unpacked completely causing the error messages on random videos.

I have tried running the script right now and all the issues appear to be resolved. All the videos on the Adobe240fps dataset were stripped to their frames without any other issues.

from super-slomo.

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.