I have a list of videos that I'm not their owner and I need to find their bitrate ladder. Please let me know how can I obtain the video bitrate ladder by using Youtube Data API?
I've tried the list.fileDetails but I got the 403 error with following message:
"The request is not properly authorized to access video file or processing information. Note that the fileDetails, processingDetails, and suggestions parts are only available to that video's owner."
Thanks in advance.
Related
I'm using the YouTube API to update YouTube video thumbnails via the data API. Randomly I'm getting the error "The caller does not have permission [403]" for certain videos.
Things I've checked
Confirmed I have access to the channel and the video is valid.
Video is valid
Thumbnail is valid
Does anyone else see this?
I have a link live stream from youtube: https://manifest.googlevideo.com/api/manifest/hls_variant/upn/V377i0zgS9U/id/iGTIK_8ydoI.1/itag/0/gcr/vn/pmbypass/yes/expire/1429081762/sver/3/keepalive/yes/playlist_type/LIVE/source/yt_live_broadcast/maudio/1/signature/648757B5224BB06A23DADA58D1D514F8465B5B01.BEA5B2EE61132AB1A1768E9852B12F6DD641322F/ip/192.168.1.1/key/yt5/ipbits/0/ratebypass/yes/fexp/3300112%2C3300133%2C3300137%2C3300161%2C3310698%2C3311881%2C900720%2C907263%2C916656%2C932627%2C932631%2C934954%2C938028%2C9405998%2C9407115%2C9408031%2C9408163%2C9408347%2C9408708%2C9408732%2C947233%2C947243%2C948124%2C948703%2C951703%2C952612%2C952626%2C952637%2C954815%2C957201%2C961404%2C961406/hfr/1/sparams/gcr%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmaudio%2Cplaylist_type%2Cpmbypass%2Cratebypass%2Csource%2Cexpire/file/index.m3u8
I got this link from page source, but when I cannot restream it with ffmpeg/ffplay, this is error message:
[tcp # 0000000004442220] Failed to resolve hostname manifest.googlevideo.com: Th
e name does not resolve for the supplied parameters
https://......the/above/link...index.m3u8: Input/Output error
Does anyone help me find exactly live streaming link from youtube?
YouTube as of now does not provide you the opportunity to get a direct URL to your live stream. I researched this for a long time as I wanted to put my LIVE Stream on ROKU a streaming device. YouTube however is on Roku well because they are YouTube. But do let me know if you find a way around this.
How can i get videos from the youtube channel with duration and views count?
I tried this request:
https://www.googleapis.com/youtube/v3/search?part=snippet%2Cid&channelId=UC4H3KiOO86uiw2fAoZy6NRA&key=YOUR_API_KEY
but response doesn't contains duration/views count. Any ideas? Thx.
That data is not available in the snippet field. Instead, make a second API call to the channels.list() with the video IDs and request the contentDetails and statistics fields in your response. You can find documentation on the video resource here.
Is there any documentation about the http://www.youtube.com/get_video_info?video_id=XXX ?
Since a week or so it seems I do not get correct information anymore. I am using the url_encoded_fmt_stream_map property in the response stream to get the url for the video link of the mp4 type of my video. But this property is now returning an empty value.
Has something been changed in the get_video_info functionality?
The get_video_info endpoint is not, and has never been, a supported public API.
If you'd like to play back YouTube content, you need to use one of the official YouTube Players:
https://developers.google.com/youtube/getting_started#player_apis
I've been asked to create a QR image that, on being scanned by a smartphone, will play a short 2-minute video. The video is currently in .mp4 format, but the format can change. The video playback works fine on iPhone however I'm having some problems with the BlackBerry Bold.
When the user scans the QR code the phone directs them to a URL. Right now the URL they are directed to is http://domain.com/video.mp4. However when the user attempts to access this page they get a 413 Error "Entity too large". Basically, too much is being pushed to the client.
Reading the BlackBerryForums.com.au thread titled "Request Entity Too Large", I see you need to increase the allowed request size. But the user is able to play YouTube videos perfectly fine on their blackberry! WHY? is the youtube video size smaller? What format is YouTube using? Why does YouTube work, when my method doesn't?
I know the obvious solution here is to use YouTube as a hoster and embed the video but I am told I cannot use this quick and easy solution.
The problem is that YouTube streams the video. What you're trying to do is get the user to download the whole video file.
You may need to get a streaming server so that the video can be played.
Alternatively, reduce the filesize of the file by reducing the video resolution and bitrate, make sure the sound is mono and low bitrate as well.