Video Conversion - Java Audio Video Encoder (JAVE)

1.8k views Asked by At

I am Working on MAC OS X. I am Trying to Encode videos from one format to another Using jave ( java audio video converter) . But i keep getting this exception

it.sauronsoftware.jave.EncoderException: Stream #0.0, 25.00 fps(r): Video: mpeg4, yuv420p, 608x288

So i checked where the exception is arising.. I found the code part which throws exception but Not able to resolve why this exception is coming..

the code part is:

        while ((line = reader.readLine()) != null) {
            if (step == 0) {
                if (line.startsWith("WARNING: ")) {
                    if (listener != null) {
                        listener.message(line);
                    }
                } else if (!line.startsWith("Output #0")) {
                    throw new EncoderException(line);
                } 

I keep getting the Encoder exception.. The source file for Encoder.java can be found here : http://www.sauronsoftware.it/projects/jave/download.php

1

There are 1 answers

0
warn974 On BEST ANSWER

You can use Xuggler library.

I think is better than JAVE on MAC OS X