Launching Youtube video from is URL
#1
Hi,
Few months ago I wrote a LCDSmarties plugin for XBMC and now I try to write an application for deported screen ( like Yatsee ) with youtube support.

Now I try to launch à youtube video with the command :

http://127.0.0.1/xbmcCmds/xbmcHttp?command=playfile(url)

Youtube return video url :

http://www.youtube.com/v/ZLzdLOO3sYI?f=v...8d1GxQnGDm

I replace & by %26 getting this URL ( with api ) :

http://127.0.0.1/xbmcCmds/xbmcHttp?comma...8d1GxQnGDm)

Unfortunalty XBMC return :

Error:Could not play file

And thats the logs :

Code:
12:17:36 T:4004 M:592674816   DEBUG: FileCurl::Open(08DE04C0) http://www.youtube.com/v/ZLzdLOO3sYI?f=videos&d=AZo-X0Q4qBMAOfRSh33Py4wO88HsQjpE1a8d1GxQnGDm
12:17:36 T:4440 M:592662528   DEBUG: ------ Window Init (DialogBusy.xml) ------
12:17:36 T:4004 M:592654336    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles
12:17:36 T:4004 M:592650240   DEBUG: CUtil::CacheSubtitles: START
12:17:36 T:4004 M:592650240    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles done
12:17:36 T:4004 M:592650240  NOTICE: Creating Demuxer
12:17:36 T:6116 M:592650240   DEBUG: thread start, auto delete: 0
12:17:36 T:6116 M:592621568    INFO: CFileCache::Process - Hit eof.
12:17:36 T:4004 M:592621568   DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/avutil-50.dll)
12:17:36 T:4004 M:592572416   DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/avcodec-52.dll)
12:17:36 T:4004 M:588890112   DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/libfaad.dll)
12:17:36 T:4004 M:588869632   DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/avformat-52.dll)
12:17:36 T:4004 M:588435456   DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [swf]
12:17:36 T:4004 M:588431360   ERROR: ffmpeg[FA4]: [swf] Compressed SWF format not supported
12:17:36 T:4004 M:588431360   ERROR: CDVDDemuxFFmpeg::Open - Error, could not open file http://www.youtube.com/v/ZLzdLOO3sYI?f=videos&d=AZo-X0Q4qBMAOfRSh33Py4wO88HsQjpE1a8d1GxQnGDm
12:17:36 T:4004 M:588431360   ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
12:17:36 T:4004 M:588431360  NOTICE: CDVDPlayer::OnExit()
12:17:36 T:4004 M:588431360  NOTICE: CDVDPlayer::OnExit() deleting input stream
12:17:36 T:6116 M:588431360   DEBUG: Thread 6116 terminating
12:17:36 T:4004 M:588443648   DEBUG: FileCurl::Close(08DE04C0) http://www.youtube.com/v/ZLzdLOO3sYI?f=videos&d=AZo-X0Q4qBMAOfRSh33Py4wO88HsQjpE1a8d1GxQnGDm
12:17:36 T:4004 M:588460032   DEBUG: Thread 4004 terminating
12:17:36 T:4440 M:588509184   DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc
12:17:36 T:4440 M:588509184   ERROR: Playlist Player: skipping unplayable item: 0, path [http://www.youtube.com/v/ZLzdLOO3sYI?f=videos&d=AZo-X0Q4qBMAOfRSh33Py4wO88HsQjpE1a8d1GxQnGDm]
12:17:36 T:4440 M:588509184   DEBUG: Playlist Player: no more playable items... aborting playback

This video play well with youtube plugin. What's wrong ?
Any ideas please ?
Thanks for support.
Reply
#2
PlayFile is for the 'local' files such as smb, zips, nas etc.
It will not play youtube movie's, due this.

Also, because XBMC doesn't support flash afaik
Reply

Logout Mark Read Team Forum Stats Members Help
Launching Youtube video from is URL0