Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

live TV for all rk3188 using XBMC and tvheadend

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I add patch and compiled
    lates tvheadend for rk3188 (minix and etc)



    copy lib folder to system/lib
    copy data/dvb folder data/dvb

    later start -C -c

    Comment


      Originally posted by taki View Post
      I add patch and compiled
      lates tvheadend for rk3188 (minix and etc)



      copy lib folder to system/lib
      copy data/dvb folder data/dvb

      later start -C -c
      Hi Taki,

      What is "start -C -c" ???

      Comment


        Originally posted by juan3211 View Post
        Hi Taki,

        What is "start -C -c" ???
        START tvheadend
        /data/dvb/tvheadend -C -c /data/dvb/.hts

        Comment


          Originally posted by taki View Post
          big thanks
          I will try this night. and you can try HD channel ODROID U3 that can be played Samsung Exynos 4412 quad-core processor

          I tryed.
          checking for cc libiconv ... ok

          take some error ?

          and libiconv.so antroid-toolchain-14/sysroot/usr/lib
          conv.h antroid-toolchain-14/sysroot/usr/include

          ../android-toolchain-14/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: cannot find -libiconv
          I don't have any problem with libiconv. However, 'cannot find -libiconv' is something strange. Option for Makefile should be '-liconv' not '-libiconv'.

          And, if your stream is FullHD(1920*1080) with 60fps, it will be make problem to render to screen with lower level AP. In my case, Exynos 4412 just has a decoding capability for 1920*1080p30fps. So U3 can not decode that stream using the hardware decoding feature.

          Regards,
          woomg

          Comment


            Originally posted by woomg View Post
            I don't have any problem with libiconv. However, 'cannot find -libiconv' is something strange. Option for Makefile should be '-liconv' not '-libiconv'.

            And, if your stream is FullHD(1920*1080) with 60fps, it will be make problem to render to screen with lower level AP. In my case, Exynos 4412 just has a decoding capability for 1920*1080p30fps. So U3 can not decode that stream using the hardware decoding feature.

            Regards,
            woomg
            Thank you for all you've done. libiconv error my mistake I fix it. I ask to that can you watch your u3 HD dvb channels. I think mpeg 2 channel ok with your device.

            Comment


              I try to add patch all time gave me error but I add manuel step by step text editor with your patch
              I try to -p1 and p0
              root@new-VirtualBox:/home/new/Desktop/tvheadend-master# patch -p1 <tvheadend-20140612.patch
              can't find file to patch at input line 4
              Perhaps you used the wrong -p or --strip option?
              The text leading up to this was:
              --------------------------
              |diff -Naur ./tvheadend-master/Makefile ./tvheadend-3.9/Makefile
              |--- ./tvheadend-master/Makefile 2014-06-12 16:27:44.000000000 +0900
              |+++ ./tvheadend-3.9/Makefile 2014-06-12 18:19:11.000000000 +0900
              --------------------------
              File to patch:

              -------------------------------------
              second question add manuel patch activate uriparser dont compile and this error
              Packages:
              openssl 1.0.1g
              zlib 1.2.8
              liburiparser 0.7.5

              later make

              CC tvheadend
              ../android-toolchain-14/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: cannot find -luriparser

              need to find uriparsel source for android

              ---------other question
              libav was enable
              root@new-VirtualBox:/home/new/tvheadend-master# ./build-tvheadend.sh
              Checking support/features
              checking for cc execinfo.h ... fail
              checking for cc -mmmx ... fail
              checking for cc -msse2 ... fail
              checking for cc getloadavg ... fail
              checking for cc atomic64 ... fail
              checking for cc lockowner ... fail
              checking for cc qsort_r ... fail
              checking for cc recvmmsg ... fail
              checking for cc libiconv ... ok
              checking for py module gzip ... ok
              checking for bzip2 ... ok
              checking for pkg openssl ... ok
              checking for cc linux/dvb/version.h ... ok
              checking for pkg zlib ... ok
              checking for pkg liburiparser ... ok
              checking for pkg libavcodec <=56.0.0 ... ok
              checking for pkg libavcodec >=52.96.0 ... ok
              checking for pkg libavutil >=50.43.0 ... ok
              checking for pkg libavformat <=56.0.0 ... ok
              checking for pkg libavformat >=53.10.0 ... ok
              checking for pkg libswscale >=0.13.0 ... ok
              checking for cc sys/inotify.h ... ok
              fetching dvb-scan files ... ok

              Compiler:
              Using C compiler: ../android-toolchain-14/bin/arm-linux-androideabi-gcc
              Build for arch: armeabi-v7a

              Binaries:
              Using PYTHON: python

              Options:
              cwc yes
              capmt yes
              v4l no
              linuxdvb yes
              satip_client yes
              iptv yes
              tsfile yes
              dvbscan yes
              timeshift yes
              trace yes
              imagecache yes
              avahi no
              zlib yes
              libav yes
              inotify yes
              epoll yes
              uriparser yes
              ccache no
              tvhcsa yes
              bundle yes
              dvbcsa no
              kqueue yes
              android yes
              libiconv yes
              py_gzip yes
              bin_bzip2 yes
              ssl yes
              linuxdvbapi yes
              upnp yes
              inotify_h yes
              mpegts yes
              mpegps no
              mpegts_dvb yes

              Packages:
              openssl 1.0.1g
              zlib 1.2.8
              liburiparser 0.7.5
              libavcodec 55.18.102
              libavutil 52.38.100
              libavformat 55.12.100
              libswscale 2.3.100

              Installation paths:
              Prefix: /usr/local
              Binaries: ${prefix}/bin
              Libraries: ${prefix}/lib
              Data files: ${prefix}/share
              Man pages: ${datadir}/man

              Final Binary:
              /home/new/tvheadend-master/build.linux/tvheadend

              Tvheadend Data Directory:
              /usr/local/share/tvheadend
              CC src/muxer/muxer_libav.o
              src/libav.c:55: error: return type is an incomplete type
              src/libav.c:54: error: conflicting types for 'streaming_component_type2codec_id'
              src/libav.h:26: note: previous declaration of 'streaming_component_type2codec_id' was here
              src/libav.c: In function 'streaming_component_type2codec_id':
              src/libav.c:56: error: variable 'codec_id' has initializer but incomplete type
              src/libav.c:56: error: storage size of 'codec_id' isn't known
              cc1: warnings being treated as errors
              src/libav.c:97: error: 'return' with a value, in function returning void
              src/libav.c:56: error: unused variable 'codec_id'
              src/libav.c: At top level:
              src/libav.c:105: error: parameter 1 ('id') has incomplete type
              make: *** [/home/new/tvheadend13062014/build.linux/src/libav.o] Error 1
              make: *** Waiting for unfinished jobs....
              src/muxer/muxer_libav.c: In function 'lav_muxer_add_stream':
              src/muxer/muxer_libav.c:76: error: invalid use of undefined type 'enum CodecID'
              make: *** [/home/new/tvheadend13062014/build.linux/src/muxer/muxer_libav.o] Error 1

              I found this need patch



              Comment


                lates tvheadend exec binary


                tvheadend 16.06.2014 patch add source



                add android-build.sh for your ndk located of folder

                first compile openssl and libiconv (add ndk directory) that needed library for compile tvheadend

                Comment


                  Answer 1:
                  I just use 'diff -Naur' for create patch file on Mac. I'm not professional developer, so maybe I created patch with wrong option.......

                  Answer 2:
                  The 'uriparser' is not mandantory option for you who want to use the tuner. It is used by IPTV handler. So you can add '--disable-uriparser' to configure script.
                  BTW, you can use the source file from http://sourceforge.net/projects/uriparser/. And compile with cross-compile option.

                  Answer 3:
                  I think your configure script found out 'libav' at your host system not ndk(android-toolchain-14). If you want to enable 'libav' for TVHeadend, you must build the libav for android. However, this feature is not usable on android because libav try to transcode the video with software so it will give you very ugly result.

                  Final,
                  With the U3, live HD stream with MPEG2 is really OK on Android.

                  Regards,

                  Comment


                    Originally posted by woomg View Post
                    Answer 1:
                    I just use 'diff -Naur' for create patch file on Mac. I'm not professional developer, so maybe I created patch with wrong option.......

                    Answer 2:
                    The 'uriparser' is not mandantory option for you who want to use the tuner. It is used by IPTV handler. So you can add '--disable-uriparser' to configure script.
                    BTW, you can use the source file from http://sourceforge.net/projects/uriparser/. And compile with cross-compile option.

                    Answer 3:
                    I think your configure script found out 'libav' at your host system not ndk(android-toolchain-14). If you want to enable 'libav' for TVHeadend, you must build the libav for android. However, this feature is not usable on android because libav try to transcode the video with software so it will give you very ugly result.

                    Final,
                    With the U3, live HD stream with MPEG2 is really OK on Android.

                    Regards,
                    I know transcode not works hw or sw truely android. because x68 based pc uses %80-90 cpu for trancode arm not archievement
                    I compiled libav (ffmpeg) android with your script. that find NDK directory pkgconfig.
                    libavcodec 55.18.102
                    libavutil 52.38.100
                    libavformat 55.12.100
                    libswscale 2.3.100
                    only learning for programing. amlogic How was make mpeg4 h264 tramsponder stream with aml 8726 m3/m6. that very interesting.
                    Amlogic SDK FOR 8726 M3 and dvbplayer uses ffmpeg 0.8 with amplayer. may be amlogic cpu support mpeg4 h264 1080p 30fps trasponder stream ts. but dont find support amllogic confidental paper

                    Comment


                      mumu dvb android

                      I 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
                      Last edited by taki; 17 June 2014, 21:31.

                      Comment


                        Originally posted by taki View Post
                        I know transcode not works hw or sw truely android. because x68 based pc uses %80-90 cpu for trancode arm not archievement
                        I compiled libav (ffmpeg) android with your script. that find NDK directory pkgconfig.
                        libavcodec 55.18.102
                        libavutil 52.38.100
                        libavformat 55.12.100
                        libswscale 2.3.100
                        only learning for programing. amlogic How was make mpeg4 h264 tramsponder stream with aml 8726 m3/m6. that very interesting.
                        Amlogic SDK FOR 8726 M3 and dvbplayer uses ffmpeg 0.8 with amplayer. may be amlogic cpu support mpeg4 h264 1080p 30fps trasponder stream ts. but dont find support amllogic confidental paper
                        http://www76.zippyshare.com/v/26379980/file.html
                        From the Android API 19, we can use the MediaCodec API for encoding. However, most device can not use hardware decoder for 1080p60fps. They are support up to 1080p30fps. So I believe transcoding is not usable on Android device yet.

                        Comment


                          exactly true that "So I believe transcoding is not usable on Android device yet."
                          I compiled and activated uriparser and dvbcsa for android (needed library so files in zip)

                          Options:
                          cwc yes
                          capmt yes
                          v4l no
                          linuxdvb yes
                          satip_client yes
                          iptv yes
                          tsfile yes
                          dvbscan yes
                          timeshift yes
                          trace yes
                          imagecache yes
                          avahi no
                          zlib yes
                          libav no
                          inotify yes
                          epoll yes
                          uriparser yes
                          ccache no
                          tvhcsa yes
                          bundle yes
                          dvbcsa yes
                          kqueue yes
                          android yes
                          libiconv yes
                          py_gzip yes
                          bin_bzip2 yes
                          ssl yes
                          linuxdvbapi yes
                          upnp yes
                          inotify_h yes
                          mpegts yes
                          mpegps no
                          mpegts_dvb yes

                          Comment



                            19062014 source of tvheadend compiled and new exec binary. all support

                            Comment


                              Hey there,

                              i upgraded to the new wasser 4.4.2 kitkat now tvheadend gets a

                              ERROR unable to open /dev/dvb/adapter0/frontend0

                              i guess i need to compile the modules for 4.4.2 but i have really no idea how to do so.

                              if someone done this already, i do need
                              smsdvb.ko
                              smsusb.ko
                              smsmdtv.ko
                              smssdio.ko
                              dvb-usb.ko
                              dvb-pll.ko
                              dvb-core.ko

                              as firmware i use dvb_nova_12mhz_b0.inp

                              don't know if i need all of them, but with this it did work on 4.2.2

                              pretty please!

                              thanks

                              Dennis

                              Comment


                                This seems to be Kitkat prblem

                                Originally posted by JustMe0815 View Post
                                Hey there,

                                i upgraded to the new wasser 4.4.2 kitkat now tvheadend gets a

                                ERROR unable to open /dev/dvb/adapter0/frontend0

                                i guess i need to compile the modules for 4.4.2 but i have really no idea how to do so.

                                if someone done this already, i do need
                                smsdvb.ko
                                smsusb.ko
                                smsmdtv.ko
                                smssdio.ko
                                dvb-usb.ko
                                dvb-pll.ko
                                dvb-core.ko

                                as firmware i use dvb_nova_12mhz_b0.inp

                                don't know if i need all of them, but with this it did work on 4.2.2

                                pretty please!

                                thanks

                                Dennis
                                Hi Dennis,

                                i have exact the same message in tvheadend.
                                There is nothing with your modules, if they are properly loaded, because kernel is also 3.0.6+
                                lsmod shows that all modules loaded and dmesg shows DVB: registering adapter 0 frontend 0.
                                I think there is a problem with permissions and wasser has to fix it in his next release, if he can.

                                Regards
                                Daniel

                                Comment

                                Working...
                                X