Skip to content

Commit

Permalink
Update vod and live stream best practices
Browse files Browse the repository at this point in the history
  • Loading branch information
szekelyzol committed Sep 25, 2023
1 parent d739711 commit 25ee6e3
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@ Keyframe Interval: 2 second
| 1080p | (60 fps) | 60 fps 4500-9000 Kbps | 44,1 kHz | 128 Kbps |
| 2160(4K) | (30 fps) | 25-30 fps 13000-34000 Kbps | 44,1 kHz | 192 Kbps |
| 2160(4K) | (60 fps) | 60 fps 20000-51000 Kbps | 44,1 kHz | 192 Kbps |

## Limitations

{% capture content %}
* When using the sandbox environment, live streaming is limited to 24 hours.
* The **video codec must be H.264**
* The **audio codec must be AAC or MP3**
* DVR is exactly 6 hours
* During a disconnection on ingest side, re-connection must occur within 10 seconds
* When creating a new live event using the same `streamID` without keeping the DVR of a previous live, you must wait at least 5 minutes before re-using it
{% endcapture %}
{% include "_partials/callout.html" kind: "warning", content: content %}
32 changes: 31 additions & 1 deletion templates/documentation/vod/video-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,39 @@ A more visual representation can be found below:
{% endcapture %}
{% include "_partials/callout.html" kind: "info", content: content %}

## Recommendations

{% capture content %}
For optimal ingestion, the video should use:

- Resolution ≤ 4k
- Video codec: **h264**
- ≤ 1080p max bitrate: 16Mbps
- \> 1080p ≤ 4k max bitrate: 50Mbps
- Standard Dynamic Range: **yuv420p**
- Framerate ≤ **60fps**
- Audio Codec: **aac**
{% endcapture %}
{% include "_partials/callout.html" kind: "success", content: content %}


## Limitations

{% capture content %}
* When using [progressive upload](/vod/progressive-upload):
* a video uploaded in a single chunk **must be between 0 and 200MiB**
* a video uploaded in several chunks must use at most **10 000 chunks each between 5MiB and 200MiB except the last chunk which must be between 0 and 200MiB**
* a video **must be uploaded/downloaded/copied in at most 7 days (168 hours)**
* an **uploaded/downloaded/copied video** must be:
- **at most 10GiB**
- **of at most 24h**
* **ProRes RAW** video codec is currently not supported.
{% endcapture %}
{% include "_partials/callout.html" kind: "warning", content: content %}

## Progressive video upload & uploading large videos

Some videos you might upload could be very large in size. We made sure that this is addressed and that there's a convenient way to upload large videos while breaking them into chunks. Please be sure to read the guide on how to make [progressive video upload](/vod/upload-a-video-regular-upload).
Some videos you might upload could be very large in size. We made sure that this is addressed and that there's a convenient way to upload large videos while breaking them into chunks. Please be sure to read the guide on how to make [progressive video upload](/vod/progressive-upload).

## Video Access Management

Expand Down

0 comments on commit 25ee6e3

Please sign in to comment.