bino-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bino-list] bino on E6700


From: Robert Pliszko
Subject: Re: [Bino-list] bino on E6700
Date: Tue, 13 Sep 2011 08:42:15 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.20) Gecko/20110817 Mandriva/3.1.12-0.1mdv2010.2 (2010.2) Lightning/1.0b2 Thunderbird/3.1.12

On 13.09.2011 06:58, Martin Lambers wrote:

Doesn't the PPA provide ffplay as part of ffmpeg? And if not, you might
try to build ffmpeg yourself; it is really just "./configure; make; make
install" just like most other packages (FFmpeg only requires yasm to
build but all external libraries are optional, so you don't have to
install any dependencies).

No. The PPA is the system which build deb ubuntu packages from source.
I compiled using rule script. The part of rule is below:

---- cut -----
FFMPEGSRC=./ffmpeg
FFMPEGINCS="-I$(TOPDIR)/$(FFMPEGSRC)/build/include"
FFMPEGLIBS="-L$(TOPDIR)/$(FFMPEGSRC)/build/lib"

build: build-stamp
build-stamp:
        dh_testdir

        # Add here commands to compile the package.
cd $(FFMPEGSRC) && ./configure --disable-shared --enable-static --enable-gpl --enable-vdpau --enable-postproc --enable-swscale --disable-avfilter --enable-pthreads --enable-runtime-cpudetect --prefix=./build ; cd ..
        $(MAKE) --directory=$(FFMPEGSRC)
        $(MAKE) --directory=$(FFMPEGSRC) install
        #dh_quilt_patch
env libavformat_CFLAGS="$(FFMPEGINCS)" libavformat_LIBS="$(FFMPEGLIBS) -lavformat -lavcodec -lavutil -lz" libswscale_CFLAGS="$(FFMPEGINCS)" libswscale_LIBS="$(FFMPEGLIBS) -lswscale" libavdevice_CFLAGS="$(FFMPEGINCS)" libavdevice_LIBS="$(FFMPEGLIBS) -lavdevice" dh_auto_configure
        dh_auto_build

        touch build-stamp

clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp

        dh_auto_clean
        #dh_quilt_unpatch
        $(MAKE) --directory=$(FFMPEGSRC) uninstall || true
        $(MAKE) --directory=$(FFMPEGSRC) clean || true
        $(MAKE) --directory=$(FFMPEGSRC) distclean || true
        rm -rf $(FFMPEGSRC)/build || true

        dh_clean

install: build
        dh_testdir
        dh_testroot
        dh_prep
        dh_installdirs

        dh_auto_install

# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build install
        dh_testdir
        dh_testroot
        dh_install
        dh_installchangelogs
        dh_installdocs
        dh_installinfo
        dh_installman
        dh_link
        dh_strip --dbg-package=bino-dbg
        dh_compress
        dh_fixperms
        dh_installdeb
#       dh_shlibdeps -- -xnvidia-current
        dh_gencontrol
        dh_md5sums
        dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
----------- cut ------------------

As you see I've compiled libraries of ffmpeg to next compile bino - that's why I don't have ffplay. But, you gave me good idea. I will compile ffmpeg separatly with ffplay and check it.


So this means there is some specialty in your HTPC setup that exposes
this problem...

Not exactly. I've tried it on computer of my colleague, and effect was the same.

Well, that does not exactly answer the question... Did a previous
version of Bino work for you on your HTPC? Which one? We have to somehow
narrow the problem down.


Ok. I share my system, and you will debug this problem.

system - http://systems-design.pl/xbmc/xbmc-11.0-libbluray-2011.09.11-nvidia-gt430-1.iso
unetbootin - http://systems-design.pl/xbmc/unetbootin-linux-549
extlinux - http://systems-design.pl/xbmc/extlinux.conf
plugin.multimedia.players - http://systems-design.pl/xbmc/plugin.multimedia.players-1.1.0-alpha.zip

The system is working on nvidia graphics family.
Short describe how "install" and "run" it:

1. Use pendrive more then 1G
2. Create two linux partitions (1 - min 500MB [I used 1G], 2 - rest of size of your pendrive)
3. Format its using ext3 filesystem
4. To install iso file use unetbootin-linux application
5. Rename file extlinux.conf on root system pendrive directory
6. Set start from usb in your BIOS of HTPC
7. Start system
8. Install plugin on xbmc:
   a) download plugin.multimedia.players-1.1.0-alpha.zip
   b) copy to another pendrive and connect it to htpc computer
c) in xbmc choose system->addons->install from zip files and find this file d) in xbmc enter to video->addons->External Multimedia Players->Settings and set variables. Do not forget enable 2D/3D e) in xbmc enter to video->addons->External Multimedia Players->Initialize
   f) restart player
9. Add sources where you have 3D multimedia, select one of them and click "p" button on keyboard. Select 3D.

When you play 3D movie you can see black screen and nothing more. The bino started, but not started playing the movie.
You can kill this process via linux console.
Pres ctrl+alt+f1. Login as xbmc, pass: xbmc. Find bino processes "ps ax|grep bino" and kill its.
Try edit "/xbmc/.xbmc/addons/plugin.multimedia.players/resources/lib".
Find lines "appRun" (there are 2 in def player3D, and def player3D2files). You can add "/usr/bin/strace -o /dev/null " before "appMovie". Save this file, and return to xbmc menu. Press "p" on 3D movie, and select "3D". Now its started correctly...

If you want to install something from repository on this system remember that links of graphics card are static. We can break it sometimes, and we can see on monitor error message. I can share script which repair it if you want.

Robert


Attachment: Robert_Pliszko.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]