Make Videos by Script NOT Video Editor! (TRADE SECRET!)
Вставка
- Опубліковано 27 сер 2024
- What other channels just give you their trade secrets? Once again, applied laziness wins. I wrote a brief script that takes a list of timecodes and images and audio that it is supposed to illustrate and creates a 1080p HD video slideshow from the contents using ffmpeg and imagemagick.
Imagine actually using a video editor in the current year like a literal peasant. Stop being a hipster who tries to make everything hard for himself and start doing it right.
The final product: • Who's in the Deepest P...
The video silently playing at the beginning of this video on Linux distributions: • How to choose a Linux ...
WEBSITE: lukesmith.xyz 🌐❓🔎
DONATE: lukesmith.xyz/... 💰😎👌💯
OR affiliate links to things l use:
www.epik.com/?... Get a cheap and reliable domain name with Epik.
www.vultr.com/... Get a VPS and host a website or server for anything else.
brave.com/luk005 Get the Brave browser.
lbry.tv/$/invi... View my videos on LBRY. Get a bonus for joining.
www.coinbase.c... Get crypto-rich on Coinbase. We both get $10 in Bitcoin when you buy or sell $100 in cryptocurrencies.
The video made by this: ua-cam.com/video/LCjX0il3wkc/v-deo.html
The script used: github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/slider
The video I was playing at the start of this video: ua-cam.com/video/3zpgQpdy_fI/v-deo.html
thanks Luke I couldn't find it :)
Luke. You really make Linux much more fun.
I'm thinking to start to make videos after that.
ah yes, linux just makes making and consooming "content" much more efficient, can't wait to tell my fellow bugmen
Coomsooming
Boomer pumping out as many videos as possible before he snips his internet connection
Before his wife's boyfriend snips his internet connection.
Everyone: You terminal folks are so full of yourself, but there's no way to edit actual videos without gui
Luke: Scripts go brrr!
Well yes, i use ffmpeg too for many basics purposes because it does encode jobs better than a lot of programs out there, now if you want to do professional end work, man like, is just hipsterish. Kdenlive is based on ffmpeg, but not even kdenlive is any closer to an industry standard. Sorry. The only programs that are almost at the same level than premiere (on linux) are lightworks and davinci resolve (blender too but it have other purposes as well)
@Maxblau I have been using MPV for a while now and I didn't know this. Thanks.
Finally I can automate making my Varg videos
>"editing software"
>After Effects in thumbnail
>Implying people use AE for video slideshows
I wouldn't be surprised tbh
I've written a Python script that searches for a phrase in the subtitles of a video and generates a video (using ffmpeg, obviously) from the parts where that phrase has occurred
I've used it to make a video of Luke saying 'okay' and put it on my channel. I've also made a lot of normie content, don't judge
and a lot of ryan george 😂
reddit.jpg in the hell directory
@Evermore Luke confirmed gay?!?!....!!!!! Although even straight there's a lot of truth.
OpenShot users hate this!
I hope video frequency will increase from now.
must consoom
We knew this was coming.
Instead of timestamps in text I suggest putting durations of images like the export from ffmpeg is since it could be a pain if you want to add something in the middle of the file and then having to change all the timestamps after that
I want an authentic Luke. This seems scripted.
Why nobody uses Cinelerra?
Nice Luke, i got and idea, with that workflow, if you can put sound tags in the audio recording to signal change "photo", so automatically when processing ( with some tool ) the audio file tags will create the timestamps for you.
Judas vs Jewdas
Ah yes the standard 1020p resolution.
Dude! I was just looking for this last night. Gg m8
Now luke's shell can upload a video about luke without needing luke
Sahi baat
I want something like this but with the ability to do some basic things a video editor would do, like zoom the video into a corner of interest, or maybe some filters at a specific time frame.
I've had a similar idea, and want to write one some day.
I really like that green chalk board in the background.
Can anyone see what is written down, so we know what the boomer is working on?
Perfect timing. I have been inspired by your previous videos on automating video creation and started to consider this approach but by recording smaller audio segments that can be paired with images or video clips. This would make it easier to coordinate timestamps (perhaps synced with the length of the audio segment) and manage the segments in the larger video - allowing reorder, replace, and transitions between segments.
you can see the moment the thinkpad croaks and start lagging the webcam feed.
You just now officially made GUI out of Business.... =D
Improvement Idea:
Add shortcut to mpv that saves timecode and opens dmenu promt to enter what you want there. Also, a script that opens up beamer slides and saves the timestamps of when and how long each slide has been displayed. This in combination with that script could be used to create super quick videos of your slideshows!
now, that is efficient.
Next script: a script that plans your whole life
I've done exactly that :-) www.linkedin.com/pulse/inbox-zero-infinite-todo-list-better-numbers-out-than-marton-balazs
@@balmar3 ohhh brilliant!!!
nice reference e to the room BTW 🤣
It would be nice to add a video stream over the final generated video, so one can create a slide show but with a talking head positioned somewhere.
This can be easily done in ffmpeg, but it might be hard working it in with the other timecodes.
If someone could expand what's the issue with (ffmpeg + video players) that you can't go back or on an it'll be some image rendering problem?
I've experienced that last months but I couldn't find any info about it..
Run it with -vf "fps=${fps:-24},format=yuv420p" and the issue disappears in this case. It will take a good bit longer and make a bigger file though.
00:50 - How to visit Hell at your home.
maybe add a end time so that you can have clips overlaying each other?
i love ffmpeg, it's great for image sequences or if you want to remove certain parts from videos especially because of the -c copy argument
however as soon as whatever you're trying to do gets too complicated its better (more efficient) to use a gui-editor like olive
A nice feature would to be able to pass arguments in the "time" file.
Would allow to expand things like:
Background color (If you have a few images that need a non black background).
Also a feature that would be nice is to be able to add the ken burns effect to images larger than needed for some less static output - That im sure would require some keyframes added to be smooth.
Nah that just adds bloat
Luke Smith: The (not) programmer.
That's great and all, but what you REALLY need is a shortcut to open a terminal window with bigger font!
When do all the "professionals" switch over to the new process?
Had this idea long ago, but never implemented.
Nice one.
This might jump start my Channel.
This is pretty dope
Great! Now, how do I make videos that don't look like crap with the terminal?
Awesome way to hack something together and get it to work!
Video editor in terminal.
Look like I am about to become a youtuber.
Extend it until it becomes a full drag and drop video editing software with a million features
I fucking swear I had the idea to make a very similar program the other day
Obvious improvement idea: vim mapping to launch sxiv -tio as an image selector.
So how can i make a video still image + sound (audio file) lossless with ffmpeg? I want the still image video to sound just like the audio track/file if its possible, i dont want any transcoding. Also, i'd like to know if i can do it vp9 webm lossless if there is a way as well? im trying to make one single still image with sound (Music) video. please help im new to ffmpeg and dont get it I dont want to use video editor.
how does luke remove the black bars from the webcam, whenever i stream from the webcam i have black bars left and right but his is hust a clean webcam window?
Why use a black background and not a transparent one?
This would allow to use it as overlay of another video.
Also allowing non-fullscreen images sounds useful. Or showing no images for some time. Maybe also some effects for blending.
Should be able to write a script that timestamps every word said in a recording,
then you just need one pass to delete the words you don't care about.
Could also be made to ignore all of the linking words in English to make the deletion process a lot faster.
Does anyone know if there's any way to add ken burns effect to the pictures?
But what if you want to include a video source in there? Say your cam recording.
Is it possible to do so with ffmpeg or would you have to use a video editor?
Sorry for the question, I'm not knowledgeable enough about those tools.
Well you can't do that with the script I have, but the ffmpeg concat demuxer can indeed do that.
Easter egg at 6:29 line 25
hahaha, making slim videos to share around couldn't be easier than this. I wanna try that.
Luke! Learn perl so you can create object oriented bash scripts
Have you heard of the mtl framework and meld? It's not as brutalist as ffmpeg and imagemagick but should have some niceties and powers most linux non linear video editors.
There is a reason why NLEs exist, "Convenience".
Can i use a gif or a video instead of just images?
Next upload: how I made the video explaining how I make the video
at 6:20, I see that in line 46, there's a duration of -3, is that valid?
I think it's an error in the timecodes, the previous one is at a later time
Unrelalted but have you used manim?
Hey Luke do I have permission to use this script?
Now put a GUI on it, distribute on Apple APP store and become a rich ranch unaboomer!
7:28 - Line 20 - Coomer detected!
Oh hi mark
On what level of despair are you right now?
thanks for enlightening me, i’m making more degenerate memes with this
Why not just write a script and make all the slides for the images and then click through them while you are talking, ig because it is distracting ?
You're probably creating the timecodes manually, but I can see a way to improve that with a script that starts recording audio and at the same time it starts a timer/stopwatch and listens for a key to be pressed down. This way, while recording you can press the key to get a new "slide" to go with what you're talking about.
And if you wanna be even lazier, I remember watching a video on how someone wrote a program to parse the script (text for the video) and automatically search Google Images with keywords, inserting that into the video. Extremely lazy, but the result was fairly acceptable.
Got instantly triggered by seeing Blender in that garbage can, but I can see where you're going from.
Like, if you're not making a cinema-level video with visual effects and stuff it's i guess easier to use scripting, although Blender is definitely NOT bloated and can also be scripted through python.
It’s eerily similar to a video automation script I did a while ago to troll pajeets
"00:03:06 vagina.jpg"
Why tf do I get Adobe Photoshop ads on this video? I think the soyhipsters don't like it when someone breaks out of their world😂
Its not 1020 but 1080
I am only here to see Varg Vikernes Picture 0:15 , thanks for showing it to me, just kiding, i am here to see your bold head Kappa
Hmm, ability to add videos to slider, more than 1 audio file, custom background
This is too based for me, I'll stick with Kdenlive
Noice
why did you spend 389.22 USD on drinks? XD
Kdenluke
I know you've probably got a million comments about it but its not 1020p lol. Its 1080 🤣
"1020p"
6:17 - vagina.jpg
1020p lmao what a boomer
I know you don't care, but it's 1080p btw.
Could you please don't encode video that much, text is unreadable
3:06 vagina.jpg
aha
vagina.jpg 👀
Waiting for you to automate your video content with AI 🤖
20 00:03:06 vagina.jpg
jewdas.jpeg 😂
first hehe
"jewdas"
Kek.
jewdas.jpg lol
Any tips for /gifs?