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

2014-06-08 Thread hiro
It's reliable if you want only the audio and not the video ;)

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

2014-06-06 Thread Szabolcs Nagy
* hiro <23h...@gmail.com> [2014-06-03 21:05:23 +0200]: > 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' >

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

2014-06-04 Thread Sylvain BERTRAND
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' >

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

2014-06-03 Thread hiro
but beware: they lowered audio quality in general recently. whereas I used to get 192kbit vorbis in the past now I can only get 128kbit, both in the normal 720p/1080p video and the pure audio versions. it might be that the itag 141 and 172 are not available, even though the example I posted seems t

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

2014-06-03 Thread hiro
yes. http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs itag bitrate 139[3] MP4 AAC 48 140 MP4 AAC 128 141[3] MP4 AAC 256 171 WebMVorbis 128 172[3] WebMVorbis 192

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

2014-06-03 Thread Nick
Quoth hiro: > 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

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

2014-06-03 Thread hiro
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 wi

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

2014-06-03 Thread Sylvain BERTRAND
> - not use GNOME As a matter of fact, I don't have gnome. But, having "any high level script" bindings in order to customize the gnome desktop is ok... till it's not mandatory for a reasonnably featured desktop. If I'm not wrong, gnome desktop APIs are based on gobject which can be interacted wi

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

2014-05-19 Thread Ryan O’Hara
On Mon, May 19, 2014 at 5:34 AM, Sylvain BERTRAND wrote: > You missed the points. > > I don't want "standard" distro integration to be a massive work. > Now it's near unreasonable to integrate a proper desktop distro > alone, and it's quite worse from a "SDK" point of view. It's good > for the bus

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

2014-05-19 Thread Sylvain BERTRAND
> Yes; you could go change it to embed Lua. Sure. And all the used external lua modules too. Should have been a C toolbox, not lua scripts... What a pain! -- Sylvain

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

2014-05-19 Thread Sylvain BERTRAND
You missed the points. I don't want "standard" distro integration to be a massive work. Now it's near unreasonable to integrate a proper desktop distro alone, and it's quite worse from a "SDK" point of view. It's good for the business of distro integration: coze a small team, or a sole coder canno

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

2014-05-17 Thread Markus Wichmann
On Sat, May 17, 2014 at 04:14:21PM +0200, Teodoro Santoni wrote: > You're speaking like you're using some OS in which, during runtime, > the code of that software written with a scripting language > is passed through a dispatcher that recalls namespace sessions > and, then, to a limited number of

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

2014-05-17 Thread Teodoro Santoni
You're speaking like you're using some OS in which, during runtime, the code of that software written with a scripting language is passed through a dispatcher that recalls namespace sessions and, then, to a limited number of scripting interpreters loaded and daemonised in memory when available for

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

2014-05-16 Thread Chris Down
patrick295767 patrick295767 writes: > Actually, this page http://suckless.org/rocks could be better. > Many useful lightweight applications are not listed. If you think something is missing, then present a commit(s) to the submission queue, with your rationale in the commit message. pgpcIJUaeQM1

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

2014-05-16 Thread patrick295767 patrick295767
- "Unless I’m mistaken, suckless in general advocates for statically-linked standard C libraries of reasonable size. http://suckless.org/rocks"; Actually, this page http://suckless.org/rocks could be better. Many useful lightweight applications are not listed. This very old, SC, is not listed. The

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

2014-05-15 Thread Ryan O’Hara
On Thu, May 15, 2014 at 9:45 PM, Markus Wichmann wrote: > Why would you do this? It's bloody idiotic, if you think about it. It > would be like having all C programs ship their own libc. Have you seen > how big perl is? Do you really want to have two perl installations just > because two different

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

2014-05-15 Thread Markus Wichmann
On Thu, May 15, 2014 at 04:08:59PM +0200, Sylvain BERTRAND wrote: > Hi, > > Unfortunately, libquvi on gentoo expects a system > installed lua (with additional modules). > > I don't want this high level script language as a system > dependency. I would prefer lua being packaged internally into > l

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

2014-05-15 Thread Ryan O’Hara
On Thu, May 15, 2014 at 7:08 AM, Sylvain BERTRAND wrote: > Hi, > > Unfortunately, libquvi on gentoo expects a system > installed lua (with additional modules). > > I don't want this high level script language as a system > dependency. I would prefer lua being packaged internally into > libquvi. [R

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

2014-05-15 Thread FRIGN
On Thu, 15 May 2014 16:08:59 +0200 Sylvain BERTRAND wrote: > Unfortunately, libquvi on gentoo expects a system > installed lua (with additional modules). > I don't want this high level script language as a system > dependency. I would prefer lua being packaged internally into > libquvi. Coze I wo

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

2014-05-15 Thread Sylvain BERTRAND
Hi, Unfortunately, libquvi on gentoo expects a system installed lua (with additional modules). I don't want this high level script language as a system dependency. I would prefer lua being packaged internally into libquvi. Coze I would like to quit gentoo one day and have my own suckless-ish dist

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

2014-05-10 Thread patrick295767 patrick295767
many many many thanks. Awesome post !! 2014-05-08 10:48 GMT+02:00 Dmitrij D. Czarkoff : > patrick295767 patrick295767 said: >> One can retrieve the link and send it over mplayer on nix, vlc,... and >> any win32 apps as well. > > quvi dump -b mute -e "ffplay %u" $URL > > -- > Dmitrij D. Czarkoff >

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

2014-05-09 Thread Markus Teich
Dmitrij D. Czarkoff wrote: > quvi dump -b mute -e "ffplay %u" $URL Heyho, since mpv uses quvi internally you could also just use: mpv $URL --Markus

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

2014-05-08 Thread Dmitrij D. Czarkoff
patrick295767 patrick295767 said: > One can retrieve the link and send it over mplayer on nix, vlc,... and > any win32 apps as well. quvi dump -b mute -e "ffplay %u" $URL -- Dmitrij D. Czarkoff

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

2014-05-07 Thread Dimitris Papastamos
On Wed, May 07, 2014 at 07:57:56PM +0200, patrick295767 patrick295767 wrote: > One can retrieve the link and send it over mplayer on nix, vlc,... and > any win32 apps as well. Your drugs suck.

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

2014-05-07 Thread patrick295767 patrick295767
One can retrieve the link and send it over mplayer on nix, vlc,... and any win32 apps as well. 2014-05-07 19:33 GMT+02:00 Ryan O’Hara : > On Wed, May 7, 2014 at 10:29 AM, patrick295767 patrick295767 > wrote: >> Hi, >> >> I was watching a movie on youtube, and finally I realized that we >> still h

[dev] C coded cross-platform youtube video viewer

2014-05-07 Thread patrick295767 patrick295767
Hi, I was watching a movie on youtube, and finally I realized that we still haven't coded an application, such as we were doing 10-20 years ago. Why we still so heavily use the browser, when so much is possible with coding in C. Well you might you youtube python app, but it is so much marvellous

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

2014-05-07 Thread Ryan O’Hara
On Wed, May 7, 2014 at 10:29 AM, patrick295767 patrick295767 wrote: > Hi, > > I was watching a movie on youtube, and finally I realized that we > still haven't coded an application, such as we were doing 10-20 years > ago. > > Why we still so heavily use the browser, when so much is possible with