An assembly is the packaging of individual media streams into a common container. There are 3 types of containers used for remixes: MKV, TS and M2TS. Based on the M2TS container, you can also make a full-fledged file structure of a Blu-ray disc.
Container (Video Container)
Video Stream
MPEG-2, H.264 / AVC (MPEG-4), VC-1
Audio Stream
AC3, DTS, DTS-HD MA, DTS-HD HR, Dolby TrueHD, LPCM
Subtitles (Presentation Graphics Stream)
SRT, PGS TS, MKV, M2TS
A container can also contain several streams of the same type. There are restrictions on the stream formats that can be included in any given container, and the containers themselves are perceived by different hardware with varying degrees of success. For example, the MKV container is the most omnivorous of all the three currently in use, but it itself is not accepted by any "iron" player. The TS container is better perceived by stationary equipment, but subtitles cannot be included in it at all - only as an external stream. M2TS is a standard container for Blu-ray discs, all three HD-video formats, all audio formats of interest to us, and subtitles in PGS graphic format can be included in it. Which container to use is a matter of personal preference.
So, we have subtitles in SRT format, audio, in AC3 and DTS format too. It remains to deal with the video. Three codecs are currently used in HD: MPEG-2, H.264 / AVC (MPEG-4), and VC-1 from Microsoft. In addition, there is a free open-source project x264 as part of commercial H.264 / AVC. This codec is mainly used for making rips.
Note: To connect subtitles, like external subtitles in Media Player Classic, you need the subtitle file to be named in the same way as movies is in the same folder. Then the player will load them automatically. You can enable them in the Navigate> Subtitle Language menu. For example:
00001.ts - movie 00001.srt - subtitles
There is a problem with VC-1 video captured from HD-DVD. For compatibility with various equipment, ie. "With the best of intentions", service information (pulldown flag) has been added to the video stream, due to which a stream with real parameters 1920х1080p and fps 23.976 can be perceived by the splitter as 1920х1080i and fps 29.97. During playback of such a file, intermittent
short-term "slowdowns". If the splitter takes information about the stream from the header, problems are guaranteed, if from the stream itself, everything will be OK.
For correct reproduction, this service information must be removed. This can be done using utilities xport and vc1conv... Programs run in the DOS command line, you can also use the graphical shell eac3to And More GUI... Utility xport allows you to extract elementary streans (ES) from a container, and vc1conv performs VC-1 flow correction. The quality of the video does not suffer.
Syntax for xport: xport movie.ts 1 1 1
(the second and third digits mean the numbers of the video and audio streams, respectively) Syntax on vc1conv: vc1conv videostream.mpv videostream-new.mpv.
Then you need to change the file extension to * .VC1.
The same flow correction operation can be performed directly in tsMuxeR and in eac3to, but in earlier versions of these programs this function did not work correctly, and in the latter it was not possible to check.
Build with tsMuxeR.
tsMuxeR allows you to pack content in the following formats:
1. TS - one * .ts file (subtitles are not supported).
2. M2TS - one file * .m2ts
3. Blu-ray structure - creates a Blu-ray file system with one m2ts file, one mpls and one clpi. The menu is (naturally) absent.
It is also possible to create AVCHD (not used for remixes). The format is designed for home-video. Has a structure similar to (but not identical) to Blu-ray. The main differences from Blu-ray:
1. DVD is used as a medium.
2. Video bitrate is limited to 18 Mbps.
3. Simplified menu system.
We launch the program. Out the window Input files drag and drop the necessary files with the mouse. If you need to glue several fragments into one, then drag the first one, click join, point to the second, etc. In the window Tracks information about available streams is displayed. Buttons Up, Down and Remove you can, respectively, change the order or remove streams from the list. You can also exclude a stream from processing by unchecking the checkbox. Highlighting the stream in the window Tracks,
you can view and change its parameters displayed in the menu General track options... For example, for an audio track, you can specify the audio language and set the delay.
For TS files, that's it. We put a daw on TS muxing, specify the save path, file name and click Start muxing... In 10-15 minutes everything will be ready.
When creating Blu-ray structure from Blu-ray disc, it is better to drag and drop to window Input files not a m2ts file with the main movie, but its playlist (mpls file). You can calculate it by brute force or using eac3to by pointing it to the BDMV folder:
This will import into tsMuxeR all m2ts files of the main movie (if there are several) in the desired order, as well as import chapter information.
We remove unnecessary audio tracks and subtitles, substitute the Russian ones, change the order, specify the parameters:
Note: Chapter information is saved only when creating Blu-ray Disk.
We go to the subtitle section. Here we can select the font options and the location of the subtitles on the screen. The first time you will have to experiment, having received the desired result, remember the parameters and will use them in the future for other films.
On the menu Output put a daw on Blu-ray disk or M2TS Muxing, specify the save path (and the file name, in the case of m2ts) and click Start Muxing.
Depending on the selection in the menu Output, we get either 1 m2ts file or Blu-ray structure.
Note: Since I do not use this program all the time and am not a fan of the MKV container, the instructions are very superficial.
and is presented here solely for completeness. If someone writes and sends me a more detailed version reflecting all the advantages of the format, I will be happy to include it
in your instructions.
P.S. Found a very nice description on the rutracker.org forum:
http://rutracker.org/forum/viewtopic.php?t=619851 under Programs> mkvtoolnix (MKV). However, the whole topic deserves an in-depth study.
Build with MKVMerge GUI.
The program allows you to pack content in an MKV container and is a graphical interface for a set of tools MKVToolnix... A detailed description of the program can be found here: http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge.html. The method of working with this program is similar to working with tsMuxeR so let's look at the differences.
Unlike tsMuxeR, does not accept TS and M2TS as input - only MKV (from the containers of interest) or streams extracted from the container. Besides SRT, MKVMerge works
with subtitles in VobSub format. The MKV container supports external links (attachments). Let's consider the program interface.
Source materials are loaded into the window Input files, information about streams is in the menu Tracks... On the menu General track options there are several new, and most importantly useful options:
1. In the field Track name you can specify the name of the stream.
2. In the field Defaul track flag you can specify that the track will be included by default (value "yes").
3. In the field Forced track flag you can set the forced inclusion of the track (value "yes").
On the menu Format specific options, in field Delay you can set a delay, and in the field Stretch by, theoretically, you can set the stretch / compression, but you cannot use this option - the result will be depressing.
In field Output filename select the save path and file name, click Start muxing.
MKV file can also be made with eac3to... Examples will be considered in the translation of the official description of the program.
Note: translation of the official instructions. The original is here: http://en.wikibooks.org/wiki/Eac3to/How_to_Use
You will get the most out of watching a movie in its original language. And due to the fact that you often do not know the original language or know poorly, there is a need for subtitles. Subtitles are also a good opportunity to learn the language.
Subtitles can be applied at the time of video encoding or at the time of its playback (realtime). In the first case, the subtitles are embedded, in the second - external. External subtitles have a number of advantages over embedded subtitles. They are always clear and easy to read regardless of the video quality and decompressor settings. And of course the main advantage is that they can be turned off.
Formats
There are several formats for presenting external subtitles. Each format has its own advantages and disadvantages. The most common are srt, ssa, smi. srt is one of the simplest and most intuitive; ssa - the most sophisticated; and smi is supported by Microsoft.
The subtitle file contains some structure, which contains information about when and what text should be superimposed on the image.
The display time is determined either by the start and end frame (framebased subtitres) or by the start time and end time of the phrase display (timebased subtitres). A phrase is one or more test lines. More complex formats determine the color and position of the text, its size, the effects used. Sometimes the subtitle file contains<шапку>- the title in which it is written for which film these subtitles are intended, who they were made by and other information.
Where subtitles come from:
- DVD The DVD company usually includes subtitles for the released movie in one or more languages. It is not difficult to rip these subtitles from DVD. It is very convenient to use the SubRip program for this. These subtitles are usually very well timed and translated correctly.
- Fansub Until a certain anime is officially released in America, its translation can be made by fans - fansubers. Usually these subtitles are in SSA format, since they are timed in SubStation Alpha. They are primarily intended for output to cassette using the GenLoc device. These subtitles are often less translated than the official subtitles seen on DVD and are often less timed. But on the other hand, all the advantages of the SSA format are used to change the size and color of the font and the position of the superimposed subtitles. Since these subtitles are made by fans for fans, for example, nominal suffixes are not translated into them, which should be clear to a fan anyway.
Here is a more detailed description of the most common subtitle formats.
SubRipper (* .srt)
The files have the srt extension. It is the native subtitle format of SubRip (by Brain). It is the most popular DVD subtitle ripper software. The format itself is simple and clear, synchronization with video based on time with millisecond precision. A very common format. Srt files are very convenient to edit - it is better to do translation in srt files. The extended format allows you to change some of the font parameters (style, color) and the position of the subtitles on the screen, but few people support it. Hats - no. Subtitles are separated from each other by a blank line; the end of the file is marked with a double line feed (critical for some players and converters).
Example file:
Quote:
1
00:00:03,600 --> 00:00:07,630
0-3-3, 0-3-5, 0-3-8,
No contact.2
00:00:07,700 --> 00:00:09,100
Got you.
...222
00:24:50,220 --> 00:24:53,880
Now they will act
cocky isn't it
a subtitle file is a collection of phrases in the following format.
N
HH: MM: SS: MLS -> hh: mm: ss: mls
First line of the phrase
Second line of the phrase
where
N - phrase number
HH: MM: SS: MLS - time of the beginning of the phase display in hours minutes, seconds and milliseconds (mls)
hh: mm: ss: ms - time of the beginning of the phase display in hours minutes, seconds and milliseconds (ms)
there is a space between the time and the arrow.
SAMI (* .smi)
Files with the * .smi extension are a subtitle format from Microsoft called SAMI (Synchronized Accessible Media Interchange). ... This format is well documented and has a complex, extensible structure. In fact, SAMI is a subset of SGML, just like HTML, and therefore is very similar to it. The creation of this markup language is the result of the work of The Caption Center at WGBH to bring subtitling to television for the deaf, hard of hearing, and foreign language learners. The standard supports changing the size, color, typeface and style of the font, as well as changing the position on the screen. Moreover, it supports styles. Styling syntax similar to W3C CSS. Time synchronization. The main advantage of this format is that it is supported by Microsoft and therefore it can be played without any problems on a regular Windows Media Player (ver> = 5). It should also be mentioned that sometimes the smi extension has SMIL format files (these are subtitles for RealPlayer "but) they are not should be confused with SAMI subtitles. Correct extension for SMIL files is * .smil
Here is an example of a typical SAMI file:
Quote:
SubConv created subtitle
0-3-3, 0-3-5, 0-3-8,
No contact.
Got you.
Now they will act
cocky isn't it
the subtitle file consists of two parts, enclosed in a common tag
the title, in turn, includes sections