On Fri, 2009-05-15 at 10:17 +0200, Nico Sabbi wrote: > On Friday 15 May 2009 04:44:49 whyohwhyohwhyoh wrote: > > hello, > > > > i'm looking for suggestions about what's causing the following and > > what the solution might be. the problem isn't directly related to > > mplayer but i'm hoping that the solution might be or at least the > > people on this list might know the answer or where else to look. > > > > i'm transferring some DVDs onto files so that i can stream them to > > my PS3. > > > > for most DVDs, just doing... > > > > mencoder -oac copy -ovc copy -of mpeg -mpegopts format=dvd:lsaf > > .... > > > > works fine. > > > > however, when i try that on my UK PAL "Spirited Away" DVD the > > result plays stretched very wide - approx 2.3:1 - on the PS3. > > > > the file plays with the correct aspect ratio in mplayer. > > > > if plays with the stretched aspect ratio in totem (using gstreamer) > > which gets the correct aspect ratio if it plays the film straight > > from the DVD. > > > > even taking the data from the disc using tccat produces a file > > which plays correctly in mplayer but too wide elsewhere. > > > > i don't even know where to look next. if i switch on verbose > > output in mplayer is there something i can look for in amongst all > > that data that would give a clue? > > > > tia > > > > PS huge, massive thanks for mplayer and mencoder - richly deserving > > of all its awards. i've been a very happy user for many, many > > years. :-D > > > > some dvds have an incorrect A/R indication in the video stream itself, > some (recent ones) even have a pan_scan indication that is completely > broken. > You can fix that using -mpegopts :vaspect and maybe patching :vpswidth > and :vpsheight to 0 hi Nico, big thanks for the suggestions. yes, i'd thought along the same lines and had tried setting :vaspect=16/9 but it didn't make any difference. i've just tried setting :vpswidth=0 and :vpsheight=0 but mencoder complains that they both have to be >= 1. thinking further about your suggestions and looking at the result, which is a little bit more than 2.11:1 ... suppose it's 2.225:1? that would be the 16:9 i put in the header * 4:3 in the stream. so if i put 4:3 in the header the result will be 4:3 * 4:3 = 16:9 ... which is what i need. so i put :vaspect=4/3 and it works! output that's 16:9! mplayer plays the resulting file 4:3 now but that's okay - i can manually override that if i want to play it in mplayer. do you think it's the PS3 (and totem/gstreamer) or mplayer that's being the most technically 'correct' here? should mplayer be playing at the same A/R as the other things? (and default to putting :vaspect=4/3 in the mpegopts in this case?) and is there a way to find out the A/R in the header and the A/R in the stream separately to confirm what's going on? anyway, thank you!! now i don't have to re-encode this film! awesome. :-D > _______________________________________________ > MPlayer-users mailing list > MPlayer-users@xxxxxxxxxxxx > https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users _______________________________________________ MPlayer-users mailing list MPlayer-users@xxxxxxxxxxxx https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users