LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-12-2010, 11:18 AM   #1
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Is it possible to concatenate *.flv flash video files?


Have got a film broken up into 10 minute chunks a la youtube. Tried cat file1.flv file2.flv > file1&2.flv but mplayer stopped, saying 'end of file', half way through playing file1&2.flv.

Is there some way to join them together into one, so the film may be played all the way through.

Just occurred to me you could use an * for the counting numeral in the filename e.g. mplayer file*.flv for file1.flv, file2.flv, etc.. Any road I'll ask the question anyway.

Thanks any help.
 
Old 10-12-2010, 11:32 AM   #2
amarand
LQ Newbie
 
Registered: Oct 2010
Location: Galloway, Ohio, USA
Distribution: CentOS
Posts: 19

Rep: Reputation: 7
Lightbulb ffmpeg option

Here's a good link with a lot of discussion and command-line examples:

http://forum.videohelp.com/threads/2...e-Flash-videos

Just a page of reading, and you'll learn a few things along the way.

Better, possibly more authoritative, is the following FAQ entry:

http://ffmpeg.org/faq.html#SEC27

The example listed shows you how to concatenate .flv files using ffmpeg.

Hope this helps!
 
Old 10-12-2010, 09:03 PM   #3
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by amarand View Post
Here's a good link with a lot of discussion and command-line examples:

http://forum.videohelp.com/threads/2...e-Flash-videos

Just a page of reading, and you'll learn a few things along the way.

Better, possibly more authoritative, is the following FAQ entry:

http://ffmpeg.org/faq.html#SEC27

The example listed shows you how to concatenate .flv files using ffmpeg.

Hope this helps!
Indeed helpful.
Code:
ffmpeg -i input1.flv -sameq output1.mpg
where -i means input file and -sameq means same quality. Converts the flv to mpg and mpg files may simply be concatenated as in original post.

The drawback is that it more than doubles the size of the files.

Last edited by lugoteehalt; 10-12-2010 at 09:05 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Splitting flash files (.flv) - Need program recommendation manwithaplan Linux - Software 2 07-31-2009 04:06 PM
Converting flash video (FLV) to AVI, MOV, others? daihard Linux - Software 12 05-06-2009 11:44 AM
Here is how to FLV Flash Video in 2007 Spring Bill Lahr Mandriva 1 11-10-2008 01:07 AM
MPlayer -- Audio-Video desynchronized in FLV files gregorian Linux - Software 2 04-25-2007 11:26 PM
Help embedding FLV flash video MicahCarrick Programming 3 07-24-2006 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration