View Single Post
Old 24th March 2020, 13:13   #1  |  Link
Adam Cole
Registered User
 
Join Date: Aug 2018
Posts: 13
Duplicating exact mpeg2 encoding settings for remuxing

I have a video (lets call it video 1) that I want to append to another video (lets call it video 2). Video 2 has the following mediainfo:

Code:
Video
ID                             : 1
Format                         : MPEG Video
Format version                 : Version 2
Format profile                 : Main@Main
Format settings, BVOP          : Yes
Format settings, Matrix        : Custom
Format settings, GOP           : Variable
Codec ID                       : V_MPEG2
Codec ID/Info                  : MPEG 1 or 2 Video
Duration                       : 22 min 19 s
Bit rate mode                  : Variable
Bit rate                       : 7 067 kb/s
Maximum bit rate               : 9 800 kb/s
Width                          : 720 pixels
Height                         : 480 pixels
Display aspect ratio           : 4:3
Frame rate mode                : Constant
Frame rate                     : 23.976 (24000/1001) FPS
Standard                       : Component
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Scan order                     : 2:3 Pulldown
Compression mode               : Lossy
Bits/(Pixel*Frame)             : 0.853
Time code of first frame       : 01:02:02:05
Time code source               : Group of pictures header
Stream size                    : 1.10 GiB (94%)
Language                       : English
Default                        : No
Forced                         : No
Color primaries                : BT.601 NTSC
Transfer characteristics       : BT.601
Matrix coefficients            : BT.601
I want to encode video 1 so that it has the exact same mediainfo. Then the plan is to append it on video 2 using MKVtoolNix.

I tried a number of encode settings but during the remux process, MKVToolNix complains about this:

The track number 0 from the file 'D:\title_t01.mkv' can probably not be appended correctly to the track number 0 from the file 'D:\title_t02.mkv': The codec's private data does not match (lengths: 164 and 0). Please make sure that the resulting file plays correctly the whole time. The author of this program will probably not give support for playback issues with the resulting file.

So it seems I can't figure out the right encode settings. Assistance is greatly appreciated
Adam Cole is offline   Reply With Quote