Difference between revisions of "How to merge and transcode multiple videos"
Jump to navigation
Jump to search
RogerDPack (talk | contribs) (note more ways) |
RogerDPack (talk | contribs) |
||
Line 4: | Line 4: | ||
− | C:\Program Files\VideoLAN\vlc\vlc.exe -vvv pirate1.avi pirate2.avi --sout-keep | + | C:\Program Files\VideoLAN\vlc\vlc.exe -vvv pirate1.avi pirate2.avi --sout-keep |
− | --sout=#transcode{vcodec=divx3,vb=1024,scale=1,acodec=mp3,ab=192,channels=6}:standard{access=file,mux=ts,dst=out.avi} --sout-all | + | --sout=#gather:transcode{vcodec=divx3,vb=1024,scale=1,acodec=mp3,ab=192,channels=6}:standard{access=file,mux=ts,dst=out.avi} --sout-all |
'''PATH_TO_VLC''' is ''vlc'' on linux, ''C:\Program Files\VideoLAN\vlc\vlc.exe'' on Windows, but that can change depending on the installation. | '''PATH_TO_VLC''' is ''vlc'' on linux, ''C:\Program Files\VideoLAN\vlc\vlc.exe'' on Windows, but that can change depending on the installation. | ||
+ | Edit the path to vlc, input files, and transcode parameters to meet your needs. | ||
− | + | If all streams match, no transcoding is necessary. | |
+ | |||
+ | '''vlc file1.ps file2.ps --sout file/ts:out.ts --sout-keep''' | ||
See also [[Documentation:Modules/gather]] | See also [[Documentation:Modules/gather]] | ||
− | You | + | You could also append them to a same file: |
− | |||
− | |||
− | |||
− | |||
− | '''vlc | + | '''vlc file1.ps file2.ps file3.ps.3 --sout-file-append --sout=file/ps:go.ps''' |
Revision as of 01:35, 17 November 2010
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:
C:\Program Files\VideoLAN\vlc\vlc.exe -vvv pirate1.avi pirate2.avi --sout-keep --sout=#gather:transcode{vcodec=divx3,vb=1024,scale=1,acodec=mp3,ab=192,channels=6}:standard{access=file,mux=ts,dst=out.avi} --sout-all
PATH_TO_VLC is vlc on linux, C:\Program Files\VideoLAN\vlc\vlc.exe on Windows, but that can change depending on the installation.
Edit the path to vlc, input files, and transcode parameters to meet your needs.
If all streams match, no transcoding is necessary.
vlc file1.ps file2.ps --sout file/ts:out.ts --sout-keep
See also Documentation:Modules/gather
You could also append them to a same file:
vlc file1.ps file2.ps file3.ps.3 --sout-file-append --sout=file/ps:go.ps