Questions tagged [xuggle]

A free open-source library for Java developers to uncompress, manipulate, and compress recorded or live video in real time.

A free open-source library for Java developers to uncompress, manipulate, and compress recorded or live video in real time. http://www.xuggle.com/

159 questions
4
votes
0 answers

Xuggle record video and audio - sampling issue I think. Any ideas?

I would like to record video and audio together and have got much of the way there but there's an issue with the audio playing before the video and possibly not the same length... Partially solved from…
ThatGuy
  • 1,225
  • 10
  • 28
4
votes
1 answer

How to write to an outputStream using xuggler?

So I'm trying to write my encoded buffered image to an output stream but I can't get any data to come through on the stream... Could anyone tell me what I'm doing wrong and why I can't see any output? I would expect that when I call the…
Grammin
  • 11,808
  • 22
  • 80
  • 138
4
votes
0 answers

How can I generate live video stream and stream via servlet?

I am looking for an example of how to generate a live video stream from a series of images and stream it via java servlet. I can generate a video from images using xuggle. I tried using Red5 but I'm not convinced that it is what I need. I would…
Grammin
  • 11,808
  • 22
  • 80
  • 138
4
votes
2 answers

How To create mosaic with live stream with ffmpeg ( or with xuggle )

For a thousand minutes I try to find a way that stream multiple video and combine them into a one output . I wanna do that with ffmpeg or xuggler with ffmpeg cmd. VirtualDub and avis couldn't meet my needs. Actually I couldn't find a way stream in…
Emre Karataşoğlu
  • 1,649
  • 1
  • 16
  • 25
4
votes
2 answers

When does ffmpeg terminate?

I am running ffmpeg.exe through a Java code to encode a video file. How will my program come to know when ffmpeg terminated (i.e. video file is encoded)? Here is the code: Runtime.getRuntime().exec("ffmpeg -ac 2 -i audio.wav -i video.flv -sameq…
devashish jasani
  • 413
  • 1
  • 4
  • 15
4
votes
0 answers

xuggle and live broadcasting rtmp

I found an example of a live broadcast rtmp using xuggle, but I can not run it as xuggle distributions do not include libx264-normal.ffpreset, which is proposed to take from the distribution. Perhaps an example only applies to older versions of…
Puh
  • 131
  • 8
3
votes
3 answers

Audio converting with Xuggler

I'm trying to convert aac/wav/wma audio files to mp3 with Xuggler in Java. Unfortunately, I have a big loss of quality. My input file size is about 7MB and my output file size is only 1,5MB. The sample rate is set to 44100 Hz, is there other…
3
votes
0 answers

Xuggler-Java-How to write the header of a IStreamContainer for .mp4 and/or .avi?

Does anybody know how to set/add additional information to the header of an IStreamContainer for .mp4 format type and/or .avi? Using writeHeader for the Icontainer is not giving the right thing beacuse the resulting file contains frames that…
player
  • 71
  • 6
3
votes
1 answer

xuggle jar file not working as a dependent jar

I read about xuggle library I am trying to let xuggle library work as a single jar file without any external use of any dll files or environmental variables I read all errors that was in installing xuggler and tried all and the same exception is…
3
votes
0 answers

xuggler failed to write header to container

I am trying to download video from RTSP stream to a file on my computer using the Xuggler 5.4 library. String outputFilename = "D:\\downloadedrtsp.avi"; String inputSource =…
user3601262
  • 651
  • 1
  • 7
  • 22
3
votes
1 answer

Xuggle-Xuggler not converting .MOV or .AVI to .MP4

I have been trying to convert .MOV files to .MP4 using Xuggle. Here was my original code: // create a media reader IMediaReader mediaReader = ToolFactory.makeReader(path); // create a media writer IMediaWriter mediaWriter =…
user4775991
  • 127
  • 2
  • 14
3
votes
2 answers

Xuggle codec identification fail

I'm trying to run the following Xuggle code: public static boolean convert(String stream) throws IOException, InterruptedException { IMediaReader reader = ToolFactory.makeReader(stream + ".flv"); IMediaWriter writer =…
Thiago
  • 2,238
  • 4
  • 29
  • 42
3
votes
1 answer

xuggle-xuggler 5.4 NullPointerException when encoding audio

Today I was working with the Xuggler library and I tried capturing my screen which worked flawless. But I also wanted to add audio from my microphone to the video file I captured. This was not as easy as I had expected, and now I'm stuck with this…
Linus
  • 1,516
  • 17
  • 35
3
votes
3 answers

Xuggler compilation is failing.

I DID NOT FIND THE PRECOMPILED BINARIES FOR WINDOWS OR LINUX PLATFORM, AND I am trying to build the Xuggler code base cloned from the github. I am following the steps given in the link: http://www.xuggle.com/xuggler/build I am facing a compilation…
AnilJ
  • 1,951
  • 2
  • 33
  • 60
3
votes
1 answer

Xuggler not converting a .webm file?

I'm trying simply to convert a .mov file into .webm using Xuggler, which should work as FFMPEG supports .webm files. This is my code: IMediaReader reader = ToolFactory.makeReader("/home/user/vids/2.mov"); …
Ali
  • 261,656
  • 265
  • 575
  • 769
1
2
3
10 11