Blog

How many unique YouTube URLs can be made from a 11 character ID made from A to Z and AZ and 0 9 and 2 special characters repetition is allowed?

How many unique YouTube URLs can be made from a 11 character ID made from A to Z and AZ and 0 9 and 2 special characters repetition is allowed?

(A-Z) + (a-z) + (0-9) + (-) + (_). (64 Characters). Using Base64 encoding and only up to 11 characters they can generate 73+ Quintilian unique IDs.

What are YouTube video IDs?

The video ID will be located in the URL of the video page, right after the v= URL parameter. In this case, the URL of the video is:

How long are YouTube video codes?

3 Answers. It’s almost certainly going to stay at 11 characters. The individual characters come from a set of 64 possibilities (A-Za-z0-9_-). 64^11 is somewhat more than 2^64.

Are YouTube urls base64?

More videos on YouTube Every YouTube video has a unique ID based on a counting system called Base 64. Randomly generated, that Base 64 ID allows YouTube to have a unique yet short url by using the alphabet in lowercase and uppercase plus two symbols: – and _.

READ ALSO:   What are the consequences of outsourcing jobs to other countries?

How do I encode base 64?

How Does Base64 Encoding Work?

  1. Take the ASCII value of each character in the string.
  2. Calculate the 8-bit binary equivalent of the ASCII values.
  3. Convert the 8-bit chunks into chunks of 6 bits by simply re-grouping the digits.
  4. Convert the 6-bit binary groups to their respective decimal values.

How long is the video id of a YouTube video?

The video ID of a YouTube video is currently 11 characters in length. Here are a few links that I found: However, while this is the current standard, there is no official stance on how long the video ID can be. Here is a posting to that effect from a team member at YouTube:

Why is the YouTube ID only 11 characters?

It’s almost certainly going to stay at 11 characters. The individual characters come from a set of 64 possibilities (A-Za-z0-9_-). 64^11 is somewhat more than 2^64. (10 characters would not be enough.) So basically each youtube ID is actually a 64bit number.

READ ALSO:   What is the capital city of Chandigarh?

Is there a way to convert YouTube ID’s to 64 bit numbers?

So basically each youtube ID is actually a 64bit number. And I quite doubt they will ever run out of those. If you want to save space in your database you could theoretically convert the IDs to 64bit numbers then convert them back later. But you would need to know how youtube does the conversion so it’s not practical.

Why are videos I watch on YouTube being added to TV?

Videos you watch may be added to the TV’s watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer. An error occurred while retrieving sharing information.