Which VDR version with Openelec?
#16
You know how i can get a syslog.log with openelec.
Dont see anything in dmesg.
Reply
#17
Ok i found something else. If i start with my receiver off, i get this capabilities : and have to set xbmc to analog or hdmi wihout passtrough capabilities (which is normal)
Code:
21:16:26 T:3016268288  NOTICE: Enumerated ALSA devices:
21:16:26 T:3016268288  NOTICE:     Device 1
21:16:26 T:3016268288  NOTICE:         m_deviceName      : hdmi:CARD=NVidia,DEV=0
21:16:26 T:3016268288  NOTICE:         m_displayName     : HDA NVidia
21:16:26 T:3016268288  NOTICE:         m_displayNameExtra: HDMI
21:16:26 T:3016268288  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
21:16:26 T:3016268288  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR
21:16:26 T:3016268288  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
21:16:26 T:3016268288  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
21:16:26 T:3016268288  NOTICE:     Device 2
21:16:26 T:3016268288  NOTICE:         m_deviceName      : hdmi:CARD=NVidia,DEV=1
21:16:26 T:3016268288  NOTICE:         m_displayName     : HDA NVidia
21:16:26 T:3016268288  NOTICE:         m_displayNameExtra: SNY SONY TV on HDMI
21:16:26 T:3016268288  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
21:16:26 T:3016268288  NOTICE:         m_channels        : FL,FR
21:16:26 T:3016268288  NOTICE:         m_sampleRates     : 32000,44100,48000
21:16:26 T:3016268288  NOTICE:         m_dataFormats     : AE_FMT_LPCM,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
If i start with my receiver on i get this :
Code:
15:50:38 T:3016944128  NOTICE: Enumerated ALSA devices:
15:50:38 T:3016944128  NOTICE:     Device 1
15:50:38 T:3016944128  NOTICE:         m_deviceName      : hdmi:CARD=NVidia,DEV=0
15:50:38 T:3016944128  NOTICE:         m_displayName     : HDA NVidia
15:50:38 T:3016944128  NOTICE:         m_displayNameExtra: HDMI
15:50:38 T:3016944128  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
15:50:38 T:3016944128  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR
15:50:38 T:3016944128  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
15:50:38 T:3016944128  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
15:50:38 T:3016944128  NOTICE:     Device 2
15:50:38 T:3016944128  NOTICE:         m_deviceName      : hdmi:CARD=NVidia,DEV=1
15:50:38 T:3016944128  NOTICE:         m_displayName     : HDA NVidia
15:50:38 T:3016944128  NOTICE:         m_displayNameExtra: SNY SONY TV on HDMI
15:50:38 T:3016944128  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
15:50:38 T:3016944128  NOTICE:         m_channels        : FL,FR,LFE,FC,BL,BR,SL,SR
15:50:38 T:3016944128  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
15:50:38 T:3016944128  NOTICE:         m_dataFormats     : AE_FMT_LPCM,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3,AE_FMT_TRUEHD,AE_FMT_DTSHD,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE

With the receiver on and passtrough enabled everything works.

If i want my system to work even if the receiver is off (to watch tv in main case) i have to set audio capacities to hdmi without ac3 passtrough :
To watch tv (without receiver) everything will work even with e-ac3
To watch movies (DTS...) i will have to switch on my receiver.

that's kind of logical.
Reply
#18
Anyway now that i understand better how it works the only option for my system, which is kind of particular ^^, would be to have an e-ac3 passthrough option. Right now it uses ac3 passtrough option.
Reply
#19
I think audio should fall back to non pass through if high bit rate is not available. We have to talk to the audio guys.

Can you test those patches on my vnsi branch? I hope EAC3 works now but I can't test myself.
https://github.com/FernetMenta/xbmc-pvr-.../tree/vnsi
Reply
#20
Quote: I think audio should fall back to non pass through if high bit rate is not available. We have to talk to the audio guys.
Indeed, that's sound logical.
I get some e-ac3 sample on the web, will check if the problem is on tv only or with all videos. I already know that ac3 works fine for these case.
I just compil your new version but will have to wait tomorrow morning to test cause my familly is watching tv right now.
Reply
#21
Tried differents uses cases with this sample :

- start htpc without receiver on. With hdmi and passtrough AC3, i get the above problem and the video sutters like intv mode
- start htpc without receiver on. With hdmi and without passtrough AC3, i dont get the above problem
- start htpc with receiver on. With hdmi and with passtrough AC3, i dont get the above problem
- start htpc with receiver on then swith the receiver off. With hdmi and with passtrough AC3, i dont get the above problem ^^.

With your new addon always segfaults with this error on server (dont know how to have a more complete log for the addon) :
Code:
1344.820062] cLiveStreamer s[822]: segfault at a36025ca ip b707b9f2 sp b3c82260 error 4 in libvdr-nsiserver.so.1.7.31[b7066000+2d000]
With journalctl :
Code:
déc. 06 09:38:52 bibi_server vdr[982]: [982] switching to channel 1
déc. 06 09:38:52 bibi_server vdr[982]: [982] OSD size changed to 720x480 @ 1
déc. 06 09:38:52 bibi_server vdr[982]: [982] ERROR: no OSD provider available - using dummy OSD!
déc. 06 09:38:52 bibi_server vdr[982]: [989] VDR VNSI Server thread started (pid=982, tid=989)
déc. 06 09:38:52 bibi_server vdr[982]: [989] loading /var/lib/vdr/plugins/vnsiserver/allowed_hosts.conf
déc. 06 09:38:52 bibi_server vdr[982]: [989] VNSI: Client with ID 0 connected: 192.168.0.12:46689
déc. 06 09:38:52 bibi_server vdr[982]: [990] VNSI: Welcome client 'XBMC Media Center' with protocol version '3'
déc. 06 09:38:54 bibi_server vdr[982]: [988] setstatus 0
déc. 06 09:38:54 bibi_server vdr[982]: [988] setstatus 1
déc. 06 09:38:54 bibi_server vdr[982]: [988] Filter Pid:0,Tid:0 added.
déc. 06 09:38:55 bibi_server vdr[982]: [988] PMT scan idle
déc. 06 09:38:55 bibi_server vdr[982]: [988] EEPG: Ended all processing
déc. 06 09:38:58 bibi_server kernel: dvb_frontend_poll: 22 callbacks suppressed
déc. 06 09:39:01 bibi_server vdr[982]: [989] loading /var/lib/vdr/plugins/vnsiserver/allowed_hosts.conf
déc. 06 09:39:01 bibi_server vdr[982]: [989] VNSI: Client with ID 1 connected: 192.168.0.12:46690
déc. 06 09:39:01 bibi_server vdr[982]: [993] VNSI: Welcome client 'XBMC Media Center' with protocol version '3'
déc. 06 09:39:02 bibi_server vdr[982]: [993] setstatus 0
déc. 06 09:39:02 bibi_server vdr[982]: [993] VNSI: Creating new live Receiver
déc. 06 09:39:02 bibi_server vdr[982]: [993] VNSI: Successfully switched to channel 3 - France 3
déc. 06 09:39:02 bibi_server vdr[982]: [993] VNSI: Started streaming of channel France 3 (timeout 10 seconds)
déc. 06 09:39:02 bibi_server vdr[982]: [995] receiver on device 1 thread started (pid=982, tid=995)
déc. 06 09:39:02 bibi_server vdr[982]: [994] cLiveStreamer stream processor thread started (pid=982, tid=994)
déc. 06 09:39:02 bibi_server vdr[982]: [996] TS buffer on device 1 thread started (pid=982, tid=996)
déc. 06 09:39:03 bibi_server kernel: dvb_frontend_poll: 9 callbacks suppressed
déc. 06 09:39:04 bibi_server vdr[982]: [994] VNSI: Got no PMT, using channel conf for creating demuxers
déc. 06 09:39:04 bibi_server vdr[982]: [994] VNSI: Created stream demuxer for pid=220 and type=6
déc. 06 09:39:04 bibi_server vdr[982]: [994] VNSI: Created stream demuxer for pid=230 and type=2
déc. 06 09:39:04 bibi_server vdr[982]: [994] VNSI: Created stream demuxer for pid=231 and type=2
déc. 06 09:39:04 bibi_server vdr[982]: [996] TS buffer on device 1 thread ended (pid=982, tid=996)
déc. 06 09:39:04 bibi_server vdr[982]: [995] buffer stats: 60160 (1%) used
déc. 06 09:39:04 bibi_server vdr[982]: [995] receiver on device 1 thread ended (pid=982, tid=995)
déc. 06 09:39:04 bibi_server vdr[982]: [998] receiver on device 1 thread started (pid=982, tid=998)
déc. 06 09:39:04 bibi_server vdr[982]: [999] TS buffer on device 1 thread started (pid=982, tid=999)
déc. 06 09:39:04 bibi_server vdr[982]: [988] setstatus 0
déc. 06 09:39:04 bibi_server vdr[982]: [988] setstatus 1
déc. 06 09:39:04 bibi_server vdr[982]: [988] Filter Pid:0,Tid:0 added.
déc. 06 09:39:04 bibi_server vdr[982]: [999] TS buffer on device 1 thread ended (pid=982, tid=999)
déc. 06 09:39:04 bibi_server vdr[982]: [998] buffer stats: 67492 (1%) used
déc. 06 09:39:04 bibi_server vdr[982]: [998] receiver on device 1 thread ended (pid=982, tid=998)
déc. 06 09:39:04 bibi_server vdr[982]: [989] VNSI: Requesting clients to reload channel list
déc. 06 09:39:04 bibi_server vdr[982]: [1000] receiver on device 1 thread started (pid=982, tid=1000)
déc. 06 09:39:04 bibi_server vdr[982]: [1001] TS buffer on device 1 thread started (pid=982, tid=1001)
déc. 06 09:39:04 bibi_server vdr[982]: [989] VNSI: Requesting clients to reload channel list
déc. 06 09:39:04 bibi_server vdr[982]: [989] VNSI: Requesting clients to reload channel list
déc. 06 09:39:04 bibi_server vdr[982]: [994] VNSI: streaming of channel started
déc. 06 09:39:04 bibi_server vdr[982]: [994] VNSI: sending 9 buffered packets
déc. 06 09:39:04 bibi_server vdr[982]: [994] VNSI: sending 9 buffered packets
déc. 06 09:39:04 bibi_server vdr[982]: [988] PMT scan idle
déc. 06 09:39:04 bibi_server vdr[982]: [988] EEPG: Ended all processing
déc. 06 09:39:05 bibi_server vdr[982]: [989] VNSI: Requesting clients to reload channel list
déc. 06 09:39:08 bibi_server kernel: dvb_frontend_poll: 1 callbacks suppressed
déc. 06 09:39:10 bibi_server vdr[982]: [994] VNSI: returning from streamer thread, receiver is no more attached
déc. 06 09:39:10 bibi_server vdr[982]: [994] VNSI: exit streamer thread
déc. 06 09:39:10 bibi_server vdr[982]: [994] cLiveStreamer stream processor thread ended (pid=982, tid=994)
déc. 06 09:39:10 bibi_server vdr[982]: [993] buffer stats: 490868 (15%) used
déc. 06 09:39:10 bibi_server vdr[982]: [993] setstatus 0
déc. 06 09:39:10 bibi_server vdr[982]: [993] VNSI: Creating new live Receiver
déc. 06 09:39:10 bibi_server vdr[982]: [1002] cLiveStreamer stream processor thread started (pid=982, tid=1002)
déc. 06 09:39:10 bibi_server vdr[982]: [1001] TS buffer on device 1 thread ended (pid=982, tid=1001)
déc. 06 09:39:10 bibi_server vdr[982]: [1000] buffer stats: 65236 (1%) used
déc. 06 09:39:11 bibi_server vdr[982]: [1000] receiver on device 1 thread ended (pid=982, tid=1000)
déc. 06 09:39:11 bibi_server vdr[982]: [993] VNSI: Successfully switched to channel 2 - France 2 HD
déc. 06 09:39:11 bibi_server vdr[982]: [993] VNSI: Started streaming of channel France 2 HD (timeout 10 seconds)
déc. 06 09:39:11 bibi_server vdr[982]: [1003] receiver on device 1 thread started (pid=982, tid=1003)
déc. 06 09:39:11 bibi_server vdr[982]: [1004] TS buffer on device 1 thread started (pid=982, tid=1004)
déc. 06 09:39:12 bibi_server vdr[982]: [1002] VNSI: Got no PMT, using channel conf for creating demuxers
déc. 06 09:39:12 bibi_server vdr[982]: [1002] VNSI: Created stream demuxer for pid=220 and type=7
déc. 06 09:39:12 bibi_server vdr[982]: [1002] VNSI: Created stream demuxer for pid=230 and type=1
déc. 06 09:39:12 bibi_server vdr[982]: [1002] VNSI: Created stream demuxer for pid=240 and type=1
déc. 06 09:39:12 bibi_server vdr[982]: [1002] VNSI: Created stream demuxer for pid=32 and type=8
déc. 06 09:39:12 bibi_server vdr[982]: [1004] TS buffer on device 1 thread ended (pid=982, tid=1004)
déc. 06 09:39:12 bibi_server vdr[982]: [1003] buffer stats: 10528 (0%) used
déc. 06 09:39:12 bibi_server vdr[982]: [1003] receiver on device 1 thread ended (pid=982, tid=1003)
déc. 06 09:39:12 bibi_server vdr[982]: [1006] receiver on device 1 thread started (pid=982, tid=1006)
déc. 06 09:39:12 bibi_server vdr[982]: [1007] TS buffer on device 1 thread started (pid=982, tid=1007)
déc. 06 09:39:12 bibi_server vdr[982]: [988] setstatus 0
déc. 06 09:39:12 bibi_server vdr[982]: [988] setstatus 1
déc. 06 09:39:12 bibi_server vdr[982]: [988] Filter Pid:0,Tid:0 added.
déc. 06 09:39:12 bibi_server vdr[982]: [1007] TS buffer on device 1 thread ended (pid=982, tid=1007)
déc. 06 09:39:12 bibi_server vdr[982]: [1006] buffer stats: 74260 (1%) used
déc. 06 09:39:12 bibi_server vdr[982]: [1006] receiver on device 1 thread ended (pid=982, tid=1006)
déc. 06 09:39:12 bibi_server vdr[982]: [1008] receiver on device 1 thread started (pid=982, tid=1008)
déc. 06 09:39:12 bibi_server vdr[982]: [1009] TS buffer on device 1 thread started (pid=982, tid=1009)
déc. 06 09:39:12 bibi_server vdr[982]: [989] VNSI: Requesting clients to reload channel list
déc. 06 09:39:12 bibi_server kernel: cLiveStreamer s[1002]: segfault at 6ebe5fe1 ip b702f9f2 sp b3c11260 error 4 in libvdr-vnsiserver.so.1.7.31[b701a000+2d000]
déc. 06 09:39:13 bibi_server systemd[1]: vdr.service: main process exited, code=killed, status=11/SEGV
déc. 06 09:39:13 bibi_server systemd[1]: Unit vdr.service entered failed state
In user.log
http://xbmclogs.com/show.php?id=18489

Reply
#22
That's strange, no you don't get pmt at all.

I added some debug messages. Could you compile the new version on my vnsi branch with debug switch:
make VDRDIR=<path to vdr> LIBDIR=<path to plugins> DEFINES=-DDEBUG
Reply
#23
When you talk aboutvnsi branch you talk about the xbmc addon or the vdr addon ?
For the xbmc addon i use the generic way to compil (compil all to zip),.
Reply
#24
I mean both, addon and vdr plugin. I just pushed some new patches to my vnsi branch.
Reply
#25
Ok, i'm compiling xbmc addon, but i dont understandt how to compil vdr addon. When i go to vdr-plugin-vnsi from your repo what must i do ? make gives me an error.
Well cant compil xbmc addon too. I did that :
./bootstrap
./configure
make DEFINES=-DDEBUG zip

which gives me :
src/fortherecordrpc.cpp:240:2: error: #error implement for your OS!

Usually i use AUR to compil, so excuse me for my lack of knowledge ^^ (make zip works).

Ok just succeed without DDEBUG, butr with it i get :

Code:
make VDRDIR=/usr/include/vdr/ LBDIR=/usr/lib/vdr/plugins/ DEFINES=-DDEBUG
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -DDEBUG -I/usr/include/vdr//include -I/usr/include/vdr/ vnsi.c
vnsi.c: In member function ‘virtual bool cPluginVNSIServer::Initialize()’:
vnsi.c:68:54: erreur: ‘PLUGIN_NAME_I18N’ was not declared in this scope
make: *** [vnsi.o] Erreur 1

vdr: /usr/lib/vdr/plugins/libvdr-vnsi.so.1.7.31: undefined symbol: _ZN10cIndexFile3GetEiPtPlPbPi
Reply
#26
In the meantime I added a debug switch to the plugin's make file. TO compile with debug do:
make VDRDIR=/usr/include/vdr/ LBDIR=/usr/lib/vdr/plugins/ DEBUG=1

Make sure you have pulled the latest version.
Reply
#27
Ok. Did a fresh compil, but cant connect to vdr server.
Here xbmc.log : http://xbmclogs.com/show.php?id=19665
Here vdr log : http://xbmclogs.com/show.php?id=19666
Reply
#28
You are running not the version of my vnsi branch. Can you post the command (including git) how you build it?
Reply
#29
git clone https://github.com/FernetMenta/xbmc-pvr-addons.git
then cd xbmc-pvr-addons
./bootstrap
./configure
make zip

And after i build the vdr plugin with
make VDRDIR=/usr/include/vdr/ LBDIR=/usr/lib/vdr/plugins/ DEBUG=1
Reply
#30
Sorry, I forgot that not every one is familiar with git. You have to checkout my vnsi branch:

cd xbmc-pvr-addons
git checkout vnsi
Reply

Logout Mark Read Team Forum Stats Members Help
Which VDR version with Openelec?0