Working with multimedia files

Getting information from video (Mediainfo)

  1. Select media files
  2. Click the Mediainfo button
  3. Profiles with different templates for Mediainfo
  4. Mediainfo template
  5. A description of the variables for the Mediainfo template

image-1614680751354.jpg

In addition to the template variables enclosed in curly brackets {variable_name}, square brackets [group1~group2] are used. Where the ~ symbol divides the text inside into groups. The first group (searching from left to right), where the variables inside have a nonempty value, will be inserted instead of all the content enclosed in square brackets. This allows for variability in the formation of video information, because sometimes one type of information is specified for one type of video, and for another type, there is no information, but there is other information in other variables. If all variables inside square brackets are empty, everything in square brackets will be ignored.

Here is an example of getting information from the pattern in the top screenshot:

image-1614680959525.jpg

A complete list of variables to be used in the template:

{filename} - full file name
{name} - file name without extension (Video)
{ext} - lower case file extension (mp4)
{EXT} - file extension in upper case (MP4)
{definition} - Specifies the resolution (SD,HD,FullHD,UltraHD/2K,UltraHD/4K,UltraHD/8K)
{definition2} - Specifies the resolution (SD,HD,FullHD,UltraHD 2K,UltraHD 4K,UltraHD 8K)
{definition3} - Specifies the resolution (SD,HD,FullHD,2K UHD,4K UHD,8K UHD)
{definition_index} - Defines the resolution index (0-5)
{folder_file_count} - Number of files in the folder
{folder_name} - parent folder name
{folder_name_fw} - first word in the parent folder name
{folder_name_fwd} - text up to the first point in the parent folder name
{folder_name_fws} - text before the first space in the parent folder name
{folder_name_fwds} - text up to the first space or point in the parent folder name
{file_name_fwds} - text up to the first space or point in the file name

Scan the folder and define the image resolutions inside it
{folder_iminx} - minimum X
{folder_iminy} - minimum Y
{folder_imaxx} - maximum X
{folder_imaxy} - maximum Y

{General|Format:} - Format (AVI)
{General|Format/Info:} - Format description (Audio Video Interleave)
{General|Filesize:} - File size (49.6 MB)
{General|Duration:} - Duration (01:02:03)
{General|Overallbitrate:} - Average bitrate (2,979 Kbps)

{Video|Format:} - Video Format (MPEG-4 Visual)
{Video|Formatprofile:} - codec profile (Advanced Simple@L5)
{Video|CodecID:} - Codec ID (XVID)
{Video|CodecID/Hint:} - Text description of the codec name (XviD)
{Video|Duration:} - Video duration (01:02:03)
{Video|Bitrate:} - Bitrate (2 760 Kbps)
{Video|Width:|pixels} - Width (720)
{Video|Height:|pixels} - Height (480)
{Video|Displayaspectratio:} - Picture proportions (3:2)
{Video|Framerate:} - Frame rate (25,000 fps)
{Video|Standard:} - TV standard (NTSC)
{Video|Colorspace:} - Color format (YUV)
{Video|Chromasubsampling:} - Quantum Format (4:2:0)
{Video|Bitdepth:} - Bit of color format (8 bits)
{Video|Scantype:} - Progressive video order
{Video|Compressionmode:} - Loss of information when compressing (Lossy)
{Video|Bits/(Pixel*Frame):} - Bits/(Pixels*frame) (0.319)
{Video|Streamsize:} - Video data size (45.9 MiB (93%))

{Audio|Format:} - Audio format (MPEG Audio)
{Audio|Formatversion:} - Audio format version (Version 1)
{Audio|Formatprofile:} - Profile of the audio format (Layer 3)
{Audio|Format/Info:} - Decrypt the audio format (for AC3 there will be "Audio Coding 3")
{Audio|Mode:} - Audio mode (Joint stereo)
{Audio|Modeextension:} - Mode Extension (MS Stereo)
{Audio|CodecID/Hint:} - Text description of the codec name (MP3)
{Audio|Duration:} - Duration (2mn 19s)
{Audio|Bitratemode:} - Bitrate mode (Constant)
{Audio|Bitrate:} - Bitrate (128 Kbps)
{Audio|Channel(s):} - Channels (2 channels)
{Audio|Samplingrate:} - Sampling rate (44.1 KHz)
{Audio|Compressionmode:} - Loss of information when compressing (Lossy)
{Audio|Streamsize:} - Audio data size (2.13 MiB (4%))
{Audio|Alignment:} - Aligned on interleaves mode
{Audio|Interleave,duration:} - Time between audio blocks (250 ms (6.24 video frames))
{Audio|Interleave,preloadduration:} - Audio data preload (182 ms) 

 

Cropping a multimedia file

Let's say you have a video or audio file and you need to cut a small piece as a sample, or you need to split the video into several parts. There is a special tool for this purpose.

  1. Select files to crop
  2. Press the crop media button
  3. Select the desired profile
  4. Set the time interval for the start and end of the cut sample.
  5. The trimmed file will be created with a name with this text at the end
  6. You can create an animated GIF from the original video file
  7. GIF file resolution options
  8. The frame rate of the GIF file
  9. Two passes of encoding will take twice as long, but the visual quality of the GIF will be higher.
  10. You can use the timeline slider to select the start and end frame by frame for the cut clip (see below)

image-1614710908088.jpg

If you click on button 10, it opens a window for selecting the beginning 1 and the end 2 of the clip you want to cut, you can visually define timestamps, and button 3 saves the current screenshot in the root folder.

image-1614710417680.jpg

Multimedia conversion

Multimedia conversion

Video converter

The cost of video conversion is measured in the time it takes the service to convert. The current cost is $0.2 per conversion hour. Conversion time has nothing to do with the duration of the video itself. It depends on encoding time only. The stronger compression ratio is, the longer encoding process will take and vice versa.

image-1615730704410.jpg

image-1615730783057.jpg

  1. select the desired profile or create a new one
  2. Select the "video converter" option
  3. Choose target video container, MP4 / MVK / AVI
  4. New video file will be created with this text at the end

converter_en1.jpg

  1. Video codec
  2. A preset that affects the encoding time. The coefficient indicates how long it will take to encode relative to the actual duration of the video. For example, if video is 1 hour long and the coefficient is 0.776, then it will take approximately 1 x 0.776 = 0.776 hours to encode.
  3. Special settings for different video types (optional)
  4. Allows compatibility with specified devices to be enforced
  5. The visual quality of the picture can be specified through quantizer or through bitrate. The smaller the number, the better the visual quality of the picture, but the bigger the final size of the video file and vice versa.
  6. By default the quantizer is set to 23, a balance between visual quality and file size. Allows you to get a constant picture quality.
  7. Bitrate limits the data size for video streams (not related to picture quality), so the higher limit you set, the better picture quality you get by increasing file size. Allows you to get a stable file size, regardless of the quality of the picture, it can be different throughout the video.
  8. Allows you to set the desired frame rate for the video, or leave it as is.

videocodec_en.jpg

Frame resolution settings