BGane
14th January 2003, 20:29
I have been using DVD2SVCD to produce MPEG1 video files from DVD for playback in computer-based media players. The encoder that I use is TMPGENC 2.59. Everything is working fine, except for one problem:
The MPG files that are being generated by TMPGENC, with the settings generated by DVD2SVCD (is this the .TPR file?), have an aspect ratio byte in the MPEG file sequence header set to "2", and this is causing a problem for me, but only with Windows Media Player. Other players seem to display the videos just fine.
The width and height fields are set as I wish for the VCD standard at 352 x 240. However, an aspect ratio of "2", from my read of the ISO/IEC standard, implies a ratio of .6735. If I look at the table, and from advice that I have been given elsewhere, the ratio SHOULD be set as "C", which implies a ratio of 1.125.
Now, in other players (ie. Winamp3, Media Jukebox, PowerDVD) it would appear that they ignore the aspect ratio byte. The videos play with a small, but acceptable border top and bottom. However, WMP9, it would appear, divides the width setting by the implied aspect ratio. Hence the decoder in WMP9 is coming up with a display width of 522 (352 / .6735), and the vids are playing as if they were encoded 2.35:1 (or worse). If I hex edit the MPG file to replace the sequence header aspect ratios with "C", then the vids play properly in WMP. Since the other players apparently ignore the field, they remain unaffected.
Now, I can continue to edit my files to get the proper setting, but what I would like to know is - what field could I edit in the DVD2SVCD settings (ini file?) to cause the aspect ratio to be set as I need it for VCD 525 line 4:3 aspect ratio (ie. to force a "C" setting in TMPGENC encoding)?
The MPG files that are being generated by TMPGENC, with the settings generated by DVD2SVCD (is this the .TPR file?), have an aspect ratio byte in the MPEG file sequence header set to "2", and this is causing a problem for me, but only with Windows Media Player. Other players seem to display the videos just fine.
The width and height fields are set as I wish for the VCD standard at 352 x 240. However, an aspect ratio of "2", from my read of the ISO/IEC standard, implies a ratio of .6735. If I look at the table, and from advice that I have been given elsewhere, the ratio SHOULD be set as "C", which implies a ratio of 1.125.
Now, in other players (ie. Winamp3, Media Jukebox, PowerDVD) it would appear that they ignore the aspect ratio byte. The videos play with a small, but acceptable border top and bottom. However, WMP9, it would appear, divides the width setting by the implied aspect ratio. Hence the decoder in WMP9 is coming up with a display width of 522 (352 / .6735), and the vids are playing as if they were encoded 2.35:1 (or worse). If I hex edit the MPG file to replace the sequence header aspect ratios with "C", then the vids play properly in WMP. Since the other players apparently ignore the field, they remain unaffected.
Now, I can continue to edit my files to get the proper setting, but what I would like to know is - what field could I edit in the DVD2SVCD settings (ini file?) to cause the aspect ratio to be set as I need it for VCD 525 line 4:3 aspect ratio (ie. to force a "C" setting in TMPGENC encoding)?