public abstract class FixTimestamp extends Object
Constructor and Description |
---|
FixTimestamp() |
Modifier and Type | Method and Description |
---|---|
protected abstract long |
doWithTimestamp(int streamId,
long pts,
boolean isPts) |
void |
fix(File file) |
void |
fixMpeg1(int streamId,
ByteBuffer is) |
void |
fixMpeg2(int streamId,
ByteBuffer is) |
long |
fixTs(int streamId,
ByteBuffer is,
boolean isPts) |
boolean |
isAudio(int streamId) |
boolean |
isVideo(int streamId) |
public void fix(File file) throws IOException
IOException
public void fixMpeg1(int streamId, ByteBuffer is)
public long fixTs(int streamId, ByteBuffer is, boolean isPts)
public void fixMpeg2(int streamId, ByteBuffer is)
public boolean isVideo(int streamId)
public boolean isAudio(int streamId)
protected abstract long doWithTimestamp(int streamId, long pts, boolean isPts)
Copyright © 2019. All rights reserved.