<!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>(r1.1 vs. r1.3) LoadingMPEGFiles &lt; Cinelerra &lt; TWiki</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="robots" content="noindex" />
<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="../../view/Cinelerra/LoadingMPEGFiles" /> -->
<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="twikiNoViewPage twikiDiffPage"><a name="PageTop"></a>
<div class="twikiMiddleContainer"><div class="twikiMain"><div class="twikiSearchResults"><div class="twikiSearchResultsHeader">&nbsp;<tt><b>&lt;&lt;O&gt;&gt;</b></tt>&nbsp; Difference Topic
		<b><a href="../../view/Cinelerra/LoadingMPEGFiles">LoadingMPEGFiles</a></b>
		(<a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/LoadingMPEGFiles?rev=r1.3">r1.3</a> - 07&nbsp;Jan&nbsp;2004 - <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a>)</div>
<table class="twikiDiffTable" width="100%" cellspacing="0">
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<table border="1" cellspacing="1" cellpadding="0">
<tr><th class="twikiFirstCol" bgcolor="#99CCCC"> <strong>META TOPICPARENT</strong> </th><td colspan="2" bgcolor="#FFFFCC"> <a class="twikiLink" href="../../view/Cinelerra/LoadingFile">LoadingFile</a> </td></tr>
</table>
<h3><a name="Loading_MPEG_files"> </a><a name="_Loading_MPEG_files_"> </a> <a class="twikiLink" href="../../view/Cinelerra/LoadingMPEGFiles">Loading MPEG files</a> </h3>
MPEG files need to be indexed before using them in Cinelerra.  This can be accomplished by use of the <code>mpeg3toc</code> tool.  <code>mpeg3toc</code> can handle MPEG-1 and MPEG-2 elementary and program streams and decrypted VOBs, though sometimes it has trouble dealing with certain audio formats.  For this reason, it is usually best to demultiplex to elementary streams before indexing. <code>tcdemux</code>, which is provided with the <a href="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/">transcode</a> software package, is one tool that can perform demuxing.
</td></tr>
<tr bgcolor="#eeeeee" class="twikiDiffLineNumberHeader"><th align="left" colspan="9">Line: 9 to 9</th></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<ul>
<li> <code>mpeg3toc /media/movies/resources/vob/zaion_3.vob zaion_3.toc</code>
</li>
</ul>
After the index file has been generated, load the index file (<b>not</b> the MPEG file) into Cinelerra.  You will get frame-accurate editing and much-improved seek times.
</td></tr>
<tr><td bgcolor="#D0FFD0" class="twikiDiffChangedHeader" colspan ="9"><b> Changed: </b></td></tr>
<tr><td bgcolor="#ff9999" class="twikiDiffDeletedMarker" valign="top" width="1%">&lt;<br />&lt;</td>
<td class="twikiDiffDeletedText">
Manual invocation of the <code>mpeg3toc</code> tool can get tedious if you have many files to index.  You can use shell scripting to speed things up, for example:
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
<img src="../../../pub/TWiki/TWikiDocGraphics/tip.gif" border="0" alt="TIP" width="16" height="16" />Manual invocation of the <code>mpeg3toc</code> tool can get tedious if you have many files to index.  You can use shell scripting to speed things up, for example:
</td></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<p />
        <code>for i in *.vob; do mpeg3toc `pwd`/$i $i.toc; done</code>
</td></tr>

</table></div><div class="twikiSearchResults"><div class="twikiSearchResultsHeader">&nbsp;<tt><b>&lt;&lt;O&gt;&gt;</b></tt>&nbsp; Difference Topic
		<b><a href="../../view/Cinelerra/LoadingMPEGFiles">LoadingMPEGFiles</a></b>
		(<a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/LoadingMPEGFiles?rev=r1.2">r1.2</a> - 05&nbsp;Jan&nbsp;2004 - <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a>)</div>
<table class="twikiDiffTable" width="100%" cellspacing="0">
<tr><td bgcolor="#D0FFD0" class="twikiDiffAddedHeader" colspan ="9"><b> Added:   </b>
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
<table border="1" cellspacing="1" cellpadding="0">
<tr><th class="twikiFirstCol" bgcolor="#99CCCC"> <strong>META TOPICPARENT</strong> </th><td colspan="2" bgcolor="#FFFFCC"> <a class="twikiLink" href="../../view/Cinelerra/LoadingFile">LoadingFile</a> </td></tr>
</table>
</td></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<h3><a name="Loading_MPEG_files"> </a><a name="_Loading_MPEG_files_"> </a> <a class="twikiLink" href="../../view/Cinelerra/LoadingMPEGFiles">Loading MPEG files</a> </h3>
MPEG files need to be indexed before using them in Cinelerra.  This can be accomplished by use of the <code>mpeg3toc</code> tool.  <code>mpeg3toc</code> can handle MPEG-1 and MPEG-2 elementary and program streams and decrypted VOBs, though sometimes it has trouble dealing with certain audio formats.  For this reason, it is usually best to demultiplex to elementary streams before indexing. <code>tcdemux</code>, which is provided with the <a href="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/">transcode</a> software package, is one tool that can perform demuxing.
<p />
</td></tr>

</table></div><div class="twikiSearchResults"><div class="twikiSearchResultsHeader">&nbsp;<tt><b>&lt;&lt;O&gt;&gt;</b></tt>&nbsp; Difference Topic
		<b><a href="../../view/Cinelerra/LoadingMPEGFiles">LoadingMPEGFiles</a></b>
		(<a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/LoadingMPEGFiles?rev=r1.1">r1.1</a> - 05&nbsp;Jan&nbsp;2004 - <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a>)</div>
<table class="twikiDiffTable" width="100%" cellspacing="0">
<tr bgcolor="#eeeeee" class="twikiDiffLineNumberHeader"><th align="left" colspan="9">Line: 1 to 1</th></tr>
<tr><td bgcolor="#D0FFD0" class="twikiDiffAddedHeader" colspan ="9"><b> Added:   </b>
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
<h3><a name="Loading_MPEG_files"> </a><a name="_Loading_MPEG_files_"> </a> <a class="twikiLink" href="../../view/Cinelerra/LoadingMPEGFiles">Loading MPEG files</a> </h3>
MPEG files need to be indexed before using them in Cinelerra.  This can be accomplished by use of the <code>mpeg3toc</code> tool.  <code>mpeg3toc</code> can handle MPEG-1 and MPEG-2 elementary and program streams and decrypted VOBs, though sometimes it has trouble dealing with certain audio formats.  For this reason, it is usually best to demultiplex to elementary streams before indexing. <code>tcdemux</code>, which is provided with the <a href="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/">transcode</a> software package, is one tool that can perform demuxing.
<p />
The argument format of <code>mpeg3toc</code> is <br>     
<ul>
<li> <code>mpeg3toc [ABSOLUTE PATH TO MPEG ASSET] [PATH TO CREATE INDEX FILE AT]</code>
</li>
</ul>
An example:
<ul>
<li> <code>mpeg3toc /media/movies/resources/vob/zaion_3.vob zaion_3.toc</code>
</li>
</ul>
After the index file has been generated, load the index file (<b>not</b> the MPEG file) into Cinelerra.  You will get frame-accurate editing and much-improved seek times.
<p />
Manual invocation of the <code>mpeg3toc</code> tool can get tedious if you have many files to index.  You can use shell scripting to speed things up, for example:
<p />
        <code>for i in *.vob; do mpeg3toc `pwd`/$i $i.toc; done</code>
<p />
-- <a class="twikiLink" href="../../view/Main/DavidYip">DavidYip</a> - 05 Jan 2004
<hr />
</td></tr>

</table></div><div class="twikiTopicAction"><a href="../../view/Cinelerra/LoadingMPEGFiles">View topic</a>
 <span class="twikiSeparator">|</span> <a href="LoadingMPEGFiles">Diffs</a>  | <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/LoadingMPEGFiles?rev=1.3">r1.3</a> | <a href="http://www.ftconsult.com/twiki/bin/rdiff/Cinelerra/LoadingMPEGFiles?rev1=1.3&rev2=1.2">&gt;</a> | <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/LoadingMPEGFiles?rev=1.2">r1.2</a> | <a href="http://www.ftconsult.com/twiki/bin/rdiff/Cinelerra/LoadingMPEGFiles?rev1=1.2&rev2=1.1">&gt;</a> | <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/LoadingMPEGFiles?rev=1.1">r1.1</a>
 <span class="twikiSeparator">|</span> <a href="http://www.ftconsult.com/twiki/bin/oops/Cinelerra/LoadingMPEGFiles?template=oopsmore&param1=1.3&param2=1.3">More</a>
</div><div class="twikiTopicInfo"><span class="twikiRevInfo twikiGrayText">Revision r1.1 - 05 Jan 2004 - 14:21 - <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a><br />
Revision r1.3 - 07 Jan 2004 - 19:46 - <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a></span></div>
<div class="twikiTopicFooter"></div>
<a name="PageBottom"></a> </div></div>
</body></html>