Xuggler 5.2 available for testing

1,970 views
Skip to first unread message

Art Clarke

unread,
Apr 2, 2012, 9:42:24 PM4/2/12
to xuggler-users
Hi folks,

I published Xuggler 5.2 to the ivy/maven repositories and updated the 'download' instructions for the new releases.   I also updated the repositories with jars for each individual OS if people want them (I may not continue this in the future -- only if useful).

This is the FIRST candidate for a release of Xuggler which does not require an installer for Windows 32 or 64 bit, for Mac OS X 10.7, or for Linux based on libc6.   Instructions for usage (feedback / error notifications appreciated):

If you want to see a Maven project that is using Xuggler WITHOUT having to install it, see the new "xuggle-xuggler-test" project:

You can run "mvn site" and it should run all the tests and make a nice report version in "target/site/index.html" without having to install Xuggler, set PATH, LD_LIBRARY_PATH or DYLD_LIBRARY_PATH or any of that other bullshit :)

Enjoy.  I'm going to spend the rest of this week fixing reported bugs (libvpx PIC support, RTMP and RTSP being the major ones I've heard about) and shooting to ship 5.3 (which will be final) at the end of the week.  At that stage, I'm going to call it "done" at this stage and move on to the next project.

Thanks,

- Art

p.s. if anyone is curious about HOW I'm getting around the need for an installer, check out the com/xuggle/ferry/JNILibrary.java file and all the (heavily) modified incarcerate.in and Makefile.am files.  Unlike building on windows (which has a two drink minimum), figuring all that shit out required a very large crack pipe.  I hate cross-compiling.

--
http://www.xuggle.com/
xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and video.

Use Xuggle to get the power of FFmpeg in Java.

Art Clarke

unread,
Apr 2, 2012, 9:46:42 PM4/2/12
to xuggler-users
One other VERY important thing:

If you use the xuggle-xuggler.jar file that I ship (or any of the pre-compiled binaries I ship) then your version of Xuggler will be licensed with the GPL.  This is necessary since it includes x264 (which forces GPL).

If you want a LGPL version then you need to build your own version of Xuggler, and not include x264 and some FFmpeg assembly operations.  I will make this the default for building from scratch in xuggler 5.3 (although the shipped jars will continue to include x264).  

The Xuggler source code that I've released remains LGPL -- it is the inclusion of x264 that forces us to "man-up" to GPL.

In short:

Want to avoid building yourself and get x264 ==> you MUST license as GPL
Want to build yourself and NOT incldue x264 ==> you CAN license as LGPL

Sorry for any inconvenience.

- Art

Iqbal Yusuf

unread,
Apr 2, 2012, 11:35:14 PM4/2/12
to xuggle...@googlegroups.com
Hi Art,

Thanks for the jars. I'm using

Eclipse Indigo
JDK 1.6
Windows 7 32bit

Trying to compile the following Java class

import com.xuggle.xuggler.IContainer;

public class MediaInformationGet {
public static void main(String[] args) {
String filename = "C:/Users/iyusuf/Videos/BDeshTV/ANONDO_EPISODE1_BETTER.mp4";
IContainer container = IContainer.make();
}
}

... and getting the following error out...

37 [main] ERROR com.xuggle.ferry.JNILibraryLoader - Could not load library: xuggle; version: 5; Visit http://www.xuggle.com/xuggler/faq/ to find common solutions to this problem
Exception in thread "main" java.lang.UnsatisfiedLinkError: no xuggle in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.xuggle.ferry.JNILibraryLoader.loadLibrary0(JNILibraryLoader.java:268)
at com.xuggle.ferry.JNILibraryLoader.loadLibrary(JNILibraryLoader.java:171)
at com.xuggle.ferry.JNILibrary.load(JNILibrary.java:161)
at com.xuggle.ferry.FerryJNI.<clinit>(FerryJNI.java:16)
at com.xuggle.ferry.Ferry.<clinit>(Ferry.java:25)
at com.xuggle.xuggler.XugglerJNI.<clinit>(XugglerJNI.java:19)
at com.xuggle.xuggler.IContainer.<clinit>(IContainer.java:1622)
at MediaInformationGet.main(MediaInformationGet.java:6)


These are the jars I have on my classpath

commons-cli-1.2.jar
logback-classic-0.9.14.jar
logback-core-0.9.14.jar
slf4j-api-1.5.6.jar
slf4j-simple-1.5.6.jar
xuggle-xuggler-arch-i686-w64-mingw32.jar
xuggle-xuggler-noarch-5.2.jar

Stas Oskin

unread,
Apr 3, 2012, 6:06:31 AM4/3/12
to xuggle...@googlegroups.com
Hi.

Good news, I presume compilation from source still the same?

By the way, currently cross_compile seems as having the latest code, when it will be migrated to master?

--
You received this message because you are subscribed to the Google Groups "xuggler-users" group.
To post to this group, send email to xuggle...@googlegroups.com.
To unsubscribe from this group, send email to xuggler-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.

Art Clarke

unread,
Apr 3, 2012, 10:42:05 AM4/3/12
to xuggle...@googlegroups.com
It is merged now.

Stas Oskin

unread,
Apr 3, 2012, 11:14:01 AM4/3/12
to xuggle...@googlegroups.com
Great, thanks.

Iqbal Yusuf

unread,
Apr 3, 2012, 11:17:26 AM4/3/12
to xuggle...@googlegroups.com
Hi All,

Am I doing something stupid here? Do I need to have ffmpeg binaries installed somewhere? Thanks.

Iqbal

Stas Oskin

unread,
Apr 3, 2012, 11:53:23 AM4/3/12
to xuggle...@googlegroups.com
Build fails on CentOS 6:

 [exec] Incarcerating package ../../../../../captive/spandsp to fake DESTDIR=/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/stage
     [exec] make[3]: Entering directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/spandsp/csrc'
     [exec] CDPATH="${ZSH_VERSION+.}:" && cd /home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/../../../../captive/spandsp/csrc && /bin/sh /home/local/LOCAL/stas/workspace/xuggle-xuggler/captive/spandsp/csrc/config/missing --run aclocal-1.11
     [exec]  cd /home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/../../../../captive/spandsp/csrc && /bin/sh /home/local/LOCAL/stas/workspace/xuggle-xuggler/captive/spandsp/csrc/config/missing --run automake-1.11 --gnu
     [exec] spandsp-sim/Makefile.am:41: Libtool library used but `LIBTOOL' is undefined
     [exec] spandsp-sim/Makefile.am:41:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
     [exec] spandsp-sim/Makefile.am:41:   to `configure.ac' and run `aclocal' and `autoconf' again.
     [exec] spandsp-sim/Makefile.am:41:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
     [exec] spandsp-sim/Makefile.am:41:   its definition is in aclocal's search path.
     [exec] src/Makefile.am:86: Libtool library used but `LIBTOOL' is undefined
     [exec] src/Makefile.am:86:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
     [exec] src/Makefile.am:86:   to `configure.ac' and run `aclocal' and `autoconf' again.
     [exec] src/Makefile.am:86:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
     [exec] src/Makefile.am:86:   its definition is in aclocal's search path.
     [exec] make[3]: Leaving directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/spandsp/csrc'
     [exec] Out of date files; re-running make
     [exec] make[3]: Entering directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/spandsp/csrc'
     [exec]  cd /home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/../../../../captive/spandsp/csrc && /bin/sh /home/local/LOCAL/stas/workspace/xuggle-xuggler/captive/spandsp/csrc/config/missing --run automake-1.11 --gnu
     [exec] make[3]: *** [/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/../../../../captive/spandsp/csrc/Makefile.in] Error 1
     [exec] spandsp-sim/Makefile.am:41: Libtool library used but `LIBTOOL' is undefined
     [exec] spandsp-sim/Makefile.am:41:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
     [exec] spandsp-sim/Makefile.am:41:   to `configure.ac' and run `aclocal' and `autoconf' again.
     [exec] spandsp-sim/Makefile.am:41:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
     [exec] spandsp-sim/Makefile.am:41:   its definition is in aclocal's search path.
     [exec] src/Makefile.am:86: Libtool library used but `LIBTOOL' is undefined
     [exec] src/Makefile.am:86:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
     [exec] src/Makefile.am:86:   to `configure.ac' and run `aclocal' and `autoconf' again.
     [exec] src/Makefile.am:86:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
     [exec] src/Makefile.am:86:   its definition is in aclocal's search path.
     [exec] make[3]: Leaving directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/spamake[3]: *** [/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/../../../../captive/spandsp/csrc/Makefile.in] Error 1
     [exec] make[2]: *** [all-local] Error 2
     [exec] make[1]: *** [all-recursive] Error 1
     [exec] make: *** [all-recursive] Error 1

Art Clarke

unread,
Apr 3, 2012, 11:56:41 AM4/3/12
to xuggle...@googlegroups.com
In theory with the latest tip of tree, you do not need to install ffmpeg.

If you're not building, just follow the new Maven and Ivy instructions on the Downloads page.

If you are building, just include the xuggle-xuggler.jar file that is built in your dependent projects.  Please note that the jar you build will contain ONLY the operating systems you build for.  See the "cross.sh" script (top directory) for an example how to build a custom xuggle-xuggler jar file that contains more than one native set of code (e.g. 32 and 64 bit OS-X).

- Art

--
You received this message because you are subscribed to the Google Groups "xuggler-users" group.
To post to this group, send email to xuggle...@googlegroups.com.
To unsubscribe from this group, send email to xuggler-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.

Art Clarke

unread,
Apr 3, 2012, 12:01:33 PM4/3/12
to xuggle...@googlegroups.com
I have no CentOS build system to try to fix that one.  If you want to set one up for me here's my SSH public key, and I'll try to log-in and do a build.  But the error is not obvious since the relevant configure.ac file does indeed use AC_PROG_LIBTOOL (captive/spandsp/csrc/configure.ac).

- Art
id_rsa.pub

Art Clarke

unread,
Apr 3, 2012, 12:21:57 PM4/3/12
to xuggle...@googlegroups.com
Also, try pulling cross_compile again.  I disabled some rules in autoconf for spandsp and it MIGHT help.

- Art

Stas Oskin

unread,
Apr 3, 2012, 1:48:12 PM4/3/12
to xuggle...@googlegroups.com
On cross_compile it runs fine.

Art Clarke

unread,
Apr 3, 2012, 1:49:47 PM4/3/12
to xuggle...@googlegroups.com
Meaning after you pulled down this morning?  good.

 -Art

Stas Oskin

unread,
Apr 3, 2012, 1:51:33 PM4/3/12
to xuggle...@googlegroups.com
Yep, latest git.

There are still the pax warnings (that require entering dot (.) to continue), but otherwise it seem to compile fine.

Art Clarke

unread,
Apr 3, 2012, 1:53:18 PM4/3/12
to xuggle...@googlegroups.com
Pax warnings?  Not sure what those are.  Can you give more details?

- Art

Everson Alves

unread,
Apr 3, 2012, 2:15:25 PM4/3/12
to xuggle...@googlegroups.com
This version is the same as you published 2 weeks ago? I mean, the pom date is the as the one I've testing since posted. It's working great on Windows XP jvm 32bit, Windows 7 jvm 64bit and Mac OS  64bit. Only problem was that on windows I had to unzip the lib-xuggle.dll and put on  a directory on $PATH.
- Art

 -Art


- Art


- Art


Great, thanks.


It is merged now.


--
To unsubscribe from this group, send email to xuggler-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "xuggler-users" group.
To post to this group, send email to xuggle...@googlegroups.com.
To unsubscribe from this group, send email to xuggler-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.



--
http://www.xuggle.com/
xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and video.

Use Xuggle to get the power of FFmpeg in Java.

--
You received this message because you are subscribed to the Google Groups "xuggler-users" group.
To post to this group, send email to xuggle...@googlegroups.com.
To unsubscribe from this group, send email to xuggler-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "xuggler-users" group.
To post to this group, send email to xuggle...@googlegroups.com.
To unsubscribe from this group, send email to xuggler-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.



--
http://www.xuggle.com/
xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and video.

Use Xuggle to get the power of FFmpeg in Java.



--
http://www.xuggle.com/
xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and video.

Use Xuggle to get the power of FFmpeg in Java.

--
You received this message because you are subscribed to the Google Groups "xuggler-users" group.
To post to this group, send email to xuggle...@googlegroups.com.
To unsubscribe from this group, send email to xuggler-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "xuggler-users" group.
To post to this group, send email to xuggle...@googlegroups.com.
To unsubscribe from this group, send email to xuggler-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.



--
http://www.xuggle.com/
xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and video.

Use Xuggle to get the power of FFmpeg in Java.

--
You received this message because you are subscribed to the Google Groups "xuggler-users" group.
To post to this group, send email to xuggle...@googlegroups.com.
To unsubscribe from this group, send email to xuggler-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "xuggler-users" group.
To post to this group, send email to xuggle...@googlegroups.com.
To unsubscribe from this group, send email to xuggler-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.

Art Clarke

unread,
Apr 3, 2012, 2:18:08 PM4/3/12
to xuggle...@googlegroups.com
Hmm... it should have been republished yesterday.  I'll redo for 5.3.

The libxuggle.dll step SHOULD NOT be necessary; please hang on for 5.3 for my fix.

- Art

To view this discussion on the web visit https://groups.google.com/d/msg/xuggler-users/-/sRyNdTFgaGIJ.

To post to this group, send email to xuggle...@googlegroups.com.
To unsubscribe from this group, send email to xuggler-user...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.

Stas Oskin

unread,
Apr 3, 2012, 2:19:52 PM4/3/12
to xuggle...@googlegroups.com
Here it is:

 [exec] Configuring libvo-aacenc with these options:
     [exec] checking for a BSD-compatible install... /usr/bin/install -c
     [exec] checking whether build environment is sane... yes
     [exec] checking for a thread-safe mkdir -p... /bin/mkdir -p
     [exec] checking for gawk... gawk
     [exec] checking whether make sets $(MAKE)... yes

ATTENTION! pax archive volume change required.
Ready for archive volume: 1
Input archive name or "." to quit pax.
Archive name >

Stas Oskin

unread,
Apr 3, 2012, 2:21:22 PM4/3/12
to xuggle...@googlegroups.com
Also the compilation failed after all:

     [exec] ---------------- WARNING! ----------------
     [exec] Swig input file output file (Xuggler.cpp) is out of date,
     [exec] because of ../../../../../../../csrc/com/xuggle/xuggler/Xuggler.i
     [exec] but Swig is not available on this computer.
     [exec]
     [exec] To work around, We have copied a previously
     [exec] generated copy of Xuggler.cpp from
     [exec] /com/xuggle/xuggler.
     [exec]
     [exec] make  all-recursive
     [exec] make[5]: Entering directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle/xuggler'
     [exec] Making all in io
     [exec] make[6]: Entering directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle/xuggler/io'
     [exec] make  all-am
     [exec] make[7]: Entering directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle/xuggler/io'
     [exec]   CXX    FfmpegIO.lo
     [exec]   CXX    StdioURLProtocolHandler.lo
     [exec]   CXX    StdioURLProtocolManager.lo
     [exec]   CXX    JavaURLProtocolHandler.lo
     [exec]   CXX    JavaURLProtocolManager.lo
     [exec]   CXX    URLProtocolHandler.lo
     [exec]   CXX    URLProtocolManager.lo
     [exec]   CXXLD  libxuggle-xuggler-io.la
     [exec] make[7]: Leaving directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle/xuggler/io'
     [exec] make[6]: Leaving directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle/xuggler/io'
     [exec] make[6]: Entering directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle/xuggler'
     [exec]   CXX    AudioResampler.lo
     [exec]   CXX    AudioSamples.lo
     [exec]   CXX    Codec.lo
     [exec]   CXX    Container.lo
     [exec]   CXX    ContainerFormat.lo
     [exec]   CXX    Error.lo
     [exec]   CXX    VideoPicture.lo
     [exec]   CXX    Global.lo
     [exec]   CXX    IAudioResampler.lo
     [exec]   CXX    IAudioSamples.lo
     [exec]   CXX    ICodec.lo
     [exec]   CXX    IContainer.lo
     [exec]   CXX    IContainerFormat.lo
     [exec]   CXX    IError.lo
     [exec]   CXX    IVideoPicture.lo
     [exec]   CXX    IIndexEntry.lo
     [exec]   CXX    IndexEntry.lo
     [exec]   CXX    IMediaData.lo
     [exec]   CXX    IMediaDataWrapper.lo
     [exec]   CXX    IMetaData.lo
     [exec]   CXX    IPacket.lo
     [exec]   CXX    IPixelFormat.lo
     [exec]   CXX    IProperty.lo
     [exec]   CXX    IRational.lo
     [exec]   CXX    IStreamCoder.lo
     [exec]   CXX    IStream.lo
     [exec]   CXX    ITimeValue.lo
     [exec]   CXX    IVideoResampler.lo
     [exec]   CXX    MediaDataWrapper.lo
     [exec]   CXX    MetaData.lo
     [exec]   CXX    Packet.lo
     [exec]   CXX    Property.lo
     [exec]   CXX    Rational.lo
     [exec]   CXX    StreamCoder.lo
     [exec]   CXX    Stream.lo
     [exec]   CXX    TimeValue.lo
     [exec]   CXX    VideoResampler.lo
     [exec]   CXX    Xuggler.lo
     [exec]   CXXLD  libxuggle-xuggler.la
     [exec] make[6]: Leaving directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle/xuggler'
     [exec] make[5]: Leaving directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle/xuggler'
     [exec] make[4]: Leaving directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle/xuggler'
     [exec] make[4]: Entering directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle'
     [exec]   CC     Xuggle.lo
     [exec] Package spandsp was not found in the pkg-config search path.
     [exec] Perhaps you should add the directory containing `spandsp.pc'
     [exec] to the PKG_CONFIG_PATH environment variable
     [exec] No package 'spandsp' found
     [exec] Package spandsp was not found in the pkg-config search path.
     [exec] Perhaps you should add the directory containing `spandsp.pc'
     [exec] to the PKG_CONFIG_PATH environment variable
     [exec] No package 'spandsp' found
     [exec]   CCLD   libxuggle.la
     [exec]   CXX    Main.o
     [exec]   CXXLD  xuggle-xuggler-main
     [exec] ./.libs/libxuggle.so: undefined reference to `av_write_frame'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_get_context_defaults3'
     [exec] ./.libs/libxuggle.so: undefined reference to `audio_resample_close'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_dict_copy'
     [exec] ./.libs/libxuggle.so: undefined reference to `sws_scale'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_add_q'
     [exec] ./.libs/libxuggle.so: undefined reference to `sws_freeContext'
     [exec] ./.libs/libxuggle.so: undefined reference to `sws_setColorspaceDetails'
     [exec] ./.libs/libxuggle.so: undefined reference to `avformat_alloc_context'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_alloc_frame'
     [exec] ./.libs/libxuggle.so: undefined reference to `avio_alloc_context'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_find_encoder_by_name'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_open2'
     [exec] ./.libs/libxuggle.so: undefined reference to `avformat_find_stream_info'
     [exec] ./.libs/libxuggle.so: undefined reference to `audio_resample'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_decode_audio4'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_find_encoder'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_guess_format'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_d2q'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_find_input_format'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_encode_audio'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_opt_get'
     [exec] ./.libs/libxuggle.so: undefined reference to `avformat_seek_file'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_sub_q'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_log_get_level'
     [exec] ./.libs/libxuggle.so: undefined reference to `avformat_network_init'
     [exec] ./.libs/libxuggle.so: undefined reference to `avfilter_register_all'
     [exec] ./.libs/libxuggle.so: undefined reference to `sws_init_context'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_opt_get_double'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_find_decoder'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_opt_set'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_close'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_codec_next'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_index_search_timestamp'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_get_bytes_per_sample'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_opt_free'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_init_packet'
     [exec] ./.libs/libxuggle.so: undefined reference to `avformat_open_input'
     [exec] ./.libs/libxuggle.so: undefined reference to `avpicture_get_size'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_register_all'
     [exec] ./.libs/libxuggle.so: undefined reference to `avdevice_register_all'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_get_frame_defaults'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_encode_video'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_samples_get_buffer_size'
     [exec] ./.libs/libxuggle.so: undefined reference to `avio_close'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_freep'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_lockmgr_register'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_find_decoder_by_name'
     [exec] ./.libs/libxuggle.so: undefined reference to `avio_open2'
     [exec] ./.libs/libxuggle.so: undefined reference to `avformat_write_header'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_alloc_context3'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_free'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_opt_find'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_add_index_entry'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_decode_video2'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_sample_fmt_is_planar'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_codec_get_tag'
     [exec] ./.libs/libxuggle.so: undefined reference to `avformat_close_input'
     [exec] ./.libs/libxuggle.so: undefined reference to `avpicture_fill'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_opt_set_defaults'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_rescale'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_opt_set_int'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_opt_next'
     [exec] ./.libs/libxuggle.so: undefined reference to `sws_getCoefficients'
     [exec] ./.libs/libxuggle.so: undefined reference to `avformat_free_context'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_reduce'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_opt_set_double'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_rescale_rnd'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_opt_set_q'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_guess_codec'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_dict_free'
     [exec] ./.libs/libxuggle.so: undefined reference to `avio_flush'
     [exec] ./.libs/libxuggle.so: undefined reference to `avcodec_copy_context'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_audio_resample_init'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_oformat_next'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_opt_find2'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_get_int'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_dict_get'
     [exec] ./.libs/libxuggle.so: undefined reference to `avformat_alloc_output_context2'
     [exec] ./.libs/libxuggle.so: undefined reference to `sws_alloc_context'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_get_q'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_mallocz'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_read_frame'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_malloc'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_seek_frame'
     [exec] ./.libs/libxuggle.so: undefined reference to `avformat_new_stream'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_opt_set_dict'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_free_packet'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_log_set_level'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_div_q'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_dict_set'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_log_set_callback'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_write_trailer'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_mul_q'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_sdp_create'
     [exec] ./.libs/libxuggle.so: undefined reference to `avio_size'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_rescale_q'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_interleaved_write_frame'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_picture_copy'
     [exec] ./.libs/libxuggle.so: undefined reference to `av_iformat_next'
     [exec] collect2: ld returned 1 exit status
     [exec] make[4]: *** [xuggle-xuggler-main] Error 1
     [exec] make[3]: *** [all-recursive] Error 1
     [exec] make[2]: *** [all-recursive] Error 1

     [exec] make[1]: *** [all-recursive] Error 1
     [exec] make[4]: Leaving directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle'
     [exec] make[3]: Leaving directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle'
     [exec] make[2]: Leaving directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com'
     [exec] make[1]: Leaving directory `/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc'

     [exec] make: *** [all-recursive] Error 1


Art Clarke

unread,
Apr 3, 2012, 2:24:13 PM4/3/12
to xuggle...@googlegroups.com
Can you do the following:
cd /home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle
make V=1

and then send me the output (which should include the full compiler lines).

thanks,

- Art

Stas Oskin

unread,
Apr 3, 2012, 3:35:04 PM4/3/12
to xuggle...@googlegroups.com

Art Clarke

unread,
Apr 3, 2012, 3:40:34 PM4/3/12
to xuggle...@googlegroups.com
Alas, that didn't help.  Can you do a make clean BEFORE you do the make V=1 and paste that?

- Art

Winston

unread,
Apr 3, 2012, 9:12:24 AM4/3/12
to xuggler-users
I fix this problem by unzip the jar and find put libxuggler.ddl into
%PATH%. I use the all in one jar. For you I guess the dll would in
"xuggle-xuggler-arch-i686-w64-mingw32.jar".
Good luck.

Winston

On Apr 2, 11:35 pm, Iqbal Yusuf <iyu...@dcl-online.com> wrote:
> Hi Art,
>
> Thanks for the jars. I'm using
>
> *Eclipse Indigo*
> *JDK 1.6*
> *Windows 7 32bit*
>
> Trying to compile the following Java class
>
> import com.xuggle.xuggler.IContainer;
>
> public class MediaInformationGet {
>  public static void main(String[] args) {
> String filename =
> "C:/Users/iyusuf/Videos/BDeshTV/ANONDO_EPISODE1_BETTER.mp4";
>  IContainer container = IContainer.make();
>
> }
> }
>
> *... and getting the following error out...*
> *
> *
> *
> 37 [main] ERROR com.xuggle.ferry.JNILibraryLoader - Could not load library:
> xuggle; version: 5; Visithttp://www.xuggle.com/xuggler/faq/to find common
> solutions to this problem
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no xuggle in
> java.library.path
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
>  at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
>  at
> com.xuggle.ferry.JNILibraryLoader.loadLibrary0(JNILibraryLoader.java:268)
>  at com.xuggle.ferry.JNILibraryLoader.loadLibrary(JNILibraryLoader.java:171)
> at com.xuggle.ferry.JNILibrary.load(JNILibrary.java:161)
>  at com.xuggle.ferry.FerryJNI.<clinit>(FerryJNI.java:16)
> at com.xuggle.ferry.Ferry.<clinit>(Ferry.java:25)
>  at com.xuggle.xuggler.XugglerJNI.<clinit>(XugglerJNI.java:19)
> at com.xuggle.xuggler.IContainer.<clinit>(IContainer.java:1622)
>  at MediaInformationGet.main(MediaInformationGet.java:6)
>
> *
>
> These are the jars I have on my classpath
>
> *commons-cli-1.2.jar*
> *logback-classic-0.9.14.jar*
> *logback-core-0.9.14.jar*
> *slf4j-api-1.5.6.jar*
> *slf4j-simple-1.5.6.jar*
> *xuggle-xuggler-arch-i686-w64-mingw32.jar*
> *xuggle-xuggler-noarch-5.2.jar*

Stas Oskin

unread,
Apr 3, 2012, 3:49:11 PM4/3/12
to xuggle...@googlegroups.com

Art Clarke

unread,
Apr 3, 2012, 3:53:14 PM4/3/12
to xuggle...@googlegroups.com
The problem is that pkg-config (when trying to figure out what libraries to link libxuggle with) cannot find spandsp's pkg-config settings.

What are the contents of the following directory:
/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/stage/usr/local/lib/pkgconfig

I'm trying to find out if there is a spandsp.pc file there.  if not, then something continues to break on your spandsp install and I'll need to see the full output of that part of the build to figure out what.

Stas Oskin

unread,
Apr 3, 2012, 4:22:40 PM4/3/12
to xuggle...@googlegroups.com
[stas@linuxdevx pkgconfig]$ ls
libavcodec.pc   libpostproc.pc    ogg.pc             theoradec.pc   vorbis.pc
libavdevice.pc  librtmp.pc        opencore-amrnb.pc  theoraenc.pc   vpx.pc
libavfilter.pc  libssl.pc         opencore-amrwb.pc  theora.pc      x264.pc
libavformat.pc  libswresample.pc  openssl.pc         vo-aacenc.pc   zlib.pc
libavutil.pc    libswscale.pc     speexdsp.pc        vorbisenc.pc
libcrypto.pc    libtiff-4.pc      speex.pc           vorbisfile.pc

Stas Oskin

unread,
Apr 3, 2012, 4:24:53 PM4/3/12
to xuggle...@googlegroups.com
Seems the spandsp missing indeed.

As it seems to be VOIP related, perhaps it possible to compile without it?

Art Clarke

unread,
Apr 3, 2012, 4:30:49 PM4/3/12
to xuggle...@googlegroups.com
I'm requiring it (and liboil) for some futures, so know I'm not planning to take it out.  Do me a favor and go to (in your captive build directory)

cd build/native/*/captive/spandsp
rm -rf csrc
make V=1 > make.out

and then send me the contents of make.out.  If it's failing because of that pax thing, see if there is some fix on CentOS for the pax error.

- Art

Stas Oskin

unread,
Apr 3, 2012, 5:30:39 PM4/3/12
to xuggle...@googlegroups.com
Here is the make.out file.

The build ended with following:

configure: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: tiffio.h: proceeding with the compiler's result
make[2]: *** [all] Error 1

make[1]: *** [all-recursive] Error 1
/home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/../../../../captive/spandsp/csrc/src/t31.c:1329: warning: 'v8_handler' defined but not used
libtool: install: warning: remember to run `libtool --finish /usr/local/lib64'
make.out

Art Clarke

unread,
Apr 3, 2012, 5:54:04 PM4/3/12
to xuggle...@googlegroups.com
Hmm.... very very very strange.  Sorry to put you through a lot, but one more thing -- let's try building the captives entirely separate from the rest of xuggle and see what we get:

# create a temp directory
mkdir /tmp/stas

# run configure in that directory
cd /tmp/stas
/path/to/your-xuggler-source-install/captive/configure

# run make and record output
make V=1 > make.out

Iqbal Yusuf

unread,
Apr 3, 2012, 6:01:51 PM4/3/12
to xuggle...@googlegroups.com
Sweetttttt!!!!! :) 

That just did it for me. Thanks a ton Winston and off-course Art.

Iqbal

Art Clarke

unread,
Apr 3, 2012, 6:03:34 PM4/3/12
to xuggle...@googlegroups.com
5.3 will NOT require that path trick :)

- Art

Stas Oskin

unread,
Apr 3, 2012, 7:49:35 PM4/3/12
to xuggle...@googlegroups.com
I'm glad to help, Art.

Attached is the make out file.
make.zip

Julien Baumgarten

unread,
Apr 4, 2012, 5:29:15 AM4/4/12
to xuggle...@googlegroups.com
Hi Art,

I get the sources from the git repository and tried to compile it on a Mac Lion 10.7.3.
I ran "ant run-tests" and I go the following error:

run-tests-native:

compile-tests-java:

ivy-init:

ivy-retrieve:
     [echo] ivy.settings.name: test
     [echo] ivy.deliver.revision: 5.2-SNAPSHOT
[ivy:resolve] :: loading settings :: file = /Users/Julien/Desktop/xuggle-xuggler/mk/buildtools/ivysettings.xml
[ivy:resolve] :: resolving dependencies :: xuggle#xuggle-xuggler;5.2-SNAPSHOT
[ivy:resolve] confs: [test]
[ivy:resolve] found org.slf4j#slf4j-api;1.6.4 in public
[ivy:resolve] found commons-cli#commons-cli;1.1 in public
[ivy:resolve] found ch.qos.logback#logback-core;1.0.0 in public
[ivy:resolve] found ch.qos.logback#logback-classic;1.0.0 in public
[ivy:resolve] found junit#junit;4.5 in default
[ivy:resolve] found xuggle#xuggle-utils;1.21.888.200908201439 in xugglecode
[ivy:resolve] [1.21.888.200908201439] xuggle#xuggle-utils;latest.integration
[ivy:resolve] :: resolution report :: resolve 211316ms :: artifacts dl 3ms
---------------------------------------------------------------------
|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|       test       |   6   |   1   |   0   |   0   ||   4   |   0   |
---------------------------------------------------------------------
[ivy:resolve] 
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: junit#junit;4.5: configuration not found in junit#junit;4.5: 'master'. It was required from xuggle#xuggle-xuggler;5.2-SNAPSHOT test
[ivy:resolve] :: xuggle#xuggle-utils;1.21.888.200908201439: configuration not found in xuggle#xuggle-utils;1.21.888.200908201439: 'master'. It was required from xuggle#xuggle-xuggler;5.2-SNAPSHOT test
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :::: ERRORS
[ivy:resolve] unknown resolver googlecode
[ivy:resolve] unknown resolver googlecode
[ivy:resolve] 
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/Users/Julien/Desktop/xuggle-xuggler/mk/buildtools/buildhelper.xml:808: The following error occurred while executing this line:
/Users/Julien/Desktop/xuggle-xuggler/mk/buildtools/buildhelper.xml:461: impossible to resolve dependencies:
resolve failed - see output for details


It came after the tests run and succeed.
Is it because the website xuggle.com is unreachable?

Yours sincerely,
Julien BAUMGARTEN


<make.zip>

Julien Baumgarten

unread,
Apr 4, 2012, 6:27:17 AM4/4/12
to xuggle...@googlegroups.com
If I use the cross.sh script, I have:

MacBook-de-Kawa:xuggle-xuggler Julien$ ls -lh dist/lib/
total 141832
-rw-r--r--  1 Julien  staff    35K  4 avr 12:21 commons-cli.jar
-rw-r--r--  1 Julien  staff   241K  4 avr 12:21 logback-classic.jar
-rw-r--r--  1 Julien  staff   320K  4 avr 12:21 logback-core.jar
-rw-r--r--  1 Julien  staff    25K  4 avr 12:21 slf4j-api.jar
-rw-r--r--  1 Julien  staff   5,4M  4 avr 12:21 xuggle-xuggler-arch-i386-xuggle-darwin11.jar
-rw-r--r--  1 Julien  staff    11M  4 avr 12:21 xuggle-xuggler-arch-universal-xuggle-darwin11.jar
-rw-r--r--  1 Julien  staff   5,9M  4 avr 12:21 xuggle-xuggler-arch-x86_64-xuggle-darwin11.jar
-rw-r--r--  1 Julien  staff    23M  4 avr 12:21 xuggle-xuggler-noarch.jar
-rw-r--r--  1 Julien  staff    23M  4 avr 12:22 xuggle-xuggler.jar
-rw-r--r--  1 Julien  staff   1,6K  4 avr 12:22 xuggle-xuggler.pom

Is it normal that xuggle-xuggler-noarch.jar and xuggle-xuggler.jar both contains libxuggle.dylib for universal, i386 and x86_64?

Yours sincerely,
Julien BAUMGARTEN

Art Clarke

unread,
Apr 4, 2012, 9:18:19 AM4/4/12
to xuggle...@googlegroups.com, xuggle...@googlegroups.com
No.  That's a bug I fixed yesterday on cross_compile and will be fixed in 5.3

Sent from my iPad

Teddy Yueh

unread,
Apr 5, 2012, 1:42:27 PM4/5/12
to xuggler-users
Yay for new Xuggler! I'm testing it on 64-bit Windows 7. Using
IContainer, reading is working well, but I can't seem to write
anything (header, packets). I notice a few deprecated methods, but
looking in the repo at http://code.google.com/p/xuggle/source/browse/
doesn't seem to yield any of the new changes.

The container and stream coders open successfully and each appear to
have the correct properties. I'm using the same approach that worked
in Xuggler 3.x and 4.x but using non-deprecated methods. If something
changed that requires a different approach to writing using
IContainer, is it documented somewhere?

Thanks for the great work!

Teddy

On Apr 4, 7:18 am, Art Clarke <acla...@xuggle.com> wrote:
> No.  That's a bug I fixed yesterday on cross_compile and will be fixed in 5.3
>
> Sent from my iPad
>
> >> [ivy:resolve]  SERVER ERROR: Proxy Error url=http://build.xuggle.com/view/Stable/job/red5_jdk6_stable/lastSuccessf...
> >> [ivy:resolve]
> >> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>
> >> BUILD FAILED
> >> /Users/Julien/Desktop/xuggle-xuggler/mk/buildtools/buildhelper.xml:808: The following error occurred while executing this line:
> >> /Users/Julien/Desktop/xuggle-xuggler/mk/buildtools/buildhelper.xml:461: impossible to resolve dependencies:
> >>        resolve failed - see output for details
>
> >> It came after the tests run and succeed.
> >> Is it because the website xuggle.com is unreachable?
>
> >> Yours sincerely,
> >> Julien BAUMGARTEN
>
> >> Le 4 avr. 2012 à 01:49, Stas Oskin a écrit :
>
> >>> I'm glad to help, Art.
>
> >>> Attached is the make out file.
>
> >>> On Wed, Apr 4, 2012 at 12:54 AM, Art Clarke <acla...@xuggle.com> wrote:
> >>> Hmm.... very very very strange.  Sorry to put you through a lot, but one more thing -- let's try building the captives entirely separate from the rest of xuggle and see what we get:
>
> >>> # create a temp directory
> >>> mkdir /tmp/stas
>
> >>> # run configure in that directory
> >>> cd /tmp/stas
> >>> /path/to/your-xuggler-source-install/captive/configure
>
> >>> # run make and record output
> >>> make V=1 > make.out
>
> >>> On Tue, Apr 3, 2012 at 2:30 PM, Stas Oskin <stas.os...@gmail.com> wrote:
> >>> Here is the make.out file.
>
> >>> The build ended with following:
>
> >>> configure: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!
> >>> configure: WARNING: tiffio.h: proceeding with the compiler's result
> >>> make[2]: *** [all] Error 1
>
> >>> make[1]: *** [all-recursive] Error 1
> >>> /home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown -linux-gnu/captive/../../../../captive/spandsp/csrc/src/t31.c:1329: warning: 'v8_handler' defined but not used
> >>> libtool: install: warning: remember to run `libtool --finish /usr/local/lib64'
>
> >>> On Tue, Apr 3, 2012 at 11:30 PM, Art Clarke <acla...@xuggle.com> wrote:
> >>> I'm requiring it (and liboil) for some futures, so know I'm not planning to take it out.  Do me a favor and go to (in your captive build directory)
>
> >>> cd build/native/*/captive/spandsp
> >>> rm -rf csrc
> >>> make V=1 > make.out
>
> >>> and then send me the contents of make.out.  If it's failing because of that pax thing, see if there is some fix on CentOS for the pax error.
>
> >>> - Art
>
> >>> On Tue, Apr 3, 2012 at 1:24 PM, Stas Oskin <stas.os...@gmail.com> wrote:
> >>> Seems the spandsp missing indeed.
>
> >>> As it seems to be VOIP related, perhaps it possible to compile without it?
>
> >>> On Tue, Apr 3, 2012 at 11:22 PM, Stas Oskin <stas.os...@gmail.com> wrote:
> >>> [stas@linuxdevx pkgconfig]$ ls
> >>> libavcodec.pc   libpostproc.pc    ogg.pc             theoradec.pc   vorbis.pc
> >>> libavdevice.pc  librtmp.pc        opencore-amrnb.pc  theoraenc.pc   vpx.pc
> >>> libavfilter.pc  libssl.pc         opencore-amrwb.pc  theora.pc      x264.pc
> >>> libavformat.pc  libswresample.pc  openssl.pc         vo-aacenc.pc   zlib.pc
> >>> libavutil.pc    libswscale.pc     speexdsp.pc        vorbisenc.pc
> >>> libcrypto.pc    libtiff-4.pc      speex.pc           vorbisfile.pc
>
> >>> On Tue, Apr 3, 2012 at 10:53 PM, Art Clarke <acla...@xuggle.com> wrote:
> >>> The problem is that pkg-config (when trying to figure out what libraries to link libxuggle with) cannot find spandsp's pkg-config settings.
>
> >>> What are the contents of the following directory:
> >>> /home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown -linux-gnu/captive/stage/usr/local/lib/pkgconfig
>
> >>> I'm trying to find out if there is a spandsp.pc file there.  if not, then something continues to break on your spandsp install and I'll need to see the full output of that part of the build to figure out what.
>
> >>> On Tue, Apr 3, 2012 at 12:49 PM, Stas Oskin <stas.os...@gmail.com> wrote:
> >>>http://pastie.org/private/trecplhorwztgl9byldnq
>
> >>> On Tue, Apr 3, 2012 at 10:40 PM, Art Clarke <acla...@xuggle.com> wrote:
> >>> Alas, that didn't help.  Can you do a make clean BEFORE you do the make V=1 and paste that?
>
> >>> - Art
>
> >>> On Tue, Apr 3, 2012 at 12:35 PM, Stas Oskin <stas.os...@gmail.com> wrote:
> >>> Here it is:
> >>>http://pastie.org/private/lgtz0sffxocqznfrftahlq
>
> >>> On Tue, Apr 3, 2012 at 9:24 PM, Art Clarke <acla...@xuggle.com> wrote:
> >>> Can you do the following:
> >>> cd /home/local/LOCAL/stas/workspace/xuggle-xuggler/build/native/x86_64-unknown -linux-gnu/csrc/com/xuggle
> >>> make V=1
>
> >>> and then send me the output (which should include the full compiler lines).
>
> >>> thanks,
>
> >>> - Art
>
> >>> On Tue, Apr 3, 2012 at 11:19 AM, Stas Oskin <stas.os...@gmail.com> wrote:
> >>> Here it is:
>
> >>>  [exec] Configuring libvo-aacenc with these options:
> >>>      [exec] checking for a BSD-compatible install... /usr/bin/install -c
> >>>      [exec] checking whether build environment is sane... yes
> >>>      [exec] checking for a thread-safe mkdir -p... /bin/mkdir -p
> >>>      [exec] checking for gawk... gawk
> >>>      [exec] checking whether make sets $(MAKE)... yes
>
> >>> ATTENTION! pax archive volume change required.
> >>> Ready for archive volume: 1
> >>> Input archive name or "." to quit pax.
> >>> Archive name >
>
> >>> On Tue, Apr 3, 2012 at 8:53 PM, Art Clarke <acla...@xuggle.com> wrote:
> >>> Pax warnings?  Not sure what those are.  Can you give more details?
>
> >>> - Art
>
> >>> On Tue, Apr 3, 2012 at 10:51 AM, Stas Oskin <stas.os...@gmail.com> wrote:
> >>> Yep, latest git.
>
> >>> There are still the pax warnings (that require entering dot (.) to continue), but otherwise it seem to compile fine.
>
> >>> On Tue, Apr 3, 2012 at 8:49 PM, Art Clarke <acla...@xuggle.com> wrote:
> >>> Meaning after you pulled down this morning?  good.
>
> >>>  -Art
>
> >>> On Tue, Apr 3, 2012 at 10:48 AM, Stas Oskin <stas.os...@gmail.com> wrote:
> >>> On cross_compile it runs fine.
>
> >>> On Tue, Apr 3, 2012 at 7:21 PM, Art Clarke <acla...@xuggle.com> wrote:
> >>> Also, try pulling cross_compile again.  I disabled some rules in autoconf for spandsp and it
>
> ...
>
> read more »

Teddy Yueh

unread,
Apr 5, 2012, 1:52:32 PM4/5/12
to xuggler-users
Apparently I missed the move to git @_@. *digs in*

On Apr 5, 11:42 am, Teddy Yueh <teddyy...@gmail.com> wrote:
> Yay for new Xuggler! I'm testing it on 64-bit Windows 7. Using
> IContainer, reading is working well, but I can't seem to write
> anything (header, packets). I notice a few deprecated methods, but
> looking in the repo athttp://code.google.com/p/xuggle/source/browse/
> ...
>
> read more »

Art Clarke

unread,
Apr 5, 2012, 1:55:00 PM4/5/12
to xuggle...@googlegroups.com
No, nothing major should have changed there.  Our test program (see xuggle-xuggler-test) reads and writes fine on Windows.  Download it and compare the source code in the tests to yours.

- Art

> ...
>
> read more »

--
You received this message because you are subscribed to the Google Groups "xuggler-users" group.
To post to this group, send email to xuggle...@googlegroups.com.
To unsubscribe from this group, send email to xuggler-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.

Teddy Yueh

unread,
Apr 5, 2012, 4:42:02 PM4/5/12
to xuggler-users
Got it. I passed in a decoding IStreamCoder into IStreamCoder.make()
in order to get my encoder. This confused ffmpeg underneath to where
the resulting object was defined as both a decoder and an encoder.

Thanks, Art!

Teddy
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages