Package net.bramp.ffmpeg.nut
Class RawHandler
java.lang.Object
net.bramp.ffmpeg.nut.RawHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AudioFormat
Parses a FourCC into a AudioEncoding based on the following rules:
"ALAW" = A-LAW
"ULAW" = MU-LAW
P[type][interleaving][bits] = little-endian PCM
[bits][interleaving][type]P = big-endian PCM
Where:
[type] is S for signed integer, U for unsigned integer, F for IEEE float
[interleaving] is D for default, P is for planar.
[bits] is 8/16/24/32static AudioInputStream
toAudioInputStream
(Frame frame) static BufferedImage
toBufferedImage
(Frame frame)
-
Constructor Details
-
RawHandler
public RawHandler()
-
-
Method Details
-
toBufferedImage
-
streamToAudioFormat
Parses a FourCC into a AudioEncoding based on the following rules:
"ALAW" = A-LAW
"ULAW" = MU-LAW
P[type][interleaving][bits] = little-endian PCM
[bits][interleaving][type]P = big-endian PCM
Where:
[type] is S for signed integer, U for unsigned integer, F for IEEE float
[interleaving] is D for default, P is for planar.
[bits] is 8/16/24/32- Parameters:
header
- The stream's header.- Returns:
- The AudioFormat matching this header.
-
toAudioInputStream
-