Page 1 of 1
merge mp3
Posted: 06 Jun 2009 10:40
by snaggy
I usually merge mp3 files of the same bitrate without re-econding, but at times it doesn't work
How can I merge different files with vlc, decoding and then re-encoding them so that I'm sure I have a clean output?
thanks
Re: merge mp3
Posted: 06 Jun 2009 15:03
by Rémi Denis-Courmont
vlc file1.mp3 file2.mp3 --sout-keep --sout '#gather:std{access=file,mux=raw,dst=merged.mp3}'
Re: merge mp3
Posted: 06 Jun 2009 19:14
by snaggy
that's not re-encoding, is it?
I want to redo the mp3 encoding...
Re: merge mp3
Posted: 06 Jun 2009 19:55
by Rémi Denis-Courmont
No. It's remultiplexing.
Re: merge mp3
Posted: 06 Jun 2009 21:09
by snaggy
anyway, it doesn't work... I added the equal sign after --sout (it whould be there, shouldn't it?) but it still won't work..
in the cl output it says in red "object is not attached"
any idea?
Re: merge mp3
Posted: 07 Jun 2009 14:53
by Rémi Denis-Courmont
sounds like you are using a prehistoric version.
Re: merge mp3
Posted: 07 Jun 2009 19:31
by snaggy
sorry but I tried it on two differen OS (macOSX and Ubuntu) with the latest version, with different kinds of mp3, and it always gives this error:
main stream output error: object is not attached
what's the problem?
Re: merge mp3
Posted: 20 Sep 2010 22:53
by doriantessore
Hi,
I need to merge two .flv files. They have exactly the same characteristics (I downloaded them as two parts of a 15 min long single video from youtube - now I want again the original video).
I tried:
1.
c:\programmi/videolan/vlc/vlc.exe -vvv "d:\tmp/one.flv" "d:\tmp/two.flv" --sout-keep --sout=#gather{} --sout=#standard{access=file,mux=raw,dst=d:\tmp/out.flv} --sout-all
2.
c:\programmi/videolan/vlc/vlc.exe -vvv "d:\tmp/one.flv" "d:\tmp/two.flv" --sout-keep --sout='#gather:std{access=file,mux=raw,dst=d:\tmp/out.flv}'
But both dont work !!
Please help.
Thanx
Dorian
Re: merge mp3
Posted: 06 Aug 2014 00:21
by GuccizBud
For his trouble, this OP was (a) given advice which he didn't ask for ( he specified he wanted to transcode ) and didn't work for him in any case ( nor will it work for anybody with those silly-ass single quote marks ), and then (b) ignored when he said the advice wasn't working. I'm sure the board can't be too proud of this thread. And, 4 year old thread notwithstanding, people who want to do the same thing will keep coming back to it as it's one of the first Google search results.
For future visitors, and keeping in mind the OP wanted to transcode, this'll do it :
%ProgramFiles%\<vlc install folder>\vlc FILE_1.mp3 FILE_2.mp3 --sout
"#transcode{acodec=mp3,ab=<desired bit rate>,channels=2}:std{access=file,mux=raw,dst=OUTFILE.mp3}" --sout-keep
• you have to supply the data yourself for anything in blue
• for <desired bit rate>, you can just use the same bit rate as the two original files if they're identical.
• the whole thing is on a single command line, not two as it seems here, with a single space between --sout at the end of the first line
and "#transcode… at the beginning of the second.
Open a command shell and run it from right there ( %UserProfile%\Desktop folder ).