Package ws.schild.jave.progress
Interface EncoderProgressListener
- All Known Implementing Classes:
EchoingEncoderProgressListener,EncoderProgressAdapter
public interface EncoderProgressListener
Encoding progress listener interface. Instances of implementing classes could be used to listen
an encoding process.
- Author:
- Carlo Pelliccia
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis 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 Details
-
sourceInfo
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
This method is called every time the encoder need to send a message (usually, a warning).- Parameters:
message- The message sent by the encoder.
-