TMPGenc changes dimensions on me...
- TetsuyaDL
- Joined: Sat May 26, 2007 5:23 am
- Location: Illinois
TMPGenc changes dimensions on me...
I'm trying to convert some Lagarith and huffYUV compressed .avi files to mpeg-2 for a convention. But, no matter what I do, the mpeg-2 file that comes out is in 720x540, and I need 720x480. In the 4 hours I've been trying, I ended up going past the deadline, but I hope they might still take it...
My source files are Lagarith and huffYUV compressed .avi files, 29.97 fps, 720x480, NTSC running them through avisynth.
I use the "AMV Profile @ 29.97 fps" format I got from the guides, I set stream type to MPEG-2, size 720 x 480, and aspect ratio to 4:3.
I go to Video Source setting under Advanced tab and set Source aspect ratio to 3:2 525 line (NTSC) because that's the closest to to "4:3 NTSC" I can find.
I've tried altering the dimensions of the source .avi files with avisynth before putting them into TMPGenc, but that doesn't change the output dimensions. I've tried changing video arrange method to full screen (keep aspect ratio), center (keep aspect ratio), and center (custom size = 720 x 480) but that hasn't helped either.
Am I just getting my aspect ratios confused?
My source files are Lagarith and huffYUV compressed .avi files, 29.97 fps, 720x480, NTSC running them through avisynth.
I use the "AMV Profile @ 29.97 fps" format I got from the guides, I set stream type to MPEG-2, size 720 x 480, and aspect ratio to 4:3.
I go to Video Source setting under Advanced tab and set Source aspect ratio to 3:2 525 line (NTSC) because that's the closest to to "4:3 NTSC" I can find.
I've tried altering the dimensions of the source .avi files with avisynth before putting them into TMPGenc, but that doesn't change the output dimensions. I've tried changing video arrange method to full screen (keep aspect ratio), center (keep aspect ratio), and center (custom size = 720 x 480) but that hasn't helped either.
Am I just getting my aspect ratios confused?
- Zero1
- Joined: Fri Jan 02, 2004 12:51 pm
- Location: Sheffield, United Kingdom
- Contact:
Don't worry about it. If you feed it 720x480, you should get 720x480 back if you didn't change too many settings. The reason it appears to be 720x540 is due to the aspect ratio. You see when you set the aspect ratio when you encode it, that's telling the player to stretch the input on playback (in this case 720x480) to a 4:3 aspect ratio, which happens to be 720x540. Generally decoders/scalers resize the width to get the right aspect ratio (so it should have looked like 640x480), but not all decoders follow convention.
If you want to upload a sample with your settings, I can check it to make sure.
If you want to upload a sample with your settings, I can check it to make sure.
7-zip // x264 (Sharktooth's builds) // XviD (Koepi's builds) // MP4box (celtic_druid's builds) // Firefox // CCCP
- TetsuyaDL
- Joined: Sat May 26, 2007 5:23 am
- Location: Illinois
- LantisEscudo
- Joined: Thu Mar 08, 2001 5:21 pm
- Location: Eastern Massachusetts
- Contact:
- TetsuyaDL
- Joined: Sat May 26, 2007 5:23 am
- Location: Illinois
- TetsuyaDL
- Joined: Sat May 26, 2007 5:23 am
- Location: Illinois
4:3 Display didn't make much difference.
Just to clarify what my problem is, TMPGenc is adding black borders on the sides to make my video play as 720x540 in windows media player. I want it to take my 720x480 lossless avi video, and turn it into a normal 720x480 MPEG-2 video. Is this not possible to do with TMPGenc, since the closest aspect ratio TMPGenc can export is 4:3?
Should I look for a different program?
Just to clarify what my problem is, TMPGenc is adding black borders on the sides to make my video play as 720x540 in windows media player. I want it to take my 720x480 lossless avi video, and turn it into a normal 720x480 MPEG-2 video. Is this not possible to do with TMPGenc, since the closest aspect ratio TMPGenc can export is 4:3?
Should I look for a different program?
- LantisEscudo
- Joined: Thu Mar 08, 2001 5:21 pm
- Location: Eastern Massachusetts
- Contact:
I do it all the time with TMPGEnc, so I'm wondering if it's not the encoder that's the issue, but the decoder. Have you tried playing the video back in another player, like VLC, to see if the problem is with TMPGEnc or with WMP?
Also, as another setting to look at, below Source Aspect Ratio, there should be a Video Arrange Method pulldown. What are you set to there (I usually use Full Screen (Keep Aspect Ratio))?
Also, as another setting to look at, below Source Aspect Ratio, there should be a Video Arrange Method pulldown. What are you set to there (I usually use Full Screen (Keep Aspect Ratio))?
| | |
AMV Contest Coordinator: Anime Boston 2016-2025 | Bakuretsu Con 2014-2024
AMV Contest Coordinator: Anime Boston 2016-2025 | Bakuretsu Con 2014-2024
- LantisEscudo
- Joined: Thu Mar 08, 2001 5:21 pm
- Location: Eastern Massachusetts
- Contact:
Just to help illustrate, these are my settings when I'm working from a 720x480 23.976fps (4:3) lossless file.

If your file is 29.97 to start with, you'll want to change the frame rate to match and the encode mode to Non-interlace.

This has always given me a file that gets correctly resized with no borders in a player. I've only had one file give me problems with these settings, and that had a bad frame in the source file that was encoding incorrectly.

If your file is 29.97 to start with, you'll want to change the frame rate to match and the encode mode to Non-interlace.

This has always given me a file that gets correctly resized with no borders in a player. I've only had one file give me problems with these settings, and that had a bad frame in the source file that was encoding incorrectly.
| | |
AMV Contest Coordinator: Anime Boston 2016-2025 | Bakuretsu Con 2014-2024
AMV Contest Coordinator: Anime Boston 2016-2025 | Bakuretsu Con 2014-2024
- TetsuyaDL
- Joined: Sat May 26, 2007 5:23 am
- Location: Illinois
For Video Arrange Method pulldown, I've tried full screen (keep aspect ratio), center (keep aspect ratio), and center (custom size = 720 x 480) but I kept getting 720x540 in WMP.
I wonder, maybe its a line in my avisynth script that's throwing things off?
I haven't tried opening it in a different player. I have to take care of some other stuff now, but I'll try that and get back to you by 7 pm CST.
I wonder, maybe its a line in my avisynth script that's throwing things off?
I haven't tried opening it in a different player. I have to take care of some other stuff now, but I'll try that and get back to you by 7 pm CST.
- LantisEscudo
- Joined: Thu Mar 08, 2001 5:21 pm
- Location: Eastern Massachusetts
- Contact:
Okay, and if you could post your script, too, that could be very useful.TetsuyaDL wrote:I wonder, maybe its a line in my avisynth script that's throwing things off?
I haven't tried opening it in a different player. I have to take care of some other stuff now, but I'll try that and get back to you by 7 pm CST.
| | |
AMV Contest Coordinator: Anime Boston 2016-2025 | Bakuretsu Con 2014-2024
AMV Contest Coordinator: Anime Boston 2016-2025 | Bakuretsu Con 2014-2024