Skip to main content
March 12, 2012
Question

Can you take .f4f fragments and do anything with them (convert, flatten, etc.)?

  • March 12, 2012
  • 1 reply
  • 8539 views

Using FMS/FMLE, I did a live broadcast.  I have all the .f4f files (1.6G) intact and saved off.  I want to be able to repackage, convert, flatten, etc. these streaming fragments to something that can be imported into Adobe Premiere Pro or other applications to product a DVD.  I've seen a lot of posts, but no answers.  Any ideas.  I don't want to think that I wasted 4 hours of a live stream and can't capture off the data.

This topic has been closed for replies.

1 reply

Adobe Employee
March 13, 2012

Each f4f is nothing but a valid f4v file.. So you must be able to flatten it (probably after renaming to .f4v) and then play as normal mp4. Let me know, if you are not able to do so..

March 13, 2012

Nitin,

So if I rename all these fragments (.f4f files) to .f4v, how do I then combine all these .f4v into one .mp4. Lot's of work if the stream duration is a long one.

UPDATE: I was able to rename the .f4f to .f4v and the use the f4vpp utility to flatten them.  The issue I have is that when I bring the flattened .f4v files into Adobe Premiere, they don't seem contiguous.  There is a break between the two streams.  Currently my FragmentDuration is 4000 ms and my KeyFrame is 4 seconds.  How can I increase the fragment size (.f4f) to larger than 5-6 minutes.  What is best practice?

Adobe Employee
March 14, 2012

Hi,

There is nothing trivial FMS provide to stitch the f4f files. However, you can do few things like create a server side playlist of these converted f4v files and play them into a second livestream, which you can record as mp4.

Something like this:

S= Stream.get("mp4:myfinalmp4");

S.record();

S.play2(seg1.f4f, -1,0);

S.play2(seg2.f4f, -1,0);

....

Otherwise, you may look for some third party softwares to do the same for you..

Are you seeing break every 4 second (between two fragments) or between every two f4v segments?

You can increase the FragmentDuration for recording the content in event.xml. Modify FragmentDuration tag there..

So I guess you have a misconception here:

Each f4f file recorded on the disk is called a segment

Each segment hsa multiple fragments.

Each fragment size is by default 4 seconds and can be changed by updating FragmentDuration tag in event.xml

Each segment size can be changed by updating SegmentDuration in event.xml.

Do you want to increase the fragment size or segment size?