Write your shell commands in English!
Key Takeaways
The video demonstrates how to use AI language models like GPT-4 and Llama with the YOLO X command line tool to generate one-liner shell commands for tasks such as video conversion using FFMpeg.
Full Transcript
hello and welcome to another episode of Zeke using a computer and doing a AI stuff um and hopefully showing you something useful so this is going to be a short one I just recorded a video about this flux model um and I'm using OBS to record the video uh which is this open source software that lets you kind of like compose a webcam and do screen recording and mic input and stuff like that um but it saves files in this MKV format and actually maybe I should just see if there's a way to configure OBS to do a different format but anyway I already did the recording and I have this MKV file and I want to put it on Twitter I want to put it on YouTube blah blah blah but it that's the wrong format for those things so I need to convert it so I know there's this tool called FFM Peg and if you've ever used FFM Peg it's like let's actually just like look at the man page for FFM Peg uh it's pretty scary like look at all those flags what do those things do if we do man FFM pic oh my God it's crazy so much so the the thing you used to do if you wanted to use a f pig is like Google how do I convert a video to blah blah blah and then you would end up on a stack Overflow page and copy something we don't have to do that stuff anymore so um I have a command line tool called YOLO X which um sends a command that you type in the terminal to a language model and asks it to convert it to a one liner to run in in your shell so let's try using it um all you need to do to use it is install nodejs and then you can do um npx YOLO X and then an English language command so I'm going to say um uh take uh flux Schnell versus dev. MKV and save it as flux Schnell versus dev. MP4 um using FFM pic preserve the audio and use the [Applause] fastest possible method so I I Ted these extra things because sometimes when you use an FFM Peg command it just drops the audio so let's see what happens let's see if this works um so by default it uses um gp4 to do um to generate the command you can also use llama on replicate so what did it generate it generated this command uh which I don't know maybe that works um and it it ran pretty quickly and now I see we have an mp4 file um here on my desktop and if I open it up hey party people I just want to do a quick one about it looks like it worked so um success YOLO worked on the first try which is the way you want it to be um and just to expound on YOLO a little bit you can use it for all sorts of things like if I didn't like the first 1 second uh of this video clip like maybe it took me a minute to start talking um I could give it a command like extract from 0 colon 30 to 122 I could have said chop off the first 5 Seconds of video and save it as vide cho. MP4 so um this kind of opens up a whole new a whole new world of being able to use uh tools like FFM Peg and image magic and things like that without ever having to look anything up so uh great use of AI super productive that's it thanks for watching have a nice day bye bye and press the stop button now there it is bye
Original Description
This video show you how to use AI language models like GPT-4o and Llama to write one-liner shell commands, then execute them.
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
More on: LLM Foundations
View skill →Related Reads
📰
📰
📰
📰
ABBYY FineReader Engine with DocLang | AI-native document standard
Medium · AI
These 7 Powerful Things Claude Can Do But ChatGPT Still Can’t
Medium · AI
Master Web Scraping with AI-Boosted Local LLMs: Efficient Data Extraction Techniques
Dev.to AI
Claude Has a Silent Workspace. Anthropic Just Found It
Medium · AI
🎓
Tutor Explanation
DeepCamp AI