Skip to content

Commit 0297543

Browse files
committed
Add README for media samples
1 parent 17cb7f9 commit 0297543

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

samples/media/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Media Samples
2+
3+
- [Ultra HDR to HDR video](ultrahdr/src/main/java/com/example/platform/media/ultrahdr/video/UltraHDRToHDRVideo.kt):
4+
Demonstrates converting a series of UltraHDR images into a HDR video.
5+
- [Transformer Video Composition](video/src/main/java/com/example/platform/media/video/TransformerVideoComposition.kt):
6+
Demonstrates concatenation of two video assets and an image using Media3 Transformer library.
7+
8+
## License
9+
10+
```
11+
Copyright 2024 The Android Open Source Project
12+
13+
Licensed under the Apache License, Version 2.0 (the "License");
14+
you may not use this file except in compliance with the License.
15+
You may obtain a copy of the License at
16+
17+
https://www.apache.org/licenses/LICENSE-2.0
18+
19+
Unless required by applicable law or agreed to in writing, software
20+
distributed under the License is distributed on an "AS IS" BASIS,
21+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22+
See the License for the specific language governing permissions and
23+
limitations under the License.
24+
```

samples/media/video/src/main/java/com/example/platform/media/video/TransformerVideoComposition.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ import java.util.concurrent.TimeUnit
5555
@UnstableApi
5656
@Sample(
5757
name = "Video Composition using Media3 Transformer",
58-
description = "This sample demonstrates concatenation of two video assets using Media3 " +
59-
"Transformer library.",
58+
description = "This sample demonstrates concatenation of two video assets and an image using" +
59+
" Media3 Transformer library.",
6060
documentation = "https://developer.android.com/guide/topics/media/transformer",
6161
tags = ["Transformer"],
6262
)

0 commit comments

Comments
 (0)