Package ws.schild.jave
Interface EncoderProgressListener
-
public interface EncoderProgressListenerEncoding progress listener interface. Instances of implementing classes could be used to listen an encoding process.- Author:
- Carlo Pelliccia
-
-
Method Summary
Modifier and Type Method Description voidmessage(java.lang.String message)This method is called every time the encoder need to send a message (usually, a warning).voidprogress(int permil)This method is called to notify a progress in the encoding process.voidsourceInfo(MultimediaInfo info)This method is called before the encoding process starts, reporting information about the source stream that will be decoded and re-encoded.
-
-
-
Method Detail
-
sourceInfo
void sourceInfo(MultimediaInfo info)
This method is called before the encoding process starts, reporting information about the source stream that will be decoded and re-encoded.- Parameters:
info- Informations about the source multimedia stream.
-
progress
void progress(int permil)
This method is called to notify a progress in the encoding process.- Parameters:
permil- A permil value representing the encoding process progress.
-
message
void message(java.lang.String message)
This method is called every time the encoder need to send a message (usually, a warning).- Parameters:
message- The message sent by the encoder.
-
-