Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Video Encoding > MPEG-2 Encoding

Thread Tools Search this Thread Display Modes
Old 24th March 2020, 12:13   #1  |  Link
Adam Cole
Registered User
Join Date: Aug 2018
Posts: 12
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:

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
Old 24th March 2020, 17:02   #2  |  Link
Registered User
manolito's Avatar
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 2,734
I have learned that this MKVToolnix warning can be ignored if the encoding settings otherwise match (frame size, frame rate, aspect ratio, chroma subsampling...). I always get this error when I append several AVC/AAC videos. The only difference in the encoding was a newer X264 build by the same dev (Ligh), all other settings were absolutely identical. This is obviously enough to trigger this warning, but the result has always been perfect.

Since with MPEG2 within an MKV container you will not be restricted to the 29.97 fps presentation framerate (mandatory for DVD), it may be a good idea to remove the RFF flags (soft telecine) from the sources before merging them.

Last edited by manolito; 24th March 2020 at 20:38.
manolito is offline   Reply With Quote
Old 28th March 2020, 20:23   #3  |  Link
Derek Prestegard IRL
Blue_MiSfit's Avatar
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,618
Maybe do the concatenation with a different tool like mp4box or ffmpeg first?
Blue_MiSfit is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 02:21.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.