DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th August 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Default Issues WIth Mplayer and Vlc

I'm trying to playback some movies(avi or mkv) with mplayer and vlc.
On all videos if i press f for fullscreen mplayer will extend the window,but the video won't change dimensions.This happens to all videos with mplayer and to some with vlc.

for example if i try to playback an mkv file:

Code:
           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.


My pc is not slow; i mean i have i quad core ,3gb ram and was able to playback any kind of files with no problems back in the Ubuntu days.

Also if i try

mplayer -ao sdl thundercats.2011.s01e01-e02.720p.hdtv.x264-orenji.mkv

Code:
SUB: Added subtitle file (1): ./thundercats.2011.s01e01-e02.720p.hdtv.x264-orenji.srt
[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 decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
No such audio driver 'sdl'
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [x11] 1280x720 => 1280x720 Planar YV12 
[swscaler @ 0x3c1f2c00]using unscaled yuv420p -> bgra special converter


As it's like what says in the message;i have no sound.




Also both on vlc and mplayer i cannot play subtitles that are not embed.Embed subtitles appear normally.On vlc i went to preferences>subtitles & OSD and changed default encoding to greek-iso 8859-7.(This worked for me on my linux machines but as it seems, i need to make some other settings on OpenBSD.I don't know how i can do the same on mplayer.

Do i need to use a different player?
Do i need to make some additional/new settings to my players?

Any tip would be really useful or maybe o working mplayer config file.

Last edited by sepuku; 27th August 2011 at 06:34 PM.
Reply With Quote
  #2   (View Single Post)  
Old 27th August 2011
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Default

Is there some reason you are specifying the sdl audio output device? Seems mplayer wasn't built with that support. Check the output of "mplayer -ao help" and specify one of the other supported output devices.

The fact that you don't have Xv enabled in X is going to be an issue for video playback. mplayer is falling back to the x11 video output device, which requires more work from your processor. The x11 device also doesn't support scaling unless you use the -zoom option, which is why the video size stays the same, even when the window size changes. You can use the -zoom option, but that will increase the CPU usage even more.

What video card do you have?
Reply With Quote
  #3   (View Single Post)  
Old 27th August 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

If your video card isn't supported there won't be support for Xv/XVideo acceleration, your CPU will be forced to compensate.

Even on an newer system this will be very slow for HD video, like mkv/h264 encoded files.. some SD content as well.

If you're using nVidia, you're out of luck except for really old cards.. and if you're using ATI/AMD you need to be Radeon HD 4xxx or older, and even then you need to be running a snapshot and manually updating the xf86-video-ati DDX to get textured Xv.
Reply With Quote
  #4   (View Single Post)  
Old 27th August 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Default

Quote:
Originally Posted by adamk View Post
Is there some reason you are specifying the sdl audio output device?
Nope i just read the messages on xterm that suggested to do so.

Quote:
Originally Posted by adamk View Post
What video card do you have?
Reply With Quote

I have an NVIDIA GeForce 8500 GT. :/
Reply With Quote
  #5   (View Single Post)  
Old 27th August 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Default

Quote:
Originally Posted by BSDfan666 View Post
If you're using nVidia, you're out of luck except for really old cards..
But are really old cards capable to playback HD videos?And can yoou define old?Also is there any other trick for nvidia cards?

I really like OBSD.I also used surfing without flash.The only thing i miss is watching HD videos/movies/animes.

It's really discouraging not being able to do such thing?
Reply With Quote
  #6   (View Single Post)  
Old 27th August 2011
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Default

Yeah, as BSDfan666 said above, you';re out of luck when it comes to Xv support then.

Adam
Reply With Quote
  #7   (View Single Post)  
Old 27th August 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Default

Quote:
Originally Posted by adamk View Post
Yeah, as BSDfan666 said above, you';re out of luck when it comes to Xv support then.

Adam
Oooh i see...does other *BSD OSes offer HD playback?For example what about FreeBSD?
Reply With Quote
  #8   (View Single Post)  
Old 27th August 2011
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Default

With FreeBSD, you will at least have the option to use the proprietary nvidia driver, which not only supports Xv but VDPAU as well (allowing the GPU to assist in decoding certain videos).

Adam
Reply With Quote
  #9   (View Single Post)  
Old 27th August 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Default

Quote:
Originally Posted by adamk View Post
With FreeBSD, you will at least have the option to use the proprietary nvidia driver, which not only supports Xv but VDPAU as well (allowing the GPU to assist in decoding certain videos).

Adam

Hhmmm...then i'll consider seriously to dual boot OpenBSD and FreeBSD and just switch to FreeBSD when want to watch movies.


Thank you both for the info you provided.
Reply With Quote
Old 28th August 2011
albator albator is offline
Shell Scout
 
Join Date: Jul 2011
Posts: 98
Default

Quote:
Originally Posted by sepuku View Post
Hhmmm...then i'll consider seriously to dual boot OpenBSD and FreeBSD and just switch to FreeBSD when want to watch movies.
Whether you use FreeBSD or OpenBSD, I think you'd have to add this to the mplayer config file :
Code:
$ echo "zoom=yes" >> ~/.mplayer/config
Reply With Quote
Old 28th August 2011
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Default

zoom=yes is only necessary when using the x11 output device. If he were using FreeBSD, with the proprietary nvidia driver, Xv (and even VDPAU) would be supported, and the zoom option would be unnecessary.

Adam
Reply With Quote
Old 28th August 2011
albator albator is offline
Shell Scout
 
Join Date: Jul 2011
Posts: 98
Default

Quote:
Originally Posted by adamk View Post
zoom=yes is only necessary when using the x11 output device. If he were using FreeBSD, with the proprietary nvidia driver, Xv (and even VDPAU) would be supported, and the zoom option would be unnecessary.
But we don't want to use proprietary drivers! Do we ? ;-)
Reply With Quote
Old 28th August 2011
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Default

There is no "we". There is you, me, and the OP. Whether the OP wants to use the proprietary drivers is entirely up to him.
Reply With Quote
Old 28th August 2011
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by adamk View Post
There is no "we". There is you, me, and the OP. Whether the OP wants to use the proprietary drivers is entirely up to him.
You comment makes no sense and can be taken as a small insult to the small OpenBSD community here (the original question was about MPlayer and VLC on OpenBSD not about those packages on other platforms). There are NO proprietary NVidia drivers for OpenBSD. As someone who has to use those proprietary drivers for GPU Tesla on the RedHat at work (CUDA computing) I can just say thanks God they do not exist for OpenBSD and thanks God Theo and a gang a the last bastion of sanity in the BSD world when it comes to that crap.
Reply With Quote
Old 28th August 2011
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Default

There is no insult in my comment. Albator simply said:

Quote:
But we don't want to use proprietary drivers! Do we ? ;-)
My comment is simply that, in the context of this thread, there is no we. I never once said anything to suggest that I was talking about the OpeBSD community.

Clearly the OP has no overriding concern about using proprietary drivers if he's considering dualbooting FreeBSD just so he can use the nvidia drivers.

Adam
Reply With Quote
Old 28th August 2011
albator albator is offline
Shell Scout
 
Join Date: Jul 2011
Posts: 98
Default

Quote:
Originally Posted by adamk View Post
There is no insult in my comment.
Don't worry mate, I didn't take it as such. I just wanted to say I like the fact that OpenBSD doesn't ship proprietary drivers and I guess its users like this too.
Reply With Quote
Old 28th August 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Default

One more question for the OpenBSD users; You don't watch movies on OpenBSD at all,or when you have to you just switch OSes as i intend to do?Or you just were lucky and you had a supported video hard?

My conclusion so far is that the older your system is,the better support you get from OpenBSD.

Last edited by sepuku; 28th August 2011 at 09:50 PM.
Reply With Quote
Old 28th August 2011
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Sepuku

You can watch movies in OpenBSD provided you had chosen other hardware. BSDfan666 gave some pointers in his first post.
Reply With Quote
Old 28th August 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Default

Quote:
Originally Posted by shep View Post
Sepuku

You can watch movies in OpenBSD provided you had chosen other hardware.
Hello Shep,

My bad,it's not clear what i want to say:


I'm talking about people that are/were not lucky like me.When I bought my pc 4 years ago i had no idea what OpenBSD is.Obviously the ones that have supported video card they watch movies.But what about that the ones that don't?That's what i'm curious to know.

Maybe they have thought a better solution than dual booting.And their experience might save me a lot of time.That's the reason i'm asking.
Reply With Quote
Old 28th August 2011
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Sepeku

You are on the right track and given that this was your first attempt at OpenBSD I would say you did well.
As you gain experience with the BSD's you will find they have their strengths and weaknesses.

When you upgrade your next system I would look at the current hardware support - OpenBSD and FreeBSD have a list in their FAQ or install instructions respectively.
Reply With Quote
Reply

Tags
mplayer, nvidia, slow playback, vlc

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Other New better MPlayer, the MPlayer 2, fork of original MPlayer vermaden News 5 26th March 2011 03:37 PM
mplayer do not show subtitle mfaridi OpenBSD Packages and Ports 3 12th November 2008 05:41 AM
mplayer-1.0rc2p2-sdl.tgz and mplayer-1.0rc2p2.tgz bsdnewbie999 OpenBSD General 1 21st June 2008 06:34 AM
mplayer volume cannot increase. bsdnewbie999 OpenBSD General 3 19th June 2008 03:16 PM
MPlayer skins for solaris whispersGhost Solaris 7 12th June 2008 11:06 PM


All times are GMT. The time now is 07:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick