Open theoparis opened 5 years ago
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.
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.
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.
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.
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....