dbloom
27th April 2005, 23:45
http://davidbloom.home.mchsi.com/
(both the download and the tutorial with many screenshots are on that page)
This is a utility I made (and a tutorial on how to use it) that allows you to create a manual IVTC in TMPGEnc without having to pay attention to audio sync - so you can use a pattern like 10100 on 24fps parts, 10 on 30fps parts, and so on. You can then pass your TMPGEnc project file through my utility, and it generates a force-picture-type file that sets bitrates in TMPGEnc to compensate for the speedup in parts above 24fps, so that you don't go above your maximum bitrate. After encoding your file, you run the m2v through my utility, and it will apply the proper RFF/TFF flags to the MPEG-2 video headers. Then, multiplex in the audio and enjoy mixed-framerate MPEG-2! :)
Because it uses RFF/TFF, the output is fully MPEG-2 compliant (except for the simple profile, which is only used for some older DVB systems) and is fully compliant with SVCD/DVD standards.
My utility is basically a proof of concept, and it has some limitations. It will probably max out on files over 18 minutes long, it can crash occasionally, it requires a manual TMPGEnc IVTC (so you can't use an automatic system such as Telecide), and it's slow. Really, I made this program (in VB6, I might add) purely out of neccesity, and it's not designed to be a pernament utility to do this sort of thing. Ideally, an experienced programmer can code a (better) replacement for this utility, or I'm going to start studying more C++ :D. If anybody volunteers to code it, I'd be glad to help out with the specifics in the TMPG project/MPEG-2 file formats, etc. I'll even send my source code, but I don't think you'll like it :devil:. Hopefully then we'll have something that can work with automatic IVTC too ;).
Video streams run the utility work about as reliably as regular SVCD and DVD content. MPEG-2 video streams run through this utility have worked flawlessly on the dozen or so DVD players/software video players I have tested on, in both SVCD and DVD formats (this doesn't work with VCD because MPEG-1 doesn't support the pulldown codes this method requires).
I spent a lot of time researching/reverse engineering/testing/wandering around aimlessly/coding to make this (I had never messed with the inner structure of an MPEG-2 video file before), and nobody in other forums was patient enough to deal with TMPG manual IVTC to try it out :(. If you do use it, let me know what you think - I've invested a lot of time into this and feedback is my only reward.
Good source materials: anime (obviously), NTSC music videos
If you want a sample MPEG-2 file patched by this program, PM me (http://forum.doom9.org/private.php?s=&action=newmessage&userid=75500) your email address, and I'll YouSendIt (http://www.yousendit.com/) it to you.
(both the download and the tutorial with many screenshots are on that page)
This is a utility I made (and a tutorial on how to use it) that allows you to create a manual IVTC in TMPGEnc without having to pay attention to audio sync - so you can use a pattern like 10100 on 24fps parts, 10 on 30fps parts, and so on. You can then pass your TMPGEnc project file through my utility, and it generates a force-picture-type file that sets bitrates in TMPGEnc to compensate for the speedup in parts above 24fps, so that you don't go above your maximum bitrate. After encoding your file, you run the m2v through my utility, and it will apply the proper RFF/TFF flags to the MPEG-2 video headers. Then, multiplex in the audio and enjoy mixed-framerate MPEG-2! :)
Because it uses RFF/TFF, the output is fully MPEG-2 compliant (except for the simple profile, which is only used for some older DVB systems) and is fully compliant with SVCD/DVD standards.
My utility is basically a proof of concept, and it has some limitations. It will probably max out on files over 18 minutes long, it can crash occasionally, it requires a manual TMPGEnc IVTC (so you can't use an automatic system such as Telecide), and it's slow. Really, I made this program (in VB6, I might add) purely out of neccesity, and it's not designed to be a pernament utility to do this sort of thing. Ideally, an experienced programmer can code a (better) replacement for this utility, or I'm going to start studying more C++ :D. If anybody volunteers to code it, I'd be glad to help out with the specifics in the TMPG project/MPEG-2 file formats, etc. I'll even send my source code, but I don't think you'll like it :devil:. Hopefully then we'll have something that can work with automatic IVTC too ;).
Video streams run the utility work about as reliably as regular SVCD and DVD content. MPEG-2 video streams run through this utility have worked flawlessly on the dozen or so DVD players/software video players I have tested on, in both SVCD and DVD formats (this doesn't work with VCD because MPEG-1 doesn't support the pulldown codes this method requires).
I spent a lot of time researching/reverse engineering/testing/wandering around aimlessly/coding to make this (I had never messed with the inner structure of an MPEG-2 video file before), and nobody in other forums was patient enough to deal with TMPG manual IVTC to try it out :(. If you do use it, let me know what you think - I've invested a lot of time into this and feedback is my only reward.
Good source materials: anime (obviously), NTSC music videos
If you want a sample MPEG-2 file patched by this program, PM me (http://forum.doom9.org/private.php?s=&action=newmessage&userid=75500) your email address, and I'll YouSendIt (http://www.yousendit.com/) it to you.