Hello all i like to stream / play you tube videos or in general FLV files from c++ application how can it be done ? ( im using QT as GUI )
+1
A:
You have two problems to tackle.
First one you need the player technology. For that you can use ffmpeg but bear in mind that it is licensed under GPL (older version in LGPL).
The second thing is that you need access to the FLV video urls. For this you either scrape the website or used the YouTube GData APIs. If you decide to go for the latter you need to know that you'll need a special deal with YouTube/Google to be granted access to the high quality streams. Usually you don't get access to the FLV ones.
ruibm
2010-02-10 11:46:00
what do you mean by "high quality streams" you mean HD ? i need the ordinary ones , do i need still youtube permission ?
2010-02-10 12:39:48
Via GData API YouTube makes available a 3gp and a mpeg4 video streams. The quality of these videos is a bit choppy <100kbps. The videos you see on the website are flv videos with much higher bit rate and for these you need specific YouTube permission.
ruibm
2010-02-10 15:40:20