Questions tagged [xuggler]

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.

277 questions
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

What is the format of ffmpeg -vstats_file?

When i run my FFMPEG command along with -vstats_file , one of the lines are frame= 182 q= 9.0 f_size= 17215 s_size= 3782kB time= 23238.835 br= 1418.5kbits/s avg_br= 1.3kbits/s type= P In here can somebody explain me what is the format…
Karthik
  • 929
  • 2
  • 12
  • 24
3
votes
1 answer

Optimising video storage/encoding on server (J2EE)

Please let me know if this question doesnt belong to stackoverflow so that i can move accordingly. Objective: i) I want to convert mp4 into mov and vice versa. ii) I want to create thumbnail for the video iii) Rotate the thumbnail if needed ( by…
user2756260
  • 160
  • 1
  • 9
3
votes
1 answer

How do I diagnose the source of orphaned threads in Java?

I'm writing a piece of video analysis software using Java and the Xuggler library. My code is all single threaded, but some of it is being called from a Xuggler thread. I have to process a directory full of video files, so I iterate through the…
zorlack
  • 664
  • 2
  • 7
  • 26
3
votes
4 answers

ERROR com.xuggle.ferry.JNILibraryLoader - Could not load library: xuggle-xuggler; version: 3;

I have recently downloaded a code for, Xuggler Tutorial: Frames Capture and Video Creation from this link, I have added all the .jar files in my project which are required to run this code but, When I am running this code then I am getting…
Mayank Tiwari
  • 2,974
  • 5
  • 30
  • 52
3
votes
3 answers

Reduce garbage collection time

I am having application to play 30 videos at a time. I am using Xuggler to decode video files and Swing windows for display. But I am facing problems like: Videos not displaying smooth With profiler I found, around 25% time was spending for garbage…
nullptr
  • 3,320
  • 7
  • 35
  • 68
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
3
votes
2 answers

convert mp3 to wav using xuggle getting exception

I am trying to convert mp3 to wav and the code is here: String mp3 = "F:\\work\\pic2talk38512.mp3"; String wav = "F:\\work\\pic2talk38512.wav"; TranscodeAudioAndVideo.transcodeTest(mp3, wav); public static void transcode(String sourceUrl, String…
Felix
  • 1,253
  • 7
  • 22
  • 41
3
votes
2 answers

Java API or 3rdparty for getting duration of movie

I've many video files. All the types are different (mkv, avi, mp4, flv, etc.). I want to iterate these files and get the duration of the movies. Currently I use vlcj which is OK, but the code is a little bit confusing me. I have to play the media…
mudlee
  • 680
  • 12
  • 22
3
votes
0 answers

How to receive RTSP stream with Xuggler with additional ffmpeg commandline options?

I'm able to get RTSP stream with Xuggler from IP camera with default UDP transport, but it generates errors like [Thread-6] ERROR org.ffmpeg - [h264 @ 00000000489652B0] corrupted macroblock I googled that ffmpeg internal UDP parser causing that,…
quartic
  • 37
  • 3
3
votes
2 answers

Capture only one thumbnail image from a video

i am working to generate thumbnail images from a video. I am able to do it but i need only one thumbnail image from a video , but what i get is more than one images at different times of the video. I have used the following code to generate the…
Jyotirmoy
  • 45
  • 1
  • 11
3
votes
1 answer

Is there any way to get the resolution of a video with Xuggler?

I'm developing a project that it's essentially a video uploader and I want to know if is there any way to get the resolution of the uploaded video using Xuggler libraries in Java.
frikkio
  • 93
  • 2
  • 10
2
votes
2 answers

Saving two streams of one of video and other audio using Xuggler and Red5

I am using a red5 server. I am doing a two way video conference using flex application. My current red5 server is storing both streams as different flv files. now i have done some editing and have saved these edited files as one with video stream…
Muhammad Umar
  • 11,391
  • 21
  • 91
  • 193
2
votes
2 answers

Error while transcoding video from one format to another

I am using xuggler API to transcode Video from one format to another. Following the example, provided by http://wiki.xuggle.com/MediaTool_Introduction & http://www.javacodegeeks.com/2011/02/xuggler-tutorial-transcoding-media.html public void…
MalTec
  • 1,350
  • 2
  • 14
  • 33