-
Notifications
You must be signed in to change notification settings - Fork 38

Description
Hello, great work with iptvx.
I run Debian Stretch on a Pi3, and have downloaded installed the deb package file: https://download.opensuse.org/repositories/home:/jankammerath:/iptvx/Debian_9.0/armhf/iptvx_0.5_armhf.deb
After apt-get update, I install you .deb binary and it pulls in all required packages, but when i run iptvx I get the following output :-
root@pi:/home/daz# iptvx
iptvx -- An IPTV player and recorder
You are using version 'iptvx 0.5 beta'
Please file bugs in the issue tracking:
https://github.com/jankammerath/iptvx/issues
(iptvx:634): GLib-CRITICAL **: g_array_free: assertion 'array' failed
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
(iptvx:634): GLib-CRITICAL **: g_array_free: assertion 'array' failed
[6cfd8670] core libvlc error: No plugins found! Check your VLC installation.
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
iptvx: ../../src/xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted
Possible issues:-
-
g_array_free assert fail: Possibly g_array_free() call in epg.c is trying to free a NULL list; maybe needs a 'if plist != NULL' ..?
-
libEGL error: Possibly OpenGL ES 2.0 extensions/limits exceeded on Raspbian Stretch (version of Debian 9).
** EDIT: FIXED!
This is caused by not having the mesa GLX driver installed and set:-
a. run raspi-config ; goto advanced->open gl-> enable full kms driver
b. sudo apt-get --reinstall install -y mesa-utils libgl1-mesa-dri libgl1-mesa-glx
c. reboot -
xcb_io.c ... no idea what is causing this
** EDIT: FIXED!
This is caused by trying to run iptvx from a laptop using MobiTerm's XServer passthrough. I thought iptvx doesnt require an XServer display as it is DRI/SDL based - so the app thus doesnt need to call Xinit() which the XServer was expecting? -
libvlc error: No plugins? The packages were installed as a result of installing iptvx??. Need to look into this.
** EDIT: FIXED!
a. Uninstall AND PURGE ALL vlc packages
b. Reinstall using apt-get install -y vlc
EDIT: 2nd June 2018:
I am now able to run iptvx. However the video is frozen but can hear sound. I suspect this is the lack of accelerated vlc drivers so I am looking into this (build from source?)
EDIT: 5th June 2018
- The problem with playback is that VLC is not using any HW acceleration and thus the image is frozen or maybe 1 frame per minute !! v2.5.2 VLC with accel (links widely available on google!) no longer compiles - Upstream patches do not work. I tried v3 but this wouldnt compile on the Pi without significant rework. So accelerated VLC on the Pi is not something I can muster up. This leaves OMX codec. I suppose if the source code for iptvx could be modified to run with either vlc or omxplayer then we would have a fine solution indeed. Not sure what the dev thinks of this?? However , dev please note:-
- a) video.c line 48 defines iptvx_video_init which declares vlc_args array.
- b) I would point out that there is no guarantee of forward/backward f these arguments and they should be NULL. Certainly on the Pi, OMX codec is there but isnt being used by the "--avcodec-hw=any" arg ! (https://www.videolan.org/developers/vlc/doc/doxygen/html/group__libvlc__core.html#ga915aa5778053d7b52ff9f6ba6e2f7764)
- c) on vlc, the h264 codec (https://wiki.videolan.org/Codec/) is not accelerated on the Pi. We need to use OpenMAX IL (vlc codec: omxil?). But i do not see this in the install on my Pi??
- d) So currently iptvx isnt going to use omxil on the Pi and thus there is no video (well not unless you want to stare at 1 frame per minute or something). I would point out that under omxplayer the stream plays perfectly, so this is definitely vlclib/vlc codec issue.
- e) I note some guys tried to fix the omxil issue on vlc (https://forum.videolan.org/viewtopic.php?t=101149) without success !!!
So is there a suggestion from the dev here??
- I thought iptvx doesnt require Xserver, as it overlays webkit+video onto the SDL surface; however if I remove Xserver then the program doesnt run. Install it , and all is ok. Need to look into this further.