LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2009, 07:23 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Unhappy mplayer aspect ratio radeonhd driver


I am trying to get video output with mplayer on a 64 bit hp laptop running the radeonhd driver. I feel in need of a little config magic. It throws up a square box in the middle of the 1200x800 screen. My config file simply says:

xy-3:2
utf8=yes

dec@harriet:$ mplayer dvd://2 - The video bit says
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9800.0 kbps (1225.0 kbyte/s)
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
Opening video filter: [spp]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)


So I tried the suggestions:
bash-3.1$ xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present

dec@harriet:$ mplayer -vo x11 dvd://2

MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)

And later on:
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [x11] 720x576 => 1536x864 Planar YV12
[ASPECT] Warning: No suitable new res found!
[swscaler @ 0xcef960]using unscaled yuv420p -> rgb32 special converter
[mpeg2video @ 0xc3e5c0]ac-tex damaged at 11 7
[mpeg2video @ 0xc3e5c0]Warning MVs not available
[mpeg2video @ 0xc3e5c0]concealing 1305 DC, 1305 AC, 1305 MV errors

mplayer -vf spp, scale also gets laughed at. There is also some conflict because the agp aperature is over 4 gigs and the bios/kernel recreate one at 2 gigs. This is a lousy video combination (ATI card under linux - 'nuff said). Can anyone throw me a bone?
 
Old 06-18-2009, 09:45 AM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
-monitoraspect #.#

1200x800 == 3:2 so 1.5?

You can achieve it by other means too. -vf scale -zoom -x 1066 -y 800 (4:3) or -vf scale -zoom -x 1200 -y 674 (16:9). But it was mainly an xv thing for my ATI drivers, x11 seemed to get it right, but so cpu needy. Basically -monitoraspect 1.5 and let the player do the math. The videos themselves have PAR and DAR. Pixel aspect ratio and Display aspect ratio. But no need to go there if it wasn't something you created.
 
Old 06-19-2009, 03:10 PM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by Shadow_7 View Post
-monitoraspect #.#

1200x800 == 3:2 so 1.5?

You can achieve it by other means too. -vf scale -zoom -x 1066 -y 800 (4:3) or -vf scale -zoom -x 1200 -y 674 (16:9). But it was mainly an xv thing for my ATI drivers, x11 seemed to get it right, but so cpu needy. Basically -monitoraspect 1.5 and let the player do the math. The videos themselves have PAR and DAR. Pixel aspect ratio and Display aspect ratio. But no need to go there if it wasn't something you created.
Yeah, thanks, I tried that. I also tried xy-<many things> It kept setting 720x576 and then it would try to resize and fail. I got around it by using -vo help and tghen trying every single one. GL ran slow but -vo sdl actually worked. I haven't been able to get a dvd menu up but if I can play dvds, it goes on the long finger. Aspect ratio of many films seems to be 1.78:1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MPlayer 16:10 Aspect Ratio Linkhiei Linux - Software 9 01-18-2012 05:26 PM
mplayer for Windows - aspect ratio problem neutron68 General 4 05-06-2007 08:19 PM
mplayer is changing aspect ratio shanenin Linux - Software 1 10-20-2004 12:40 PM
Mplayer Aspect Ratio Glock Shooter Linux - Software 6 11-22-2003 06:19 PM
Mplayer & Ogle aspect ratio Johng Linux - Software 0 09-21-2002 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration