1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-18 21:31:13 +00:00

MEncoder now supports multiple files.

patch by Oded Shimon <ods15 at ods15 dot dyndns dot org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14976 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2005-03-21 01:12:45 +00:00
parent 63e93f3287
commit 7c81b013ac
2 changed files with 21 additions and 12 deletions

View File

@ -156,14 +156,25 @@ mencoder \- movie encoder
.br
.in
.B gmplayer
'in +\n[.k]u
[options]
[\-skin\ skin]
.
.br
.in
.B mencoder
'in +\n[.k]u
[options]
.RI [ \ file\ | \ URL\ | \ \-\ ]
[\-o\ file]
.
.br
.in
.B mencoder
'in +\n[.k]u
[global options]
.I file1
[specific options] [file2] [specific options]
.ad
.hy
.

View File

@ -1314,20 +1314,18 @@ and even burn them directly to CD.
How can I join two video files?
</para></question>
<answer><para>
This has been discussed to no end on mplayer-users. Go search the
<ulink url="http://mplayerhq.hu/cgi-bin/s-arch.cgi?sbm=mplayer-users">archives</ulink>
for a complete answer. This is a complicated topic and your mileage may vary a
lot depending on the kind of files you want to merge. MPEGs can be concatenated
into a single file with luck. For AVIs there are two tools,
MPEG files can be concatenated into a single file with luck.
For AVI files, you can use <application>MEncoder</application>'s
multiple file support like this:
<screen>
mencoder -ovc copy -oac copy -o out.avi file1.avi file2.avi
</screen>
This will only work if the files are of the same resolution and codec.
You can also try
<ulink url="http://fixounet.free.fr/avidemux/">avidemux</ulink> and
<application>avimerge</application> (part of the
<ulink url="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/">transcode</ulink>
tool set), available that might do the job. You can also try <application>MEncoder</application>
if you have two files sharing the same dimensions and codec. Try
<screen>
cat file1 file2 > file3
mencoder -ovc copy -oac copy -o out.avi -forceidx file3.avi
</screen>
<ulink url="http://www.transcoding.org/">transcode</ulink>
tool set).
</para></answer>
</qandaentry>