Skip to main content
May 25, 2012
Question

How to obtain single f4f segment file from livepkgr?

  • May 25, 2012
  • 2 replies
  • 2338 views

We are using Adobe Live Encoder 3.2 and FMS 4.5.2 livepkgr application to encode.

At the end of a 3 hr event, we wish to end up with a single f4v file.

We modified: applications\livepkgr\events\_definst_\liveevent\Event.xml

<Event>

  <EventID>liveevent</EventID>

  <Recording>

    <FragmentDuration>3000</FragmentDuration>

<SegmentDuration>10799000</SegmentDuration>

<DiskManagementDuration>3</DiskManagementDuration>

  </Recording>

  <HLS>

        <MediaFileDuration>3000</MediaFileDuration>

        <SlidingWindowLength>0</SlidingWindowLength>

    </HLS>

</Event>

##

To get 1 segment file, we assumed that this can be achieved by setting SegmentDuration to almost 3 hrs (10799000 is almost 3 hrs in ms).

However, in our 1 hr test, livepkgr produced 2 segments.

livestream1Seg191.f4f

livestream1Seg192.f4f

We know that the f4f can converted to f4v by using Adobe’s f4vpp.exe (post processing tool).

Is it possible to get livepkgr to generate 1 segment file?

If not, I see at least 2 options:

1. Using the f4f spec, write a program to read each f4f file to combine them, then feed the single file f4vpp.

2. Convert each f4f to f4v and then combine the f4v files using ffmpeg, but that requires transcoding and processing time.

This topic has been closed for replies.

2 replies

June 12, 2012

Try removing the <SegmentDuration> and <DiskManagementDuration> tags all together.

If I'm not mistaken, FMS will default the values to infinity and no segmentation will occur.

I recommend this thread: http://forums.adobe.com/message/4475628

June 21, 2012

Yes, removing <SegmentDuration> and <DiskManagementDuration> tags all together did the trick.

Thx for the tip and the link to the other discussion.


Adobe Employee
May 25, 2012

Can you try one thing - increase your disk managment duration to say 9 hours and see if that makes difference - see if that allows to have 3 hours long f4f file and segmentation does not start after 1 hour. I might be able to explain why that happens - but can you first try and let me know if that helps.

May 26, 2012

Set disk managment to 9 hours. After 1 hour and 15 minutes, it started a second file. After 2.5 hours, still only 2 files. Please advise. Thanks.