News for hackers. Stuff that matters.
Re:Show HN: YouTube Filesystem – YTFS by rasguanabana on Monday July 06, 2015 @12:42PM (#9840350)
Some time ago Youtube started to provide audio and video separately. Due to that, for full videos whole data needs to be downloaded before reading (it's hard to merge them on-the-fly). For just audio or just video data streaming is intended, but needs reimplementation.
Re:Show HN: YouTube Filesystem – YTFS by agumonkey on Monday July 06, 2015 @01:28PM (#9840713)
Are you sure ? youtube-dl still gives link to plain old streamable mp4 (I don't know much, I just use it half blindly).
Re:Show HN: YouTube Filesystem – YTFS by CyberShadow on Monday July 06, 2015 @01:34PM (#9840772)
I think these monolithic files are provided only for up to 720p quality, mainly for compatibility with older Flash players. To download the maximum quality with youtube-dl, you have to use "-f bestvideo+bestaudio" - then, youtube-dl will download both streams, and merge them for you with an ffmpeg invocation.
Re:Show HN: YouTube Filesystem – YTFS by agumonkey on Monday July 06, 2015 @01:41PM (#9840828)
Ha, I never paid much attention to higher bitrates, and most of the time I only see resolution up to 720p (maybe because of my tastes).

I'm sure there are ways to merge streams on the fly though.

Re:Show HN: YouTube Filesystem – YTFS by daxelrod on Monday July 06, 2015 @09:08PM (#9843089)
There has to be some way, the player on the YouTube website does it. :)
Re:Show HN: YouTube Filesystem – YTFS by 83a on Monday July 06, 2015 @01:40PM (#9840818)
yes. you can force the streamable mpg4 download with the -f option (-f22), but it seems not all videos are encoded that way. livestreamer might be the tool of choice if you don't want to use your browser to watch a youtube video.