com.googlecode.mp4parser.authoring.builder.smoothstreaming
Class FlatManifestWriterImpl
java.lang.Object
com.googlecode.mp4parser.authoring.builder.smoothstreaming.FlatManifestWriterImpl
- All Implemented Interfaces:
- ManifestWriter
public class FlatManifestWriterImpl
- extends Object
- implements ManifestWriter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlatManifestWriterImpl
public FlatManifestWriterImpl()
setIntersectionFinder
public void setIntersectionFinder(FragmentIntersectionFinder intersectionFinder)
getManifest
public String getManifest(Movie movie)
throws IOException
- Specified by:
getManifest
in interface ManifestWriter
- Throws:
IOException
getBitrate
public long getBitrate(Track track)
- Specified by:
getBitrate
in interface ManifestWriter
calculateFragmentDurations
public long[] calculateFragmentDurations(Track track,
Movie movie)
- Calculates the length of each fragment in the given
track
(as part of movie
).
- Specified by:
calculateFragmentDurations
in interface ManifestWriter
- Parameters:
track
- target of calculationmovie
- the track
must be part of this movie
- Returns:
- the duration of each fragment in track timescale
getDuration
protected static long getDuration(Track track)
Copyright © 2012. All Rights Reserved.