<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>  LoadingFile &lt; Cinelerra &lt; TWiki</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/WebRss?skin=rss&contenttype=text/xml" />
<!-- <base href="LoadingFile" /> -->
<style type="text/css" media="all">
	/* Default TWiki layout */
	@import url('../../../pub/TWiki/PatternSkin/layout.css');
	/* Default TWiki style */
	@import url('../../../pub/TWiki/PatternSkin/style.css');
	/* Custom overriding layout per web or per topic */
	@import url('http://www.ftconsult.com/twiki/bin/view/Cinelerra/%USERLAYOUTURL%');
	/* Custom overriding style per web or per topic */
	@import url('http://www.ftconsult.com/twiki/bin/view/Cinelerra/%USERSTYLEURL%');
	.twikiToc li {
		list-style-image:url('../../../pub/TWiki/PatternSkin/i_arrow_down.gif');
	}	        
	.twikiWebIndicator {
		background-color:#D0D0D0;
	}
</style>
<style type="text/css" media="all"></style>
<script type="text/javascript">
<!-- HIDE
	function initPage() { }
-->
</script>
</head>
<body class="twikiViewPage" onload="initPage()"><a name="PageTop"></a>
<div class="twikiHidden"><a href="#Content">Skip to topic</a> | <a href="#PageBottom">Skip to bottom</a><hr /></div><div class="twikiTopBar"><div class="twikiTopBarContents"><form name="top" action="LoadingFile"> <div class="twikiLeft">
<a href="http://twiki.org/"><img src="../../../pub/TWiki/TWikiLogos/twikiRobot46x50.gif" border="0" alt="Home"/></a>
</div>
<div class="twikiRight twikiSearchBox">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><label for="go">Jump: </label><input type="text" id="go" name="topic" size="16" /></td>
</tr>
</table>
</div>
</form></div></div><div class="twikiMiddleContainer"><div class="twikiLeftBar"><div class="twikiWebIndicator"><b>Cinelerra</b></div>
<div class="twikiLeftBarContents"><form name="main" action="LoadingFile"> 
<ul>
<li> <b>Cinelerra Web</b>
</li>
<li> <a class="twikiLink" href="WebHome">Cinelerra Web Home</a>
</li>
<li> <a class="twikiLink" href="WebChanges">Changes</a> 
</li>
<li> <a class="twikiLink" href="WebIndex">Index</a>
</li>
<li> <a class="twikiLink" href="WebSearch">Search</a>
</li>
</ul>
<hr />
<ul>
<li> <strong>Webs</strong>
<ul>
<li> <a class="twikiLink" href="WebHome">Cinelerra</a>
</li>
<li> <a class="twikiLink" href="../Espanol/WebHome">Espanol</a>
</li>
<li> <a class="twikiLink" href="../Francais/WebHome">Francais</a>
</li>
<li> <a class="twikiLink" href="../Italiano/WebHome">Italiano</a>
</li>
<li> <a class="twikiLink" href="../Main/WebHome">Main</a>
</li>
<li> <a class="twikiLink" href="../Sandbox/WebHome">Sandbox</a>
</li>
<li> <a class="twikiLink" href="../Slovenian/WebHome">Slovenian</a>
</li>
<li> <a class="twikiLink" href="../TWiki/WebHome">TWiki</a>
</li>
</ul>
</li>
</ul>
<div class="twikiLeftBarPersonal">
<p />
<ul>
<li> <strong>My links</strong>
</li>
<li> <a class="twikiLink" href="../Main/AeliotBoswell">My home page</a>
</li>
<li> <a href="http://www.ftconsult.com/twiki/bin/search/Codev/?search=InterestedParties.*AeliotBoswell&regex=on" target="_top"><img src="../../../pub/TWiki/TWikiDocGraphics/stargold.gif" style="width:16px; height:16px; border:0px;" alt="Show me topics of interest" /></a>
</li>
</ul>
<div class="twikiSmall"><a href="http://www.ftconsult.com/twiki/bin/edit/Main/TWikiGuestLeftBar?t=20051021151941">edit</a></div>
<p />
</div>
</form></div></div><div class="twikiMain"><div class="twikiToolBar"><div>
<ul>
<li> <a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/LoadingFile?t=1129907981"><b>Edit</b></a>
</li>
<li> <a href="http://www.ftconsult.com/twiki/bin/attach/Cinelerra/LoadingFile">Attach</a>
</li>
<li> <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/LoadingFile?skin=print.pattern">Printable</a>
</li>
</ul>
</div><div class="twikiRevInfo"><span class="twikiGrayText"><span class="twikiToolbarElem">Cinelerra.LoadingFile</span><span class="twikiToolbarElem">r1.7 - 17 May 2004 - 18:58 - <a class="twikiLink" href="../Main/JeremieKnuesel">JeremieKnuesel</a></span><span class="twikiToolbarElem"><a href="#TopicEnd">topic&nbsp;end</a></span></span></div></div>
<div class="twikiHidden"><hr /></div><a name="Content"> </a><div class="twikiHidden">Start of topic | <a href="#Actions">Skip to actions</a><hr /></div>
<div class="twikiTopic">
<h3><a name="Loading_Files"> </a><a name="_Loading_Files_"> </a> <a class="twikiLink" href="LoadingFile">Loading Files</a> </h3>
Before you can do anything with Cinelerra, you first must get some media to work on. In Cinelerra media is acquired either by recording from a device or by loading existing media from disk. This section describes loading existing media from the disk.
<p />
<img src="../../../pub/TWiki/TWikiDocGraphics/starred.gif" border="0" alt="PICK" width="16" height="16" /> Assuming there are some media files already on your disk, you can load it like this :
<p />
<ul>
<li> On the <a class="twikiLink" href="MainProgram">MainProgram</a> <img src="../../../pub/TWiki/TWikiDocGraphics/arrowright.gif" border="0" alt="MOVED TO..." width="16" height="16" /> <a class="twikiLink" href="TopMenuBar">TopMenuBar</a> <img src="../../../pub/TWiki/TWikiDocGraphics/arrowright.gif" border="0" alt="MOVED TO..." width="16" height="16" /> <a class="twikiLink" href="FileMenu">FileMenu</a>, press  <strong>Load</strong>. (<em>The load dialog box appears</em>) 
<ul>
<li> <img src="../../../pub/Cinelerra/CinelerraImages/load.png" alt="load.png" /> 
</li>
<li> <em>Load dialog box with some files</em>
</li>
</ul>
</li>
</ul>
<p />
<ul>
<li> Navigate through your directories using the xxxxx buttons on the top right
</li>
<li> Select a file for loading, by clicking on it. (<em>The filename is highlighted</em>)
</li>
<li> Accept by clicking the  <code><b>OK</b></code> button.
</li>
</ul>
<p />
<p />
Your file is now loaded on the system. Depending on the setting of the <a class="twikiLink" href="InsertionStrategy">InsertionStrategy</a> list box, your file will be either loaded on the <a class="twikiLink" href="ResourcesManager">ResourcesManager</a> <img src="../../../pub/TWiki/TWikiDocGraphics/arrowright.gif" border="0" alt="MOVED TO..." width="16" height="16" /> <a class="twikiLink" href="AssetManager">AssetManager</a> or directly on the Program window.
<p />
<h4><a name="Filtering_Files_By_File_Extensio"> </a> Filtering Files By File Extension </h4>
If there are too many files on your media directory, it can be difficult to find the file you want from all the other files, for this purpose the <strong>Load</strong> window allows to filter which files are displayed on the list box by extension name.
<p />
<ul>
<li> Click on the arrow-down of the file extension chooser field (<em>right below the file name text box</em>)
</li>
<li> Select the file extension of your media (<em>i.e. mpg, mov, mp3, avi,etc.</em>)
</li>
<li> The file list now shows only files with the selected extension. 
</li>
</ul>
<p />
<h4><a name="Loading_Multiple_Files"> </a> Loading Multiple Files </h4>
Most of the time, you will need to load more than one file at at time, Cinelerra allows you to do this:
<p />
<ul>
<li> On the <a class="twikiLink" href="MainProgram">MainProgram</a> <img src="../../../pub/TWiki/TWikiDocGraphics/arrowright.gif" border="0" alt="MOVED TO..." width="16" height="16" /> <a class="twikiLink" href="TopMenuBar">TopMenuBar</a> <img src="../../../pub/TWiki/TWikiDocGraphics/arrowright.gif" border="0" alt="MOVED TO..." width="16" height="16" /> <a class="twikiLink" href="FileMenu">FileMenu</a>, press  <strong>Load</strong>. (<em>The load dialog box appears</em>) 
</li>
<li> Select a file for loading, by clicking on it on the list box. (<em>The filename is highlighted</em>)
</li>
<li> Go to another file and select it while holding down <strong>CTRL.</strong> (<em>This selects one additional file.</em>)
</li>
<li> Go to another file and select it while holding down <strong>SHIFT.</strong> (<em>This selects every intervening file.</em>)
</li>
<li> Accept by clicking the  <code><b>OK</b></code> button.
</li>
</ul>
<p />
<img src="../../../pub/TWiki/TWikiDocGraphics/tip.gif" border="0" alt="TIP" width="16" height="16" />This behavior is available in most every list box.
<p />
<h4><a name="Loading_files_from_the_command_p"> </a> Loading files from the command prompt </h4>
Another way to load files is to pass the filenames as arguments on the command line. 
<ul>
<li> <code><b>[your@linux prompt]$ cinelerra myvideo.mov myothervideo.mov</b></code>
</li>
</ul>
This creates new tracks for every file and starts the program with all the arguments loaded.
<p />
<h4><a name="Using_the_files_you_just_loaded"> </a> Using the files you just loaded </h4>
Now that you have files loaded, you can play them using the <a class="twikiLink" href="Viewer">viewer</a> or the main program, to learn more about that, reat the <img src="../../../pub/TWiki/TWikiDocGraphics/pencil.gif" border="0" alt="REFACTOR" width="16" height="16" /> <em>tutorial list here</em>
<p />
<h4><a name="Other_notes"> </a> Other notes </h4>
<img src="../../../pub/TWiki/TWikiDocGraphics/tip.gif" border="0" alt="TIP" width="16" height="16" />Select a bunch of mp3 files and Replace current project and concatenate tracks in the insertion strategy to create a song playlist. 
<p />
<img src="../../../pub/TWiki/TWikiDocGraphics/warning.gif" border="0" alt="ALERT!" width="16" height="16" /> Beware that you <em>should not</em> load MPEG files directly. You should rather load a "Table of Contents" file, as described in <a class="twikiLink" href="LoadingMPEGFiles">LoadingMPEGFiles</a>.
<p />
If the file is a still image, the project's attributes are not changed and the first frame of the track becomes the image. 
<p />
If the file has audio, Cinelerra may build an index file for it to speed up drawing. You can edit and play the file while the index file is being built.
<p />
<p />
<h3><a name="Insertion_Strategy"> </a><a name="_Insertion_Strategy_"> </a> <a class="twikiLink" href="InsertionStrategy">Insertion Strategy </a> </h3>
<p />
Usually three things happen when you <a class="twikiLink" href="LoadingFile">load a file</a>. 
<ul>
<li> First the existing project is cleared from the screen
</li>
<li> Second the project's attributes are changed to match the file's
</li>
<li> Finally the new file's tracks are created in the timeline.
</li>
</ul>
<p />
<strong>Cinelerra</strong> lets <strong>you</strong> change what happens when you load a file.
<img src="../../../pub/Cinelerra/CinelerraImages/insertion_strategy.png" />
<p />
In the file selection window go to the <a class="twikiLink" href="InsertionStrategy">InsertionStrategy</a> box and select any of the following options :
<p />
<h4><a name="Replace_current_project"> </a> Replace current project </h4>
<p />
<ul>
<li> All tracks in the current project are deleted and new tracks are created to match the source. Project attributes are only changed when loading XML. If multiple files are selected it adds new tracks for every file.
</li>
</ul>
<p />
<h4><a name="Replace_current_project_and_conc"> </a> Replace current project and concatenate tracks </h4>
<p />
<ul>
<li> Same as replace current project except if multiple files are selected it concatenates the tracks of every file after the first.
</li>
</ul>
<p />
<h4><a name="Append_in_new_tracks"> </a> Append in new tracks </h4>
<p />
<ul>
<li> The current project is not deleted and new tracks are created for the source.
</li>
</ul>
<p />
<h4><a name="Concatenate_to_existing_tracks"> </a> Concatenate to existing tracks </h4>
<p />
<ul>
<li> The current project is not deleted and new files are concatenated to the existing tracks.
</li>
</ul>
<p />
<h4><a name="Paste_at_insertion_point"> </a> Paste at insertion point </h4>
<p />
<ul>
<li> The file is pasted in like a normal paste operation.
</li>
</ul>
<p />
<h4><a name="Create_new_resources_only"> </a> Create new resources only </h4>
<p />
<ul>
<li> The timeline is unchanged and new resources are created in the Resource Window.
</li>
</ul>
<p />
<p />
<img src="../../../pub/TWiki/TWikiDocGraphics/starred.gif" border="0" alt="PICK" width="16" height="16" />The <a class="twikiLink" href="InsertionStrategy">InsertionStrategy</a> is a recurring option in many of <strong>Cinelerra's</strong> functions. In each place the options do the same thing. With these options you can almost do all your editing by loading files.
<p />
<img src="../../../pub/TWiki/TWikiDocGraphics/tip.gif" border="0" alt="TIP" width="16" height="16" />If you load files by passing command line arguments to <strong>Cinelerra</strong>, the files are loaded with <strong>Replace current project</strong> rules. 
<p />
-- <a class="twikiLink" href="../Main/AlexFerrer">AlexFerrer</a> - 19 Dec 2003 from <a class="twikiLink" href="SecretsOfCinelerra">SecretsOfCinelerra</a>
<hr />
<p />
<p />
<p />
-- <a class="twikiLink" href="../Main/AlexFerrer">AlexFerrer</a> - 11 Jan 2004 <strong><em>from <a class="twikiLink" href="SecretsOfCinelerra">SecretsOfCinelerra</a></em></strong>
<hr />
<br class="twikiClear" />
<a name="TopicEnd"></a>
<span class="twikiRight twikiPageNav twikiGrayText"><a href="#PageTop">to&nbsp;top</a></span><br class="twikiClear" />
</div><div class="twikiHidden"><hr />End of topic<br /><a href="#Actions">Skip to action links</a> | <a href="#PageTop">Back&nbsp;to&nbsp;top</a><hr /></div>
<!---->
<!---->
<a name="Actions"> </a><span class="twikiHidden"><br /></span><div class="twikiTopicAction"><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/LoadingFile?t=1129907981"><b>Edit</b></a> <span class="twikiSeparator">|</span> <a href="http://www.ftconsult.com/twiki/bin/attach/Cinelerra/LoadingFile">Attach image or document</a> <span class="twikiSeparator">|</span> <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/LoadingFile?skin=print.pattern">Printable version</a> <span class="twikiSeparator">|</span> <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/LoadingFile?raw=on">Raw text</a> <span class="twikiSeparator">|</span> <a href="http://www.ftconsult.com/twiki/bin/oops/Cinelerra/LoadingFile?template=oopsmore&param1=1.7&param2=1.7">More topic actions</a><br />Revisions:  | r1.7 | <a href="http://www.ftconsult.com/twiki/bin/rdiff/Cinelerra/LoadingFile?rev1=1.7&rev2=1.6">&gt;</a> | <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/LoadingFile?rev=1.6">r1.6</a> | <a href="http://www.ftconsult.com/twiki/bin/rdiff/Cinelerra/LoadingFile?rev1=1.6&rev2=1.5">&gt;</a> | <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/LoadingFile?rev=1.5">r1.5</a> <span class="twikiSeparator">|</span> <a href="../../rdiff/Cinelerra/LoadingFile">Total page history</a> <span class="twikiSeparator">|</span> <a href="http://www.ftconsult.com/twiki/bin/search/Cinelerra/SearchResult?scope=text&regex=on&excludetopic=LoadingFile&search=Loading%20*File%5B%5EA-Za-z0-9%5D">Backlinks</a></div>
<div class="twikiTopicInfo twikiRevInfo twikiGrayText twikiMoved"><i>Cinelerra.LoadingFile moved from Cinelerra.LoadingFiles on 21 Dec 2003 - 19:53 by <a class="twikiLink" href="../Main/AlexFerrer">AlexFerrer</a> </i> - <a title="Click to move topic back to previous location, with option to change references." href="http://www.ftconsult.com/twiki/bin/rename/Cinelerra/LoadingFile?newweb=Cinelerra&newtopic=LoadingFiles&confirm=on">put it back</a></div>
<div class="twikiTopicFooter"><span class="twikiLeft"><span class="twikiHomePath">You are here: <a class="twikiLink" href="WebHome">Cinelerra</a>  <span class='twikiSeparator'>&gt;</span> LoadingFile </span></span><span class="twikiHidden"><br /><br /></span><span class="twikiRight twikiPageNav twikiGrayText"><a href="#PageTop">to&nbsp;top</a></span><br class="twikiClear" /><span class="twikiHidden"><br /></span></div>
<a name="PageBottom"></a> </div></div><div class="twikiBottomBar"><div class="twikiBottomBarContents"><span class="twikiGrayText">Copyright &copy; 1999-2005 by the contributing authors. 
All material on this collaboration platform is the property of the contributing authors. <br /> 
Ideas, requests, problems regarding TWiki? <a href="mailto:alex@ftconsult.com?subject=TWiki&#32;Feedback&#32;on&#32;TWiki.WebBottomBar">Send feedback</a>
</span></div></div>
</body></html>