LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-26-2007, 05:10 PM   #1
2eXtreme
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
Join 2 .flv files?


Hey Guys

Does anyone know how I can go about merging 2 separate .flv files into the one file?

Thanks for any help!
 
Old 12-27-2007, 10:14 AM   #2
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 59
I haven't tried this on .flv files, but often this will work for video files. Enter this into a terminal window (assuming you are in the directory where the two files live):

Code:
cat file2 >> file1
It's very important that you use two > signs, otherwise file2 will simply overwrite the data in file1.
 
Old 12-28-2007, 08:59 AM   #3
2eXtreme
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Hey, so I used ffmpeg and avimerge to covert and join the 2 files. Now the thing is that my 2 videos have different frame rates. the first one has a frane rate of 15fps, and i dont know the second videos frame rate, but it is more than 20. because the first video is a slower frame rate, when i join the two, the second videos frame rate is slowed to the first videos frame rate. this is not what i want. i would rather that the first video changes its frame rate to match the second video, as it is a much shorter clip, and the audio going out of sync would be much less noticeable.

1. is there any program that will tell me the properties of a video clip, including its frame rate?

2. is it possible to have....a variable fps? i mean, have teh video have a frame rate of 15 fps for the first 10 seconds, and then change frame rate to about 25fps after?

3. if 2 is not possible, mis there any way to change a videos frame rate? even if this will cause the audio to go out of sync?
 
Old 07-09-2010, 07:15 PM   #4
scmbg
Member
 
Registered: Oct 2008
Location: Mexico City
Distribution: Fedora
Posts: 65

Rep: Reputation: 15
I post the solution because, LinuxQuestions search engine (Google too) put this in results:

1.- "man ffmpeg" Tell you all the options, you can set the output framerate.

2.- You can't have more than one FPS rate in a single file.

This is how you join:
Quote:
mencoder -forceidx -of lavf -oac copy -ovc copy -o output.flv clip1.flv clip2.flv clip3.flv
 
  


Reply

Tags
files, flv, join, joining, linux, merge, multimedia, ubuntu, video


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert flv files? fireblade_spark Linux - Software 14 05-25-2013 02:22 AM
MPlayer -- Audio-Video desynchronized in FLV files gregorian Linux - Software 2 04-25-2007 11:26 PM
swf_dump equivalent for .flv files Vikas Jayna Linux - Software 1 04-05-2007 12:12 AM
Inability of Mplayer to play flv files gregorian Linux - Software 5 01-18-2007 01:53 AM
Playing .FLV files off a CD russrulesabout Linux - General 0 01-05-2005 02:29 PM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration