Quantcast
Viewing all articles
Browse latest Browse all 40524

ofVideoPlayer.load and .loadMovie problems when streaming

So, another try!
This is what I have tested:
I used youtube-dl to get the link to the last Star Wars trailer -my first link is not working anymore, I have noticed it is IP dependent-

youtube-dl -g https://www.youtube.com/watch?v=sGbxmsDFVnE

So I have the actual link

Then, I use this code:

string link = "{the_link_youtube-dl_gave}";
ofVideoPlayer player;
player.load(link);
player.play();

Right after .load(), I have this error:

2015-12-09 15:44:25.073 videoTestDebug[1236:765100] assetReader: error during initialisation: Operation Stopped
2015-12-09 15:44:25.074 videoTestDebug[1236:765100] problem with creating asset reader.

Can anybody replicate this code with OF v0.9.0? Using that link or any other, I am open to any suggestion. I just can't find where the problem is.
I had no problem with loadVideo() in 0.8, but I want to use asynch load. I can use the AVFoundation add on
Thanks!
D!


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>