-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't generate preview images from a YouTube stream #117
Comments
The YouTube Data API appears to have "thumbnail" functionality built in. At present, it appears to show the channel preview card which is configured when the camera ingestion is configured. It's not clear why this doesn't have an actual preview image, but it may be something to follow up with YouTube if this behaviour is intentional. Further info is in the API documentation.
{
"kind": "youtube#liveBroadcastListResponse",
"etag": "\"DsOZ7qVJA4mxdTxZeNzis6uE6ck/jzM2cvxN3dj9X0sorkbEV9bVbmg\"",
"nextPageToken": "CAUQAA",
"pageInfo": {
"totalResults": 24,
"resultsPerPage": 5
},
"items": [
{
"kind": "youtube#liveBroadcast",
"etag": "\"DsOZ7qVJA4mxdTxZeNzis6uE6ck/YdkZcUzq50HonOm0oDBCmFf7kOA\"",
"id": "5X-sBHDlbbQ",
"snippet": {
"publishedAt": "2016-02-04T22:51:05.000Z",
"channelId": "UChQOJ44-9PPA7mZ16m3RcPA",
"title": "LCA 2016: Wool Museum (Fri 5th Feb)",
"description": "",
"thumbnails": {
"default": {
"url": "https://i.ytimg.com/s_vi/5X-sBHDlbbQ/default.jpg?sqp=CPSF17UF&rs=AOn4CLCMSueVNBbw96mq6tYfGly5o-FFGA",
"width": 120,
"height": 90
},
"medium": {
"url": "https://i.ytimg.com/s_vi/5X-sBHDlbbQ/mqdefault.jpg?sqp=CPSF17UF&rs=AOn4CLC3O5gW_p0ZiYNHNvy16guGdxYEBQ",
"width": 320,
"height": 180
},
"high": {
"url": "https://i.ytimg.com/s_vi/5X-sBHDlbbQ/hqdefault.jpg?sqp=CPSF17UF&rs=AOn4CLCtox-4E3zsMe5suUrlG23d7w7c6A",
"width": 480,
"height": 360
},
"standard": {
"url": "https://i.ytimg.com/s_vi/5X-sBHDlbbQ/sddefault.jpg?sqp=CPSF17UF&rs=AOn4CLBOhvfsvHAPns4aAk9EIbD_2RtB9A",
"width": 640,
"height": 480
},
"maxres": {
"url": "https://i.ytimg.com/s_vi/5X-sBHDlbbQ/maxresdefault.jpg?sqp=CPSF17UF&rs=AOn4CLBeZjACyfJrWtuibvSxdf8JQsvnWw",
"width": 1280,
"height": 720
}
},
"scheduledStartTime": "2016-02-04T23:40:00.000Z",
"actualStartTime": "2016-02-04T23:38:01.603Z",
"actualEndTime": "2016-02-05T04:05:11.000Z",
"isDefaultBroadcast": false
},
"status": {
"lifeCycleStatus": "complete",
"privacyStatus": "private",
"recordingStatus": "recorded"
} |
Preview images for YouTube streams can now be generated (8a0d381). Might need to revisit that to allow generation of preview images for both YouTube and flumotion. |
Might be good to document what gstreamer features are needed for that script I wrote. I think you need a recent libsoup and gstreamer.... |
hi @micolous, I was trying to get the Youtube thumbnails with the sqp information, and I did the Youtube Api on "liveBroadcasts" like yours。However, I can not get the same result as yours,Do you have any ideas? |
I'd suggest following up on YouTube's GitHub repos if you're having trouble
with the API... this isn't a YouTube support forum.
On 27 Nov. 2017 14:48, "Patrick" ***@***.***> wrote:
hi @micolous <https://github.com/micolous>, I was trying to get the
Youtube thumbnails with the sqp information, and I did the Youtube Api on
"liveBroadcasts" like yours。However, I can not get the same result as
yours,Do you have any ideas?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPEPwMDRFvzCILkyfQDUpNP6f1VoLxlks5s6jEmgaJpZM4HREH8>
.
<blockquote><img src="https://avatars3.githubusercontent.com/u/246847?s=400&v=4" width="48" align="right"><div><img src="https://assets-cdn.github.com/favicon.ico" height="14"> GitHub</div><div><strong><a href="https://github.com/micolous">micolous (Michael Farrell)</a></strong></div><div>micolous has 84 repositories available. Follow their code on GitHub.</div></blockquote>
<blockquote><img src="https://assets-cdn.github.com/images/modules/open_graph/github-logo.png" width="48" align="right"><div><img src="https://assets-cdn.github.com/favicon.ico" height="14"> GitHub</div><div><strong><a href="https://github.com">Build software better, together</a></strong></div><div>GitHub is where people build software. More than 26 million people use GitHub to discover, fork, and contribute to over 72 million projects.</div></blockquote>
|
Need a gstreamer / mplayer / something else to create preview images.
The text was updated successfully, but these errors were encountered: