﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Doc%3A2.6%2FManual%2FRender%2FCommand_Line</id>
	<title>Doc:2.6/Manual/Render/Command Line - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Doc%3A2.6%2FManual%2FRender%2FCommand_Line"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Render/Command_Line&amp;action=history"/>
	<updated>2026-06-07T09:49:10Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Render/Command_Line&amp;diff=105415&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Render/Command_Line&amp;diff=105415&amp;oldid=prev"/>
		<updated>2018-06-28T19:44:12Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 19:44時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Render/Command_Line&amp;diff=105414&amp;oldid=prev</id>
		<title>2013年8月7日 (水) 14:03にwiki&gt;Brechtによる</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Render/Command_Line&amp;diff=105414&amp;oldid=prev"/>
		<updated>2013-08-07T14:03:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Page/Header|2.5x|Doc:2.5/Manual/Render/Bake|Doc:2.5/Manual/Post-production}}&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
In some situations we want to increase the render speed, access blender remotely to render something or build scripts that use blender command line.&lt;br /&gt;
&lt;br /&gt;
One advantage of using command line is that we don't need the X server (in case of Linux) and as a consequence we can render remotely by SSH or telnet.&lt;br /&gt;
&lt;br /&gt;
''Note!''&lt;br /&gt;
Arguments are executed in the order they are given!&lt;br /&gt;
 blender -b file.blend -a -x 1 -o //render&lt;br /&gt;
...Wont work, since the output and extension is set after blender is told to render.&lt;br /&gt;
&lt;br /&gt;
Always position '''-f''' or '''-a''' as the last arguments.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
  blender [-b &amp;lt;dir&amp;gt;&amp;lt;file&amp;gt; ''[-o &amp;lt;dir&amp;gt;&amp;lt;file&amp;gt;''][-F &amp;lt;format&amp;gt;]&lt;br /&gt;
  [-x ''[0|1]''][-t &amp;lt;threads&amp;gt;][-S &amp;lt;name&amp;gt;][-f &amp;lt;frame&amp;gt;]&lt;br /&gt;
  [-s &amp;lt;frame&amp;gt; -e &amp;lt;frame&amp;gt; -a]] [[-P &amp;lt;scriptname&amp;gt; [-- &amp;lt;parameter&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
==Render Options:==&lt;br /&gt;
  -b or --background &amp;lt;file&amp;gt;&lt;br /&gt;
      Load &amp;lt;file&amp;gt; in background (often used for UI-less rendering)&lt;br /&gt;
  &lt;br /&gt;
  -a or --render-anim &lt;br /&gt;
      Render frames from start to end (inclusive)&lt;br /&gt;
  &lt;br /&gt;
  -S or --scene &amp;lt;name&amp;gt;&lt;br /&gt;
      Set the active scene &amp;lt;name&amp;gt; for rendering&lt;br /&gt;
  &lt;br /&gt;
  -f or --render-frame &amp;lt;frame&amp;gt;&lt;br /&gt;
      Render frame &amp;lt;frame&amp;gt; and save it.&lt;br /&gt;
      +&amp;lt;frame&amp;gt; start frame relative, -&amp;lt;frame&amp;gt; end frame relative.&lt;br /&gt;
  &lt;br /&gt;
  -s or --frame-start &amp;lt;frame&amp;gt;&lt;br /&gt;
      Set start to frame &amp;lt;frame&amp;gt; (use before the -a argument)&lt;br /&gt;
  &lt;br /&gt;
  -e or --frame-end &amp;lt;frame&amp;gt;&lt;br /&gt;
      Set end to frame &amp;lt;frame&amp;gt; (use before the -a argument)&lt;br /&gt;
  &lt;br /&gt;
  -j or --frame-jump &amp;lt;frames&amp;gt;&lt;br /&gt;
      Set number of frames to step forward after each rendered frame&lt;br /&gt;
  &lt;br /&gt;
  -o or --render-output &amp;lt;path&amp;gt;&lt;br /&gt;
      Set the render path and file name.&lt;br /&gt;
      Use // at the start of the path to&lt;br /&gt;
          render relative to the blend file.&lt;br /&gt;
      The # characters are replaced by the frame number, and used to define zero padding.&lt;br /&gt;
          ani_##_test.png becomes ani_01_test.png&lt;br /&gt;
          test-######.png becomes test-000001.png&lt;br /&gt;
          When the filename does not contain #, The suffix #### is added to the filename&lt;br /&gt;
      The frame number will be added at the end of the filename.&lt;br /&gt;
          eg: blender -b foobar.blend -o //render_ -F PNG -x 1 -a&lt;br /&gt;
          //render_ becomes //render_####, writing frames as //render_0001.png//&lt;br /&gt;
  &lt;br /&gt;
  -E or --engine &amp;lt;engine&amp;gt;&lt;br /&gt;
      Specify the render engine&lt;br /&gt;
      use -E help to list available engines&lt;br /&gt;
  &lt;br /&gt;
  -t or --threads &amp;lt;threads&amp;gt;&lt;br /&gt;
      Use amount of &amp;lt;threads&amp;gt; for rendering and other operations&lt;br /&gt;
      [1-64], 0 for systems processor count.&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
==Format Options:==&lt;br /&gt;
  -F or --render-format &amp;lt;format&amp;gt;&lt;br /&gt;
      Set the render format, Valid options are...&lt;br /&gt;
          TGA IRIS JPEG MOVIE IRIZ RAWTGA&lt;br /&gt;
          AVIRAW AVIJPEG PNG BMP FRAMESERVER&lt;br /&gt;
      (formats that can be compiled into blender, not available on all systems)&lt;br /&gt;
          HDR TIFF EXR MULTILAYER MPEG AVICODEC QUICKTIME CINEON DPX DDS&lt;br /&gt;
  &lt;br /&gt;
  -x or --use-extension &amp;lt;bool&amp;gt;&lt;br /&gt;
      Set option to add the file extension to the end of the file&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
==Animation Playback Options:==&lt;br /&gt;
  -a &amp;lt;options&amp;gt; &amp;lt;file(s)&amp;gt;&lt;br /&gt;
      Playback &amp;lt;file(s)&amp;gt;, only operates this way when not running in background.&lt;br /&gt;
          -p &amp;lt;sx&amp;gt; &amp;lt;sy&amp;gt;    Open with lower left corner at &amp;lt;sx&amp;gt;, &amp;lt;sy&amp;gt;&lt;br /&gt;
          -m      Read from disk (Don't buffer)&lt;br /&gt;
          -f &amp;lt;fps&amp;gt; &amp;lt;fps-base&amp;gt;     Specify FPS to start with&lt;br /&gt;
          -j &amp;lt;frame&amp;gt;  Set frame step to &amp;lt;frame&amp;gt;&lt;br /&gt;
          -s &amp;lt;frame&amp;gt;  Play from &amp;lt;frame&amp;gt;&lt;br /&gt;
          -e &amp;lt;frame&amp;gt;  Play until &amp;lt;frame&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
==Window Options:==&lt;br /&gt;
  -w or --window-border &lt;br /&gt;
      Force opening with borders (default)&lt;br /&gt;
  &lt;br /&gt;
  -W or --window-borderless &lt;br /&gt;
      Force opening without borders&lt;br /&gt;
  &lt;br /&gt;
  -p or --window-geometry &amp;lt;sx&amp;gt; &amp;lt;sy&amp;gt; &amp;lt;w&amp;gt; &amp;lt;h&amp;gt;&lt;br /&gt;
      Open with lower left corner at &amp;lt;sx&amp;gt;, &amp;lt;sy&amp;gt; and width and height as &amp;lt;w&amp;gt;, &amp;lt;h&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  -con or --start-console &lt;br /&gt;
      Start with the console window open (ignored if -b is set), (Windows only)&lt;br /&gt;
  &lt;br /&gt;
  --no-native-pixels &lt;br /&gt;
      Do not use native pixel size, for high resolution displays (MacBook 'Retina')&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
==Game Engine Specific Options:==&lt;br /&gt;
  -g Game Engine specific options&lt;br /&gt;
      -g fixedtime        Run on 50 hertz without dropping frames&lt;br /&gt;
      -g vertexarrays     Use Vertex Arrays for rendering (usually faster)&lt;br /&gt;
      -g nomipmap     No Texture Mipmapping&lt;br /&gt;
      -g linearmipmap     Linear Texture Mipmapping instead of Nearest (default)&lt;br /&gt;
&lt;br /&gt;
==Python Options:==&lt;br /&gt;
  -y or --enable-autoexec &lt;br /&gt;
      Enable automatic python script execution&lt;br /&gt;
  &lt;br /&gt;
  -Y or --disable-autoexec &lt;br /&gt;
      Disable automatic python script execution (pydrivers &amp;amp; startup scripts), (compiled as non-standard default)&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  -P or --python &amp;lt;filename&amp;gt;&lt;br /&gt;
      Run the given Python script file&lt;br /&gt;
  &lt;br /&gt;
  --python-text &amp;lt;name&amp;gt;&lt;br /&gt;
      Run the given Python script text block&lt;br /&gt;
  &lt;br /&gt;
  --python-console &lt;br /&gt;
      Run blender with an interactive console&lt;br /&gt;
  &lt;br /&gt;
  --addons &lt;br /&gt;
      Comma separated list of addons (no spaces)&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
==Debug Options:==&lt;br /&gt;
  -d or --debug &lt;br /&gt;
      Turn debugging on&lt;br /&gt;
  &lt;br /&gt;
      * Prints every operator call and their arguments&lt;br /&gt;
      * Disables mouse grab (to interact with a debugger in some cases)&lt;br /&gt;
      * Keeps python sys.stdin rather than setting it to None&lt;br /&gt;
  &lt;br /&gt;
  --debug-value &amp;lt;value&amp;gt;&lt;br /&gt;
      Set debug value of &amp;lt;value&amp;gt; on startup&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  --debug-events &lt;br /&gt;
      Enable debug messages for the event system&lt;br /&gt;
  &lt;br /&gt;
  --debug-handlers &lt;br /&gt;
      Enable debug messages for event handling&lt;br /&gt;
  &lt;br /&gt;
  --debug-jobs &lt;br /&gt;
      Enable time profiling for background jobs.&lt;br /&gt;
  &lt;br /&gt;
  --debug-python &lt;br /&gt;
      Enable debug messages for python&lt;br /&gt;
  &lt;br /&gt;
  --debug-wm &lt;br /&gt;
      Enable debug messages for the window manager&lt;br /&gt;
  &lt;br /&gt;
  --debug-all &lt;br /&gt;
      Enable all debug messages (excludes libmv)&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  --debug-fpe &lt;br /&gt;
      Enable floating point exceptions&lt;br /&gt;
  &lt;br /&gt;
  --disable-crash-handler &lt;br /&gt;
      Disable the crash handler&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
==Misc Options:==&lt;br /&gt;
  --factory-startup &lt;br /&gt;
      Skip reading the &amp;quot;startup.blend&amp;quot; in the users home directory&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  --env-system-datafiles &lt;br /&gt;
      Set the BLENDER_SYSTEM_DATAFILES environment variable&lt;br /&gt;
  &lt;br /&gt;
  --env-system-scripts &lt;br /&gt;
      Set the BLENDER_SYSTEM_SCRIPTS environment variable&lt;br /&gt;
  &lt;br /&gt;
  --env-system-python &lt;br /&gt;
      Set the BLENDER_SYSTEM_PYTHON environment variable&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  -nojoystick &lt;br /&gt;
      Disable joystick support&lt;br /&gt;
  &lt;br /&gt;
  -noglsl &lt;br /&gt;
      Disable GLSL shading&lt;br /&gt;
  &lt;br /&gt;
  -noaudio &lt;br /&gt;
      Force sound system to None&lt;br /&gt;
  &lt;br /&gt;
  -setaudio &lt;br /&gt;
      Force sound system to a specific device&lt;br /&gt;
      NULL SDL OPENAL JACK&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  -h or --help &lt;br /&gt;
      Print this help text and exit&lt;br /&gt;
  &lt;br /&gt;
  -v or --version &lt;br /&gt;
      Print Blender version and exit&lt;br /&gt;
  &lt;br /&gt;
  -- &lt;br /&gt;
      Ends option processing, following arguments passed unchanged. Access via python's sys.argv&lt;br /&gt;
  &lt;br /&gt;
==Other Options:==&lt;br /&gt;
  /? &lt;br /&gt;
      Print this help text and exit (windows only)&lt;br /&gt;
  &lt;br /&gt;
  --verbose &amp;lt;verbose&amp;gt;&lt;br /&gt;
      Set logging verbosity level.&lt;br /&gt;
  &lt;br /&gt;
  -R &lt;br /&gt;
      Register .blend extension, then exit (Windows only)&lt;br /&gt;
  &lt;br /&gt;
  -r &lt;br /&gt;
      Silently register .blend extension, then exit (Windows only)&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
==Render a picture==&lt;br /&gt;
&lt;br /&gt;
 # blender -b file.blend -o //file -F JPEG -x 1 -f 1&lt;br /&gt;
&lt;br /&gt;
;*'''-b'''  &lt;br /&gt;
:: Load blender without an interface&lt;br /&gt;
;*'''file.blend'''  &lt;br /&gt;
:: File .blend to render&lt;br /&gt;
;*'''-o //file'''      &lt;br /&gt;
:: Directory + Target image file&lt;br /&gt;
;*'''-F JPEG'''        &lt;br /&gt;
:: JPEG image format&lt;br /&gt;
;*'''-x 1'''           &lt;br /&gt;
:: Ensures an extension .jpg to the file name&lt;br /&gt;
;*'''-f 1'''           &lt;br /&gt;
:: Render frame 1&lt;br /&gt;
&lt;br /&gt;
==Render a movie==&lt;br /&gt;
&lt;br /&gt;
 # blender -b file.blend -x 1 -o //file -F MOVIE -s 003 -e 005 -a &lt;br /&gt;
&lt;br /&gt;
;*'''-b'''  &lt;br /&gt;
:: Load blender without an interface&lt;br /&gt;
;*'''file.blend'''    &lt;br /&gt;
::File .blend to render&lt;br /&gt;
;*'''-x'''               &lt;br /&gt;
::Ensures an extension .avi to the movie&lt;br /&gt;
;*'''-o //file''' &lt;br /&gt;
:: Directory + Target image file&lt;br /&gt;
;*'''-F MOVIE'''         &lt;br /&gt;
:: This saves a .AVI movie with low compression&lt;br /&gt;
;*'''-s 003 -e 005 -a''' &lt;br /&gt;
:: Set start frame to 003 and end frame to 005. '''''Important:''''' ''You can use -s or -e, but if they're not in order, they'll not work!''&lt;br /&gt;
&lt;br /&gt;
==Launch Blender with a specified engine==&lt;br /&gt;
The flags that are used are -E engine or --engine engine&lt;br /&gt;
&lt;br /&gt;
 # blender --engine CYCLES&lt;br /&gt;
&lt;br /&gt;
You can list the available engines by using&lt;br /&gt;
&lt;br /&gt;
 # blender --engine help&lt;br /&gt;
or&lt;br /&gt;
 # blender -E help&lt;br /&gt;
&lt;br /&gt;
Example output&lt;br /&gt;
&lt;br /&gt;
 found bundled python: /home/satishg/bin/blender-2.65a-linux-glibc27-x86_64/2.65/python&lt;br /&gt;
 Blender Engine Listing:&lt;br /&gt;
        BLENDER_RENDER&lt;br /&gt;
        BLENDER_GAME&lt;br /&gt;
        CYCLES&lt;br /&gt;
 &lt;br /&gt;
 [1]    Done                          ~/bin/blender-2.65a-linux-glibc27-x86_64/blender --engine help&lt;br /&gt;
&lt;br /&gt;
=Platforms=&lt;br /&gt;
&lt;br /&gt;
How to actually execute Blender from the command line depends on the platform and where you have installed Blender. Here are basic instructions for the different platforms.&lt;br /&gt;
&lt;br /&gt;
==== Windows ====&lt;br /&gt;
&lt;br /&gt;
Open the Command Prompt, go to the directory where Blender is installed, and then run the blender command.&lt;br /&gt;
&lt;br /&gt;
 # cd c:\&amp;lt;blender installation directory&amp;gt;&lt;br /&gt;
 # blender&lt;br /&gt;
&lt;br /&gt;
==== Mac OS X ====&lt;br /&gt;
&lt;br /&gt;
Open the Terminal application, go to the directory where Blender is installed, and run the executable within the app bundle, with commands like this:&lt;br /&gt;
&lt;br /&gt;
 # cd /Applications/Blender&lt;br /&gt;
 # ./blender.app/Contents/MacOS/blender&lt;br /&gt;
&lt;br /&gt;
If you need to do this often, you can make an alias so that typing just 'blender' in the terminal works. For that you can run a command like this in the terminal (with the appropriate path).&lt;br /&gt;
&lt;br /&gt;
 # echo &amp;quot;alias blender=/Applications/Blender/blender.app/Contents/MacOS/blender&amp;quot; &amp;gt;&amp;gt; ~/.profile&lt;br /&gt;
&lt;br /&gt;
If you then open a new terminal, the following command will work:&lt;br /&gt;
&lt;br /&gt;
 # blender&lt;br /&gt;
&lt;br /&gt;
==== Linux ====&lt;br /&gt;
&lt;br /&gt;
Open a terminal, then go to the directory where Blender is installed, and run the blender command like this.&lt;br /&gt;
&lt;br /&gt;
 # cd &amp;lt;blender installation directory&amp;gt;&lt;br /&gt;
 # ./blender&lt;br /&gt;
&lt;br /&gt;
If you have Blender installed in your PATH (usually when Blender is installed through a linux distribution package), you may be able to simple do this:&lt;br /&gt;
&lt;br /&gt;
 # blender&lt;br /&gt;
&lt;br /&gt;
{{Page/Footer|Doc:2.5/Manual/Render/Bake|Doc:2.5/Manual/Post-production}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Rendering]]&lt;br /&gt;
[[Category:Command line]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Brecht</name></author>
		
	</entry>
</feed>