Difference between revisions of "How to merge and transcode multiple videos"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
If you have more than one source files that need to be merged and transcoded resulting in a single out put file create a batch script with the following line in it:
 
If you have more than one source files that need to be merged and transcoded resulting in a single out put file create a batch script with the following line in it:
  
<pre>
+
 
"PATH_TO_VLC" -vvv FILE1.EXT FILE2.EXT FILE3.EXT ETC.ETC --sout-keep --sout=#gather{}  
+
"PATH_TO_VLC" -vvv FILE1.EXT FILE2.EXT FILE3.EXT ETC.ETC --sout-keep --sout=#gather{}  
--sout=#transcode{vcodec=h264,vb=1024,scale=1,acodec=mp4a,ab=192,channels=6}:standard{access=file,mux=ts,dst=out.mpg} --sout-all
+
--sout=#transcode{vcodec=h264,vb=1024,scale=1,acodec=mp4a,ab=192,channels=6}:standard{access=file,mux=ts,dst=out.mpg} --sout-all
</pre>
+
 
  
 
Next edit the path to vlc, input files, and transcode peramiters to meet your needs.
 
Next edit the path to vlc, input files, and transcode peramiters to meet your needs.

Revision as of 22:47, 13 June 2007

Merge & Transcode in Windows

If you have more than one source files that need to be merged and transcoded resulting in a single out put file create a batch script with the following line in it:


"PATH_TO_VLC" -vvv FILE1.EXT FILE2.EXT FILE3.EXT ETC.ETC --sout-keep --sout=#gather{} 
--sout=#transcode{vcodec=h264,vb=1024,scale=1,acodec=mp4a,ab=192,channels=6}:standard{access=file,mux=ts,dst=out.mpg} --sout-all


Next edit the path to vlc, input files, and transcode peramiters to meet your needs.