leandromoreira / digital_video_introduction

A hands-on introduction to video technology: image, video, codec (av1, vp9, h265) and more (ffmpeg encoding). Translations: 🇺🇸 🇨🇳 🇯🇵 🇮🇹 🇰🇷 🇷🇺 🇧🇷 🇪🇸
https://github.com/leandromoreira/introduction_video_technology
BSD 3-Clause "New" or "Revised" License
15.28k stars 1.32k forks source link

/files/v/bunny_1080p_60fps.mp4: No such file or directory #111

Closed meeme9 closed 3 years ago

meeme9 commented 3 years ago

setup.sh calls s/cut_smaller_video.sh while the file uri in s/cut_smaller_video.sh is strange, it starts with '/file'

leandromoreira commented 3 years ago

@meeme9 thanks for the heads up, as for the strange path, that's because we're using dockerized ffmpeg which "mounts" your current directory into the "/files/" folder on the container.

docker run --rm -v $(pwd):/files jrottenberg/ffmpeg:3.3 $@
leandromoreira commented 3 years ago

by the way, I removed the download and cut since the original file isn't available do download and we stored, at v/ directory, the small version of the video.

leandromoreira commented 3 years ago

I'll let this open, and if you think that my solution (just to ignore the "cut") and my explanation (about the why of /files) are good enough feel free to close it. =) once again, thanks.

meeme9 commented 3 years ago

Thanks for your work! It's OK on my machine now.