Log in

View Full Version : AVI to mpeg[Maintaining aspect ratio]


Lobaba
1st October 2005, 14:01
Ok, I am a newbie at this. So, I went searching for a guide to not only convert AVI to mpeg but also to add in the subtitles.

I followed the instructions on this webpage: http://www.videohelp.com/srtsubsvirtual.htm

I used Virtual Dubmod 1.5.10.1 Build 2366, TMPGEnc 2.5, and subadjust instead of SRT to SSA.

The below is a screenshot of part of the Final Fantasy:Advent children movie in avi format before I convert it.
http://img107.imageshack.us/img107/2065/bscap00014za.th.jpg (http://img107.imageshack.us/my.php?image=bscap00014za.jpg)

This was after I convert it.
http://img107.imageshack.us/img107/5941/bscap00006ap.th.jpg (http://img107.imageshack.us/my.php?image=bscap00006ap.jpg)

Searching through doom9.org, I read that this has got something to do with aspect ratio but I found no solutions on how to correct this problem (or probably I found it but skipped it due to ignorance. )

Can anyone please help me out? Thanks.

CWR03
1st October 2005, 15:49
I think your problem begins with what appears to be a VCD output selection. It will always be 352 x 240. If this is correct, you will need something like AVISynth for its "addborders" ability to letterbox the video.

dani82
2nd October 2005, 08:41
from what i can tell it's Full screen; before you state the obvious; i mean you uses Full screen instead of Full screen (keep aspect ratio)

since you're new here, i won't be giving an half-ass reply

for you to truly "keep ratio" with using tmpgenc there's some more stuff to do:


vcd (ntsc/pal):

Stream type: MPEG-1 Video
Aspect ratio: 4:3 525 line
Sorce aspectic ratio: 4:3 525 line


svcd (for future reference)

Stream type: MPEG-2 Video
Aspect ratio: 4:3 Display
Sorce aspectic ratio: 1:1 Display

CWR03
2nd October 2005, 08:56
from what i can tell it's Full screen; before you state the obvious; i mean you uses Full screen instead of Full screen (keep aspect ratio)

I hope this makes more sense to Lobaba - it makes none to me.

The source to which he was referring is originally 1.85:1, he or whoever originally encoded it chose a resolution that's a little bit off that. Transcoding that source directly to VCD (assuming that's what he did - there's little information given, and I was making an educated guess) will stretch it to 4:3 (what you have called Full screen).

If you were calling my attempt at assistance and trying to draw out more information "a half-ass reply," it was uncalled for.

Peter1234
2nd October 2005, 21:15
@Lobaba:
In TMPGEnc on the Advanced tab there is a box for Video arrange method. Set this to Full screen (keep aspect ratio). dani82 has already said this, but I thought a little more explanation might help. If you are going to put the output on a DVD use the Project wizard and it will set everything else for you.

SeeMoreDigital
2nd October 2005, 21:39
Hi Lobaba,

Can you confirm... Do you want to convert your (MPEG-4) AVI to MPEG-1 (DAT as used with the VCD format) or MPEG-2 (as used with the DVD format)?


Cheers

Lobaba
3rd October 2005, 02:18
Thank you for all your responses, here's my individual response to each reply.

To CWR03:
Thanks, currently reading guides on AVISynth, will ask if I still make no sense of them.
2nd part: Yes, you are right that the video was stretched to a a 4:3 to fill up the whole screen. I don't know whether it was a 1.85:1 though it was NOT originally filling up the whole screen, it was letterboxed.

To dani82:
Uh, the ORIGINAL avi file was not full screen, it was letterboxed.

To Peter1234:
I think I did try that but it didn't work but I will try again when I get home to make sure.

To SeeMoreDigital:
I am converting from (MPEG-4) AVI to MPEG-1 (DAT as used with the VCD format).

Is there any more information I should post?

Episodio1
3rd October 2005, 04:51
An easier method to add hardcoded subs:

Install VobSub 2.23.

* Place the subs in the same folder as movie (and with the same name).
* Open the movie with your common player and check that a green arrow appears close to the Windows clock.
* Close movie.
* When you open the movie in TMPGenc the subs will be added automatically (you only have to work with tmpgenc settings: no vdubmod, no filters, no frameserving).

By the way...

http://www.videohelp.com/images/tmpgenckeepaspectratio.png

When you finish with all the settings you can check how the VCD will look in FILE >> PREVIEW.

setarip_old
3rd October 2005, 05:21
"In TMPGEnc on the Advanced tab there is a box for Video arrange method. Set this to Full screen (keep aspect ratio).

Actually, I believe the desired results will be obtained by selecting "Full screen (keep aspect ratio 2)"...

dani82
3rd October 2005, 08:53
@CWR03

huh? i was refering to myself; i tend to do that when i see similiar questions been asked before (sometimes, i just want them to do the rest of the job themselves; hense: the half-ass reply), or so i don't to get screwed due to illegal obtain material http://forums.animesuki.com/showthread.php?t=8317; but i can see how you would think that


@setarip_old

i'm not quite sure about that, the aspect ratio of the converted movie might look the same on your pc, but could be totally different when viewing on your home dvd player, if both aspect ratio aren't configure property* (again, not quite sure)

* that property* not the correct spelling

SeeMoreDigital
3rd October 2005, 09:03
Are there no "applications" available that can add/alter/ammend the AR signalling code to an MPEG-1 stream, after it's been encoded?

Such applications are available for use with MPEG-2 and MPEG-4 streams!


Cheers

Peter1234
3rd October 2005, 10:20
@SeeMoreDigital:
As far as I know, mpeg1 does not have AR signalling. I think that was developed for DVDs (after mpeg1 was developed).

CWR03
3rd October 2005, 10:36
To CWR03:
Thanks, currently reading guides on AVISynth, will ask if I still make no sense of them.
2nd part: Yes, you are right that the video was stretched to a a 4:3 to fill up the whole screen. I don't know whether it was a 1.85:1 though it was NOT originally filling up the whole screen, it was letterboxed.
For clarification sake, I refer you to your screenshot in your first post in this thread. There are no borders in the screenshot, and if the video is the same is it not letterboxed. The correct AR of the movie is 1.85:1. If it were letterboxed there would be borders filling some portion making the video window 16:9 or 4:3, which of course is why you'll need to add borders to use VCD layout.

Lobaba
4th October 2005, 15:39
Many thanks to those who have given suggestions. I have solved my problem. It was just a simple gesture of selecting full screen keep aspect ratio. It was only after I encode and opened the file did I realise that the aspect ratio was kept even though it didnt seem right when the encoding was taking place. Thank you to all. :thanks:

setarip_old
4th October 2005, 21:12
@Lobaba

Congratulations on resolving your dilemma!

Just curious to know - Did you select "Full screen (Keep aspect ratio)" or "Full screen (Keep aspect ratio 2)"?