Good day all.
Introduction
For those who don't know, regular MPEG Sequence Headers are required for entrypoint placement for VCDs. Entrypoints are in turn needed to make "chapters" for VCDs. For more specific details: http://www.michaeltam.com/chapters.html
Now, this wouldn't be an issue if MPEG encoders automatically placed an MPEG Sequence Header before each GOP header, but they not necessarily do. For example, the Panasonic MPEG Encoder does not. TMPGEnc does on the VCD template, but unless you know about this issue, you may forget to set it to do so for a custom XVCD encoding (Settings --> GOP Structure --> Output Interval of Sequence Headers = 1).
Now, although you can use the MPEG Sequence Maker tool as detailed in the above link, you can actually use TMPGEnc to insert sequence headers as well...
The Method
- Download and install TMPGEnc.
- File --> MPEG Tools --> Cut and Merge
- Change the type to "MPEG-1 Video-CD" for standard VCDs or "MPEG-1 Video-CD (non-standard) for XVCDs
- Add the clip that you want to have sequence headers inserted into.
- Browse for a new output save file
- Run.
That's it!
What appears to happen
With the Cut and Merge tool, TMPGEnc first extracts the video stream and then the audio stream and then remuxes them.
I think that when TMPGEnc extracts the video stream, it resets the MPEG Sequence Headers. This is logical as during a "cut" (even though we aren't cutting anything), the video clip timings in the sequence headers need to be reset (e.g., if I cut at 40min, the 40min mark of the second clip is now 0 minutes).
Just using the multiplexing tool in TMPGEnc will not change the sequence header status.
I've verified that sequence headers are indeed inserted with a number of tools (MPEG Sequence Header and VCDImager Tools GUI / VCDXMINFO). And, the proof is in the product. You can make functional chapters with the subsequent clip where you couldn't before.
Problems / Issues
Using TMPGEnc in this manner is much more simple and quick compared to demux, run elemental video through MPEG Sequence Maker and then remux. However, I've found that TMPGEnc sometimes (randomly apparently) will cause an audio squawk at the end of the video if the CUT and MERGE tool is used in this manner.
In such a case, the older MPEG Sequence Maker method can be used as a fallback.
BTW: entrypoints can only be placed where there is an MPEG Sequence Header and an MPEG Sequence Header can only be placed before a GOP header (which necessitates a new GOP). For those encoding with TMPGEnc on the open gops setting (just about everyone), the possible entrypoints can sometimes be surprisingly sparse (seconds apart). The fix for this is to used the closed gops setting (possible decrease in video quality) or use TMPGEnc to force intra frames at specific framenumbers (though this requires planning of chapter placement PRIOR to encoding).
Regards.
+ Reply to Thread
Results 1 to 3 of 3
-
Michael Tam
w: Morsels of Evidence -
Originally Posted by vitualis
Originally Posted by vitualis
thanks!
take care.
Similar Threads
-
Repairing mp4 headers manually.
By Wojo J in forum Newbie / General discussionsReplies: 6Last Post: 31st Dec 2011, 08:01 -
MP4 (AVC) Recover after SD filled up and all headers or footer corrupted.
By Bunkah in forum Newbie / General discussionsReplies: 1Last Post: 25th Feb 2011, 11:09 -
Problem with missing headers
By twentworth in forum DVD RippingReplies: 8Last Post: 22nd Jan 2011, 01:19 -
Possible to search headers of Usenet newsgroup?
By sdsumike619 in forum ComputerReplies: 15Last Post: 14th Sep 2009, 22:42 -
Chapters and GOP Headers with Adobe Encore
By g1275 in forum Authoring (DVD)Replies: 2Last Post: 23rd Aug 2007, 14:30