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.47k stars 1.33k forks source link

Docker Req'd? #57

Open PegasusRider opened 7 years ago

PegasusRider commented 7 years ago

Using Win10 Home on my desktop, so no Hyper-V :(

Any chance of using another Virtual Machine with this? If so, any tips?

Regardless, seems an excellent tutorial/intro that I intend to dig into repeatedly as time permits. Thank you so much for this!

leandromoreira commented 7 years ago

Hi @PegasusRider I think you can still use it, did you try https://docs.docker.com/docker-for-windows/ ?

PegasusRider commented 7 years ago

I did. It fails on startup with errors about Hyper-V not installed. I went to their site, for troubleshooting and there was an explicit statement that Windows 10 Home will not support Hyper-V... period.

I could dig some more to see if there is an install option with Docker that doesn't require Hyper-V, but the quick glance I got gave me the impression that Docker requires it. I could install on my Surface, but what is the point to that? :) My desktop smokes it, and that's where I'd rather be for this purpose.

PegasusRider commented 7 years ago

Okies... the long answer is yes. But instead of Docker for Windows, you need to get Docker Toolbox for Windows. Which ultimately sets up a "version" of Docker that relies on VirtualBox (included, thank you very much).

It's not as slick as Docker for Windows, but so far seems to be functional. If I run into real problems, I'll report back.

./setup.sh

Threw a rash of frustration... not being linux oriented, the error was a bit more cryptic than I'm used to. Totally my fault, but still. Finally figured out that Docker Toolbox Installs a mingw64 operating environment with no wget... so, I tracked down a valid 64bit mingwin build and copied into the bin directory of mingw64... much more workingness. (for me the path was C:\Program Files\Git\mingw64\bin from File Explorer.)

Hope I'm not the only one that ends up finding this useful. =D \o/

leandromoreira commented 7 years ago

@PegasusRider Great :D this is nice, this can be very useful for people on windows trying to run the tutorial, Thank you sooo much!! 👏 👏 👏 👏 👏 Keep posting in here so we can try to help you and learn more from your experiences.

PegasusRider commented 7 years ago

I always feel like I'm at a disadvantage working on Windows. Been doing it for decades, so it's not exactly an easy transition when most of the truly active emergent technologies are in Unix-like environments.

As I learn a bit more about this and that, and try to go deeper I'm often brick-walled by getting tools to work in the OS I'm familiar with. This is the case now. I want to learn more about video, quality metrics, compression, etc. This is an excellent write up, and it could be much better than that...

But, I can't tell. Because I have to learn how to set up Docker... erm VirtualBox... erm Python... erm Jupyter Notebook... erm wait Jupyter Notebook is only partially functional and under development still... Or at least that's as far as I got when I finally got that running, though not in the virtual host... I couldn't get Docker to actually download a valid Anaconda package because it keeps telling me I'm not logged in (or there is no such package) when I try the commands, and the other .sh scripts you provide won't work either. (It keeps CAPITALIZING my local %path% and failing because no caps in the command... totally out of my control here as I'm not renaming my Windows directory naming to satisfy a virtual machine with odd demands that it can't navigate.)

So, a bit frustrated after several hours of beating my head against this. Hopefully I can attack it more later.

Still, as long as you leave your write-up here (which may be quite a long time I'd think) I can at least read it, or failing that I've got the text and images cloned and struggle through that if I must. It's great info, so I'm glad to have it. Just wish I could make it work as you intend. :) Also, next time I have to wipe my OS drive, I'll remember to drop the $10 to get a "Pro" OEM and see if the full blown Docker performs better (or I could just suck up the performance hit and try it on my Surface... hmmmm).

leandromoreira commented 7 years ago

I'd suggest you use a ubuntu inside VirtualBox and keep using it there or you could buy a box on DigitalOcean or AWS and work there.

PegasusRider commented 7 years ago

Working on that. Thank you. :) Years and years dabbling, and I got on this kick of figuring out why some things look awesome and some don't... and how it all relates. Well, Pandora just had to open "that" box. :/ I didn't have a clue VMAF was a Netflix 'original', but glad they put it out there for everyone to use. Hopefully it is a better indicator than the 7 other tests I've been looking at... each not bad but none seems to cover every situation that just ruins an overall "experience". Anyway... I have lots to learn, not least of which is a new OS (at least to some extent). Truly, I appreciate your effort in general, and for me particularly as well.