Comments (3)
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.
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.
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)
- ffmpeg error while running evaluation code. HOT 1
- Output interpolated image frames are of different size then input frames?
- What is the function of transforms.Normalize(mean=negmean, std=std)? Why use a negative mean๏ผ
- Error converting file:D:\Coding\JAVASCRIPT\recless\out\4fpsRecording.mkv. Exiting.
- PackagesNotFoundError: torchvision-cpu==0.2.0 HOT 3
- Runtime Error (Traceback Attached) HOT 23
- Frames are not extracted for any input video
- Differences with butterflow
- Slowdown a point of the video HOT 1
- It does not seem to work for scale value below 4 HOT 1
- "index 1 is out of bounds for dimension 0 with size 1" HOT 2
- Reference frames are different from the original ones. HOT 1
- sh: /Users/*/Downloads/ffmpeg/ffmpeg: No such file or directory HOT 2
- Add local file to Google Colab?? Or change length??
- How can I find the dataset of 240-fps video from YouTube HOT 1
- Training
- Objective metrics
- Could be faster by not saving PNG frames
- Image edge flicker
- low rate of utilization in test video
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 super-slomo.