Giter Site home page Giter Site logo

Question from a novice about artistic-videos HOT 6 CLOSED

bododge avatar bododge commented on August 15, 2024
Question from a novice

from artistic-videos.

Comments (6)

manuelruder avatar manuelruder commented on August 15, 2024

No, this indicated an issue with ffmpeg. What happens if you just call
ffmpeg -i <your_video> frame_%04d.ppm?

from artistic-videos.

bododge avatar bododge commented on August 15, 2024

I appreciate the reply, you were right ffmpeg wasn't completing the extraction because I was pointing it at the already extracted first frame(s) instead of the .mp4 file...Now all of the .ppm files extract. However I am not having any luck getting the optical flow working. I wish there was some hearty examples of how to set that up to give us noobs a chance of making this thing work! Awesome work though, just wish I could get it going.

Here is the error I get when running the script now. Any ideas what to try next? Why is it returning the project directory instead of the first two frames?

./makeOptFlow.sh: line 44: /Users/sampsen/Documents/Deepstyler/Neural_Video_master/artistic-videos-master: is a directory
./makeOptFlow.sh: line 47: /Users/sampsen/Documents/Deepstyler/Neural_Video_master/artistic-videos-master: is a directory

from artistic-videos.

manuelruder avatar manuelruder commented on August 15, 2024

You are right, we could have provided an example script. I have already included one in my last commit. The lines from your error message refer exactly to the positions where the optical flow utility is called. Could you maybe just update your local copy of this repository, and then use the updated scripts, as explained in the description?

And by the way, you can actually use individual images files as input for this script if you wish. Just replace the frame index by %d, %02d, ... according to the number format.

from artistic-videos.

bododge avatar bododge commented on August 15, 2024

I downloaded and tried, but I can't run the static binary versions since I'm on a mac. I know that's not really your problem, however I'm trying and trying to get these deepflow and deepmatching to compile and I run into a slew of errors. Any idea what's causing them? If not, I'll keep working on it on my own. Thanks

./std.h:68:11: error: expected unqualified-id
const int INT_MIN = (0x80000000);
^
/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.2/include/limits.h:67:20: note: expanded from macro 'INT_MIN'
#define INT_MIN (-INT_MAX -1)
^
In file included from conv.cpp:18:
./std.h:68:11: error: expected ')'
/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.2/include/limits.h:67:20: note: expanded from macro 'INT_MIN'
#define INT_MIN (-INT_MAX -1)
^
./std.h:68:11: note: to match this '('
/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.2/include/limits.h:67:19: note: expanded from macro 'INT_MIN'
#define INT_MIN (-INT_MAX -1)
^
In file included from conv.cpp:18:
./std.h:69:11: error: expected unqualified-id
const int INT_MAX = 0x7FFFFFFF;
^
/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.2/include/limits.h:62:19: note: expanded from macro 'INT_MAX'
#define INT_MAX INT_MAX
^
:61:21: note: expanded from here
#define INT_MAX 2147483647
^
conv.cpp:19:10: fatal error: 'omp.h' file not found
#include "omp.h"

from artistic-videos.

manuelruder avatar manuelruder commented on August 15, 2024

No, I can't help you with that.

from artistic-videos.

ibaaj avatar ibaaj commented on August 15, 2024

use clang-omp

from artistic-videos.

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.