Merging Two Video Files Without Transcoding

About encoding, codec settings, muxers and filter usage
biolizard89
New Cone
New Cone
Posts: 5
Joined: 24 May 2008 21:06

Merging Two Video Files Without Transcoding

Postby biolizard89 » 24 May 2008 21:19

I have two ASF files, which have the same encoding (they are clips extracted from the same movie). I would like to merge/concatenate them, but without the time and quality loss that comes from transcoding. Looking around on Google and searching the forum here, I've come up with the following command line:

"C:\Program Files\VideoLAN\vlc\vlc.exe" -vvv "F:\TV\Brainiac Science Abuse\Teachers\S01E03\intro.asf" "F:\TV\Brainiac Science Abuse\Teachers\S01E03\ConservationOfEnergy1.asf" --sout-keep --sout "gather{}:standard{access=file,mux=asf,dst=F:\TV\ConservationOfEnergyComplete.asf}" --sout-all

The first two filenames are the clips I would like to merge, and the dst filename is the output path I would like. So I put this in a .bat file, double-clicked it, and instead of the files being merged, the .bat window just opens a standard VLC window (as though there were no command line arguments), which confuses the heck out of me.

I'm on Windows XP Tablet PC Edition SP2, with VLC 0.8.6f. I've also tried 0.8.5, with the same results.

Sorry if I'm a n00b, I haven't used VLC's command line interface for anything before, nor am I particularly familiar with VLC at all. Anyone have a clue what I'm doing wrong? Thanks.

PureVirtual
Blank Cone
Blank Cone
Posts: 14
Joined: 26 Apr 2008 01:51

Re: Merging Two Video Files Without Transcoding

Postby PureVirtual » 25 May 2008 20:24

biolizard89, I have tried your command line on my (not so asf) files and VLC realy does nothing. After looking to example with transcoding in the Wiki I noticed some difference (don't know wether it's important or not) the following example makes some output (not so good in my case but maybe it'll be better in yours):

Code: Select all

"C:\Program Files\VideoLAN\vlc\vlc.exe" -vvv 056.avi 059.avi --sout-keep --sout=#gather{} --sout=#std{access=file,mux=asf,dst=test.asf} --sout-all
Here is another example: Documentation:Modules/gather.

nicb1977
New Cone
New Cone
Posts: 1
Joined: 16 Feb 2008 18:27

Re: Merging Two Video Files Without Transcoding

Postby nicb1977 » 23 Jul 2008 14:05

Hi

You can try to use VideoCharge for it.

VideoCharge support merging asf files without recompress and change quality.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests