Open Nameer-Alkhayyat opened 3 years ago
You should run the command that is outputted.
@AliaksandrSiarohin Which command?
What is the script output?
@AliaksandrSiarohin When I run the command to crop: (env) XIN858375:first-order-model nalkhayy$ python crop-video.py --inp v.mp4 --cpu
I get back : 11it [00:24, 2.21s/it]
then numbera keep increasing until 146it [05:14, 2.15s/it]
and then it done!
The crop is not found. Try to set --min_frames=0
@AliaksandrSiarohin I think it works, i got this now ffmpeg -i v.mp4 -ss 0.0 -t 5.64 -filter:v "crop=330:330:973:69, scale=256:256" crop.mp4
but still can not find the file anywhere on my meachine!
So now run ffmpeg -i v.mp4 -ss 0.0 -t 5.64 -filter:v "crop=330:330:973:69, scale=256:256" crop.mp4
.
@AliaksandrSiarohin Well, i get ffmpeg: command not found
Thank you for being so helpful!
So you should install ffmpeg than.
@AliaksandrSiarohin Thank you a lot! Works now! Would you be interested in a paid project collaboration regarding FOM? I would love to have a chat with you to give you more details.
@Nameer-Alkhayyat Sorry, have too much on my hands right now to start jump in a new project.
python crop-video.py --inp source.mp4 --min_frames=0 , i got these
"ffmpeg -i source.mp4 -ss 0.0 -t 0.6333333333333333 -filter:v "crop=203:203:409:226, scale=256:256" crop.mp4 ffmpeg -i source.mp4 -ss 0.0 -t 1.1333333333333333 -filter:v "crop=235:247:1045:236, scale=256:256" crop.mp4 ffmpeg -i source.mp4 -ss 0.8 -t 0.33333333333333326 -filter:v "crop=198:197:407:230, scale=256:256" crop.mp4 ffmpeg -i source.mp4 -ss 1.1666666666666667 -t 0.1333333333333333 -filter:v "crop=336:336:264:249, scale=256:256" crop.mp4 ffmpeg -i source.mp4 -ss 0.0 -t 4.833333333333333 -filter:v "crop=594:594:332:60, scale=256:256" crop.mp4 ffmpeg -i source.mp4 -ss 8.233333333333333 -t 0.03333333333333499 -filter:v "crop=65:74:0:337, scale=256:256" crop.mp4 ffmpeg -i source.mp4 -ss 9.433333333333334 -t 0.09999999999999964 -filter:v "crop=35:35:302:423, scale=256:256" crop.mp4" which one shoud i execute
After running
python crop-video.py --inp v.mp4 --cpu
I get146it [05:14, 2.15s/it]
But I can't find the file