[1] Archiv / MLD 3.x / General / Mplayer Liefert Falsches Format An Tv?
 

Offline Godot

  • Adv. Member
  • ***
  • Posts: 186
    • View Profile
Mplayer Liefert Falsches Format An Tv?
« on: February 20, 2012, 00:26:51 »
Ich habe einen 16:9-Flaschbildschirm mit automatischer Formaterkennung an meinem VDR angeschlossen.

Wenn ich im VDR-Setup unter DVB das Videoformat auf 16:9 stelle, wird das normale Live-Signal (und auch die TV-Aufnahmen) Bildschirmfüllen angezeigt. Wenn ich jedoch mit dem mplayer Videos anschaue, sind diese gestaucht (zu breit, unten und oben schwarzer Streifen). Um ein ordentliches Bild zu sehen, muss ich den TV manuell auf 4:3 umstellen. Dann Stimmen zwar die Proportionen, jedoch habe ich um das Bild überall schwarze Ränder.
Bei dem Test-Video handelt es sich um eine AVI mit 624x352 Auflösung.

Kann ich irgendwo Einstellungen machen, um die mplayer-Wiedergabe des VDR vom TV automatisch richtig erkennen zu lassen?
« Last Edit: February 20, 2012, 00:31:59 by Godot »
VDR: ASUS M2N mit AMD Athlon 64 3200+ - 4096MB RAM - 40GB/1TB/2TB HDD's - Hauppauge Nexus-s (FF) - Hauppauge WinTV-NOVA-s (budget) - Terratex Cinergy 1200 (budget) - Nvidia GeForce GF9500GT 1024MB - Astra 19,2 - MLD 3.0.1.1 devel - LG 42LG3000 (720p)

Offline Godot

  • Adv. Member
  • ***
  • Posts: 186
    • View Profile
Mplayer Liefert Falsches Format An Tv?
« Reply #1 on: February 20, 2012, 14:10:28 »
Ich hab jetzt mal im log nachgelesen und folgendes gefunden:

Feb 20 14:01:39 (none) user.notice root: *** Starting mplayer.sh Version 0.8.7
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable CFGFIL has value "/etc/mplayer.conf"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable USEAC3 has value "true"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable AC3AOUT has value "-ac hwac3"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable TV_ASPECT has value "4/3"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable PAL has value "true"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable NTSC has value "false"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable USE_SPEED has value "true"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable DETC_FILTER has value "detc=dr=2:am=1"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable VOP has value "lavc=6000"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable VO has value "mpegpes:card=2 -slave -nolirc"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable AO has value "mpegpes"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable CACHE has value "16384"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable CACHESTR has value "-cache 16384"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable FRAMEDROP has value "true"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable FDSTR has value "-framedrop"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable LIRCRC has value ""
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable LIRCSTR has value ""
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable REMOTE has value "-slave -nolirc"
Feb 20 14:01:40 (none) user.notice root: *** Use Option USERDEF at your own risk!
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable USERDEF has value "-quiet"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable XResPAL has value "352 480 528 544 704 720"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable XResNTSC has value "352 480 512 544 640 704 720"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable SLOW_CPU has value "false"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: *** Option DVDFiles not set correctly! You will not be able to play VCD/DVD ""
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable DVDFiles has value ""
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable DVD has value "/dev/dvd"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable DVDLANG has value "de"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable DVDOPTIONS has value ""
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable VCDOPTIONS has value ""
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable MPEG_DIRECT has value "true"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable SUFFIX has value ""
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable MPLAYER_V1 has value "true"
Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Calling getvidxy function to analyze source video stream ...
Feb 20 14:01:42 (none) user.notice root: *** DEBUG: OutputFromMPLAYER: "ID_VIDEO_ID=0 ID_AUDIO_ID=1 ID_CLIP_INFO_NAME0=Software ID_CLIP_INFO_VALUE0=MEncoder Sherpya-SVN-r30075-4.2.5 ID_CLIP_INFO_NAME1=Copyright ID_CLIP_INFO_VALUE1=SOF ID_CLIP_INFO_N=2 ID_FILENAME=/media
Feb 20 14:01:42 (none) user.notice root: *** DEBUG: MPLAYER_RETURN:  "0"
Feb 20 14:01:42 (none) user.notice root: *** DEBUG: parsed output for ORIG_X: "624"
Feb 20 14:01:42 (none) user.notice root: *** DEBUG: parsed output for ORIG_Y: "352"
Feb 20 14:01:42 (none) user.notice root: *** DEBUG: parsed output for ORIG_FPS: "25.000"
Feb 20 14:01:42 (none) user.notice root: *** DEBUG: parsed output for ORIG_ASPECT: "0.0000"
Feb 20 14:01:42 (none) user.notice root: *** DEBUG: parsed output for VIDEO_FORMAT: "XVID"
Feb 20 14:01:43 (none) user.notice root: *** DEBUG: parsed output for AUDIO_CODEC: "ffmp3float"
Feb 20 14:01:43 (none) user.notice root: *** INFO: Source Video has Resolution of 624 x 352 ...
Feb 20 14:01:43 (none) user.notice root: *** DEBUG: PAL or unknown "25.000"
Feb 20 14:01:43 (none) user.notice root: *** DEBUG: Variable MAX_X has value "768"
Feb 20 14:01:43 (none) user.notice root: *** DEBUG: Variable NEW_Y has value "433"
Feb 20 14:01:43 (none) user.notice root: *** INFO: For Sqare Pixels we would scale to 768 x 433 ...
Feb 20 14:01:43 (none) user.notice root: *** DEBUG: Variable XResTEMP has value "352 480 528 544 704 720"
Feb 20 14:01:43 (none) user.notice root: *** DEBUG: Variable AnzahlVonXResTEMP has value "6"
Feb 20 14:01:43 (none) user.notice root: *** DEBUG: Variable NEW_X has value "704"
Feb 20 14:01:43 (none) user.notice root: *** DEBUG: setting REAL_Y = FULL_Y ""
Feb 20 14:01:43 (none) user.notice root: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo mpegpes:card=2 -slave -nolirc -ao mpegpes -vf scale=704:433,expand=704:576:-1:-1:1,lavc=6000:25  -framedrop -cache 16384 -slave -nolirc  -subpos 80 -sub-bg-color 0 -sub-

ich vermute, dass in der CMDLINE der Abschnitt "scale=704:433,expand=704:576" hier das falsche Aspect-Verhältnis verursacht. Aber wo kann ich die Einstellungen der CMDLINE ändern?

Auch verwunder mich die Zeile "Feb 20 14:01:40 (none) user.notice root: *** DEBUG: Variable TV_ASPECT has value "4/3". In /etc/mplayer.conf habe ich extra die Zeile "TV_ASPECT="16/9"" angepasst. Wird hier vielleicht eine andere mplayer.conf benutzt als die in /etc/?

P.S. Auch nachdem ich im VDR-System-Setup > TV > VDR > Plugin-Arguments bei mplayer ein -aspect 1.7777 eingefügt habe, ändert sich nichts.
 
« Last Edit: February 20, 2012, 14:13:13 by Godot »
VDR: ASUS M2N mit AMD Athlon 64 3200+ - 4096MB RAM - 40GB/1TB/2TB HDD's - Hauppauge Nexus-s (FF) - Hauppauge WinTV-NOVA-s (budget) - Terratex Cinergy 1200 (budget) - Nvidia GeForce GF9500GT 1024MB - Astra 19,2 - MLD 3.0.1.1 devel - LG 42LG3000 (720p)

Offline Godot

  • Adv. Member
  • ***
  • Posts: 186
    • View Profile
Mplayer Liefert Falsches Format An Tv?
« Reply #2 on: February 20, 2012, 18:40:01 »
Ich habe inzwischen herausgefunden (danke MirMac), dass die CMDLINE in /usr/bin/mplayer.sh erstellt wird.
Da die mplayer.sh Variablen aus /etc/rc.conf nimmt, habe ich diese begutachtet und dabei festgestellt, dass hier (in Zeile 143)  die Variable MPLAYER_TV_ASPECT noch auf "4/3" stand. Nachdem ich dies manuell auf 16/9 geändert hatte, werden die Videos auch in richtiger Skalierung und Bildschirmfüllend angezeigt.

Müsste diese Variable in /etc/rc.conf nicht automatisch vom System gesetzt werden, wenn ich im VDR-Setup > DVB > Videoformat auf 16:9 stelle?
 
VDR: ASUS M2N mit AMD Athlon 64 3200+ - 4096MB RAM - 40GB/1TB/2TB HDD's - Hauppauge Nexus-s (FF) - Hauppauge WinTV-NOVA-s (budget) - Terratex Cinergy 1200 (budget) - Nvidia GeForce GF9500GT 1024MB - Astra 19,2 - MLD 3.0.1.1 devel - LG 42LG3000 (720p)

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20313
    • View Profile
    • ClausMuus.de
Mplayer Liefert Falsches Format An Tv?
« Reply #3 on: February 20, 2012, 23:22:46 »
Ich hab beim mplayer das Setup überarbeitet. Das Seitenverhältnis und DD-Sound Einstellungen werden nun aus den VDR Einstellungen übernommen. Testen konnte ich das nicht. Also bitte testen und Bescheid geben ob's klappt.
Das TV-System (PAL/NTSC) kann nun über's Setup eingestellt werden.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

[1] Archiv / MLD 3.x / General / Mplayer Liefert Falsches Format An Tv?
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.