Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: vdr-dvbapi-plugin+oscam

  1. #1
    Member
    Join Date
    29-03-2011
    Location
    Burgas,Bulgaria
    Posts
    57
    Uploads
    0

    vdr-dvbapi-plugin+oscam

    Незнам откъде да започна , защото въпросите ми са много.Целта ми естественно е една.... Да си пусна кодираните програми и да не губя един хоп.Колкото и да се мъчих пак не ставаше.Какво ли не четох, ама последователноста маи бъркам.Кое и как да подредя.Свикнал съм на Дебиан 6 , колкото и да ме караха да го сменям с Убунту,щото маи е по-лесно , не ми се иска.Всичко си работи. Debian 6+oscam+vdr+xbmc, само този плагин vdr-dvbapi-plugin не мога да компилирам и да трагне.Няма да давам нищо което съм пробвал за сега , щото и яз ще се объркам.Питаите ме какво съм правил и какво точно ви интересува за да ви отговоря правилно.За да нестане мазало и да се опитлая наново.Каквото искате ще ви дам дори и SSH достъп до кампа.Изказвам всички благодарности за всички които ми помогнат
    ПС:много ми се идва на купона, ама нямам нафта за колата............ излишна
    Имам кам 150л ракия + 200л вино ама не е привряло------демек не е станало, ако може за показно ,даже и на мято черпя....

  2. #2
    Super Moderator turbopower's Avatar
    Join Date
    02-07-2011
    Location
    Somewhere between the Streams
    Posts
    3,512
    Uploads
    112

    Re: vdr-dvbapi-plugin+oscam

    На телевизор ли гледаш с xbmc или на монитор?

  3. #3
    Member
    Join Date
    29-03-2011
    Location
    Burgas,Bulgaria
    Posts
    57
    Uploads
    0

    Re: vdr-dvbapi-plugin+oscam

    Aмиииииии.... и на монитор и на Тft lcd 32 телевизор от hdmi

  4. #4
    Member
    Join Date
    29-03-2011
    Location
    Burgas,Bulgaria
    Posts
    57
    Uploads
    0

    Re: vdr-dvbapi-plugin+oscam

    Даже и на лаптопа ми идва прес wifi от рутер и го гледам на xbmc

  5. #5
    Super Moderator turbopower's Avatar
    Join Date
    02-07-2011
    Location
    Somewhere between the Streams
    Posts
    3,512
    Uploads
    112

    Re: vdr-dvbapi-plugin+oscam

    Гледай от тука не разбирам френски но става ясно.

    Ето ти настройките за оскама той трябва да компилиран с поддръжна на dvb-api и да е последна версия
    Code:
    [dvbapi]
    enabled                       = 1
    au                            = 1
    pmt_mode                      = 4
    request_mode                  = 1
    reopenonzap                   = 1
    decodeforever                 = 1
    user                          = 
    boxtype                       = pc
    Attached Files Attached Files

  6. #6
    Member
    Join Date
    29-03-2011
    Location
    Burgas,Bulgaria
    Posts
    57
    Uploads
    0

    Re: vdr-dvbapi-plugin+oscam

    Сега ще се опитам дѝ ти покажа какво правя......
    1.cd /etc/vdr/plugins/
    2git clone https://github.com/pipelka/vdr-plugin-xvdr.git
    3.cd vdr-plugin-dvbapi
    4.sudo gedit Makefile
    5 . дава това
    #
    # Makefile for a Video Disk Recorder plugin
    #
    # $Id: Makefile,v 1.2 2006/07/05 20:19:56 thomas Exp $

    # The official name of this plugin.
    # This name will be used in the '-P...' option of VDR to load the plugin.
    # By default the main source file also carries this name.
    # IMPORTANT: the presence of this macro is important for the Make.config
    # file. So it must be defined, even if it is not used here!
    #
    PLUGIN = dvbapi

    ### The version number of this plugin (taken from the main source file):

    VERSION = $(shell grep 'static const char \*VERSION *=' DVBAPI.h | awk '{ print $$6 }' | sed -e 's/[";]//g')

    ### The C++ compiler and options:

    CXX ?= g++
    CXXFLAGS ?= -march=athlon64 -fPIC -O2 -Wall -Woverloaded-virtual

    ### The directory environment:

    VDRDIR = /usr/include/vdr
    LIBDIR = /usr/lib/vdr/plugins
    TMPDIR = /tmp

    ### Make sure that necessary options are included:

    -include $(VDRDIR)/Make.global

    ### Allow user defined options to overwrite defaults:

    -include $(VDRDIR)/Make.config

    ### The version number of VDR's plugin API (taken from VDR's "config.h"):

    APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)

    ### The name of the distribution archive:

    ARCHIVE = $(PLUGIN)-$(VERSION)
    PACKAGE = vdr-$(ARCHIVE)

    ### Includes and Defines (add further entries here):

    INCLUDES += -I$(VDRDIR)/include

    DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'

    ### The object files (add further files here):

    OBJS = CAPMT.o DeCSA.o DeCsaTSBuffer.o dll.o DVBAPI.o DVBAPISetup.o SCDeviceProbe.o simplelist.o device.o deviceplugin.o UDPSocket.o SCCIAdapter.o Frame.o SCCAMSlot.o

    # FFdeCSA
    CPUOPT ?= athlon64
    PARALLEL ?= PARALLEL_128_SSE
    CSAFLAGS ?= -fPIC -O3 -fexpensive-optimizations -funroll-loops -mmmx -msse -msse2 -msse3
    FFDECSADIR = FFdecsa
    FFDECSA = $(FFDECSADIR)/FFdecsa.o
    FFDECSATEST = $(FFDECSADIR)/FFdecsa_test.done

    HAVE_SD := $(wildcard ../dvbsddevice/dvbsddevice.c)
    ifneq ($(strip $(HAVE_SD)),)
    DEFINES += -DWITH_SDDVB
    DEVPLUGTARGETS += $(LIBDIR)/libdvbapi-dvbsddevice.so.$(APIVERSION)
    endif
    HAVE_HD := $(wildcard ../dvbhddevice/dvbhddevice.c)
    ifneq ($(strip $(HAVE_HD)),)
    DEFINES += -DWITH_HDDVB
    DEVPLUGTARGETS += $(LIBDIR)/libdvbapi-dvbhddevice.so.$(APIVERSION)
    endif
    HAVE_UFS9XX := $(wildcard ../dvbufs9xx/dvbhddevice.c)
    ifneq ($(strip $(HAVE_UFS9XX)),)
    DEFINES += -DWITH_UFS9XX
    DEVPLUGTARGETS += $(LIBDIR)/libdvbapi-dvbufs9xxdevice.so.$(APIVERSION)
    endif

    ### The main target:

    all: libvdr-$(PLUGIN).so

    ### Implicit rules:

    %.o: %.cpp
    $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<

    ### Targets:

    libvdr-$(PLUGIN).so: $(OBJS) $(FFDECSA) $(DEVPLUGTARGETS)
    $(CXX) $(CXXFLAGS) -shared $(OBJS) $(FFDECSA) -o $@
    @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)

    libdvbapi-dvbsddevice.so: device-sd.o
    $(CXX) $(CXXFLAGS) -shared $< $(SHAREDLIBS) -o $@
    $(LIBDIR)/libdvbapi-dvbsddevice.so.$(APIVERSION): libdvbapi-dvbsddevice.so
    @cp -p $< $@

    libdvbapi-dvbhddevice.so: device-hd.o
    $(CXX) $(CXXFLAGS) -shared $< $(SHAREDLIBS) -o $@
    $(LIBDIR)/libdvbapi-dvbhddevice.so.$(APIVERSION): libdvbapi-dvbhddevice.so
    @cp -p $< $@

    libdvbapi-dvbufs9xxdevice.so: device-ufs9xx.o
    $(CXX) $(CXXFLAGS) -shared $< $(SHAREDLIBS) -o $@
    $(LIBDIR)/libdvbapi-dvbufs9xxdevice.so.$(APIVERSION): libdvbapi-dvbufs9xxdevice.so
    @cp -p $< $@

    $(FFDECSA): $(FFDECSADIR)/*.c $(FFDECSADIR)/*.h
    @$(MAKE) COMPILER="$(CXX)" FLAGS="$(CSAFLAGS) -march=$(CPUOPT)" PARALLEL_MODE=$(PARALLEL) -C $(FFDECSADIR) all

    dist: clean
    @-rm -rf $(TMPDIR)/$(ARCHIVE)
    @mkdir $(TMPDIR)/$(ARCHIVE)
    @cp -a * $(TMPDIR)/$(ARCHIVE)
    @tar czf $(PACKAGE).tgz -C $(TMPDIR) --exclude debian --exclude CVS --exclude .svn $(ARCHIVE)
    @-rm -rf $(TMPDIR)/$(ARCHIVE)
    @echo Distribution package created as $(PACKAGE).tgz

    clean:
    @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
    @-rm -f $(OBJS) device-sd.o device-hd.o device-ufs9xx.o $(DEPFILE) *.so *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot
    @$(MAKE) -C $(FFDECSADIR) clean


    5. после като му дам sudo make
    И МИ ДАВА ТОВА

    root@debian:/etc/vdr/plugins/vdr-plugin-dvbapi# sudo make
    g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"dvbapi"' -I/usr/include/vdr/include DVBAPI.cpp
    In file included from deviceplugin.h:23,
    from device.h:24,
    from DVBAPI.h:24,
    from DVBAPI.cpp:22:
    SCDeviceProbe.h:25: error: expected class-name before ‘{’ token
    make: *** [DVBAPI.o] Error 1
    root@debian:/etc/vdr/plugins/vdr-plugin-dvbapi#


    нещо не става

  7. #7
    Member
    Join Date
    29-03-2011
    Location
    Burgas,Bulgaria
    Posts
    57
    Uploads
    0

    Re: vdr-dvbapi-plugin+oscam

    [Tutorial] [PC-LINUX] XBMC VDR + + OSCAM Ubuntu

    All Credit To Davy, Translated With Google.
    Hello to you always-s,
    The purpose of this tutorial is to detail all the steps for using OSAM and VDR to watch TV with the familiar Media Center XBMC.
    We will use the addon / plugin PVR xvdr to establish communication between XBMC and VDR and the plugin / protocol DVBAPI as a link between VDR and OSCAM.
    PPPs are not always stable over time and not always compatible with all versions of Ubuntu or VDR, we will describe here how to install the various plugins / addons by compiling them. Do not worry, it does not hurt.

    We'll start by installing a set of packages that may be useful in the life of the compiler that we are aspiring

    Code:

    sudo aptitude install subversion git-core patchutils build-essential openssl libssl-dev gcc g++ pcscd pcsc-tools libpcsclite1 libpcsclite-dev cmake make libpthread-stubs0 libpthread-stubs0-dev libncurses5 libncurses5-dev wget bzip2 git-core patchutils libproc-processtable-perl libtool mercurial


    XBMC :

    I suggest you install the PVR proposed by pulse-eight well because it follows the evolution of XBMC while very stable:
    To do this, execute the following script:

    Code:

    wget http://packages.pulse-eight.net/ubuntu/install-xbmc.sh
    chmod a+x install-xbmc.sh
    ./install-xbmc.sh


    The media center is then available in your applications. You can then configure it to your liking (skin, language, Media Library ...).

    XBMC-ADDON-XVDR :

    We will now install the addon that will link vdr:

    Code:

    git clone https://github.com/pipelka/xbmc-addon-xvdr.git
    cd xbmc-addon-xvdr
    sh autogen.sh
    ./configure --prefix=$HOME/.xbmc
    make
    make install
    cd ..
    sudo rm -R xbmc-addon-xvdr


    VDR :

    Installing vdr can be done from native deposits of Ubuntu, or you may also want to use a newer version of ppa via yavdr.
    - If you are under or Natty Lucid and want to use version 1.7.22 VDR

    Code:

    sudo add-apt-repository ppa:yavdr/stable-vdr
    sudo apt-get update

    - If you're on and Natty Precise and Lucid or want to use version 1.7.27:

    Code:

    sudo add-apt-repository ppa:yavdr/testing-vdr
    sudo apt-get update

    In all cases, you end up installing vdr sources and that we can then compile the plugin:

    Code:

    sudo apt-get install vdr vdr-dev

    Therefore, you must configure VDR as it's so easy ... by editing the various files in the / var / lib / vdr /

    VDR-PLUGIN-XVDR :

    We will now install the VDR plugin that communicates with XBMC

    Code:

    git clone https://github.com/pipelka/vdr-plugin-xvdr.git
    cd vdr-plugin-xvdr
    gedit Makefile

    We modify the following settings in the file:

    Code:

    DVBDIR = /usr
    VDRDIR = /usr/include/vdr
    LIBDIR = /usr/lib/vdr/plugins

    Then compile and install the plugin:

    Code:

    sudo make
    cd ..
    sudo rm -R vdr-plugin-xvdr

    You can now (VDR restart and activate the VDR addon X in XBMC to view channels in clear.

    OSCAM :

    We will now install OSCAM to communicate with our membership card to a satellite package paid so much ... We'll have to patch the stable version of OSCAM for it to be able to communicate with VDR.

    Code:

    sudo svn co http://streamboard.gmc.to/svn/oscam/tags/1.10/ oscam-1.10
    cd oscam-1.10
    sudo wget https://raw.github.com/manio/vdr-plu...oscam-vdr.diff
    sudo patch < oscam-vdr.diff
    sudo mkdir build
    cd build
    sudo cmake -DWEBIF=1 -DHAVE_DVBAPI=1 ..
    sudo make
    sudo make install
    cd ..
    cd ..
    sudo rm -R oscam-1.10

    Then set OSCAM as you know so well done by editing the files in / usr / local / etc /
    Create the following section in the file oscam.conf to allow communication with VDR:

    Code:

    [dvbapi]
    ennabled = 1
    au = 1
    user = vdr
    boxtype = pc
    pmt_mode = 1



    VDR-PLUGIN-DVBAPI :

    You end up installing the plugin allowing to connect to VDR DVBAPI of Oscam:

    Code:

    git clone https://github.com/manio/vdr-plugin-dvbapi.git
    cd vdr-plugin-dvbapi
    sudo gedit Makefile

    Edit the Makefile with the following values​​:

    Code:

    VDRDIR = /usr/include/vdr
    LIBDIR = /usr/lib/vdr/plugins

    Compile and install:

    Code:

    sudo make
    cd..
    rm -R vdr-plugin-dvbapi

    That's it, once VDR OSCAM properly configured you can enjoy your scrambled pay for XBMC!
    пробвал сам и от този линк

    Edit: turbopower

    Друг път слагай съдържанието на темата, не линка към друг форум

  8. #8
    Member
    Join Date
    29-03-2011
    Location
    Burgas,Bulgaria
    Posts
    57
    Uploads
    0

    Re: vdr-dvbapi-plugin+oscam

    версията на оскама е 7860

  9. #9
    Super Moderator turbopower's Avatar
    Join Date
    02-07-2011
    Location
    Somewhere between the Streams
    Posts
    3,512
    Uploads
    112

    Re: vdr-dvbapi-plugin+oscam

    Аз лично утре ще продължа да ти пиша по темата понеже сега имам ангажимент. Ако някои до утре не ме изпревари най-вероятно ще се намери решение.

  10. #10
    Member
    Join Date
    29-03-2011
    Location
    Burgas,Bulgaria
    Posts
    57
    Uploads
    0

    Re: vdr-dvbapi-plugin+oscam

    OK.Ама докато науча правилата , виж съм се научил по-добре и от тебе....
    М/у другото, ТИ как приемаш разкодирването | oscam+vdr+xbmc|

Page 1 of 2 12 LastLast

Similar Threads

  1. Tutorial How to OSCam and dvbapi on Dreambox / VU+
    By Sat-TV in forum OSCam Tutorials
    Replies: 3
    Last Post: 03-02-2016, 15:14:25
  2. vdr-dvbapi + oscam
    By turbopower in forum PC приемници и карти
    Replies: 0
    Last Post: 09-06-2012, 13:11:41
  3. Oscam v8a DVBAPI setup for 09cd card - EDG Nemesis E2
    By *Besmiri* in forum OSCam Plugins
    Replies: 0
    Last Post: 21-12-2011, 01:03:18
  4. OSCAM mit DVBAPI (sh4) - E2
    By OVES12 in forum OSCam Binaries
    Replies: 75
    Last Post: 01-12-2011, 17:11:40
  5. Oscam Info Plugin V0.4
    By aguda in forum OSCam Plugins
    Replies: 0
    Last Post: 21-12-2010, 15:37:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •