Hi All,
my setup is the following:
raspberry pi3 jessie
Linux version 4.1.20-v7+ (root@raspberrypi) (gcc version 4.9.2 (Raspbian 4.9.2-10) ) #1 SMP Mon Mar 28 00:31:29 CEST 2016
Kodi 16.1
lcd 7″ and monitor to hdmi port
i use omxplayer like external player;
here is my playercorefactory.xml:
<playercorefactory>
<players>
<player name=”omxplayer” type=”ExternalPlayer” video=”true”>
<filename>omxplayer</filename>
<args>–display=5 –adev=both –genlog</args>
<forceontop>true</forceontop>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<hidecursor>false</hidecursor>
</player>
</players>
<rules action=”prepend”>
<rule name=”local-videos” audio=”false” video=”true”
internetstream=”false” filetypes=”.*” player=”omxplayer” />
<rule name=”smb” audio=”false” video=”true”
internetstream=”false” filetypes=”.*” player=”omxplayer” />
</rules>
</playercorefactory>
all works properly if i play video from usb media or sd media but if
i play video from nas e.g smb://QN131/Multimedia/Film/’71.2014.iTALiAN.AC3._.avi
the playing process stops immediately with “ExecuteAppLinux: Failure: 256” notice log
Please, what could be the issue? Thanks in advance
Suricato
Here is the log:
23:20:50 14134.977539 T:1944547328 DEBUG: ProcessMouse: trying mouse action leftclick
23:20:54 14139.355469 T:1944547328 DEBUG: OnPlayMedia smb://QN131/Multimedia/Film/’71.2014.iTALiAN.AC3._.avi
23:20:55 14140.100586 T:1944547328 DEBUG: CAnnouncementManager – Announcement: OnAdd from xbmc
23:20:55 14140.100586 T:1944547328 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
23:20:55 14140.126953 T:1944547328 DEBUG: Loading settings for smb://QN131/Multimedia/Film/’71.2014.iTALiAN.AC3._.avi
23:20:55 14140.146484 T:1944547328 DEBUG: CPlayerCoreFactory::GetPlayers(smb://QN131/Multimedia/Film/’71.2014.iTALiAN.AC3._.avi)
23:20:55 14140.147461 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
23:20:55 14140.147461 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
23:20:55 14140.147461 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: local-videos
23:20:55 14140.147461 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: local-videos
23:20:55 14140.147461 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: adding player: omxplayer (4) for rule: local-videos
23:20:55 14140.147461 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
23:20:55 14140.147461 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
23:20:55 14140.148438 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
23:20:55 14140.148438 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
23:20:55 14140.148438 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
23:20:55 14140.148438 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
23:20:55 14140.148438 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
23:20:55 14140.149414 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
23:20:55 14140.149414 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
23:20:55 14140.149414 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
23:20:55 14140.149414 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
23:20:55 14140.149414 T:1944547328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
23:20:55 14140.149414 T:1944547328 DEBUG: CPlayerCoreFactory::GetPlayers: matched 1 rules with players
23:20:55 14140.149414 T:1944547328 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
23:20:55 14140.149414 T:1944547328 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
23:20:55 14140.149414 T:1944547328 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: omxplayer (4)
23:20:55 14140.150391 T:1944547328 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
23:20:55 14140.150391 T:1944547328 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
23:20:55 14140.150391 T:1944547328 DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
23:20:55 14140.150391 T:1944547328 NOTICE: ExternalPlayer Filename: omxplayer
23:20:55 14140.150391 T:1944547328 NOTICE: ExternalPlayer Tweaks: hideconsole (false), hidexbmc (false), islauncher (false), warpcursor ()
23:20:55 14140.150391 T:1944547328 NOTICE: OpenFile: smb://QN131/Multimedia/Film/’71.2014.iTALiAN.AC3._.avi
23:20:55 14140.150391 T:1944547328 DEBUG: PlayFile: OpenFile succeed, play state 1
23:20:55 14140.150391 T:1529869232 DEBUG: Thread ExternalPlayer start, auto delete: false
23:20:55 14140.151367 T:1529869232 NOTICE: Process: Player : omxplayer
23:20:55 14140.151367 T:1529869232 NOTICE: Process: File : smb://QN131/Multimedia/Film/’71.2014.iTALiAN.AC3._.avi
23:20:55 14140.151367 T:1529869232 NOTICE: Process: Content:
23:20:55 14140.151367 T:1529869232 NOTICE: Process: Args : –display=5 –adev=both
23:20:55 14140.151367 T:1529869232 NOTICE: Process: Start
23:20:55 14140.174805 T:1944547328 DEBUG: Percentage is 0.000000
23:20:55 14140.202148 T:1529869232 DEBUG: OnPlayBackStarted: play state was 1, starting 0
23:20:55 14140.202148 T:1529869232 NOTICE: ExecuteAppLinux: “omxplayer” –display=5 –adev=both “smb://QN131/Multimedia/Film/’71.2014.iTALiAN.AC3._.avi”
23:20:55 14140.203125 T:1924133808 DEBUG: Failed to connect to LIRC. Giving up.
23:20:55 14140.203125 T:1924133808 DEBUG: Thread RemoteControl 1924133808 terminating
23:20:55 14140.203125 T:1529869232 INFO: LIRC SetEnabled: disabled
23:20:55 14140.215820 T:1944547328 DEBUG: CGUIInfoManager::SetCurrentMovie(smb://QN131/Multimedia/Film/’71.2014.iTALiAN.AC3._.avi)
23:20:55 14140.235352 T:1944547328 DEBUG: GetMovieId (smb://QN131/Multimedia/Film/’71.2014.iTALiAN.AC3._.avi), query = select idMovie from movie where idFile=315
23:20:55 14140.509766 T:1944547328 DEBUG: CAnnouncementManager – Announcement: OnPlay from xbmc
23:20:55 14140.510742 T:1944547328 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
23:20:55 14140.510742 T:1944547328 DEBUG: UPnP: Building didl for object ‘smb://QN131/Multimedia/Film/’71.2014.iTALiAN.AC3._.avi’
23:20:55 14140.557617 T:1735246768 DEBUG: XBMC Event – onPlayMovie
23:20:56 14140.700195 T:1944547328 DEBUG: Percentage is 0.000000
23:20:57 14141.679688 T:1529869232 DEBUG: Previous line repeats 1 times.
23:20:57 14141.679688 T:1529869232 NOTICE: ExecuteAppLinux: Failure: 256
23:20:57 14141.680664 T:1924133808 DEBUG: Thread RemoteControl start, auto delete: false
23:20:57 14141.680664 T:1924133808 INFO: LIRC Process: using: /var/run/lirc/lircd
23:20:57 14141.680664 T:1924133808 INFO: LIRC Connect: connect failed: No such file or directory
23:20:57 14141.680664 T:1924133808 INFO: CRemoteControl::Process – failed to connect to LIRC, will keep retrying every 5 seconds
23:20:57 14141.680664 T:1529869232 NOTICE: Process: Stop
23:20:57 14141.681641 T:1529869232 NOTICE: Process: Showing Kodi window
23:20:57 14141.692383 T:1867506608 INFO: CAESinkALSA – Unable to open device “surround71” for playback
23:20:57 14141.698242 T:1867506608 INFO: CAESinkALSA – Unable to open device “surround51” for playback
23:20:57 14141.698242 T:1867506608 INFO: CAESinkALSA – Unable to open device “surround71” for playback
23:20:57 14141.700195 T:1867506608 INFO: CAESinkALSA – Unable to open device “surround40” for playback
23:20:57 14141.701172 T:1867506608 INFO: CAESinkALSA – Unable to open device “surround51” for playback
23:20:57 14141.701172 T:1867506608 INFO: CAESinkALSA – Unable to open device “surround71” for playback
23:20:57 14142.063477 T:1735246768 DEBUG: XBMC Event – onStopMovie
23:20:58 14142.909180 T:1867506608 INFO: CAESinkALSA – Unable to open device “pulse” for playback
23:20:58 14142.910156 T:1867506608 NOTICE: Found 2 Lists of Devices
23:20:58 14142.910156 T:1867506608 NOTICE: Enumerated PI devices:
23:20:58 14142.911133 T:1867506608 NOTICE: Device 1
23:20:58 14142.911133 T:1867506608 NOTICE: m_deviceName : HDMI
23:20:58 14142.911133 T:1867506608 NOTICE: m_displayName : HDMI
23:20:58 14142.912109 T:1867506608 NOTICE: m_displayNameExtra:
23:20:58 14142.912109 T:1867506608 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
23:20:58 14142.912109 T:1867506608 NOTICE: m_channels : FL,FR
23:20:58 14142.913086 T:1867506608 NOTICE: m_sampleRates : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
23:20:58 14142.913086 T:1867506608 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
23:20:58 14142.913086 T:1867506608 NOTICE: Device 2
23:20:58 14142.914062 T:1867506608 NOTICE: m_deviceName : Analogue
23:20:58 14142.914062 T:1867506608 NOTICE: m_displayName : Analogue
23:20:58 14142.914062 T:1867506608 NOTICE: m_displayNameExtra:
23:20:58 14142.915039 T:1867506608 NOTICE: m_deviceType : AE_DEVTYPE_PCM
23:20:58 14142.915039 T:1867506608 NOTICE: m_channels : FL,FR
23:20:58 14142.915039 T:1867506608 NOTICE: m_sampleRates : 48000
23:20:58 14142.916016 T:1867506608 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
23:20:58 14142.916016 T:1867506608 NOTICE: Device 3
23:20:58 14142.916016 T:1867506608 NOTICE: m_deviceName : Both
23:20:58 14142.916992 T:1867506608 NOTICE: m_displayName : HDMI and Analogue
23:20:58 14142.916992 T:1867506608 NOTICE: m_displayNameExtra:
23:20:58 14142.916992 T:1867506608 NOTICE: m_deviceType : AE_DEVTYPE_PCM
23:20:58 14142.916992 T:1867506608 NOTICE: m_channels : FL,FR
23:20:58 14142.917969 T:1867506608 NOTICE: m_sampleRates : 48000
23:20:58 14142.917969 T:1867506608 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
23:20:58 14142.917969 T:1867506608 NOTICE: Enumerated ALSA devices:
23:20:58 14142.918945 T:1867506608 NOTICE: Device 1
23:20:58 14142.918945 T:1867506608 NOTICE: m_deviceName : @
23:20:58 14142.918945 T:1867506608 NOTICE: m_displayName : Default (snd_rpi_wsp Analog)
23:20:58 14142.919922 T:1867506608 NOTICE: m_displayNameExtra:
23:20:58 14142.919922 T:1867506608 NOTICE: m_deviceType : AE_DEVTYPE_PCM
23:20:58 14142.920898 T:1867506608 NOTICE: m_channels : FL,FR
23:20:58 14142.920898 T:1867506608 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
23:20:58 14142.920898 T:1867506608 NOTICE: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
23:20:58 14142.921875 T:1934619568 INFO: CActiveAESink::OpenSink – initialize sink
23:20:58 14142.921875 T:1934619568 DEBUG: CActiveAESink::OpenSink – trying to open device ALSA:@
23:20:58 14142.921875 T:1934619568 INFO: CAESinkALSA::Initialize – Attempting to open device “@”
23:20:58 14142.930664 T:1934619568 INFO: CAESinkALSA::Initialize – Opened device “sysdefault”
23:20:58 14142.932617 T:1934619568 INFO: CAESinkALSA::InitializeHW – Your hardware does not support AE_FMT_FLOAT, trying other formats
23:20:58 14142.933594 T:1934619568 INFO: CAESinkALSA::InitializeHW – Using data format AE_FMT_S24NE4
23:20:58 14142.933594 T:1934619568 DEBUG: CAESinkALSA::InitializeHW – Request: periodSize 2205, bufferSize 8820
23:20:58 14142.943359 T:1934619568 DEBUG: CAESinkALSA::InitializeHW – Got: periodSize 2205, bufferSize 8820
23:20:58 14142.943359 T:1934619568 DEBUG: CAESinkALSA::InitializeHW – Setting timeout to 200 ms
23:20:58 14142.944336 T:1934619568 DEBUG: CAESinkALSA::GetChannelLayout – Input Channel Count: 2 Output Channel Count: 2
23:20:58 14142.944336 T:1934619568 DEBUG: CAESinkALSA::GetChannelLayout – Requested Layout: FL,FR
23:20:58 14142.944336 T:1934619568 DEBUG: CAESinkALSA::GetChannelLayout – Got Layout: FL,FR (ALSA: none)
23:20:58 14142.944336 T:1934619568 DEBUG: CActiveAESink::OpenSink – ALSA Initialized:
23:20:58 14142.944336 T:1934619568 DEBUG: Output Device : Default (snd_rpi_wsp Analog)
23:20:58 14142.944336 T:1934619568 DEBUG: Sample Rate : 44100
23:20:58 14142.944336 T:1934619568 DEBUG: Sample Format : AE_FMT_S24NE4
23:20:58 14142.944336 T:1934619568 DEBUG: Channel Count : 2
23:20:58 14142.944336 T:1934619568 DEBUG: Channel Layout: FL,FR
23:20:58 14142.944336 T:1934619568 DEBUG: Frames : 2205
23:20:58 14142.944336 T:1934619568 DEBUG: Frame Samples : 4410
23:20:58 14142.945312 T:1934619568 DEBUG: Frame Size : 8
23:20:58 14142.952148 T:1867506608 DEBUG: CActiveAE::ClearDiscardedBuffers – buffer pool deleted
23:20:58 14142.953125 T:1529869232 DEBUG: OnPlayBackStopped: play state was 2, starting 0
23:20:58 14142.953125 T:1529869232 DEBUG: CAnnouncementManager – Announcement: OnStop from xbmc
23:20:58 14142.953125 T:1529869232 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
23:20:58 14142.953125 T:1529869232 DEBUG: Thread ExternalPlayer 1529869232 terminating
23:20:58 14143.279297 T:1538257840 DEBUG: DoWork – Saving file state for video item smb://QN131/Multimedia/Film/’71.2014.iTALiAN.AC3._.avi