How To Batch Render Multiple Blender Files (I'm Not Dead)

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024

Комментарии • 145

  • @lunardbay
    @lunardbay 2 года назад +20

    Guys I figured out what the problem is when you get the "'blender' is not recognized" issue. Make sure the .exe file is named Blender.exe and not anything else. I had the same issue because my .exe was set to Blender 3.exe so I renamed it and everything is fixed now.

    • @terr20114
      @terr20114  2 года назад +1

      That's great! Makes sense too. If there's no blender.exe in the location there's nothing to run the commands

    • @PlanetXtreme
      @PlanetXtreme 2 года назад +13

      ALSO make sure your batch file is on your C drive; since all my blender files were on my G drive, I put my batch file also on my G drive. I kept getting errors until I moved it to the desktop; the errors were telling me "blender is not recognized," like your comment is saying.

    • @hugoantunesartwithblender
      @hugoantunesartwithblender 2 года назад

      I copy the path of blender.exe

    • @blackout5145
      @blackout5145 2 года назад +1

      @@PlanetXtreme thanks man you are a lifesaver.

    • @PlanetXtreme
      @PlanetXtreme 2 года назад +1

      @@blackout5145 yeah us _guys_ with extra *hard* _drives_ gotta stick together

  • @VoxKal3D
    @VoxKal3D Год назад +2

    Thanks, It worked however I had to add the drive name before the cd line, Like this
    C:
    cd "C:\Program Files\Blender Foundation\Blender 3.5"
    after this it worked amazing

  • @JaniEU
    @JaniEU 3 месяца назад +1

    my friend linked me this, im new to blender and this is perfect for my use case. thanks bro

    • @terr20114
      @terr20114  3 месяца назад

      Welcome to the blender community! 😁 I’m happy my video was able to help.

  • @MrSharkYT
    @MrSharkYT 2 года назад +1

    Oh lovely, lovely, lovely!
    Thank you so much!
    Note for others as well... people mentioned the blender launch file has to be named "blender.exe" (which mine was) but still didn't work which, afterwards I realized is cause I had blender installed on disk B rather than C, I had to move the .bat file to disk B so it can detect blender

  • @PlanetXtreme
    @PlanetXtreme 2 года назад +5

    Make sure your batch file is on your C drive; since all my blender files were on my G drive, I put my batch file also on my G drive! I kept getting errors until I moved it to the desktop, telling me "blender is not recognized."

    • @PlanetXtreme
      @PlanetXtreme 8 месяцев назад

      More importantly, Put your batch file on the same drive where blender is installed on!

  • @stathiskefalas
    @stathiskefalas 3 года назад +10

    Thank you, exactly what I was looking for!

  • @patricklevar
    @patricklevar 3 года назад +7

    This is really cool I didn't know you could do this 🤯🤔

    • @terr20114
      @terr20114  3 года назад +2

      No kidding. I was a little mind blown when I learned it myself. Saved me some boring nights

  • @KnowArt
    @KnowArt 4 месяца назад

    awesome. Exactly what I was looking for

    • @terr20114
      @terr20114  4 месяца назад

      Glad I could help.

  • @andyw6739
    @andyw6739 Год назад +1

    wow this music is absolutely killing me.. can't concentrate on what you're saying but I try my very best! :D

  • @surajpednekar
    @surajpednekar 4 месяца назад +1

    If you want to shutdown your pc after completing render jist add the following command
    shutdown/s /t 0 before cmd/k

  • @sergeyandreev2599
    @sergeyandreev2599 2 года назад +6

    The "cd" command changes the directory, but not what drive you are working with. So when you go "cd d:\temp", you are changing the D drive's directory to temp, but staying in the C drive.
    Execute these two commands:
    D:
    cd temp
    That will get you the results you want.

    • @joshrokman
      @joshrokman 2 года назад +1

      Thanks for that!

    • @danielwp498
      @danielwp498 Год назад

      @sergeyandreev2599 so if I want to render a file in my D drive into my D drive. I should do:
      cd "C:\Program Files\Blender Foundation\Blender 3.3"
      blender -b D: cd temp "D:\project file location" -a
      cmd/k
      doesn't seem to work for me but I guess I didn't do it correctly. Do you perhaps know why?

    • @sergeyandreev2599
      @sergeyandreev2599 Год назад +1

      @@danielwp498 My working file:
      C:
      cd "C:\Program Files\Blender Foundation\Blender 2.93"
      blender -b "T:
      ame.blend" -a
      cmd /k
      Is it helpful for you? I don't know. If you're talking about render files location, you need to change settings in blender and save the file

    • @danielwp498
      @danielwp498 Год назад +1

      @@sergeyandreev2599 that worked for me! Adding the C: in the first line before the cd command solved the issue. Thanks so much!

    • @sergeyandreev2599
      @sergeyandreev2599 Год назад +1

      @@danielwp498 I'm very happy to help you :)

  • @momentum_animation_studio
    @momentum_animation_studio 11 месяцев назад

    So helpful! Thank you Terrence, I've got a lot of scenes to get rendered out and micro managing all the renders wasn't something I was looking forward to. It is working like a charm!

  • @sajjadabouei6721
    @sajjadabouei6721 2 года назад +2

    thank you very much,
    really helpful man
    the only thing that I can say is that it would be much more easy to follow if there was not background music or decrease the background music volume level.
    💮

  • @vishalsaini-un5lq
    @vishalsaini-un5lq Год назад

    Thanks man, I was searching batch rendering with multiple blender file last couple of days.

  • @Aloneboy_T3
    @Aloneboy_T3 3 года назад +3

    Keep creating bro🔥

    • @terr20114
      @terr20114  3 года назад

      I will bro! Staying focused

  • @k0walsk
    @k0walsk Год назад

    Just the ultimate soundtrack to learning something, thanks Terrence!

  • @ScraggyDogg
    @ScraggyDogg Год назад +1

    Late to your channel but just what I needed, thankyou keep up good work. I'm new to blender but not to 3d and although there are a lot of good tutorials on RUclips most are beginner friendly. I'd like to see more intermediate ones personally.
    The bought ones are very similar in my experience so far but am enjoying blender.

  • @xeppepochannel
    @xeppepochannel 2 года назад +1

    This is magic, isn't it? Thank you very much, sir.

    • @terr20114
      @terr20114  2 года назад

      An ancient family secret :)

  • @wanyee6444
    @wanyee6444 10 месяцев назад

    Simple and easy, most importantly it works well! Thank you so much your video helps A LOT!

  • @addixie
    @addixie 5 месяцев назад

    this is a work of wonder, God Bless You my guy!

  • @firsrtexperiencewithab81
    @firsrtexperiencewithab81 7 месяцев назад

    Keep in mind you have to open file as administrator if you face issue like file is not recognized

  • @royphotography390
    @royphotography390 3 месяца назад

    You are life saver❤

  • @alixsaffari
    @alixsaffari 3 года назад +1

    Amazing content! subscribed without hesitation.

    • @terr20114
      @terr20114  3 года назад

      Appreciate the comment and the Sub! Thank you!

  • @bro4ever771
    @bro4ever771 2 года назад +1

    Thank you so much!!! This is what I needed!

  • @realinus
    @realinus 2 месяца назад

    GENIUS

  • @TomSargent24
    @TomSargent24 2 года назад

    Wish i could double upvote - perfect video explaining this

  • @HakBaba
    @HakBaba 2 года назад +1

    ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))... I'am getting this error. Can you please help me out here. Thanks in advance.

  • @rj_enoz
    @rj_enoz 9 месяцев назад

    That is amazing 🌟

  • @lasthunter572
    @lasthunter572 Год назад

    Thank you very much I didn’t know about this ❤❤❤❤

  • @PedroScherz
    @PedroScherz Год назад

    Thank you for this awesome piece of knowledge

  • @pmvelectric8690
    @pmvelectric8690 3 года назад +4

    'blender' is not recognized as an internal or external command,
    operable program or batch file.
    I AM GETTING THIS ERROR PLEASE TELL ME WHAT SHOULD I DO?

    • @terr20114
      @terr20114  3 года назад

      Hey there! It sounds like you're not running the command from the correct folder. Watch from 2:46. You should get the location of the blender.exe and copy it to the note pad file. You will need to CD command to ensure the command look for the blender exe in the correct folder.

    • @MrZakousky
      @MrZakousky 3 года назад

      @@terr20114 Same trouble :( my command : cd "C:\Program Files\Blender Foundation\Blender 2.91"

    • @terr20114
      @terr20114  3 года назад

      @@MrZakousky I'm thinking blender isn't located in the default folder. Right click the shortcut, click open the file location and see where it is.

    • @mrflyman123456789
      @mrflyman123456789 3 года назад

      hey I had the same issue, first type in >cd copy paste your blender file path here and then write blender.exe, after that it will open blender for you, so close it afterwards, the rest is the same as in the video

    • @makacofilms4180
      @makacofilms4180 3 года назад +3

      you have to run it as admin.

  • @DamianMathew
    @DamianMathew 4 месяца назад

    'blender' is not recognized as an internal or external command
    SOLUTION: right click, Run as administrator.

  • @belaidt6801
    @belaidt6801 Год назад

    Great Thank you

  • @carlinhosjm88
    @carlinhosjm88 2 года назад +1

    is it possible to render the files with out having to input all the files address ?? just say "render every blender file inside this folder"

  • @harrybellingham98
    @harrybellingham98 3 года назад +1

    Excellent man!

    • @terr20114
      @terr20114  3 года назад

      Thank you! Cheers! 🍻

  • @sahilsingh2367
    @sahilsingh2367 3 года назад +4

    Think I might be doing something wrong. getting this error
    'blender' is not recognized as an internal or external command,
    operable program or batch file.

    • @terr20114
      @terr20114  3 года назад

      Message me on discord Terr20114#7206

    • @DamianMathew
      @DamianMathew 4 месяца назад

      SOLUTION: right click, Run as administrator.

  • @JinnyjinnyJin
    @JinnyjinnyJin 2 года назад +2

    Can you also batch render multiple scenes in a blender file?

  • @ayb2337
    @ayb2337 2 года назад

    I don't have a specific set of skills. But If I had, I will find you. And I will hug you.

    • @terr20114
      @terr20114  2 года назад

      😄 Thanks! Glad I could help

  • @realinus
    @realinus 2 месяца назад

    genius

  • @juandefdezduran
    @juandefdezduran 2 года назад

    Thank you so much, it really helped me.

  • @user-md1yj9wo1g
    @user-md1yj9wo1g Год назад

    great video! does it uses the gpu or only cpu with that method? because the gpu is much stronger in my case, thx.

  • @ericknisley100
    @ericknisley100 8 месяцев назад

    This is extremely helpful! I work in a science museum, where I often have to crank out huge sequences of frames, often running the computers on weekends or nights. This really helps to make tha an automatic process! I do have one question, and please forgive me if you've already answered. I want to set start and end frame numbers for my rendering. I looked up the commands, and I think I understand them, but I think my syntax is not right. I have my first line of rendering as
    >>
    Blender.exe -b "D:\projects\batch-file-test\batch-file-01.blend" -s -e

  • @herseyiizleyenadam2553
    @herseyiizleyenadam2553 10 месяцев назад

    Great way to save time to render while sleeping. But i have small questions. Is that work on image sequences too? Also I have another 1 tricky question, I'm rendering product videos, obejcts or lights not moving, I do some camera pans around the product. I do frames 1-150 for first scene and frames 151-300 for next scene with different camera angle. Is ıt possible to render both camera view at the same time? Because lights, shadows, reflections are not changing..

  • @sergeyandreev2599
    @sergeyandreev2599 2 года назад

    10/10 you're the best thank you

  • @darius55508
    @darius55508 Год назад

    thx - This is what I needed

  • @antoniopepe
    @antoniopepe 3 года назад

    thanks man. very appreciated trick

  • @yochintohere
    @yochintohere Год назад

    Amazing

  • @CapVFX
    @CapVFX Год назад

    Great tutorial! Thx

  • @AlexandreMarcati
    @AlexandreMarcati 2 года назад +2

    Jump to 2:41 to get to the actual batch render tutorial.

    • @terr20114
      @terr20114  2 года назад +1

      Good suggestion. I've updated the timecodes.

    • @AlexandreMarcati
      @AlexandreMarcati 2 года назад +1

      @@terr20114 nice, thanks!

    • @terr20114
      @terr20114  2 года назад

      @@AlexandreMarcati Gotta thank you for that suggestion 👍

  • @tuantran-sb6ic
    @tuantran-sb6ic 2 месяца назад

    one question, can i even set the active cam from the cmd? if yes that would be nut

  • @LORDSofCHAOS333
    @LORDSofCHAOS333 4 месяца назад

    Bruh my render nightmares are finally over can't wait to test is out on a 4gb NVIDIA 1650 i can render 10 or more files without using my gpu holly molly.

  • @benwan3710
    @benwan3710 2 года назад +1

    does it work on Mac?

  • @EFEKTStudio
    @EFEKTStudio 2 года назад +1

    tried to watch the video, just couldn't, because music in background is so annoying.

    • @terr20114
      @terr20114  2 года назад +1

      Thanks for the feedback. I had no good audio equipment back then. I've long upgraded my equipment. My future videos will be a whole lot better from an audio standpoint.

    • @EFEKTStudio
      @EFEKTStudio 2 года назад

      @@terr20114 Thanks, I rather listen your audio with all the issues then like this. Great video btw.

  • @cesaramaral7007
    @cesaramaral7007 2 года назад

    Thank you, it worked perfectly. I couldn't use -f tho, it doesn't work when I try something like "-f 1-24", but -a works fine. Any ideas?

  • @juncando
    @juncando Год назад

    Incredible. How would you export objects from a bat file. Is there any documentation available for these commands ?

  • @JohnDowson100
    @JohnDowson100 Год назад +1

    Hi
    I'm new to blender. I usually batch render with arnold. Is there a list of render flags you can use like in Arnold?

    • @terr20114
      @terr20114  Год назад +1

      Hey Paolo, I never checked out Arnold before but I can look into it. I'm considering making a discord where we can discuss these kinda things easily.

  • @b3dsign
    @b3dsign 3 года назад +1

    Amazing!!!! Thank you so much! Just save one more life! (Is there a way to open blender to see the rendering?)

    • @terr20114
      @terr20114  3 года назад

      Really glad I could help 😁. Unfortunately using this method wont allow you to see the render. I always check my settings, lighting, enabled objects etc. Do a few test renders before committing to a render like this.

    • @b3dsign
      @b3dsign 3 года назад +1

      @@terr20114 I was imagining that, but it's ok, I am doing a lot of renders just changing a object, it was crazy wait the render all the time, now I can do 10 and send =) Thank you again!

    • @terr20114
      @terr20114  3 года назад

      @@b3dsign you're welcome 😁👍

  • @ingorotfuchs1267
    @ingorotfuchs1267 6 месяцев назад

    Hmmm, sorry, but the batch doesn't work at blender 4.0.2, in my case.
    I have all blender-versions installed at drive D and the blend-files, including the batch-subfolder, at drive F.
    The batch tells me, that the blend-files could not be found or were misspelled.
    Tis is how I did the script:
    cd "D:\3D-Software\Blender\Blender 4_0\"
    blender -b "F:\Projects - 01 Alle\Projects - Blender\Blender Scenes\xyz.blend" -a
    cmd /k
    What must I change, to make the batch-file work?

    • @royphotography390
      @royphotography390 3 месяца назад +1

      I think moving the batch file in the installation drive should work

  • @AukePoelman1
    @AukePoelman1 Год назад

    Hey man this was exactly what I was looking for. I noticed that when rendering this way it wont actually use my gpu. Eventhough If I start the same render in blender it does use the gpu to render. Any ideas?

  • @equalium9980
    @equalium9980 2 года назад

    Is there a way to set a time limit on the renders? like, let's say that all together all of my projects have a render time of about 12 hours, but I only want 8 hours of the render done on a certain day, and the other 4 hours a different day, how would I go about doing that?

  • @hamidmohamadzade1920
    @hamidmohamadzade1920 2 года назад

    Make sure to run the batch file as administrator. it fixed not recognise blender

  • @TT-hu2hd
    @TT-hu2hd 2 года назад +1

    Thanks, does it is possible to rendered several files one by one without overwritting the new render at each loop ? Example : Files C1, C2 and C3.blend, then launching the command and finally have C1, C2 and C3.png pictures in the directory. Thank you in advance !

  • @chrisstonalll
    @chrisstonalll 3 года назад +1

    is there a way to render multiple cameras in one scene using this method or do you have to create multiple copies of the same scene with different camera angles?

    • @andrejpisut974
      @andrejpisut974 3 года назад

      There is a really handy marker solution. You can create markers on timelie (M) and bind active camera to marker (ctr+B). As long as they are in render range they will get rendered. Thus you can render multiple shots throughout multiple blend files. I dont know how it works with different scenes. As far as i know it only renders active scene.

  • @koraykoralturk5054
    @koraykoralturk5054 Год назад

    İts not working.” Error cannot read file No such file or directory “ what did a do wrong

  • @SumberInspirasi99
    @SumberInspirasi99 Год назад

    do you know,..why my render result is in "TMP folder" not in the same folder that I saved my file?
    thanks in advance

  • @zakymhansem995
    @zakymhansem995 2 года назад

    I can't seem to be able to get the second file to render. The Code stops after saving the files.

  • @hugoantunesartwithblender
    @hugoantunesartwithblender 2 года назад

    Thank ypu, so useful

  • @S9universe
    @S9universe 2 года назад

    ok wow

  • @cickmiss5077
    @cickmiss5077 Год назад

    Does the command line read the plug-in?

  • @k0walsk
    @k0walsk Год назад

    Btw does that cound as writing code?

  • @TuckerGibsonLegendary
    @TuckerGibsonLegendary 2 года назад

    Is it possible to have it automatically render all blend files in a specified folder rather than listing each file manually?

  • @fluffybunnyexp4034
    @fluffybunnyexp4034 Год назад

    How does one batch render multiple scenes in one blender file?

  • @MercuryRisingFast
    @MercuryRisingFast 7 месяцев назад

    omg... blender. Does it batch render in the latest version without all this nonsense?

  • @ihebKirikachi
    @ihebKirikachi 2 года назад

    i love this shit thaaaaaaaaaaaanks

  • @Raitan2008
    @Raitan2008 2 года назад

    This is not working for me at all in blender 3.1. I tried running as administrator from the desktop, and I get a lot of shit about other addons in the cmd line. I saved what it said--are you able to help? Willing to donate to your patreon or whatever you take in order to get this working. This would be a game changer for my production flow.

  • @WillFalcon
    @WillFalcon 2 года назад

    Do u have an example if I would want to use 2x-GPU and render multiple .blend files?
    For now I will try this code
    echo on
    start /d "%blenderPath%" blender2.exe -b "%cd%\%sceneFile1%" -s %startFrame1% -e %endFrame1% -j %instances% -a
    timeout 1
    start /d "%blenderPath%" blender3.exe -b "%cd%\%sceneFile2%" -s %startFrame1% -e %endFrame1% -j %instances% -a
    timeout 1
    What cmd /k does?

  • @ivanpergasiFreelance
    @ivanpergasiFreelance 2 месяца назад

    hey does it work for VSE ?

  • @HappyballSoul
    @HappyballSoul Год назад

    Can you do that with mac too?

  • @ErikvanSchaaik
    @ErikvanSchaaik 2 года назад

    Hi, and thanks! How can I do this on a Mac?

  • @paolohuesp
    @paolohuesp 3 года назад +1

    works also for jpg and png with eevee?

    • @terr20114
      @terr20114  3 года назад +1

      Yes it does. Just set your settings and save the file before you begin the batch render

  • @naoremedisonsingh6035
    @naoremedisonsingh6035 2 года назад

    can we have the .blend files in different folders? wat about the .bat file?
    please help!!

    • @terr20114
      @terr20114  2 года назад

      Hi, I"m a little late but yes you can, you just need to put the path to each .blend file in the bat script.

  • @vishnuhere6150
    @vishnuhere6150 3 года назад

    Png files?? Support? I did it but not working

  • @gustavoluisrodela
    @gustavoluisrodela 3 года назад +2

    Nice tut. Terrible bmg. Can barely hear you! Please get rid of it!!

    • @terr20114
      @terr20114  3 года назад

      Don't you worry. I've purchased an audio interface and a good microphone for all future videos. :)

  • @ayb2337
    @ayb2337 2 года назад

    Can we make the pc to shutdown after finishing the render?

    • @terr20114
      @terr20114  2 года назад +1

      Actually you can, instead of "cmd /k" you can add "shutdown /s" at the end of your script. Your PC will shutdown about a minute after the render is complete.

    • @ayb2337
      @ayb2337 2 года назад

      @@terr20114 thanks man ❤️

  • @Venous_fx
    @Venous_fx 2 года назад

    linux?!!?!?

    • @terr20114
      @terr20114  2 года назад

      I'm not sure how this is done on linux. I could try

  • @getsebt1
    @getsebt1 Год назад

    just for this tutorial you got a new subcriber!
    Thanks for this tutorial!
    But the cumunity is the most beautiful that you have! I got some problems but thanks to @lunardbay and @PlanetXtreme I could do it YOU GUYS ARE awesome. thanks

  • @LKM__
    @LKM__ Год назад

    That's what I needed ! Thank you