mirror of
https://github.com/samsonjs/media.git
synced 2026-04-07 11:35:46 +00:00
Specify which input file has B-frames in Transformer demo app
For out of order B-frames, the samples comes out of order and hence
presentation timestamps are not strictly increasing.
This can be verified by adding following assertion in `writeSampleData()` API
either in `MuxerWrapper` or in `Muxer API`.
```
checkArgument(
bufferInfo.presentationTimeUs > lastSamplePresentationTimeUs,
"Out of order B-frames are not supported");
```
PiperOrigin-RevId: 589152093
This commit is contained in:
parent
1471528176
commit
ac67f739d4
1 changed files with 3 additions and 3 deletions
|
|
@ -147,8 +147,8 @@ public final class ConfigurationActivity extends AppCompatActivity {
|
|||
"https://storage.googleapis.com/exoplayer-test-media-1/mp4/sample_video_track_only.mp4",
|
||||
};
|
||||
private static final String[] PRESET_FILE_URI_DESCRIPTIONS = { // same order as PRESET_FILE_URIS
|
||||
"720p H264 video and AAC audio",
|
||||
"1080p H265 video and AAC audio",
|
||||
"720p H264 video and AAC audio (B-frames)",
|
||||
"1080p H265 video and AAC audio (B-frames)",
|
||||
"360p H264 video and AAC audio",
|
||||
"360p VP8 video and Vorbis audio",
|
||||
"4K H264 video and AAC audio (portrait, no B-frames)",
|
||||
|
|
@ -163,7 +163,7 @@ public final class ConfigurationActivity extends AppCompatActivity {
|
|||
"480p DASH (non-square pixels)",
|
||||
"HDR (HDR10) H265 limited range video (encoding may fail)",
|
||||
"HDR (HLG) H265 limited range video (encoding may fail)",
|
||||
"720p H264 video with no audio",
|
||||
"720p H264 video with no audio (B-frames)",
|
||||
};
|
||||
private static final String[] AUDIO_EFFECTS = {
|
||||
"High pitched",
|
||||
|
|
|
|||
Loading…
Reference in a new issue