Can someone post a detailed write up, on how to compile Xuggler for Raspberry Pi?
相关问题
- Disabling interrupt in interrupt handler STM32F407
- Problems with Gst in python program
- Connecting CAD model (Solidworks, AutoCAD or CATIA
- Can run ARM/rpi images in Docker on Windows but no
- Maven project with PI4J library - error in opening
相关文章
- chown command returning Operation not permitted [c
- Raspberry-pi docker error: standard_init_linux.go:
- Raspberry Pi crosscompile on Ubuntu 13.10 “libstdc
- Running Python CGI Scripts from Javascript and JQu
- Why does my JavaFx application not have a frame wh
- Using watchdog of python to monitoring afp shared
- QTMultimedia compilation for Raspberry Pi
- Prevent usbhid from autoloading when USB HID devic
After working on for about 5 days , I am putting the following guide to compile xuggler for Raspberry Pi (Time required : 8 hrs):
Prerequisites:
Steps:
Switch to 'root' user.
From the Basic xuggler build page install the dependencies (http://www.xuggle.com/xuggler/build) labeled as 'Required'
Create and export variables as follows (Make the relevant directories)
Create the following link:
If you are behind any kind of web proxy then set the following variables too:
Now move to the following directory:
Download the xuggler code from here(https://github.com/artclarke/xuggle-xuggler):
The code would be downloaded in the directory named 'xuggle-xuggler'
Move inside the directory 'xuggle-xuggler'
If you are behind a proxy add the following line in the file 'build.xml', just below the 'property' xml tags in the file:
Now edit the file 'captive/libspeex/csrc/configure' as follows:
From:
To:
And
From:
To:
Refer this for more info.
Now edit the file ' captive/libspeex/csrc/configure.ac' as follows:
From:
To:
And
From:
To:
Refer this for more info.
Now as listed in the xuggler advance build link (http://www.xuggle.com/xuggler/advbuild), launch the command:
The process will fail at or during the compilation of libX264, to circumvent it, add the following compile switches in the now generated file i.e edit file 'captive/libx264/incarcerate.in' :
From:
To:
Now run following command(one by one only):
This time all the compile steps will go through.
Run the install command:
The xuggler binaries would be installed at the location 'XUGGLE_HOME' as defined in step #3.
The xuggler maven repository for java binaries would be located at '/root/.m2/repository/xuggle/xuggle-xuggler'
Also you can check out the '../xuggle-xuggler/dist' directory to check all the native and java binaries for your non-maven kind of use.
The compiled binaries ran fine on Raspberry PI (Arch Linux, Raspbian).
If you don't have the time to compile, get the binaries from here.
Make sure to add the variables as defined in step #3 in java class path or shell terminal before using the java binaries compiled by me.
Special thanks to 11101101b for guidance and helping.
References: