The cut.java example from
<a href="http://java.sun.com/products/java-media/jmf/2.1.1/solutions/Cut.html</a>" target="_blank" >http://java.sun.com/products/java-media/jmf/2.1.1/solutions/Cut.html[/url] didnt work.
I got this exception:
- Create processor for: file:/c:/Usher - My Boo.mp3
- Configure the processor for: file:/c:/Usher - My Boo.mp3
Transcode:
from: mpeglayer3, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 16000.0 frame rate, FrameSize=32768 bits
to: LINEAR, 44100.0 Hz, 16-bit, Stereo, BigEndian, Signed
- Realize the processor for: file:/c:/Usher - My Boo.mp3
Failed to build a graph for the given custom options.
Failed to realize: com.sun.media.ProcessEngine@1f03691
Cannot build a flow graph with the customized options:
Unable to transcode format: mpeglayer3, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 16000.0 frame rate, FrameSize=32768 bits
to: LINEAR, 44100.0 Hz, 16-bit, Stereo, BigEndian, Signed
outputting to: RAW
Error: Unable to realize com.sun.media.ProcessEngine@1f03691
Failed to realize the processor.
Failed to cut the input
I found this topic
https://coderanch.com/t/274169/java/java/JMF-Problems-cut-java-sample but the solution that was printed seems to be for an
servlet or something.
Can anybody help me i only need to cut 40 seconds from the mp3 file