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.

КОМЕНТАРІ • 144

  • @LukeSmithxyz
    @LukeSmithxyz  3 роки тому +36

    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

    • @carlod1605
      @carlod1605 3 роки тому +1

      thanks Luke I couldn't find it :)

    • @Vulto166
      @Vulto166 3 роки тому +2

      Luke. You really make Linux much more fun.
      I'm thinking to start to make videos after that.

  • @Aleksandar0100
    @Aleksandar0100 3 роки тому +169

    ah yes, linux just makes making and consooming "content" much more efficient, can't wait to tell my fellow bugmen

    • @bsodcat
      @bsodcat 3 роки тому +11

      Coomsooming

  • @canonpi
    @canonpi 3 роки тому +300

    Boomer pumping out as many videos as possible before he snips his internet connection

    • @MrEdjani
      @MrEdjani 3 роки тому +33

      Before his wife's boyfriend snips his internet connection.

  • @NerdistRay
    @NerdistRay 3 роки тому +208

    Everyone: You terminal folks are so full of yourself, but there's no way to edit actual videos without gui
    Luke: Scripts go brrr!

    • @chris-jy7eb
      @chris-jy7eb 3 роки тому +8

      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)

    • @sudodoas
      @sudodoas 3 роки тому

      @Maxblau I have been using MPV for a while now and I didn't know this. Thanks.

  • @Pariatech
    @Pariatech 3 роки тому +38

    Finally I can automate making my Varg videos

  • @Denshi
    @Denshi 3 роки тому +57

    >"editing software"
    >After Effects in thumbnail
    >Implying people use AE for video slideshows
    I wouldn't be surprised tbh

  • @StrangeIndeed
    @StrangeIndeed 3 роки тому +41

    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

  • @yunggolem4687
    @yunggolem4687 3 роки тому +46

    reddit.jpg in the hell directory

    • @yunggolem4687
      @yunggolem4687 3 роки тому +1

      @Evermore Luke confirmed gay?!?!....!!!!! Although even straight there's a lot of truth.

  • @MattyFez
    @MattyFez 3 роки тому +41

    OpenShot users hate this!

  • @visrut7
    @visrut7 3 роки тому +18

    I hope video frequency will increase from now.

  • @ultrahalf
    @ultrahalf 3 роки тому +20

    We knew this was coming.

  • @MrFnew
    @MrFnew 3 роки тому +11

    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

  • @ajitpatel8231
    @ajitpatel8231 3 роки тому +60

    I want an authentic Luke. This seems scripted.

    • @haley9425
      @haley9425 3 роки тому

      Why nobody uses Cinelerra?

  • @redsmith9953
    @redsmith9953 3 роки тому +5

    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.

  • @MrZuper12
    @MrZuper12 3 роки тому +10

    Judas vs Jewdas

  • @JakeBarger
    @JakeBarger 3 роки тому +2

    Ah yes the standard 1020p resolution.

  • @IndaneGasStove
    @IndaneGasStove 3 роки тому

    Dude! I was just looking for this last night. Gg m8

  • @nalinwadhwa8811
    @nalinwadhwa8811 3 роки тому +5

    Now luke's shell can upload a video about luke without needing luke

  • @albynoson
    @albynoson 3 роки тому +1

    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.

  • @wolverine9632
    @wolverine9632 3 роки тому +1

    I've had a similar idea, and want to write one some day.

  • @busterbrown8830
    @busterbrown8830 3 роки тому +1

    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?

  • @phiarchitect
    @phiarchitect 3 роки тому

    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.

  • @tato-chip7612
    @tato-chip7612 3 роки тому +1

    you can see the moment the thinkpad croaks and start lagging the webcam feed.

  • @cun_0092
    @cun_0092 3 роки тому

    You just now officially made GUI out of Business.... =D

  • @MaidLucy
    @MaidLucy 3 роки тому +1

    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!

  • @julioramirez5497
    @julioramirez5497 3 роки тому +5

    Next script: a script that plans your whole life

    • @balmar3
      @balmar3 3 роки тому +3

      I've done exactly that :-) www.linkedin.com/pulse/inbox-zero-infinite-todo-list-better-numbers-out-than-marton-balazs

    • @julioramirez5497
      @julioramirez5497 3 роки тому

      @@balmar3 ohhh brilliant!!!

  • @samzx81
    @samzx81 3 роки тому

    nice reference e to the room BTW 🤣

  • @rothbardfreedom
    @rothbardfreedom 3 роки тому +3

    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.

    • @LukeSmithxyz
      @LukeSmithxyz  3 роки тому +4

      This can be easily done in ffmpeg, but it might be hard working it in with the other timecodes.

  • @infiniteloop8087
    @infiniteloop8087 3 роки тому +3

    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..

    • @LukeSmithxyz
      @LukeSmithxyz  3 роки тому +5

      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.

  • @rothbardfreedom
    @rothbardfreedom 3 роки тому +1

    00:50 - How to visit Hell at your home.

  • @mrcrackerist
    @mrcrackerist 3 роки тому +1

    maybe add a end time so that you can have clips overlaying each other?

  • @nilkonom
    @nilkonom 3 роки тому

    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

  • @RaverDK
    @RaverDK 3 роки тому

    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.

    • @ozjuanpa
      @ozjuanpa 3 роки тому

      Nah that just adds bloat

  • @joseagustinrios9666
    @joseagustinrios9666 3 роки тому +2

    Luke Smith: The (not) programmer.

  • @mrmartinLgore
    @mrmartinLgore 3 роки тому

    That's great and all, but what you REALLY need is a shortcut to open a terminal window with bigger font!

  • @VincentTamer
    @VincentTamer 3 роки тому +1

    When do all the "professionals" switch over to the new process?

  • @nikolaychechulin3494
    @nikolaychechulin3494 3 роки тому

    Had this idea long ago, but never implemented.
    Nice one.

  • @albarshini490
    @albarshini490 3 роки тому +1

    This might jump start my Channel.

  • @Economivision
    @Economivision 2 роки тому

    This is pretty dope

  • @cinemint
    @cinemint Рік тому

    Great! Now, how do I make videos that don't look like crap with the terminal?

  • @JDStone20
    @JDStone20 3 роки тому

    Awesome way to hack something together and get it to work!

  • @yashsingh6793
    @yashsingh6793 3 роки тому +1

    Video editor in terminal.
    Look like I am about to become a youtuber.

  • @cherubin7th
    @cherubin7th 3 роки тому

    Extend it until it becomes a full drag and drop video editing software with a million features

  • @Maigols
    @Maigols 3 роки тому

    I fucking swear I had the idea to make a very similar program the other day

  • @digitaljestin
    @digitaljestin 3 роки тому

    Obvious improvement idea: vim mapping to launch sxiv -tio as an image selector.

  • @eddievalentin6678
    @eddievalentin6678 11 місяців тому

    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.

  • @pename3713
    @pename3713 7 місяців тому

    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?

  • @porky1118
    @porky1118 3 роки тому

    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.

  • @Vantaz
    @Vantaz 3 роки тому

    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.

  • @asaeljames
    @asaeljames 3 роки тому

    Does anyone know if there's any way to add ken burns effect to the pictures?

  • @fiethsing9988
    @fiethsing9988 3 роки тому +1

    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.

    • @LukeSmithxyz
      @LukeSmithxyz  3 роки тому +1

      Well you can't do that with the script I have, but the ffmpeg concat demuxer can indeed do that.

  • @marciomaiajr
    @marciomaiajr 3 роки тому +2

    Easter egg at 6:29 line 25

  • @tonnylins
    @tonnylins 3 роки тому

    hahaha, making slim videos to share around couldn't be easier than this. I wanna try that.

  • @saint_n9ne
    @saint_n9ne 3 роки тому +1

    Luke! Learn perl so you can create object oriented bash scripts

  • @qqii
    @qqii 3 роки тому

    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.

  • @aws96314
    @aws96314 3 роки тому

    There is a reason why NLEs exist, "Convenience".

  • @ardavardar105
    @ardavardar105 3 роки тому

    Can i use a gif or a video instead of just images?

  • @dmsalomon
    @dmsalomon 3 роки тому +1

    Next upload: how I made the video explaining how I make the video

  • @dcorderoch
    @dcorderoch 3 роки тому

    at 6:20, I see that in line 46, there's a duration of -3, is that valid?

    • @dcorderoch
      @dcorderoch 3 роки тому

      I think it's an error in the timecodes, the previous one is at a later time

  • @reverseila4363
    @reverseila4363 3 роки тому

    Unrelalted but have you used manim?

  • @ckrielle
    @ckrielle 3 роки тому

    Hey Luke do I have permission to use this script?

  • @ViniciusProvenzano
    @ViniciusProvenzano 3 роки тому

    Now put a GUI on it, distribute on Apple APP store and become a rich ranch unaboomer!

  • @twinhalf5806
    @twinhalf5806 3 роки тому +1

    7:28 - Line 20 - Coomer detected!

  • @herooftermina
    @herooftermina 3 роки тому

    Oh hi mark

  • @AlexAegisOfficial
    @AlexAegisOfficial 3 роки тому

    On what level of despair are you right now?

  • @iskamag
    @iskamag 3 роки тому

    thanks for enlightening me, i’m making more degenerate memes with this

  • @gyattrizzV
    @gyattrizzV 4 місяці тому

    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 ?

  • @alexanderchaplinbraz1113
    @alexanderchaplinbraz1113 3 роки тому

    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.

  • @mihailazar2487
    @mihailazar2487 3 роки тому

    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.

  • @simonedeiana2696
    @simonedeiana2696 3 роки тому

    It’s eerily similar to a video automation script I did a while ago to troll pajeets

  • @bl-fk9rr
    @bl-fk9rr 3 роки тому +2

    "00:03:06 vagina.jpg"

  • @hugohabicht6274
    @hugohabicht6274 3 роки тому

    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😂

  • @lolnjeoglondajmejejplejlis3365
    @lolnjeoglondajmejejplejlis3365 3 роки тому

    Its not 1020 but 1080

  • @agurzil1424
    @agurzil1424 3 роки тому

    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

  • @edvonrattlehead2135
    @edvonrattlehead2135 3 роки тому

    Hmm, ability to add videos to slider, more than 1 audio file, custom background

  • @hermannpaschulke1583
    @hermannpaschulke1583 3 роки тому

    This is too based for me, I'll stick with Kdenlive

  • @harikrishnankv1659
    @harikrishnankv1659 3 роки тому

    Noice

  • @mble
    @mble 3 роки тому

    why did you spend 389.22 USD on drinks? XD

  • @ogabrielcasanova
    @ogabrielcasanova 3 роки тому

    Kdenluke

  • @samzx81
    @samzx81 3 роки тому

    I know you've probably got a million comments about it but its not 1020p lol. Its 1080 🤣

  • @shrirangkahale
    @shrirangkahale 3 роки тому

    "1020p"

  • @itsgytis7833
    @itsgytis7833 3 роки тому

    6:17 - vagina.jpg

  • @copper4eva
    @copper4eva 3 роки тому

    1020p lmao what a boomer
    I know you don't care, but it's 1080p btw.

  • @G18395
    @G18395 3 роки тому

    Could you please don't encode video that much, text is unreadable

  • @peddamax8211
    @peddamax8211 3 роки тому

    3:06 vagina.jpg
    aha

  • @toorero
    @toorero 3 роки тому

    vagina.jpg 👀

  • @elclippo4182
    @elclippo4182 3 роки тому

    Waiting for you to automate your video content with AI 🤖

  • @reralt
    @reralt 3 роки тому +1

    20 00:03:06 vagina.jpg

  • @BrunusRicieri
    @BrunusRicieri 3 роки тому +1

    jewdas.jpeg 😂

  • @victorprokop2240
    @victorprokop2240 3 роки тому +4

    first hehe

  • @censoredterminalautism4073
    @censoredterminalautism4073 3 роки тому +2

    "jewdas"
    Kek.

  • @rebelzfire
    @rebelzfire 3 роки тому

    jewdas.jpg lol

  • @pajeetsingh
    @pajeetsingh Рік тому

    Any tips for /gifs?