Re: [dev] C coded cross-platform youtube video viewer

From: Sylvain BERTRAND <sylware_AT_legeek.net>
Date: Wed, 4 Jun 2014 17:01:31 +0200

On Tue, Jun 03, 2014 at 09:05:23PM +0200, hiro wrote:
> choose a stream, meaning of itags is on wikipedia article of youtube.
> wget -q -O - 'http://www.youtube.com/watch?v=Ux1Za8Wmz_s'|sed
> 's/"/\n/g; s/\\u0026/ /g; s/,/\n/g'|sed -n
> '/url_encoded_fmt_stream_map/,/^$/p; /adaptive_fmts/,/^$/p'
>
> One very nice new thing i discovered by going the manual way without
> the stupid quvi (which sadly randomly stopped working at some point
> for me) was that they now at least they have pure audio files
> together with that adaptive streaming bullshit, so I don't need ffmpeg
> for my purposes any more. Try itag 171 or 140, e.g.
> wget -q -O - 'http://www.youtube.com/watch?v=Ux1Za8Wmz_s'|sed
> 's/"/\n/g; s/\\u0026/ /g; s/,/\n/g'|sed -n '/itag=171/s/^.*url=//p'
>
> Then you need to remove the percentencoding, I'm sure you guys might
> be able to come up with a C tool for that.

Hey! That's nice... I was blindly using movgrab for that. Never
took the time to dive in youtube www API.


-- 
Sylvain
Received on Wed Jun 04 2014 - 17:01:31 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 04 2014 - 17:12:06 CEST