Merge Multiple FLV Files

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
TheKiller
Blank Cone
Blank Cone
Posts: 62
Joined: 06 Aug 2010 06:19
VLC version: Updating Constantly
Operating System: Windows 7 64bit
Location: Romania
Contact:

Merge Multiple FLV Files

Postby TheKiller » 06 Aug 2010 06:30

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

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Merge Multiple FLV Files

Postby VLC_help » 06 Aug 2010 15:53

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

TheKiller
Blank Cone
Blank Cone
Posts: 62
Joined: 06 Aug 2010 06:19
VLC version: Updating Constantly
Operating System: Windows 7 64bit
Location: Romania
Contact:

Re: Merge Multiple FLV Files

Postby TheKiller » 06 Aug 2010 21:12

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

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Merge Multiple FLV Files

Postby VLC_help » 07 Aug 2010 17:12

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.

posix
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Aug 2010 00:33

Re: Merge Multiple FLV Files

Postby posix » 08 Aug 2010 01:05

put all three files into the playlist in correct order?

TheKiller
Blank Cone
Blank Cone
Posts: 62
Joined: 06 Aug 2010 06:19
VLC version: Updating Constantly
Operating System: Windows 7 64bit
Location: Romania
Contact:

Re: Merge Multiple FLV Files

Postby TheKiller » 11 Aug 2010 09:17

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
Image

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Merge Multiple FLV Files

Postby VLC_help » 11 Aug 2010 16:25

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).

TheKiller
Blank Cone
Blank Cone
Posts: 62
Joined: 06 Aug 2010 06:19
VLC version: Updating Constantly
Operating System: Windows 7 64bit
Location: Romania
Contact:

Re: Merge Multiple FLV Files

Postby TheKiller » 12 Aug 2010 12:31

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

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Merge Multiple FLV Files

Postby VLC_help » 12 Aug 2010 18:01

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Merge Multiple FLV Files

Postby Jean-Baptiste Kempf » 13 Aug 2010 11:49

use gather?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Merge Multiple FLV Files

Postby VLC_help » 14 Aug 2010 15:18

--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)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Merge Multiple FLV Files

Postby Jean-Baptiste Kempf » 15 Aug 2010 23:50

The doc is wrong.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

TheKiller
Blank Cone
Blank Cone
Posts: 62
Joined: 06 Aug 2010 06:19
VLC version: Updating Constantly
Operating System: Windows 7 64bit
Location: Romania
Contact:

Re: Merge Multiple FLV Files

Postby TheKiller » 17 Aug 2010 02:47

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 ? :D :P

TheKiller
Blank Cone
Blank Cone
Posts: 62
Joined: 06 Aug 2010 06:19
VLC version: Updating Constantly
Operating System: Windows 7 64bit
Location: Romania
Contact:

Re: Merge Multiple FLV Files

Postby TheKiller » 12 Sep 2010 23:10

any help?

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: Merge Multiple FLV Files

Postby rogerdpack » 17 Nov 2010 00:04

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 35 guests