1. The Demultiplexer filter (part of the Player) is used to calculate the clip duration. Our Demuptiplexer can use two algorithms to calculate the clip duration.
1. Using PTS.
Each MPEG file must have Presentational Time Stamps (PTSs) and the Demultiplexer uses them in order to define duration.
Unfortunately, some files, which were improperly encoded or merged from different files into a big one, have gaps in PTSs (or haven't PTSs at all!) and, therefore it's impossible to use this method for such files.
When the Player opens the file, the Demuxer analyses this file and tries to find and check PTSs.
If the Demuxer has found proper PTSs it'll use this method for seeking.
Otherwise, it has to use the other method:
2. Using bitrate.
This is very inaccurate method. I think you know that sometimes bitrate is defined roughly and approximately; so real and announced (written at sequence header) bitrate differ very much.
You can compare both methods and check the method that suits you better.
Please, start to playback some file and click <CTRL>+<F>; you should see the "Current Graph" window with the Demultiplexer (Splitter) image; click right on the image and click on the "property" icon; you should see the " MPEG Demultiplexer (Splitter) Properties" window.
Try to check the most suitable settings using "Seeking method" and "Init mode".
3.0 Player (http://www.elecard.com/products/mpeg2player.shtml
) supports a new feature - Index. The Index allows getting precise duration in spite of the difficulties that were mentioned above.
Please open a file using the Player and click <CTRL>+<M>;
- Save the index file *.mlmix;
- Open the Index file (*.mlmix) and you'll get a precise result for your clip duration.
As about trimming.
First of all, I should say that this feature is available for the registered version only. If you need our software just for end-using (e.g. playing MPEG files on your PC), then you can purchase our MPEG Player (with Video Decoder included) online at ShareIt!: https://secure.element5.com/shareit/checkout.html?productid=134303&language=English
You'll receive the serial number for the Player activation within one business day.