Jump to content

Playback problem


raptorjr

Recommended Posts

raptorjr

I've tried to search but had a hard time to find anything useful to help solve my problem.

 

I have Emby on Ubuntu, and the Kodi client running Ubuntu works fine. But then I thought I should install Kodi on a Windows client to be able to test things. Syncing works fine, but playback dont work.

This is what I get in the Kodi log:

 

17:52:00 T:14848  NOTICE: PLAY Called
17:52:00 T:13848  NOTICE: DVDPlayer: Opening: /media/multimedia/movies/Shade (2003)/Shade.2003.mkv
17:52:00 T:13848 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
17:52:00 T:16884  NOTICE: Thread DVDPlayer start, auto delete: false
17:52:00 T:16884  NOTICE: Creating InputStream
17:52:00 T:16884   ERROR: CDVDPlayer::OpenInputStream - error opening [/media/multimedia/movies/Shade (2003)/Shade.2003.mkv]
17:52:00 T:16884  NOTICE: CDVDPlayer::OnExit()
17:52:00 T:13848   ERROR: Playlist Player: skipping unplayable item: 0, path [/media/multimedia/movies/Shade (2003)/Shade.2003.mkv]
17:52:00 T:13848  NOTICE: CDVDPlayer::CloseFile()
17:52:00 T:13848  NOTICE: DVDPlayer: waiting for threads to exit
17:52:00 T:13848  NOTICE: DVDPlayer: finished waiting
17:52:00 T:13848  NOTICE: CDVDPlayer::CloseFile()
17:52:00 T:13848  NOTICE: DVDPlayer: waiting for threads to exit
17:52:00 T:13848  NOTICE: DVDPlayer: finished waiting
17:52:00 T:14392  NOTICE: EMBY Player -> onPlayBackStopped
17:52:03 T:13848   ERROR: Playlist Player: skipping unplayable item: -1, path [plugin://plugin.video.emby/movies/547edda62e0993ff21ed10969d883801/?id=547edda62e0993ff21ed10969d883801&mode=play]
17:52:03 T:13848 WARNING: Attempt to set unplayable index -1

 

I do understand that the direct path to the file dont work, but shouldn't the file be streamed to the client if that fails? Maybe there is some setting i'm missing? But I guess that it should be possible to have Kodi on different clients/OS and all could use Emby server as the provider for files?

Link to comment
Share on other sites

xnappo

No - you need to fix your path setup in Emby Server or you can turn on 'Play from HTTP instead of SMB' as a work-around.

Edited by xnappo
Link to comment
Share on other sites

raptorjr

Ok, so I should use path substitution to fix that?

 

Anyway, tried to enable HTTP instead, and got this in the log:

 

18:51:14 T:20524  NOTICE: -->Python Interpreter Initialized<--
18:51:14 T:20524  NOTICE: Parameter string: ?id=dc5156e65490a6d9d4a95015aadce854&mode=play
18:51:14 T:20524  NOTICE: PLAY Called
18:51:14 T:13848  NOTICE: DVDPlayer: Opening: http://192.168.1.10:8096/mediabrowser/Videos/dc5156e65490a6d9d4a95015aadce854/stream?static=true&AudioStreamIndex=1
18:51:14 T:13848 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:51:14 T:20248  NOTICE: Thread DVDPlayer start, auto delete: false
18:51:14 T:20248  NOTICE: Creating InputStream
18:51:14 T:20248  NOTICE: Creating Demuxer
18:51:14 T:19596  NOTICE: Thread FileCache start, auto delete: false
18:51:14 T:20248  NOTICE: Opening stream: 0 source: 256
18:51:14 T:20248  NOTICE: Creating video codec with codec id: 28
18:51:14 T:20248  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
18:51:14 T:20248  NOTICE: Creating video thread
18:51:14 T:20248  NOTICE: Opening stream: 1 source: 256
18:51:14 T:20248  NOTICE: Finding audio codec for: 86018
18:51:14 T:21500  NOTICE: Thread DVDPlayerVideo start, auto delete: false
18:51:14 T:21500  NOTICE: running thread: video_thread
18:51:14 T:20248  NOTICE: Creating audio thread
18:51:14 T:20248  NOTICE: Opening stream: 2 source: 256
18:51:14 T:15776  NOTICE: Thread DVDPlayerAudio start, auto delete: false
18:51:14 T:15776  NOTICE: running thread: CDVDPlayerAudio::Process()
18:51:14 T:21500  NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating DXVA(1280x688)
18:51:14 T:15776  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
18:51:14 T:21500  NOTICE:  fps: 23.976024, pwidth: 1280, pheight: 688, dwidth: 1280, dheight: 688
18:51:14 T:21500  NOTICE: Display resolution DESKTOP : 1920x1080@ 60.00 - Full Screen (16)
18:51:14 T:21500  NOTICE: D3D: rendering method forced to DXVA processor
18:51:14 T:13848   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby/movies/dc5156e65490a6d9d4a95015aadce854/?id=dc5156e65490a6d9d4a95015aadce854&mode=play]
18:51:14 T:13848 WARNING: CWinRenderer::UpdateVideoFilter - chosen scaling method 1 is not supported by renderer
18:51:14 T:13848  NOTICE: CDVDPlayer::CloseFile()
18:51:14 T:13848  NOTICE: DVDPlayer: waiting for threads to exit
18:51:14 T:20248  NOTICE: CDVDPlayer::OnExit()
18:51:14 T:20248  NOTICE: Closing stream player 1
18:51:14 T:20248  NOTICE: Waiting for audio thread to exit
18:51:14 T:15776  NOTICE: thread end: CDVDPlayerAudio::OnExit()
18:51:14 T:20248  NOTICE: Closing audio device
18:51:14 T:20248  NOTICE: Deleting audio codec
18:51:14 T:20248  NOTICE: Closing stream player 2
18:51:14 T:20248  NOTICE: waiting for video thread to exit
18:51:14 T:21500  NOTICE: thread end: video_thread
18:51:14 T:20248  NOTICE: deleting video codec
18:51:14 T:20248  NOTICE: DXVA::CDecoder::Close - closing decoder
18:51:14 T:20248  NOTICE: DXVA::Close - closing decoder context
18:51:14 T:20248  NOTICE: Closing stream player 3
18:51:14 T:13848  NOTICE: DVDPlayer: finished waiting
18:51:14 T:13848  NOTICE: CDVDPlayer::CloseFile()
18:51:14 T:13848  NOTICE: DVDPlayer: waiting for threads to exit
18:51:14 T:13848  NOTICE: DVDPlayer: finished waiting
18:51:14 T:14392  NOTICE: EMBY Player -> onPlayBackStopped
 

Link to comment
Share on other sites

raptorjr

I enabled path substitution, but get similar output as above. But I see that the path is correct. And it shouldn't be a permission problem, since I can open the file from Explorer.

 

18:57:34 T:20612  NOTICE: PLAY Called
18:57:34 T:13848  NOTICE: DVDPlayer: Opening: Z:\movies\Fracture (2007) [1080p]\Fracture.2007.1080p.mp4
18:57:34 T:13848 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:57:34 T:16680  NOTICE: Thread DVDPlayer start, auto delete: false
18:57:34 T:16680  NOTICE: Creating InputStream
18:57:34 T:16680  NOTICE: Creating Demuxer
18:57:36 T:16680  NOTICE: Opening stream: 0 source: 256
18:57:36 T:16680  NOTICE: Creating video codec with codec id: 28
18:57:36 T:16680  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
18:57:36 T:16680  NOTICE: Creating video thread
18:57:36 T:16680  NOTICE: Opening stream: 1 source: 256
18:57:36 T:16680  NOTICE: Finding audio codec for: 86018
18:57:36 T:20780  NOTICE: Thread DVDPlayerVideo start, auto delete: false
18:57:36 T:20780  NOTICE: running thread: video_thread
18:57:36 T:16680  NOTICE: Creating audio thread
18:57:36 T:16680  NOTICE: Opening stream: 0 source: 1024
18:57:36 T:19760  NOTICE: Thread DVDPlayerAudio start, auto delete: false
18:57:36 T:19760  NOTICE: running thread: CDVDPlayerAudio::Process()
18:57:36 T:20780  NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating DXVA(1920x816)
18:57:36 T:19760  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
18:57:36 T:19760  NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 42
18:57:36 T:20780  NOTICE:  fps: 23.976024, pwidth: 1920, pheight: 816, dwidth: 1920, dheight: 816
18:57:36 T:20780  NOTICE: Display resolution DESKTOP : 1920x1080@ 60.00 - Full Screen (16)
18:57:36 T:20780  NOTICE: D3D: rendering method forced to DXVA processor
18:57:36 T:13848   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby/movies/4cfed4fa6940776b6e4982c84d4e8173/?id=4cfed4fa6940776b6e4982c84d4e8173&mode=play]
18:57:36 T:13848 WARNING: CWinRenderer::UpdateVideoFilter - chosen scaling method 1 is not supported by renderer
18:57:36 T:13848  NOTICE: CDVDPlayer::CloseFile()
18:57:36 T:13848  NOTICE: DVDPlayer: waiting for threads to exit
18:57:36 T:16680  NOTICE: CDVDPlayer::OnExit()
18:57:36 T:16680  NOTICE: Closing stream player 1
18:57:36 T:16680  NOTICE: Waiting for audio thread to exit
18:57:36 T:19760  NOTICE: thread end: CDVDPlayerAudio::OnExit()
18:57:36 T:16680  NOTICE: Closing audio device
18:57:36 T:14320  NOTICE: EMBY WebSocketThread -> Message : {"MessageType":"PlaybackStopped","Data":{"SupportedCommands":["MoveUp","MoveDown","MoveLeft","MoveRight","Select","Back","ToggleContextMenu","ToggleFullscreen","ToggleOsdMenu","GoHome","PageUp","NextLetter","GoToSearch","GoToSettings","PageDown","PreviousLetter","TakeScreenshot","VolumeUp","VolumeDown","ToggleMute","SendString","DisplayMessage","Mute","Unmute","SetVolume","Play","Playstate","PlayNext"],"QueueableMediaTypes":["Video"],"PlayableMediaTypes":["Audio","Video"],"Id":"01c7e489c3fffe9ffb04006031fc361b","UserId":"420e2d15f21a49ca8080a94e21fec302","UserName":"Stefan","AdditionalUsers":[],"ApplicationVersion":"1.0.02","Client":"Kodi","LastActivityDate":"2015-06-06T16:57:33.8231390Z","DeviceName":"Kodi","DeviceId":"A302F84F96C04E1AA128D982D165CCD7","SupportsRemoteControl":true,"PlayState":{"CanSeek":false,"IsPaused":false,"IsMuted":false}}}
18:57:36 T:16680  NOTICE: Deleting audio codec
18:57:36 T:16680  NOTICE: Closing stream player 2
18:57:36 T:16680  NOTICE: waiting for video thread to exit
18:57:36 T:20780  NOTICE: thread end: video_thread
18:57:36 T:16680  NOTICE: deleting video codec
18:57:36 T:16680  NOTICE: DXVA::CDecoder::Close - closing decoder
18:57:36 T:16680  NOTICE: DXVA::Close - closing decoder context
18:57:36 T:16680  NOTICE: Closing stream player 3
18:57:36 T:13848  NOTICE: DVDPlayer: finished waiting
18:57:36 T:13848  NOTICE: CDVDPlayer::CloseFile()
18:57:36 T:13848  NOTICE: DVDPlayer: waiting for threads to exit
18:57:36 T:13848  NOTICE: DVDPlayer: finished waiting
18:57:36 T:14392  NOTICE: EMBY Player -> onPlayBackStopped

Link to comment
Share on other sites

raptorjr

Thank you for helping me. I actually find it a little amazing how big patient people have on this forum. Even stupid people get answered =)

 

Anyway, a small step forward, but still not playing:

 

19:44:19 T:23516  NOTICE: PLAY Called
19:44:19 T:13848  NOTICE: DVDPlayer: Opening: smb://192.168.1.10/multimedia/movies/Shade (2003)/Shade.2003.mkv
19:44:19 T:13848 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:44:19 T:23272  NOTICE: Thread DVDPlayer start, auto delete: false
19:44:19 T:23272  NOTICE: Creating InputStream
19:44:19 T:23272  NOTICE: Creating Demuxer
19:44:19 T:23272  NOTICE: Opening stream: 0 source: 256
19:44:19 T:23272  NOTICE: Creating video codec with codec id: 13
19:44:19 T:23272  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
19:44:19 T:23272  NOTICE: Creating video thread
19:44:19 T:23272  NOTICE: Opening stream: 1 source: 256
19:44:19 T:23272  NOTICE: Finding audio codec for: 86017
19:44:19 T:23272  NOTICE: Creating audio thread
19:44:19 T:22692  NOTICE: Thread DVDPlayerVideo start, auto delete: false
19:44:19 T:22692  NOTICE: running thread: video_thread
19:44:19 T:23272  NOTICE: Opening stream: 0 source: 1024
19:44:19 T:23488  NOTICE: Thread DVDPlayerAudio start, auto delete: false
19:44:19 T:23488  NOTICE: running thread: CDVDPlayerAudio::Process()
19:44:20 T:23488  NOTICE: Creating audio stream (codec id: 86017, channels: 2, sample rate: 48000, no pass-through)
19:44:20 T:22692  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
19:44:20 T:22692  NOTICE:  fps: 25.000000, pwidth: 640, pheight: 256, dwidth: 640, dheight: 256
19:44:20 T:22692  NOTICE: Display resolution DESKTOP : 1920x1080@ 60.00 - Full Screen (16)
19:44:20 T:13848   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby/movies/547edda62e0993ff21ed10969d883801/?id=547edda62e0993ff21ed10969d883801&mode=play]
19:44:20 T:13848  NOTICE: CDVDPlayer::CloseFile()
19:44:20 T:13848  NOTICE: DVDPlayer: waiting for threads to exit
19:44:20 T:23272  NOTICE: CDVDPlayer::OnExit()
19:44:20 T:23272  NOTICE: Closing stream player 1
19:44:20 T:23272  NOTICE: Waiting for audio thread to exit
19:44:20 T:23488  NOTICE: thread end: CDVDPlayerAudio::OnExit()
19:44:20 T:23272  NOTICE: Closing audio device
19:44:20 T:23272  NOTICE: Deleting audio codec
19:44:20 T:23272  NOTICE: Closing stream player 2
19:44:20 T:23272  NOTICE: waiting for video thread to exit
19:44:20 T:14320  NOTICE: EMBY WebSocketThread -> Message : {"MessageType":"PlaybackStopped","Data":{"SupportedCommands":["MoveUp","MoveDown","MoveLeft","MoveRight","Select","Back","ToggleContextMenu","ToggleFullscreen","ToggleOsdMenu","GoHome","PageUp","NextLetter","GoToSearch","GoToSettings","PageDown","PreviousLetter","TakeScreenshot","VolumeUp","VolumeDown","ToggleMute","SendString","DisplayMessage","Mute","Unmute","SetVolume","Play","Playstate","PlayNext"],"QueueableMediaTypes":["Video"],"PlayableMediaTypes":["Audio","Video"],"Id":"01c7e489c3fffe9ffb04006031fc361b","UserId":"420e2d15f21a49ca8080a94e21fec302","UserName":"Stefan","AdditionalUsers":[],"ApplicationVersion":"1.0.02","Client":"Kodi","LastActivityDate":"2015-06-06T17:44:17.3386770Z","DeviceName":"Kodi","DeviceId":"A302F84F96C04E1AA128D982D165CCD7","SupportsRemoteControl":true,"PlayState":{"CanSeek":false,"IsPaused":false,"IsMuted":false}}}
19:44:20 T:22692  NOTICE: thread end: video_thread
19:44:20 T:23272  NOTICE: deleting video codec
19:44:20 T:23272  NOTICE: Closing stream player 3
19:44:20 T:13848  NOTICE: DVDPlayer: finished waiting
19:44:20 T:13848  NOTICE: CDVDPlayer::CloseFile()
19:44:20 T:13848  NOTICE: DVDPlayer: waiting for threads to exit
19:44:20 T:13848  NOTICE: DVDPlayer: finished waiting
19:44:20 T:14392  NOTICE: EMBY Player -> onPlayBackStopped

Link to comment
Share on other sites

xnappo

Okay.. Now that looks pretty much right.  What version are you using beta or stable?

 

xnappo

Link to comment
Share on other sites

raptorjr

The server:

2015-06-06 15:40:08.9723 Info - Main: Emby	Command line: /opt/emby-server/MediaBrowser.Server.Mono.exe -programdata /media/multimedia/emby	Operating system: Unix 3.13.0.52	Processor count: 2	64-Bit OS: True	64-Bit Process: True	Program data path: /media/multimedia/emby	Mono: 4.0.1 (tarball Tue May 26 04:28:10 UTC 2015)	Application Path: /opt/emby-server/MediaBrowser.Server.Mono.exe2015-06-06 15:40:09.3228 Info - App: Application version: 3.0.5621.42015-06-06 15:40:09.4344 Info - App: Application configuration:

And Emby for Kodi is version 1.0.02.

 

It should be beta, at least that is my intention. I always have a hard time to wait for features and things when I see them added to the source. And don't mind reporting bugs as I find them.

 

Sorry, missed the Kodi version: Kodi 15.0-BETA2

Edited by raptorjr
Link to comment
Share on other sites

xnappo

Oh - that is the problem 0.02 has a bug.  Go to the repo and do force refresh and you should get .03 which should fix this.  We will hopefully have .04 out later today with an announcement of some great new features.  .02 and .03 and definitely test releases and may have bugs!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...