kind is always video. Set destination_options.youtube.kind to
video for a regular upload or short for a Short. Read Media
guidelines for the general rules.
Media per post
A YouTube post needs exactly one video. It does not accept an image.Video limits
Short limits
A Short is a post withdestination_options.youtube.kind set to short.
Select a thumbnail frame
Setdestination_options.youtube.thumbnail_timestamp_ms to select a video
frame. The value is an integer number of milliseconds. It must be less than
the video duration.
OpenPMM extracts the frame and sends it to YouTube as a custom thumbnail. This
setting works with a regular video or a Short. Omit the field or use null to
let YouTube select the thumbnail.
For example, use 1000 to select the frame at 1 second:
Recommended encoding
YouTube recommends these values. OpenPMM gives advice for a different value, but it does not block the post.- MP4 container with fast start
- H.264 video codec
- YUV 4:2:0 pixel format
- Progressive scan
- Closed group of pictures (GOP)
- AAC audio at 48 kHz
