HDTVtoMPEG2 (often referred to as "H2" or "H2M")Current version: v1.11.94
The current version is available here:http://www.eecs.umich.edu/~balazer/HDTVtoMPEG2/What's it for?
Despite its name, HDTVtoMPEG2 main purpose is to edit commercials out of HDTV transport streams and write out another transport stream. It still has the capbability to convert to program streams (mpeg2) but this area has received little to no work since v1.10b. If you need this capability you should use another tool like VideoRedo.HDTVtoMPEG2 Feature\\Bug fix history
Feature\\Bug fix history (v1.11.nn)
.94 - Fixed improper Output file name and crash when deleting from Input box introduced with tooltip change.
.93 - Input list box now only shows the file name. Tooltip shows the path.
.92 - Recognize .rec and .mpg as valid transport stream extensions
.92 - Fixed a bug that could cause the dreaded "Could not find a Channel" bug on valid TS files.
.91 - Clips button state is now saved in the ini file
.91 - Added grey color bar support during commercial scan.
.90 - Relaxed the color requirement for pure black on 4x3 color bars.
.90 - Fixed "The parameter is incorrect" dialog message when you scroll the mouse around in an empty Process list box.
.90 - Fixed code so it could handle TS streams with section encapsulated data, i.e. pointer_field != 0.
.89 - Fixed crash caused when no channel is found
.89 - Fixed crash during loading of some TS file when calculating avg TS rate
.89 - Updated to Visual Studio 2005
.88 - Fixed Max Size dialog popup bug when entering a size larger than 99999
.88 - Fixed invalid file name problem related to very large filenames when using Add
.88 - Fixed crash when using Preserve Bit Rate on some transport streams
.88 - Fixed bug that incorrectly extracted the PCR during PMT validation
.87 - Removed the transport stream extension case sensitivity.
.87 - Option to change the vertical_size_value in the sequence_header from 1088 to 1080
.87 - Added a Configuration menu
.87 - New Cut region marker. Forces a new file to be created at a specified point
.87 - Ability to re-order the input file list by dragging items with mouse
.86 - Region markers are now saved when closing H2M.
.86 - Fixed bug where shortcut keys would not work immediately after Deleting a file from the process list box
.86 - MaxSize, VideoPID, and AudioPID boxes now handled properly when shortcut keys are being used
.85 - Added Alt+D\\d to delete region marker
.85 - Default Channel is now auto checked
.85 - Added an RUSure dialog when the Clear All region markers button is clicked
.85 - Fixed bug where a .TRI file was not created if a .TRI file was selected as the input file
.85 - Region info is no longer saved when Clear All is selected, only when Process\\Include\\Exclude\\Delete\\Move
.84 - Fixed missing TS info (Resolution, FPS, etc.) for some streams
.83 - Fixed possible crash when editing low bitrate SD channels
.83 - Added message box indicating SD channels are not supported with Commercial Scan
.82 - Attempt to include black frames before and after program. Disable with IncludeBlackFrames=0
.81 - UI indicates Avg. TS Rate now instead of bogus Video rate
.81 - Weighted average TS Rate is now calculated instead of using a fixed 19.2Mbps rate
.81 - Option to select 10 second Commercial Scan rate instead of the default 60 seconds
.80 - Re-work of Commercial Scan code to fix troublesome ABC\\FOX stations
.79 - Small tweak to code that determines frame type
.78 - Fix bug that could cause the second file to be ignored during scan if Exclude section had been specified
.77 - Fix bug that would sometimes not let you type letters in the Output FileName and Ext boxes
.76 - Fix to scan code to handle pre-defined Include\\Exclude sections correctly during scanning
.75 - F5 refreshes the input file data if you are editing a TS file that is currently being recorded.
.74 - Files are now opened with FILE_SHARE_READ and FILE_SHARE_WRITE
.73 - Minor changes
.72 - Ability to disable .TRI file creation using the CreateTRIFiles=0 flag in the ini file
.72 - .TRI files not created until an Include, Exclude, button is pressed
.71 - Fixed major bug when Scan filters were being used
.70 - New Commercial Scan code (HDTV support only)
.70 - Jockeyed around the manual editing buttons
.56 - Changed default Channel to now be the first stream with a horizontal size >= 1280.
.55 - Default output file type is now transport stream instead of mpeg2. Last used setting is still saved in the .ini file.
.55 - File type list order is now Transport Stream, HiDTV, Mpeg2.
.55 - NOTE: You will need to manually update the Ext edit box
.54 - Default Channel is now the one with the lowest video PID number
.53 - Fixed possible crash caused by code being too slack when parsing for video start_codes.
.52 - Fixed bug where channel would not be displayed if the audio was of stream_type 0x06(PES private data).
.51 - Commented code out that ignored PMT's with CA_descriptors(build 49). This didn't always indicate that the channel was scrambled.
.50 - Fixed possible crash do to too aggressive of checking for corrupt PMT
.49 - Ignore PSIP packets for Channel info if any of the PMT's contain CA_descriptors
.48 - Fixed bug where audio was not being mapped properly if the PMT was incomplete.
.47 - Fixed possible crash when editing QAM files.
.46 - Fixed. If the KeepPSIP and KeepNULL keys were missing from the ini file(you were using an older Beta), H2M would keep the PSIP and NULL packets until you had de-selected them.
.45 - Fixed bug if "PreserveBitRate" is missing from the ini file H2M will ALWAYS include NULL packets
.45 - Fixed. When using "PreserveBitRate" a small number of packets would get stripped instead of being converted to NULL packets
.44 - Fixed PID swap bug when 2 PMT's referenced the same video PID
.43 - Fixed bug introduced in build 39. Files would not load if duplicate file was encountered
.42 - Fixed PID drop down list box for W2K displaying only 1 entry
.41 - "PreserveBitRate" option flag available in ini file
.40 - Increased scan buffer size a bit
.39 - 0 byte transport streams are now discarded with warning.
.38 - commented out some new code that could cause a crash if the MGT had a large number of tables
.38 - PID swap bug fixed
.37 - Fix to bug introduced by code to detect corrupted PAT and PMT
.36 - New Clip feature
.35 - .TRI files not created now until the "Include" or "Exclude" button is pressed
.34 - Contrast and Brightness settings saved
.33 - detect and strip corrupted PAT and PMT
.32 - write multiple PAT and PMT's at the beginning of the file to make sure H2M will have Channel info to display
.31 - PID 0x1fef recognized as a NULL packet (old HBO recordings?)
.31 - Fixed small memory leak
.30 - ??
- PID stripping support
- MPEG-2 audio now supported when converting TS to MPEG-2
- Option to create sequential "clip" files
- Ability to preserve the stream bit rate using the "PreserveBitRate" flag in the ini file.
- Fixed an old memory leak in scan_channel_info() function
- Fixed problem with some transport streams not displaying a preview when "Show Progress Image" is checked
- Fixed missing preview display on Progress dialog for MPEG-2 conversion on some transport streams
- Fixed missing video\\audio on MPEG-2 conversion for some transport streams
- Fixed input path not being applied after selecting files from Explorer(Note: if a .tri file is selected, the path is set to the path to the transport streams NOT to where the .tri file was selected)
- Drag and Drop support for TS and .TRI files onto H2M desktop icon from Explorer
- Double click of .TRI file in Explorer starts H2M and auto loads files
- Tweaks to scan_channel_info() to improve pid detection
1.10.5(Merger of Alan Haverson's code and Cris Moore's code)
- Hot key short cuts
- Basic Contrast\\Brightness controls
- Specify fixed location for .TRI files through .INI file
- Possible freeze during file transitions
- Auto save of region edits
- Mouse wheel steps by i-frame
- >>| Seek to End would not move the bar to the end of the slider
- Crash in Progress dialog when showing progress image
- |<< Seek to beginning would not display first i-frame
- Channel resolutions were sometimes swapped
- Resolution\\FPS\\Aspect Ratio\\Bit Rate not displaying for some transport streams
- No preview picture for some 720p streams
- No preview picture for WB HD transport streams recored with TSReader
- Channel display now favors PSIP data if available and now displays digital and analog channels. If no PSIP data is available, you will get the familiar NONAME channelHistory of HDTVtoMPEG2
Year 2002 - Ben Cooley
v1.00 to v1.07
The original developer of HDTVtoMPEG2. HDTVtoMPEG2's original purpose was to extract program streams from transport streams and create a mpeg compatible file that was playable by media players and compatible with video converter tools like VirtualDub. Hence the name of the tool, HDTVtoMPEG2. This original version of HDTVtoMPEG2 did not have any transport stream editing capabilities, it was strickly a conversion tool.
Ben Cooley's original version of HDTVtoMPEG2 v1.07 is currently available here.http://www.midwinter.com/~bcooley/
Year 2002 - Grant Reeve
v1.07 to v1.10b
The second developer to work on HDTVtoMPEG2. Grant Reeve's effort into H2M went into adding HDTV editing capabilties. His version allowed you to view and edit the stream on I-Frame bounderies and write out a new transport stream minus the "cut out" parts.
Grant Reeve's original version of HDTVtoMPEG2 v1.10b is currently available here.http://www.derangedkiwi.net/index.php?view=hdtvtompeg2
Year 2003 - Alan Halverson, Cris Moore
v1.10.3 to v1.10.5
These versions continued with the focus on improving the HDTV editing capabilties and robustness of the tool. New features like "hot" keys, the ability to use the mouse to step from one I-Frame to the next, contrast and brightness, and the ability to save edit points were added in these versions.
Year 2004 - 2007 - Cris Moore
v1.10.6 to v1.11.94
These versions continued with the focus on improving the HDTV editing capabilites and robustness of the tool. New features like PID stripping, Clips output, and new Commercial Scan were added in these versions.