The Logic Behind Tester Tool

From JVideoDirect Documentation

Jump to: navigation, search

Tester tool is an emulation of video conversion process.
It intented to test your installation of ffmpeg, mencoder, mplayer, flvtool2 and MP4box or qt-faststart based on your configuration preference.

Instruction on how to use it and it's prerequisite can be found here.
If you have trouble to process this tester tool successfully, please see Troubleshooting - Tester Tool

Parameters used in configuration

  • configuration -> upload
    • Add Video Mechanism (using "Fetch & Upload" mode)
    • Allowed Extensions (at least allow "mov", sample video clip is in "mov" format)
    • Allowed Max. File Size (at least 2mb, sample video clip is about 1.5mb "This value is for this tester only. You should take reference value in the Check Up Tool")
  • configuration -> converter
    • Every parameters on this page is required.

The Logic

  1. It uses exec() to trigger conversion process using method you have chosen in Converter Call Method.
  2. Based on your Converter Priority settings say "mencoder", it attempt to use "mplayer" to obtain video information. If failed, "ffmpeg" (if installed) will be used and vice verse.
  3. Based on your Converter Priority settings say "mencoder", it will start to trans-code sample video using mencoder. If failed, it will use "ffmpeg" (if installed) and vice verse. Number of output files depend on your preference in available quality parameters.
  4. Based on the success of video conversion (output video files exist), it attempts to generate video thumbnail images.
  5. Based on the success of video conversion (output video files exist), it attempts to process "moov atom" using "MP4box" or "qt-faststart" specified in "path to faststart".
  6. After successfully processed this tester, you will have a conversion report which contains
    • Preview of video output files
    • Conversion log
    • Preview of video thumbnails image in various size
Personal tools