I am writing a basic editing system that utilizes .flv (flash video) files. I am converting my media with ffmpeg under linux (Centos 4.4)
I first convert the file then add the keyframe meta data to it using YAMDI.
When putting clips together i scan the .flv file with a php script to pull out the data from the start keyframe of a clip i want to play to the end keyframe. Then combine this together.
This works brilliantly from within a single media clip with no problems what so ever. However as soon as i try and incorporate more than one clip it is MUCH less likely to work. However i have had many occasions of it working with particular pairs of media.
What other switches am i able to use with ffmpeg to allow this sort of forced join to work?
is the current command i am using from within a shell script to convert my media.Code:ffmpeg -i $1 -ar 22050 -ab 32000 -qscale 18 -f flv -r 25 -s 320x240 -acodec libmp3lame $1.flv.tmp
Will it be better to force a bit rate? Or use 2 pass encoding?
I realise this is a much less practical way of combining media, but for this application its simply not practical to use a command line splitter/joiner to create a new file as this would rapidly overload the servers ram and storage.
Any input is very welcome!
Many thanks,
Ben
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
Pavtube - Byte Co[py
By charlie_brownuk in forum Blu-ray RippingReplies: 6Last Post: 26th Sep 2011, 09:04 -
Samples needed for C++, AMD manipulation with YV12 pixel blocks
By Festivas in forum ProgrammingReplies: 0Last Post: 13th Dec 2010, 09:59 -
ffmpegX gives me 0 byte flash file
By flim in forum ffmpegX general discussionReplies: 2Last Post: 9th Apr 2010, 13:12 -
Convert with super/ Joining with vdub?
By Jorge in forum EditingReplies: 12Last Post: 5th Feb 2008, 15:29 -
HELP! FAVC 1.04- Why is it creating 0 byte iso's at times?
By spexwood in forum Video ConversionReplies: 7Last Post: 5th Dec 2007, 23:40