xuggle

java.lang.UnsatisfiedLinkError: no xuggle-xuggler in java.library.path

五迷三道 提交于 2019-12-19 10:28:09
问题 I'm using Ubuntu 11.04 and Eclipse. I installed Xuggler succesfully, I've checked the environment variables and everything related with linux in their FAQ: http://wiki.xuggle.comFrequently_Asked_Questions#What.27s_up_with_java.lang.UnsatisfiedLinkError.3F I also set up Eclipse according to their tutorial: http://xuggle.wordpress.com/2009/01/23/how-to-write-your-first-xuggler-application-in-eclipse/ Whenever I try running any code which uses Xuggler I get the following error: 2011-09-14 14:17

Audio converting with Xuggler

一笑奈何 提交于 2019-12-18 12:44:28
问题 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 parameters to set? Thank you for your answers. if (args.length <= 1) throw new IllegalArgumentException("must pass an input filename and output filename as argument"); IMediaWriter writer = ToolFactory.makeWriter(args[1]); String filename = args[0]; //

What codecs does Xuggler support?

坚强是说给别人听的谎言 提交于 2019-12-18 11:11:31
问题 Yes, I know that the FAQ pretends to answer this, but it doesn't really. Instead it instructs you to build the project from source (and the build instructions are quite convoluted). That kind of defeats the entire point :) Let's save everyone in the world the hassle of having to build yet another open-source project in order to find out whether it actually solves their problem. What codecs does Xuggler support? 回答1: The reason the FAQ doesn't answer this is that it constantly changes as we

Could not load library: xuggle; version: 5; Using POM

寵の児 提交于 2019-12-18 09:13:20
问题 I'm attempting to use Xuggle and when trying to deploy, I'm getting the following error, below that is my POM file. Hopefully someone can tell me what I'm missing 13:55:34.965 [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

How to transmit live video from within a Java application?

安稳与你 提交于 2019-12-17 10:33:49
问题 I'm trying to find ways to stream a live video generated in a Java application. The application needs to take screenshots of itself and encode these into a video stream and publish the stream. So far I have been using Xuggler (a Java library on top of FFMPEG) to encode the screenshots into a video file. This works great. Xuggler claims to be able to transmit live video via RTMP but I have not found any documentation on how to do this programmatically. Does anyone know how to stream RTMP video

How to extract a sub portion of a large video file

亡梦爱人 提交于 2019-12-14 04:05:38
问题 I want to extract a small portion of video from a large video file on the basis of a given start and end time. My internet search shows that many suggest using Xuggle to do this, but I am unfamiliar with this library, its use, or how one can use it to achieve my goals. Please help me with this. 回答1: try reading the manual! -ss and -t will start at ss and copy for '-t'... ffmpeg -i test.mpg -r 25 -ss 00:00:10 -t 00:00:05 images%05d.png starts 10 seconds in for 5 seconds 来源: https:/

forwarding and rewinding audio in xuggler

…衆ロ難τιáo~ 提交于 2019-12-13 17:21:55
问题 I have used xuggler to play audio files other than wav,au,aiff . Since xuggler performs audio decoding at low level it is very hard to write a method that both forwards and rewinds the audio being played . ( while decoding xuggler analyzes each data packet and then sends it to play) One way could be read bunch of packets at a time and then send the next packet to play.This way the effect of forwarding audio can be felt . But i don't know how to implement this method Moreover this is not the

How to write to an outputStream using xuggler?

回眸只為那壹抹淺笑 提交于 2019-12-12 12:25:49
问题 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 write.encodeVideo method that it encode's video into my ByteArrayOutputStream... is that assumption wrong? ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); // video parameters final int videoStreamIndex = 0; final int videoStreamId = 0; final

Verify video encoding is H.264

只愿长相守 提交于 2019-12-11 10:05:21
问题 I need to verify that a video file is (in Java): Video is H.264 Encoded Audio is AAC Encoded I've looked into JMF and Xuggle. Xuggle makes it easier to load and decode the file and turn it into another format, but I've not been able to figure out how to determine the encoding of the file that I've loaded as of yet. So Im wondering if Xuggle has the capability to simply return the type of Video & Audio encoding a file has or do I need to read the bits of the file to determine this myself? If I

How can I read a live webstream in java using xuggle? (I can do it in ffmpeg, just not xuggle)

久未见 提交于 2019-12-10 03:32:01
问题 So if I run: ffmpeg -t 10 -re -i "rtmp://170.93.143.150/rtplive/ app=rtplive/ playpath=e000990f025f0075004d823633235daa swfUrl=http://www.chart.state.md.us/video/mediaplayer/player.swf pageUrl=http://www.chart.state.md.us/video/video.asp?feed=e000990f025f0075004d823633235daa stop=5000 flashver=`LNX 11,2,202,262` live=true" test.flv -report It gives me a 5 second snapsnot of video from that webstream that gets put into test.flv. Now I would like to do the same thing in java using xuggle except