Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameters cannot be NULL #9

Open
theoparis opened this issue Mar 23, 2019 · 4 comments
Open

parameters cannot be NULL #9

theoparis opened this issue Mar 23, 2019 · 4 comments

Comments

@theoparis
Copy link

theoparis commented Mar 23, 2019

I finally got your code up and running in my Ubuntu virtual machine, but when I try to run it with either MP4 files OR MOV files, it simply gives the following error:
Could not open source file /home/creepinson/vid/HD0048.mp4
open_clip() error: Failed to open VideoContext for clip[/home/creepinson/vid/HD0048.mp4]
add_files() warning: failed to allocate clip[/home/creepinson/vid/HD0048.mp4]
sequence_insert_clip_sorted() error: parameters cannot be NULL....

And this happens when I run this command:
./bin/examples/random-splice out.mov 60 44100 ~/vid/ 300 13 10

When I remove the / after ~/vid
it simply gives this error:
pick_frames() error: sequence duration[0] is invalid
random_cut() error: Failed to pick frames....

@AzyCrw4282
Copy link

I am also trying to get it running on my ubuntu VM but no success. If u can recall can you give me the steps that you took. Thanks.

@theoparis
Copy link
Author

If you are talking to me, I just followed his screen in the video. I forgot the steps but I can look it up again.

@theoparis
Copy link
Author

theoparis commented Dec 11, 2019

I cloned the repo, typed "cd" into the repo, then I ran "make". I needed to link FFMPEG first and on mac and Linux just install FFmpeg and it should work. Then I just followed this example from random-splice.c:
./bin/examples/random-splice test-resources/sequence/out7.mov 30 48000 test-resources/sequence/ 300 80 40
I'm testing it again now since I don't have the original files.

@AzyCrw4282
Copy link

Thanks for your reply. I tested it again and it seems like something is terribly wrong with my VM. Looks like a repo that i am gonna have to skip. Anyway cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants