Xuggler provides an easy, open source way to uncompress, modify, and re-compress any media file (or stream) which is supported in FFMPEG from Java.
Questions tagged [xuggler]
277 questions
6
votes
1 answer
Append video files of different width, height
I am building an application where user can record a screencast. Integral part of application is that, one can pause recording and resume it later any time (the session is maintained on server side).
So say when user starts recording the screen, the…

Jatin
- 31,116
- 15
- 98
- 163
6
votes
1 answer
Xuggler on Android
I am trying to use Xuggler on Android to convert WAV files to M4A.
I have used the xuggle-xuggler-noarch-5.4.jar in my java build path
and copied the libxuggler.so file out of xuggle-xuggler-arch-i686-pc-linux-gnu.jar to my libs folder within my…

Hector
- 4,016
- 21
- 112
- 211
6
votes
5 answers
How to merge audio and video in Java
We have created an application that records web camera streams using Xuggler, but video and audio are separated.
We need to merge, not concatenate, these two files.
How can this be done in Java?

kashif181
- 315
- 2
- 11
6
votes
1 answer
how to synchronise audio and video using xuggler
I am developing Screen Recorder with Audio using xuggler in java.
I have successfully created video file and Audio file separately.
now I wants to Synchronize those two file. I have tried using "ConcatenateAudioAndVideo.java", but when I run the…

Bhushan
- 6,151
- 13
- 58
- 91
5
votes
0 answers
Reading geolocation data from a video file using FFMpeg/Xuggler
Using the MediaInfo application, I am able to see that a file taken with an iPhone 5 contains geolocation metadata, tagged both with ©xyz and com.apple.quicktime.location.ISO6709. I am not able to find any way to get this data using xuggler,…

Mirrana
- 1,601
- 6
- 28
- 66
5
votes
0 answers
Insert Frame to middle of Video
I have a case where I need to insert a frame (or many frames) to the middle of a video. I looked at doing ffmpeg cutting, inserting, and then concatenation but unfortunately I have a lot of cuts and the "stitch back" has a lot of choppiness. My…

mornindew
- 1,993
- 6
- 32
- 54
5
votes
1 answer
How can i get video length in java
I used xuggler to get the video length but it is giving wrong length may be it is time for reading data from video file using xuggler.
But i need to get actual video length or duration.

Srikanth Shanigaram
- 161
- 1
- 2
- 11
5
votes
0 answers
Xuggler - opening mp4 files crashes/blocks program
Short version:
Opening/reading mp4 files with Xuggler sometimes does not work properly but causes program to crash.
Long version:
In my program i read, modify and write video files. It works fine with most formats i tested (avi, flv, mpg,…

Azamath
- 73
- 1
- 4
5
votes
2 answers
Xuggler: IContainer.open() blocks
I am trying to open a video file with xuggle like this:
if (container.open(in, null) < 0) {
throw new IllegalArgumentException("could not open file: ");
}
The problem happened when i use mp4 file and i passed to open a…

Sceik
- 275
- 1
- 3
- 13
5
votes
1 answer
Streaming video with Xuggler
I was able to successfully play video with Xuggler with the code below. I need to be able to stream from an inputStream instead of a file. I tried using the commented out code to create an Icontainer. I did modified the getTestFile method to use a…

rubixibuc
- 7,111
- 18
- 59
- 98
5
votes
2 answers
Beginner's Guide to Setup Xuggler
To work with Xuggler you need xuggle-xuggler-5.4.jar. According to the people who made this, most users only need the above-mentioned JAR file. However, this is what they say about using Xuggler without Maven or Ivy:
Using Xuggler WITHOUT Apache…

An SO User
- 24,612
- 35
- 133
- 221
5
votes
1 answer
Xuggler MediaWriter Operation Not Permitted Issue
I keep getting an exception when I close an IMediaWriter doing a
simple transcode.
The exception is "java.lang.RuntimeException: error Operation not
permitted, failed to write trailer to test.mp3"
I get this whenever I call…

user1249283
- 61
- 4
4
votes
1 answer
Streaming avi to a red5 server
I have a problem with Red5 Media Server.
I installed it on Windows machine and I'm trying to stream *avi file to the server using ffmeg:
ffmpeg -i testfile.avi -re -acodec libfaac -ar 22050 -vcodec libx264 -f flv…

babell00
- 81
- 7
4
votes
1 answer
Can't encode video with Xuggler
I'm trying to create simple application with Xuggler, which has to encode sequence of pictures into video.
I've installed xuggler, as described in official site.
Here is example of code (which I've actually found on Xuggler wiki site)
import…

stemm
- 5,960
- 2
- 34
- 64
4
votes
2 answers
Encoding yuv frames to video file in java
I am trying to encode a video in java.
I have access to the separate frames as I420 yuv frames (these come from a different part of the program that I cannot change).
I basically have 3 bytebuffers for the different planes of a frame (+…

user3071996
- 49
- 6