Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
live TV for all rk3188 using XBMC and tvheadend
Collapse
X
-
tvheaden 20.06.2014 new binary and library
I think no need kitkat kernel that 3.0.36+
dont create wasser kernel? can you try terminal before tvheadend start
mkdir /dev/dvb
mkdir /data/dvb/.hts
mkdir /dev/dvb/adapter0
ln -s /dev/dvb0.frontend0 /dev/dvb/adapter0/frontend0
ln -s /dev/dvb0.demux0 /dev/dvb/adapter0/demux0
ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0
ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0.ts
mkdir /dev/dvb/adapter1
ln -s /dev/dvb1.frontend0 /dev/dvb/adapter1/frontend0
ln -s /dev/dvb1.demux0 /dev/dvb/adapter1/demux0
ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0
ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0.ts
touch /tmp/camd.socket
mkdir /tmp/.oscam
chmod 777 /tmp/.oscam
chmod 777 /tmp/camd.socket
chmod 777 /data/dvb/.hts
chmod 777 /data/dvb*
chmod 777 /data/dvb/tvheadend
touch /tmp/came.socket
Comment
-
Originally posted by taki View Posttvheaden 20.06.2014 new binary and library
I think no need kitkat kernel that 3.0.36+
dont create wasser kernel? can you try terminal before tvheadend start
mkdir /dev/dvb
mkdir /data/dvb/.hts
mkdir /dev/dvb/adapter0
ln -s /dev/dvb0.frontend0 /dev/dvb/adapter0/frontend0
ln -s /dev/dvb0.demux0 /dev/dvb/adapter0/demux0
ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0
ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0.ts
mkdir /dev/dvb/adapter1
ln -s /dev/dvb1.frontend0 /dev/dvb/adapter1/frontend0
ln -s /dev/dvb1.demux0 /dev/dvb/adapter1/demux0
ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0
ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0.ts
touch /tmp/camd.socket
mkdir /tmp/.oscam
chmod 777 /tmp/.oscam
chmod 777 /tmp/camd.socket
chmod 777 /data/dvb/.hts
chmod 777 /data/dvb*
chmod 777 /data/dvb/tvheadend
touch /tmp/came.socket
Code:<6>[ 1103.572335] usb 2-1.3: new high speed USB device number 7 using usb20_host <6>[ 1103.673003] usb 2-1.3: New USB device found, idVendor=187f, idProduct=0202 <6>[ 1103.673033] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 <6>[ 1103.673064] usb 2-1.3: Product: MDTV Receiver <6>[ 1103.673083] usb 2-1.3: Manufacturer: MDTV Receiver <6>[ 1104.282323] smscore_set_device_mode: firmware download success: dvb_nova_12mhz_b0.inp <6>[ 1104.282625] DVB: registering new adapter (Siano Nice Digital Receiver) <4>[ 1104.283585] DVB: registering adapter 0 frontend 0 (Siano Mobile Digital MDTV Receiver)...
Code:2014-06-20 17:43:02.907 [ INFO] charset: 138 entries loaded 2014-06-20 17:43:06.916 [ ERROR] linuxdvb: unable to open /dev/dvb/adapter0/frontend0 2014-06-20 17:43:06.927 [ INFO] epggrab: module eit created 2014-06-20 17:43:06.927 [ INFO] epggrab: module uk_freesat created 2014-06-20 17:43:06.927 [ INFO] epggrab: module uk_freeview created 2014-06-20 17:43:06.927 [ INFO] epggrab: module viasat_baltic created 2014-06-20 17:43:06.941 [ INFO] epggrab: module opentv-ausat created 2014-06-20 17:43:06.942 [ INFO] epggrab: module opentv-skyuk created 2014-06-20 17:43:06.942 [ INFO] epggrab: module opentv-skyit created 2014-06-20 17:43:06.942 [ INFO] epggrab: module pyepg created 2014-06-20 17:43:06.942 [ INFO] epggrab: module xmltv created 2014-06-20 17:43:06.948 [ INFO] epgdb: loaded v2 2014-06-20 17:43:06.948 [ INFO] epgdb: channels 0 2014-06-20 17:43:06.948 [ INFO] epgdb: brands 0 2014-06-20 17:43:06.948 [ INFO] epgdb: seasons 0 2014-06-20 17:43:06.948 [ INFO] epgdb: episodes 0 2014-06-20 17:43:06.948 [ INFO] epgdb: broadcasts 0 2014-06-20 17:43:06.948 [ INFO] dvr: Creating new configuration '' 2014-06-20 17:43:06.948 [WARNING] dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/". This can be changed from the web user interface. 2014-06-20 17:43:06.949 [ NOTICE] START: HTS Tvheadend version 0.0.0~unknown started, running as PID:3500 UID:0 GID:0, CWD:/ CNF:/storage/emulated/legacy/.hts
Code:Jun 20 17:48:51 [ INFO]:START: initialisingJun 20 17:48:51 [ INFO]:charset: 71 entries loaded Jun 20 17:48:51 [ ALERT]:dvb: /dev/dvb/adapter0/frontend0: unable to query (err=Invalid argument)
Last edited by JustMe0815; 20 June 2014, 16:53.
Comment
-
Originally posted by taki View Posttvheaden 20.06.2014 new binary and library
I think no need kitkat kernel that 3.0.36+
dont create wasser kernel? can you try terminal before tvheadend start
mkdir /dev/dvb
mkdir /data/dvb/.hts
mkdir /dev/dvb/adapter0
ln -s /dev/dvb0.frontend0 /dev/dvb/adapter0/frontend0
ln -s /dev/dvb0.demux0 /dev/dvb/adapter0/demux0
ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0
ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0.ts
mkdir /dev/dvb/adapter1
ln -s /dev/dvb1.frontend0 /dev/dvb/adapter1/frontend0
ln -s /dev/dvb1.demux0 /dev/dvb/adapter1/demux0
ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0
ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0.ts
touch /tmp/camd.socket
mkdir /tmp/.oscam
chmod 777 /tmp/.oscam
chmod 777 /tmp/camd.socket
chmod 777 /data/dvb/.hts
chmod 777 /data/dvb*
chmod 777 /data/dvb/tvheadend
touch /tmp/came.socket
This weekend I tried again to configure my Minix Neo X7.
I have flash stock rom (010 versiĆ³n, last) with XMBC 13.1 for minix (there is a apk file in minix neo x7's support web page), load the drivers (IT9135) and put your 20140620 TVHEADEND versiĆ³n
With other versions I always get "connection lost" in XBMC.
But when I put your 20140620 versiĆ³n, XBMC reboots. And tvheadend front end doesn't work
Is there any log that I can check and put here to get some help ?
I dont mind to get the last versiĆ³n of tvheadend, but where can I find any information about "conection lost" in XBMC ?
Thanks a lot.
Best regards,Last edited by juan3211; 23 June 2014, 08:27.
Comment
-
Originally posted by juan3211 View PostH, Taki.
This weekend I tried again to configure my Minix Neo X7.
I have flash stock rom (010 versiĆ³n, last) with XMBC 13.1 for minix (there is a apk file in minix neo x7's support web page), load the drivers (IT9135) and put your 20140620 TVHEADEND versiĆ³n
With other versions I always get "connection lost" in XBMC.
But when I put your 20140620 versiĆ³n, XBMC reboots. And tvheadend front end doesn't work
Is there any log that I can check and put here to get some help ?
I dont mind to get the last versiĆ³n of tvheadend, but where can I find any information about "conection lost" in XBMC ?
Thanks a lot.
Best regards,
solition=configure tvheadend recoder path and no more error.
connection lost=
tvheaden and tuner driver dont works
Comment
-
Hi Taki,
Thanks a lot for your help.
I decided to begin again, so I reset minix.
I have 010 versiĆ³n
Install "first post" files and dvb-usb-it9135-01.fw and dvb-usb-it9135-02.fw
The 02dvb init.d file is like your post 06-20-2014, 06:24 AM in order to save config files in internal memory (see later)
Install Uni_init.apk
REBOOT and my "su" and "dmesg | grep dvb" show this:
usb 2-1.2: dvb_usb_v2: found a 'ITE 9135 Generic' in warm state
usb 2-1.2: dvb_usb_v2: will pass the complete MPEG2 trasnport stream to the software demuxer
usb 2-1.2: dvb_usb_v2: PID filter enabled by module option
usb 2-1.2: dvb_usb_v2: 'ITE 9135 Generic' successfully initialized and connected
usbcore: registrered new interface driver dvb_usb_it913x
usbcore: registrered new interface driver dvb_usb_af9015
dmesg | grep tvh:
NOTHING
Open localhost:9981 in CHROME
Show perfectly.
Config in web config page of tvheadend:
DVB inputs: select adapter "ITE 9135 Generic_1"
Enabled: click it , so .... YES
save button
Idle scanning is yes by default
close device handle whne idle is NO by default
the other options: default
add dvb network by location .... it finds 37 services in 12 muxes.
map dvb services to channels
save again this "window"
in Services tab apears all dvb channels that "i want".
in channel/epg also
recording tab: recording system path: I put /mnt/sdcard (only to check) and SAVE
timeshift: enabled: NO (default)
STATUS TAB:
Adapters: ITE 9135 Generic_1 /dev/dvb/adapter0, currently tuned to DTTV: 834,000 kHz, Bandwidth 512Kb/s Bit error rate 639976 , an so on
If i click play in any channel, I get a message that I dont have VLC Mozille pligin for your browser
I can see also EPG
dmesg | grep tvh:
NOTHING
Terminal emulator: why can I see anything about tvheadend ? Do i have to write any other command ?
I have installed VLC for Android Beta
Web page "disappears" so I have to reboot, this never happens with clean rom. (may be the reset is isnt a full reset, so I left some libraries of your tvheadend 20062014\system\lib in firmware lib.)
Settings has been saved, but not settings of recording tab system path.
All the channels are there.
The same, I click "play", and can't see anything because i dont have the plugin.
Launch XBMC Minix Edition, configure tvheadend as livetv (xbmcminix-armeabi-v7a_13.1_3.apk that is in minix oficial web page)
Enabled
Power saving enabled: NO, (dafualt)
TVHEADEND HTSP CLIENT 1.9.27
I dont remember when , but others roms( QSv2) once i could see channels (Little time) in xbmc.
Put thheadend of your last version:
first 23062014 new exec binary tvheadend
REBOOT again
Now, I can connect with localhost:9981
I will reinstall a clean 010 versiĆ³n room and root it again.
But I want to know:
what commands I need to check if dvb and thheadend is well "done" ? I want to know if is a dvb problem, tvheadend problem, or xbmc problem.
could i record directly with thheadend web page instead with xbmc ?
Is there any other program that I can use to see if tvheadend is working or not ?
Thanks a lot.
My 02dvb file:
#!/system/bin/sh
# DVB-T
while [ ""`getprop dev.bootcomplete` != "1" ] ; do sleep 1; done
insmod /system/lib/modules/dvb-core.ko
insmod /system/lib/modules/dvb-pll.ko
insmod /system/lib/modules/dvb_usb_v2.ko force_pid_filter_usage=1
insmod /system/lib/modules/altera-stapl.ko
insmod /system/lib/modules/af9013.ko
insmod /system/lib/modules/mc44s803.ko
insmod /system/lib/modules/mt2060.ko
insmod /system/lib/modules/mxl5005s.ko
insmod /system/lib/modules/mxl5007t.ko
insmod /system/lib/modules/qt1010.ko
insmod /system/lib/modules/tda18218.ko
insmod /system/lib/modules/tda18271.ko
insmod /system/lib/modules/it913x-fe.ko
insmod /system/lib/modules/dvb-usb-it913x.ko
insmod /system/lib/modules/dvb-usb-af9015.ko
sleep 1
mkdir /dev/dvb
mkdir /data/dvb/.hts
mkdir /dev/dvb/adapter0
ln -s /dev/dvb0.frontend0 /dev/dvb/adapter0/frontend0
ln -s /dev/dvb0.demux0 /dev/dvb/adapter0/demux0
ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0
ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0.ts
mkdir /dev/dvb/adapter1
ln -s /dev/dvb1.frontend0 /dev/dvb/adapter1/frontend0
ln -s /dev/dvb1.demux0 /dev/dvb/adapter1/demux0
ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0
ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0.ts
touch /tmp/camd.socket
mkdir /tmp/.oscam
chmod 777 /tmp/.oscam
chmod 777 /tmp/camd.socket
chmod 777 /data/dvb/.hts
chmod 777 /data/dvb*
chmod 777 /data/dvb/tvheadend
touch /tmp/came.socket
./data/dvb/tvheadend -C -c /data/dvb/.hts
# done
Comment
-
Originally posted by juan3211 View PostHi Taki,
Thanks a lot for your help.
I decided to begin again, so I reset minix.
I have 010 versiĆ³n
Install "first post" files and dvb-usb-it9135-01.fw and dvb-usb-it9135-02.fw
The 02dvb init.d file is like your post 06-20-2014, 06:24 AM in order to save config files in internal memory (see later)
Install Uni_init.apk
REBOOT and my "su" and "dmesg | grep dvb" show this:
usb 2-1.2: dvb_usb_v2: found a 'ITE 9135 Generic' in warm state
usb 2-1.2: dvb_usb_v2: will pass the complete MPEG2 trasnport stream to the software demuxer
usb 2-1.2: dvb_usb_v2: PID filter enabled by module option
usb 2-1.2: dvb_usb_v2: 'ITE 9135 Generic' successfully initialized and connected
usbcore: registrered new interface driver dvb_usb_it913x
usbcore: registrered new interface driver dvb_usb_af9015
dmesg | grep tvh:
NOTHING
Open localhost:9981 in CHROME
Show perfectly.
Config in web config page of tvheadend:
DVB inputs: select adapter "ITE 9135 Generic_1"
Enabled: click it , so .... YES
save button
Idle scanning is yes by default
close device handle whne idle is NO by default
the other options: default
add dvb network by location .... it finds 37 services in 12 muxes.
map dvb services to channels
save again this "window"
in Services tab apears all dvb channels that "i want".
in channel/epg also
recording tab: recording system path: I put /mnt/sdcard (only to check) and SAVE
timeshift: enabled: NO (default)
STATUS TAB:
Adapters: ITE 9135 Generic_1 /dev/dvb/adapter0, currently tuned to DTTV: 834,000 kHz, Bandwidth 512Kb/s Bit error rate 639976 , an so on
If i click play in any channel, I get a message that I dont have VLC Mozille pligin for your browser
I can see also EPG
dmesg | grep tvh:
NOTHING
Terminal emulator: why can I see anything about tvheadend ? Do i have to write any other command ?
I have installed VLC for Android Beta
Web page "disappears" so I have to reboot, this never happens with clean rom. (may be the reset is isnt a full reset, so I left some libraries of your tvheadend 20062014\system\lib in firmware lib.)
Settings has been saved, but not settings of recording tab system path.
All the channels are there.
The same, I click "play", and can't see anything because i dont have the plugin.
Launch XBMC Minix Edition, configure tvheadend as livetv (xbmcminix-armeabi-v7a_13.1_3.apk that is in minix oficial web page)
Enabled
Power saving enabled: NO, (dafualt)
TVHEADEND HTSP CLIENT 1.9.27
I dont remember when , but others roms( QSv2) once i could see channels (Little time) in xbmc.
Put thheadend of your last version:
first 23062014 new exec binary tvheadend
REBOOT again
Now, I can connect with localhost:9981
I will reinstall a clean 010 versiĆ³n room and root it again.
But I want to know:
what commands I need to check if dvb and thheadend is well "done" ? I want to know if is a dvb problem, tvheadend problem, or xbmc problem.
could i record directly with thheadend web page instead with xbmc ?
Is there any other program that I can use to see if tvheadend is working or not ?
Thanks a lot.
./data/tvheadend -s --syslog Enable debug on stderr
I'll consider it, but at the moment that option (as I've already said) is not intended to be set permanently. If you really need to set it permanently then you have the option by setting the appropriate command line options, but I'm rather concerned about it being permanently set through the UI.
Look at output from --help, and specifically the --debug and --trace options.
Select --stderr, -l OR -s by default (for compatibility) will always add the equivalent of --debug all. Though you can override with --debug option.
unfortunately lestest compiled tvheadend give me [ ERROR] tcp: bind: *: Address already in use
and no record save tuner setup and no usable diseq options.
lates git changed alot of devolping. check this
Permission to access video adapters
In order for Tvheadend to control video adapters on the system it must be granted access to those devices. Most systems have a 'video' group with write access to the video adapter devices. When Tvheadend is started as a daemon (if Tvheadend is installed from a distribution package this is most likely the way it is) it will change its primary group to 'video' in order to access these groups. If your system is configured in a different way you can either change the group membership of the video adapters (/dev/dvb, etc) or reconfigure the Tvheadend start up parameters.
If Tvheadend is started without the '-f' argument it will not demonize nor change its primary UID/GID. Rather it will run with the permissions granted to the user executing the binary. If that's the case you must make sure the current user is granted with access to the video devices.
Comment
-
u0_a67@android:/ $ suroot@android:/ # ./data/mumu/mumudvb -l
MuMuDVB Version 2.0.0_20140529_mumudvb2
--- Build information ---
Built without CAM support.
Built without SCAM support.
Built with ATSC support.
Built with support for DVB API Version 5.3.
Built with support for DVB-T2.
---------
Originally based on dvbstream 0.6 by (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://mumudvb.braice.net/
Project from the cr@ns (http://www.crans.org)
by Brice DUBOST ([email protected])
Info: DVB: ==================================
Info: DVB: DVB CARDS LISTING
Info: DVB: ==================================
ERRO: DVB: FRONTEND DEVICE: /dev/dvb/adapter0/frontend0 : No such device
ERRO: DVB: FE_GET_INFO: Bad file number
ERRO: DVB: FRONTEND DEVICE: /dev/dvb/adapter1/frontend0 : No such file or directory
ERRO: DVB: FE_GET_INFO: Bad file number
root@android:/ #Originally posted by taki View PostI compiled mumudvb
MuMuDVB configure results:
Features
Build with CAM support: no
Build with SCAM support: no
Build with ATSC long names support: no
Build with compatibility for android: yes
Debugging
Build with code coverage debug symbols no
Build with debugging DUMA library no
START mumudvb
/data/mumu/mumudvb -c /data/mumu/dvb-s2.conf -d -v
needfor libdvbcsa android compile support for descramble
Comment
-
root@android:/ # /data/mumu/mumudvb -c /data/mumu/dvb-s2.conf -d -vMuMuDVB Version 2.0.0_20140529_mumudvb2
--- Build information ---
Built without CAM support.
Built without SCAM support.
Built with ATSC support.
Built with support for DVB API Version 5.3.
Built with support for DVB-T2.
---------
Originally based on dvbstream 0.6 by (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://mumudvb.braice.net/
Project from the cr@ns (http://www.crans.org)
by Brice DUBOST ([email protected])
Info: Tune: You will use DVB API version 5 for tuning your card.
Info: Main: Autoconfiguration, we activate SAP announces. if you want to disable them see the README.
Info: Main: Autoconfiguration, we activate PAT rewriting. if you want to disable it see the README.
Info: Main: Autoconfiguration, we activate SDT rewriting. if you want to disable it see the README.
Info: Main: ========== End of configuration, MuMuDVB version 2.0.0_20140529_mumudvb2 is starting ==========
WARN: Main: Can't create /var/run/mumudvb/channels_streamed_adapter0_tuner0: No such file or directory
WARN: Main: Can't create /var/run/mumudvb/channels_unstreamed_adapter0_tuner0: No such file or directory
Info: Main: Streaming. Freq 11096000
ERRO: DVB: FRONTEND DEVICE: /dev/dvb/adapter0/frontend0 : No such device
ERRO: Tune: FE_GET_INFO: Bad file number
Info: Main: Tuning issue, card 0
Info: Main: Closing cleanly. Error 7
Info: Main: ========== MuMuDVB version 2.0.0_20140529_mumudvb2 is stopping with ExitCode 7 ==========
7|root@android:/ #
Comment
-
Originally posted by taki View PostI compiled latest tvheadend. end of the work that support libav. but dont work transcoding on android. but sharpened mpeg2 tv channel. no more connections lost. can you pass video add on and live tv (no need press the stop key) obviously tvheadend works on android perfectly.
http://www18.zippyshare.com/v/51702496/file.html
=========
line 116, src/plumbing/transcoding.c
uint32_t transcoding_enabled = 0;
=========
'1' is enable the transcoding.
Regards,
Comment
What's Going On
Collapse
There are currently 4767 users online. 1 members and 4766 guests.
Most users ever online was 37,478 at 04:14 on 26 June 2024.
Comment