2014-07-28, 11:06
Hello,
I found an abnormal behavior about play video file.
When I add a video file through SAMBA and play it directly,
I got an 'ERROR: CDVDPlayer::OpenInputStream - error opening [/share/Video/lastvegas-tlr3_h1080p.mov]' like this.
I tried to play other videos in the same path, it works.
And I try to play lastvegas-tlr3_h1080p.mov again (without quit XBMC and keep try to play lastvegas-tlr3_h1080p.mov), player played normally !!!
That's really strange, is there anyone also get this behavior?
My sample code as below:
Full log file is here:
http://pastebin.com/JkDMgeJt
I found an abnormal behavior about play video file.
When I add a video file through SAMBA and play it directly,
I got an 'ERROR: CDVDPlayer::OpenInputStream - error opening [/share/Video/lastvegas-tlr3_h1080p.mov]' like this.
I tried to play other videos in the same path, it works.
And I try to play lastvegas-tlr3_h1080p.mov again (without quit XBMC and keep try to play lastvegas-tlr3_h1080p.mov), player played normally !!!
That's really strange, is there anyone also get this behavior?
My sample code as below:
PHP Code:
import xbmc
import xbmcgui
PLAYER = xbmc.Player
p = xbmc.PlayList(xbmc.PLAYLIST_VIDEO)
p.clear()
l = xbmcgui.ListItem(item.getLabel(), thumbnailImage=item.getProperty('thumbnail'))
l.setInfo('video', {'Title': item.getLabel()})
p.add(url=item.getProperty('filepath'), listitem=l)
PLAYER.stop()
PLAYER.play(item = p, windowed = True)
Full log file is here:
http://pastebin.com/JkDMgeJt
Code:
16:54:51 T:4110612224 DEBUG: CPlayerCoreFactory::GetPlayers(/share/Video/lastvegas-tlr3_h1080p.mov)
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
16:54:51 T:4110612224 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
16:54:51 T:4110612224 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
16:54:51 T:4110612224 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
16:54:51 T:4110612224 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
16:54:51 T:4110612224 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
16:54:51 T:4110612224 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
16:54:51 T:4110612224 DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
16:54:51 T:4110612224 NOTICE: DVDPlayer: Opening: /share/Video/lastvegas-tlr3_h1080p.mov
16:54:51 T:4110612224 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:54:51 T:4110612224 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
16:54:51 T:4110612224 DEBUG: LinuxRendererGL: Cleaning up GL resources
16:54:51 T:4110612224 DEBUG: CLinuxRendererGL::PreInit - precision of luminance 16 is 16
16:54:51 T:3976522560 NOTICE: Thread CDVDPlayer start, auto delete: false
16:54:51 T:3976522560 NOTICE: Creating InputStream
16:54:51 T:3976522560 ERROR: CDVDPlayer::OpenInputStream - error opening [/share/Video/lastvegas-tlr3_h1080p.mov]
16:54:51 T:3976522560 NOTICE: CDVDPlayer::OnExit()
16:54:51 T:3976522560 NOTICE: CDVDPlayer::OnExit() deleting input stream
16:54:51 T:3976522560 DEBUG: Thread CDVDPlayer 3976522560 terminating
16:54:51 T:4110612224 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
16:54:51 T:4110612224 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
16:54:51 T:4110612224 ERROR: Playlist Player: skipping unplayable item: 0, path [/share/Video/lastvegas-tlr3_h1080p.mov]
16:54:51 T:4110612224 DEBUG: Playlist Player: no more playable items... aborting playback
16:54:51 T:4110612224 NOTICE: CDVDPlayer::CloseFile()
16:54:51 T:4110612224 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:54:51 T:4110612224 NOTICE: DVDPlayer: waiting for threads to exit
16:54:51 T:4110612224 NOTICE: DVDPlayer: finished waiting