Re:YouTube video has its own URL in it
by Avamander on Tuesday July 16, 2019 @02:26PM
(#20452585)
Start uploading a video, pause the upload, you could already get the ID of the vid, render rest of the video and then continue the upload that now contains the ID of the video :D
[ Parent
| on HN ]
This is probably it, I'm going to say Bingo.
Re:YouTube video has its own URL in it
by techaddict009 on Tuesday July 16, 2019 @02:39PM
(#20452708)
How to pause? and re upload pending part with new video?
Re:YouTube video has its own URL in it
by adrianmonk on Tuesday July 16, 2019 @03:13PM
(#20452994)
Here's a guess: upload from a browser running on Linux, and create a FUSE filesystem that blocks read() calls until you've generated the video.
I tried it with a named pipe ("mknod /tmp/foo.mp4 p") and it gave me an error, but before the error, the web page blocked during upload, but it showed me the URL that will be used (before I gave it a single byte of data).
I'm not sure you could do this in the website itself but this would be trivial using the YouTube APIs.