View Full Version : Problem with aspect ratio
DaHuberHerbert
6th October 2004, 16:03
I have an Xvid file in 576x240
The problem is that there is no simple option in DVD2SVCD that allows an aspet ratio of 2,4 without resizing (always get stretched heads)
So if I understood the threads I have to add additional lines to make it 16:9 ( would mean about 576x324 ) if I want the encoder to work
All these threds about resizing seem to me like professional guides, I'm looking for a EASY way to add those few lines
Can I use the frameserver function of VirtualDub ?
Manngo
7th October 2004, 10:43
Here we use DVD2SVCD. See topic title. :)
This program will do a lot of things automatically for you and you can spare a lot of work. Resizing is also automatical. So it is an easy way.
You have to resize to DVD standard: 720x480 for NTSC or 720x576 for PAL.
DaHuberHerbert
7th October 2004, 11:56
I know this not "right" here but I found no better place.
Tried your suggestion and it seems to work if set to 720x576.
But why do I get this streching thing if I use 480x576 which is usual SVCD ?
jsoto
7th October 2004, 12:06
I'm looking for a EASY way to add those few lines
Simply select in Aspect Ratio (conversion tab):
a) 16:9 (borders added, encoded as 4:3)
b) Anamorphic (no borders, encoded as 16:9)
Option a) will give you a 4:3 DVD and b) a 16:9 DVD. Resizing and borders will be calculated in both cases by DVD2SVCD to keep the original DAR
jsoto
PS: Do not use 4:3 (No borders, encoded as 4:3) option. This will give you an incorrect resizing for a 1:1 avi input.
Nick
7th October 2004, 18:49
Please note that the preview pane is not a good indicator of aspect ratio. If you are unsure, use Virtual Dub to save a 1-minute clip of your avi and do a test encode on that before wasting time doing re-concoding the whole file.
If the problem you are seeing is only in the preview pane, I am sure that you will find your test encode works fine.
HTH
Nick
DaHuberHerbert
7th October 2004, 23:55
Did some Sample encoding but couldn't fix my little head issue.
I reinstalled DVD2SVCD and now it works.
Probably hit some strange button in first place.
All samples are resized correctly by now.
So never the less thanks for the help
DaHuberHerbert
8th October 2004, 00:09
Well I guess u know whats coming next, right, here's my next problem:
Fed D2SRoBa 3.76 with an Xvid file inluding 44.1kHz mp3 audio.
The video's great as usual but there's no sound at all!
The avi plays fine with sound, also the extracted_audio works, but the encoded_audio is just complete silence.
about 100Mb of silence, pretty funny but useless.
So I checked all my other files and they all have 48kHz mp3 Sound.
Thats the only difference I can find.
Tried several times now it's always the same: no sound
Left D2SRoBa with the default settings, do I need to change anything when my audio is 44.1kHz ??
jsoto
8th October 2004, 00:33
Are you converting from NTSC to PAL?
if BeSweet command has both conversions (resampling from 44.1 to 48 + pitch correction due NTSC to PAL), it produces a silence track (at least to me in a couple of avis I have).
-ota( -r 23976 25000 ) -shibatch( --rate 48000 )
Workaround:
Manually do the two conversions one before the other.
Nick,
Could you confirm this problem?. Frankly, I do not have much avi NTSC material...
jsoto
zedstrange
8th October 2004, 05:46
For my own benefit as much as anyone elses, (this is the best place to make my own notes) I have an XVID source avi in format NTSC 480*368 23.976fps.
(I am playing back on a Pal tv if that makes a difference)
When playing back on my HTPC on the TV or Monitor the aspect ratio is fine, but when converted to Mpeg2 the aspect ratio has shrunk the sides the log shows to 568*480
This is what I tried and it solves the problem.
select Aspect Ratio 16:9 (borders added, encodeded as 4:3)
Frameserver, I chose Lanczos Resize.
and Resize to DVD (720x480/576)
The log tells me that Avisynth changed it to: LanczosResize(704,480) But - I dont care, it works!
Thank you Jsoto.
DaHuberHerbert
8th October 2004, 21:17
You are right Jsoto I'm changing NTSC to PAL and the Sample frequency.
Something seems to be strange about this audio, can not extract it with VirtualDub. Just gives me a 22 minutes audio while there's a 105 minutes track. Strange
Got the avi/vob plugin for Besweet and tried it that way. The sample rate is fine now, but the audio is reduced to 99 minutes even though I didn't change the framerate. How can that be ?
I'm tryin just to change the sample rate to 48kHz in mp3, and than mux it with the avi again and feed the product to d2sroba
Seems best to me cause I have no idea how to cut the audio right to fit on to 2 CDs without getting async.
jorel
10th October 2004, 23:12
Originally posted by jsoto
Simply select in Aspect Ratio (conversion tab):
a) 16:9 (borders added, encoded as 4:3)
b) Anamorphic (no borders, encoded as 16:9)
Option a) will give you a 4:3 DVD and b) a 16:9 DVD. Resizing and borders will be calculated in both cases by DVD2SVCD to keep the original DAR
jsoto
PS: Do not use 4:3 (No borders, encoded as 4:3) option. This will give you an incorrect resizing for a 1:1 avi input.
hi jsoto! :)
i still don't have widescreen tv and have doubts what i choose for 16:9 and 4:3 dvd sources to stay with the best AR to watch in my future widescreen tv. i'm not using any resize and filters in the script,loading only the source alone....sometimes undot/deen if the source is too long.
DDogg give lots of hints:Originally posted by DDogg
Hey, jorel,...Oh, as for resolution, just pick whatever you want in DVD mode. If it is 720x don't worry if you see the resizing filters. Avisynth is smart enough to know not to do anything if it is not needed. You should set the aspect ration in the conversion tab to anamorphic (may require you to have advanced mode set in misc tab) for anything other than a 4:3 full screen.
Personally when not doing any resizing, I use a quick script I made in the script editor in the frameserver tab. Type in a title of "NoResize DVD". Under than that I put 0=Undot() as the whole script. When not resizing I use this. http://forum.doom9.org/showthread.php?s=&threadid=76408&perpage=20&pagenumber=1
as i still don't have the widescrren tv i don't know how to check the results!
can you give me a hint, to remove the "final" doubt, please?
:)
Manngo
11th October 2004, 10:03
@jorel
No resizing will give you the smallest mistake.
But, if you want to resize DVD source, you can do it with autofitcd, or just do a test with it. It will show you the error in %. I think 0.1% is invisible for everybody.
Why would you resize in DVD2DVD mode?
I do it in only 1 case, if source is long, over 2:10 mins. In this case I add borders for the oversize area (I use 3 blocks on each side). This black border can be compressed strongly, so it increases compressibility (by 10-12% in PAL case if I calculate well). And you never see the borders on TV.
@DaHuberHerbert
Decompressing VBR MP3 file, is not easy, becouse it is not acm compatible. Vdub will rewrite the header to CBR and you loose lenth. I use the following method:
Create an avs file:
DirectShowSource("path/file.avi")
I open this file in virtualdub. If you have a look at file information, you can see that the audio is PCM. You can save it as usal. (save wav from file menu) Result will be EXACTLY the same lenth as video.
I had problems like this, with a file, containing a broken mp3 stream.
Are you sure everything is OK, with your file? Have you seen it from the first sec to the last one?
DaHuberHerbert
12th October 2004, 00:06
The video, and this AVI Plugin work perfect.
The option that didn't work for me was to select "force samplerate ..."
If you select "downsample..." on main page and change on ssrc page to 48000Hz it gives you the correct length.
Muxed it with the Avi and thats it.
About an hour later d2sroba created an excellent svcd with nothing to complain.
Audio is great now, seems like jsoto was right and besweet couldn't handle both conversions at the same time.
jsoto
12th October 2004, 18:21
@jorel
I still don't have widescreen tv and have doubts what i choose for 16:9 and 4:3 dvd sources
Well, the hit could be "use the same AR than the original DVD". Only in this case, a no_resize filter in avisynth will give a correct output.
@DaHuberHerbert
seems like jsoto was right and besweet couldn't handle both conversions at the same time. Good to have other report.
jsoto
jorel
13th October 2004, 07:45
thank you Manngo and jsoto. :)
please, that is the final doubt.i swear! :p
why DDogg recommend: "You should set the aspect ration in the conversion tab to anamorphic (may require you to have advanced mode set in misc tab) for anything other than a 4:3 full screen."
i know he is right but is unclear why i slould do that! :confused:
of course i'm not using any resize but i want the perfect AR for my next wide-screen tv...for 4:3 tv in this moment is useless, i'm thinking in the next model tv that i will get!
jsoto
13th October 2004, 08:29
Well, the current 16:9 tvs support a lot of display modes:
1) 16:9 (Native)
2) 4:3 with two vertical black bars
3) 4:3 zoom to 16:9: The image is zommed and you lose the upper and lower part of the image (the black bars in a movie encoded in 4:3 letterbox)
and many others, depending on the brand...
That means, DDogg recomendation is correct , but only if your tv is unable to manage the 2) and/or 3) options, which I believe are supported in all the new models...
So, IMHO, "use the same AR than the original DVD" is the right choice in terms of quality of the encode (because no resize has to be done). IIRC, DVD2SVCD in DVD2DVD mode defaults to this when you load the IFO.
jsoto
jorel
13th October 2004, 13:29
Originally posted by jsoto
Well, the current 16:9 tvs support a lot of display modes:
1) 16:9 (Native)
2) 4:3 with two vertical black bars
3) 4:3 zoom to 16:9: The image is zommed and you lose the upper and lower part of the image (the black bars in a movie encoded in 4:3 letterbox)
and many others, depending on the brand...
That means, DDogg recomendation is correct , but only if your tv is unable to manage the 2) and/or 3) options, which I believe are supported in all the new models...
So, IMHO, "use the same AR than the original DVD" is the right choice in terms of quality of the encode (because no resize has to be done). IIRC, DVD2SVCD in DVD2DVD mode defaults to this when you load the IFO.
jsoto
:) great jsoto. now i know everything about it all(sorry my stup doubts :o )
thank you so much, you're always very kind and atentious! :cool:
jsoto
13th October 2004, 14:30
Hi jorel,
I forgot to mention one thing...
You have to preset your settop player to a 4:3 or 16:9 TV.
In the case of a 4:3 TV and a 16:9 DVD, the settop automatically adds the black borders to keep the AR.
In the case of a 16:9 TV and a 4:3 DVD, well, not sure if all settops do the same. Mine simply does nothing, so I easily can fit the image with my TV display options (usually 16:9 zoom)
jsoto
jorel
14th October 2004, 09:43
thank you jsoto! :)
you're completely clear!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.