xuggler

Issue #1 when compiling Xuggler for Raspberry pi with libspeex

左心房为你撑大大i 提交于 2019-12-11 11:36:09
问题 I am trying to compile Xuggler for Raspberry Pi(Running on Debian OS aka Raspbian), I followed the 'Basic Build Instructions' available here for compiling Xuggler. After I successfully installed all the prerequisites and set the correct paths, I ran the following command: ant run-tests After sometime I am facing the following error and the ant build fails: {scroll at the end of log to see the issue} [exec] Making all in libspeex [exec] make[2]: Entering directory `/home/pi/Downloads/xuggle

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

java xuggler leads to fatal error

最后都变了- 提交于 2019-12-11 09:41:51
问题 I'm try to get this java Code using xuggler to run: import com.xuggle.mediatool.IMediaWriter; import com.xuggle.mediatool.ToolFactory; import com.xuggle.xuggler.IAudioSamples; import com.xuggle.xuggler.ICodec; import com.xuggle.xuggler.IContainer; import com.xuggle.xuggler.IPacket; import com.xuggle.xuggler.IStream; import com.xuggle.xuggler.IStreamCoder; import com.xuggle.xuggler.IVideoPicture; /** * This class is used to merge audio and video file. * * @author Arslaan Ejaz */ public class

Merge multiple Video In Android

拥有回忆 提交于 2019-12-11 07:53:40
问题 I just want to merge multiple video of same frame and resolutions. I found below code - String filenamevideo = "f:/testvidfol/video.mp4"; //video file on your disk String filenameaudio = "f:/testvidfol/audio.wav"; //audio file on your disk IMediaWriter mWriter = null; try{ String mpath = path+"videowriter.flv"; mWriter = ToolFactory.makeWriter(mpath); //output file } catch(Exception e){ e.printStackTrace(); } IContainer containerVideo = IContainer.make(); IContainer containerAudio =

Swing Works different on different Platform

一世执手 提交于 2019-12-11 05:19:45
问题 I have made a Screen Recorder using Java Swing and Xuggler 5.4 . I have developed it in Windows 8 64 bit. It's working excellent for Windows. But at client side on Linux's environment , nothing is working. I have searched thoroughly but not getting any solutions. I have checked this thread , but it didn't work for me. Then I tried to create simple Transparent window in Linux but it's also not working. I was not able to click through the Resizeable Panel. I have used the same JRE version (1.7)

How to build xuggler for Android?

浪尽此生 提交于 2019-12-11 03:58:13
问题 I need to split frames from video and get the different images in Android API for that I had gone with the help of SDK Mediamatadatareteriver. Duration of video is 127040(2:07sec) I splited as 32 frames but the problem in that was it repeats the same first image for all my remaining 32 frames. To fix that I'd tried a lot but their is no use now I just want to go on with XUggler Library file with the help of Latest Version by using Windows 7 (64 bit). so if anyone have idea about this or any

Fatal error detected in Eclipse when using Xuggle

ぐ巨炮叔叔 提交于 2019-12-11 02:16:24
问题 I was trying to get frames from a video using Xuggle 5.4 . The IDE which I use is Eclipse Juno .The last time (which was roughly one months back) when I tried, I got the frames with a gap of 5 seconds, but today when I tried to run the code I got the below error # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006ee76520, pid=4340, tid=7344 # # JRE version: 7.0_09-b05 # Java VM: Java HotSpot(TM) 64-Bit Server VM (23

BigEndian, LittleEndian Confusion In Xuggler

我们两清 提交于 2019-12-10 17:08:27
问题 Previously I posed a question about converting a byte[] to short[] and a new problem I encountered is converting/ not converting the data from byte[] to BigEndian. Here is what is going on: I am using TargetDataLine to read data into a byte[10000] . The AudioFormat object has BigEndian set to true , arbitrarily. This byte[] needs to be converted to short[] so that it can be encoded using Xuggler I don't know whether the AudioFormat BigEndian should be set to true or false. I have tried both

How to merge audio and video in Java

╄→гoц情女王★ 提交于 2019-12-10 13:45:51
问题 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? 回答1: If you have audio and video file then you can merge them to a single audio video file using FFmpeg: Download FFmpeg: http://ffmpeg.zeranoe.com/builds/ Extract downloaded file to specific folder, say c:\ffmpeffolder Using cmd move to specific folder c:\ffmpeffolder\bin Run following command: $

How to get Audio for encoding using Xuggler

半城伤御伤魂 提交于 2019-12-10 02:42:10
问题 I'm writing an application that records the screen and audio. While the screen recording works perfectly, I'm having difficulty in getting the raw audio using the JDK libraries. Here's the code: try { // Now, we're going to loop long startTime = System.nanoTime(); System.out.println("Encoding Image....."); while (!Thread.currentThread().isInterrupted()) { // take the screen shot BufferedImage screen = robot.createScreenCapture(screenBounds); // convert to the right image type BufferedImage