Live data from Hacker News

YouTube video has its own URL in it

youtube.com

81–90 of 160 posts

Re: YouTube video has its own URL in it

#82

Earlier quoted context omitted.

Excellent, this explains it. The YouTube video you shared says the trick is to create a resumable upload using YouTube API. The steps involved : 1. create a resumable session (here we specify video length in bytes) 2. YouTube returns a session URI which contains the upload ID 3. create a video with the upload ID baked in (edit video to match length from step 1) 4. upload video to the session URI https://developers.go…

I have not been doing any edits of video for a long time... What are most people editing vids with these days?

The free version of Hit Film is really excellent: https://fxhome.com/hitfilm-express

Good to put some VFX.

Re: YouTube video has its own URL in it

#83

Earlier quoted context omitted.

More useful for what application? Other than a novelty, why would anyone need a reserved spot?

To provide a link to next week's video/ the next of a series inside the previous?

URL shorteners do this trick, can just update the redirect. Most people just put videos in a playlist so it comes recommended next though.

Re: YouTube video has its own URL in it

#84

Another way to achieve this would be to make a video which flashes each possible digit of the YouTube video ID alphabet once for each digit, then use YouTube's video editor to cut out all the incorrect digits.

The video, running at 60fps, would have to be 38996161157 years long for this to be a possibility Even if you predicted the first 3 symbols of the id, you'd still need a 148758 years long video

each possible digit, not each possible ID.

You seem to be calculating some combinatorial explosion, where there probably is none

Re: YouTube video has its own URL in it

#85
post #29
post #9

Earlier quoted context omitted.

The ID returns once your upload is completed. Edit: I don't know the answer but I assume from all the APIs I worked with in the past, but if you get the URL before the upload is completed then yeah it's pretty easy to "fake".

Not for me. When I'm uploading a video even when it's at 0% I see "The URL of your uploaded video will be: blah" So it seems you can get the URL immediately... maybe then stop the upload mess with the video and then resume the upload... but I assume the resume feature takes a hash or something to make sure it's the same file..

Yes, I thought I saw this too many years ago when I was making youtube videos, and uploading would be slow or broken. Although I never tried changing the video after getting the URL.

Re: YouTube video has its own URL in it

#86

Earlier quoted context omitted.

Excellent, this explains it. The YouTube video you shared says the trick is to create a resumable upload using YouTube API. The steps involved : 1. create a resumable session (here we specify video length in bytes) 2. YouTube returns a session URI which contains the upload ID 3. create a video with the upload ID baked in (edit video to match length from step 1) 4. upload video to the session URI https://developers.go…

I have not been doing any edits of video for a long time... What are most people editing vids with these days?

As someone who uses Linux, I've found Blender + ffmpeg to be a powerful combo. Almost all of the videos on my channel use those two.

The video sequence editor in Blender is awesome for arranging tracks, audio, transitions, overlays, text, etc. And with ffmpeg you can move it to any format you need. To clean up audio I use Audacity.

Re: YouTube video has its own URL in it

#87

Earlier quoted context omitted.

Excellent, this explains it. The YouTube video you shared says the trick is to create a resumable upload using YouTube API. The steps involved : 1. create a resumable session (here we specify video length in bytes) 2. YouTube returns a session URI which contains the upload ID 3. create a video with the upload ID baked in (edit video to match length from step 1) 4. upload video to the session URI https://developers.go…

I have not been doing any edits of video for a long time... What are most people editing vids with these days?

I like https://shotcutapp.com/... It's free and open source, has good Linux support and all the features I need, and uses ffmpeg under the hood.

Re: YouTube video has its own URL in it

#88

C.f. this tweet, which has a link to itself: https://twitter.com/mauritscorneIis/status/99142460340155187... (And as we all know Twitter has no edit button, no post-upload shenanigans are possible here, just some clever guessing and reverse-engineering Twitter's ID generation algorithm)

This tweet (or one like it) caused a massive Twitter outage.

Yeah, "If you type 'google' into google.. you can breakthe internet, so please no one try it" IT Crowd /s

Re: YouTube video has its own URL in it

#89

Another way to achieve this would be to make a video which flashes each possible digit of the YouTube video ID alphabet once for each digit, then use YouTube's video editor to cut out all the incorrect digits.

The video, running at 60fps, would have to be 38996161157 years long for this to be a possibility Even if you predicted the first 3 symbols of the id, you'd still need a 148758 years long video

What?

38 frames * 8 (or however many possible characters there are.

Post reply on HN