Page 1 of 1
Merge Multiple FLV Files
Posted: 06 Aug 2010 06:30
by TheKiller
Hello Everyone !
i Am a user of VLC From 2007 if i remember correctly ...
i thought of registering some months ago but i was too lazy to lol
but now i really needed some help and idk where to ask
I Am downloading Some Anime From YouTube And they are Separated in multiple files.. (part 1, part2, part3)
i need a way to merge them all ..
i looked at the Wiki page and saw FLV To AVI Is possible ..
Is there a way to Merge all FLV Parts togeter ?
i know a bit of CMD btw .. ty
Re: Merge Multiple FLV Files
Posted: 06 Aug 2010 15:53
by VLC_help
Yes, but there are far better and easier tools for FLV joining (like FLV Binder).
If you want to use VLC
http://wiki.videolan.org/How_to_merge_a ... ple_videos
Re: Merge Multiple FLV Files
Posted: 06 Aug 2010 21:12
by TheKiller
I've already Tried the Comand line tool FLV Binder
and Moyea FLV Editor Ultimate but it wont work .......
i can only see the first video .. the second merged part is showing grey in VLC
I Found that page b4 i registerd here .. but i thought its only for avi files
i cant get it to work ...
im using this script in a batch file in the VLC Directory ( C:\Program Files\VideoLAN\VLC ) where the files 1 and 2 are
Code: Select all
C:\Program Files\VideoLAN\vlc\vlc.exe -vvv 1.flv 2.flv --sout-keep --sout=#gather{}
--sout=#transcode{vcodec=divx3,vb=1024,scale=1,acodec=mp3,ab=192,channels=6}:standard{access=file,mux=ts,dst=TEST.flv} --sout-all
PAUSE
Re: Merge Multiple FLV Files
Posted: 07 Aug 2010 17:12
by VLC_help
That won't create .flv file. Try something like
Code: Select all
"C:\Program Files\VideoLAN\vlc\vlc.exe" -vvv 1.flv 2.flv --sout-keep --sout=#gather{} --sout=#transcode{vcodec=FLV1,acodec=mp3}:standard{access=file,mux=flv,dst=TEST.flv} --sout-all
it will transcode the video, which is what you want if the input FLV files have different video or audio formats.
Re: Merge Multiple FLV Files
Posted: 08 Aug 2010 01:05
by posix
put all three files into the playlist in correct order?
Re: Merge Multiple FLV Files
Posted: 11 Aug 2010 09:17
by TheKiller
I Am still kinda confused on how to use that..
so i put the Files inside the VLC Directory
And run that in Command Prompt?
this is the output of the batch command
Re: Merge Multiple FLV Files
Posted: 11 Aug 2010 16:25
by VLC_help
Sorry, I copied it from VLC wiki, but I didn't notice "" where missing. Also the command should be in one line (I fixed the code in previous post).
Re: Merge Multiple FLV Files
Posted: 12 Aug 2010 12:31
by TheKiller
hmm how much will this take ?
i used your code and all it dos is letting the cmd window open with the same message and starts vlc
and it creates the TEST.flv file but it has zero kb .. dosnt join them
Re: Merge Multiple FLV Files
Posted: 12 Aug 2010 18:01
by VLC_help
It seem that it doesn't work with FLV files. Append seems to fail
Code: Select all
vlc 1.flv 2.flv --sout-keep --sout=#transcode{vcodec=FLV1,acodec=mp3}:standard{access=file,dst=TEST.flv} --sout-all --sout-mux-caching=10000
but if you use TS it goes to end
Code: Select all
vlc 1.flv 2.flv --sout-keep --sout=#transcode{vcodec=FLV1,acodec=mp3}:standard{access=file,dst=TEST.ts} --sout-all --sout-mux-caching=10000
Re: Merge Multiple FLV Files
Posted: 13 Aug 2010 11:49
by Jean-Baptiste Kempf
use gather?
Re: Merge Multiple FLV Files
Posted: 14 Aug 2010 15:18
by VLC_help
--sout-keep should do the gather according the documentation
--sout-keep, --no-sout-keep
Keep stream output open (default disabled)
This allows you to keep an unique stream output instance across
multiple playlist item (automatically insert the gather stream output
if not specified) (default disabled)
Re: Merge Multiple FLV Files
Posted: 15 Aug 2010 23:50
by Jean-Baptiste Kempf
The doc is wrong.
Re: Merge Multiple FLV Files
Posted: 17 Aug 2010 02:47
by TheKiller
Code: Select all
vlc 1.flv 2.flv --sout-keep --sout=#transcode{vcodec=FLV1,acodec=mp3}:standard{access=file,dst=TEST.flv} --sout-all --sout-mux-caching=10000
when i run that script it dos this:
it starts VLC
shows like its playing the lenght of file : 1.flv (10 mins) and at the end when im playing the output file (TEST.flv) it only plays the first file(1.flv)
the files are joined as it seems to be bigger
but i think it only joins them by joining the same script
like you open file 1 and file 2 with notepad and paste the content into another file which you save as .flv
or by joining two files with
Code: Select all
cmd with copy /b "1.flv" + "2.flv" "test.flv"
Code: Select all
vlc 1.flv 2.flv --sout-keep --sout=#transcode{vcodec=FLV1,acodec=mp3}:standard{access=file,dst=TEST.ts} --sout-all --sout-mux-caching=10000
the second code you gave for the .ts extension only creates a audio file
which idk if is having the audio of the second file
The doc is wrong.
if its wrong and you know how to help why dont you ?
Re: Merge Multiple FLV Files
Posted: 12 Sep 2010 23:10
by TheKiller
any help?
Re: Merge Multiple FLV Files
Posted: 17 Nov 2010 00:04
by rogerdpack
I believe the suggestion was this:
vlc 1.flv 2.flv --sout-keep --sout=#gather:transcode{vcodec=FLV1,acodec=mp3}:standard{access=file,dst=TEST.flv} --sout-all --sout-mux-caching=10000