It ist a problem for me to desribe corectly the problem in english. So ist is better (for me) to use eMail and german. DaLiMan
----- Original Message ----- From: "Stefan Lucke" stefan@lucke.in-berlin.de To: "VDR Mailing List" vdr@linuxtv.org Sent: Wednesday, May 03, 2006 10:43 PM Subject: Re: [vdr] Softdevice
On Mittwoch 03 Mai 2006 22:20, vdr@daliman.de wrote:
Yep. Here are the answers. But i think that nothing of them is unsefull as a hint for this problem.
Lets see.
a)ffmpeg: ffmpeg version(CVS) build(3344384) b) xv c) lcd via vga d) 1440x900 e) 16:10
Ihope that its usefull to resolve this bug.
Part from your syslog is missing! This is importand to track down that bug.
With a 16:10 device you should set screen aspect to 16:10 too. Ratio calculation is not exact enough when retrieved from X11. Can you show us the top 66 lines from output of command xdpyinfo ?
There is a section, which looks like: screen #0: print screen: no dimensions: 1280x1024 pixels (342x271 millimeters) resolution: 95x96 dots per inch depths (7): 24, 1, 4, 8, 15, 16, 32
From that information, monitor has aspect of 1.26199,
from Xorg.0.log monitor has aspect either: 1.248148 (II) RADEON(0): clock: 108.0 MHz Image Size: 337 x 270 mm (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1440 h_blank_end 1688 h_border: 0 (II) RADEON(0): v_active: 1024 v_sync: 1025 v_sync_end 1028 v_blanking: 1066 v_border: 0
or from the same log (aspect now: 1.2592592) (II) RADEON(0): Modeline "400x300" 20.00 400 420 484 528 300 300 302 314 doublescan +hsync +vsync (--) RADEON(0): Display dimensions: (340, 270) mm (--) RADEON(0): DPI set to (95, 96)
From handbook it should be 337x270 mm with dot pitch 0.264x0.264 mm
cheers, DaLiMan
Stefan Lucke wrote:
On Mittwoch 03 Mai 2006 16:50, vdr@daliman.de wrote:
I hope somebody help me again and translate the following. Thanks very much.
Ich habe bisher Screen Aspect im SetupMenü auf 4:3 eingestellt. Daher erfolgte das automatische Umschalten bei einem 16:9 Stream nicht. Mit der Einstellung default funktioniert es. Das bedeutet daß dies kein Fehler ist.
Ich hoffe, Du kannst die Antwort in Englisch verstehen. Wenn nicht, so sollten wir das Off-List weiter diskutie
Hups, you say switch works only when screen aspect is set to default, and it doesn't work when screen aspect is set to 4:3. If thats true, that would be a bug. But ...
So lets collect some facts. From your other bug report I know, that you are using latest vdr + softdevice. Which ffmpeg version do you use (version number is printed at startup) ? Which output method do you use ? Do you connect a monitor via VGA out or a TV via TV out ? When you are using VGA, what is the native resolution of your device ? What is the native aspect ratio of your output device ?
And then please provide a similar to the following information of your system, when to your opinion the switch is handled wrong _and_ correct. You'll find this information in the system log.
With Xv out I see the following: That is a switch from 4:3 to 16:9 video stream, screen aspect set to 4:3 May 3 21:11:20 jarada jarada vdr: [10352] [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.777778) May 3 21:11:20 jarada jarada vdr: [10352] [VideoOut]: 720x576 [0,0 720x576] -> 768x576 [0,57 768x461]
The same switch when screen aspect is set to default: May 3 21:14:33 jarada jarada vdr: [10366] [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.777778) May 3 21:14:33 jarada jarada vdr: [10366] [VideoOut]: 720x576 [0,0 720x576] -> 768x576 [0,70 768x436]
Still a bit wrong, as my LCD has an aspect ratio of 5:4. Now when set to 5:4: May 3 21:16:36 jarada jarada vdr: [10380] [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.777778) May 3 21:16:36 jarada jarada vdr: [10380] [VideoOut]: 720x576 [0,0 720x576] -> 768x576 [0,72 768x432]
That is from my test stream which has an AFD value set, which describes it as 4:3 active format, even stream is in 16:9. Usual behaviour would be a vertical downscale, but we cutout 90 pixel left and right from source and display this at full display/window area of 768x576. May 3 21:18:58 jarada jarada vdr: [10405] [VideoOut]: aspect changed (0 -> 9 ; 1.333333 -> 1.777778) May 3 21:18:58 jarada jarada vdr: [10405] [VideoOut]: 720x576 [90,0 540x576] -> 768x576 [0,0 768x576]
Ich möchte für mich die automatische Umschaltung auf 16:9 auch bei ScreenAspect=4:3. Für einen kleinen Tipp wo ich welche Variable setzen wäre ich dankbar.
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr