Extend Clips API to provide the MP4 url so editors can automate downloads
If I have an oAuth that represents a User, where the User is either
- the broadcaster the clip is of
- an editor of the channel that the clip is of
- the user is the owner of the clip
And I make a request for a Clip as documented: https://dev.twitch.tv/docs/api/reference#get-clips
(but with the bearer naturally)
The JSON Response should include the direct link to the MP4 or an ability to download the Clip.
This is off the back of the removal/deprecation of some undocumented API's that I was using to get the MP4 URL for automated download for creation of clip reels and similar.

-
GitagoGaming commented
I would also like to see the option to indicate how long of a clip you would like to create.. 15 seconds, 30 seconds, 45 seconds, or 1 minute would be great to have
-
lemlii commented
Thanks for sharing this! All the best!
Feel free to visit: https://codeberg.org/ -
Freso commented
Just wanted to link this for getting direct URLs for VODs, since it might be of interest to people who are also interested in getting direct clip download links. :) https://twitch.uservoice.com/forums/310213-developers/suggestions/41560489-extend-videos-api-to-allow-editors-and-above-to
-
deanpcmad commented
Although an MP4 link would be handy, you can generate it yourself by taking the clip thumbnail and adding mp4 to it. Like so:
https://clips-media-assets2.twitch.tv/AT-cm|CLIPID-preview-260x147.jpg
to
https://clips-media-assets2.twitch.tv/AT-cm|CLIPID.mp4 -
masterkain commented
I have the same issues, my old integration is not working anymore.
Can you please release the mp4 links for clips? -
m_o_o_ commented
ironically youtube-dl got removed from github due to the DMCA.
edit: and they're back -
n30sh4d0w commented
Also there are alot of other fields in terms of clips that could be added to make sure clips obey DMCA.
-
FelkCraft commented
As a workaround, you can use youtube-dl. Example command-line to download a clip:
> .\youtube-dl.exe https://www.twitch.tv/zfg1/clip/StylishTallYogurtYee
Or to just get the mp4 link, use the -g flag:
> .\youtube-dl.exe -g https://www.twitch.tv/zfg1/clip/StylishTallYogurtYee
https://clips-media-assets2.twitch.tv/AT-cm%7C607903957.mp4 -
Aku_inu commented
To my recollection the clip manager page has always allowed to download clips you have made, but it is hidden a bit.
Click on clip
Click the shear button
Then among the social links there is download button -
BarryCarlyon commented
The current Twitch UI doesn't allow "the user is the owner of the clip" to download a Clip. So I'm not bothered if this part of the request is ignore.
But the API should match the UI for what is allowed.