Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
24 crawler(s) on-line.
 121 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 Rob:  1 hr ago
 vox:  1 hr 4 mins ago
 matthey:  1 hr 42 mins ago
 kolla:  1 hr 58 mins ago
 mbrantley:  2 hrs ago
 pixie:  2 hrs 22 mins ago
 FerruleMedia:  2 hrs 30 mins ago
 amigakit:  2 hrs 44 mins ago
 DiscreetFX:  2 hrs 58 mins ago
 Dragster:  3 hrs ago

/  Forum Index
   /  Amiga OS4 Software
      /  What's "bad" or could improve MPlayer for OS4?
Register To Post

Goto page ( Previous Page 1 | 2 | 3 Next Page )
PosterThread
Thematic 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 1:44:19
#21 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@number6

Things to try before going to the buggy and slow sdl:

1. expand filter (-vf expand)
2. scale filter (-vf scale is slower than expand)

This just to have the video width divisible by 32 (maybe).

Last edited by Thematic on 28-Nov-2010 at 01:45 AM.

_________________
: AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1)
: A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5
: A500/1MB
: Pegasos (ff) 512 MB & MorphOS
Praise seitan.

 Status: Offline
Profile     Report this post  
Fab 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 3:14:49
#22 ]
Super Member
Joined: 17-Mar-2004
Posts: 1178
From: Unknown

I don't maintain the OS4 port, but i think I have enough insight about MPlayer since I maintain it for MorphOS...

In the last year(s), there were many fixes (and optimisations) regarding MP4 playback in ffmpeg/mplayer, so a newer version would help there. Same for the greenish bug in some wmv files.
Also, A/V sync can't be guaranteed if your machine is too slow, even if you enable framedrop. Nothing can be done about that (except a faster machine). And MPlayer behaves quite better than VLC in this regard (VLC would enforce framedrop and only be able to display the first frame and nothing more).
Playback resuming after screenshot is something generic. I actually modified this in the MorphOS port for someone who needed to framestep and screenshot precisely. It's quite easy to fix.

On the other hand, these issues are definitely specific to OS4:

- Crashes/leaks at exit. They could be caused by a buggy (pthread?) cache implementation (if it happens after stream playback) or by the SDL driver otherwise (it's a very bad idea to use the SDL video/audio driver if you want actual performance, anyway).
- Some of the glitches in video display: most likely bad stride/modulo and/or pixfmt handling.
- Subtitles/menu flickering is caused by the lack of double/triple buffer support in the SDL or p96pip video drivers. But you would need multibuffering support in the OS4 overlay driver to fix this (not sure if OS4 provides this).

 Status: Offline
Profile     Report this post  
ktadd 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 6:21:10
#23 ]
Cult Member
Joined: 30-Jul-2003
Posts: 589
From: California, USA

Quote:

RacerX wrote:
@ktadd
The only problems I have is some AVI's don't play and neither do HiDef videos. I don't have many of either so that's not a big problem for me.

Well, HiDef is most likely a problem of CPU power. AVI containers can contain video in a multitude of different codecs. It's possible the video codec used in those particular AVI files is one that isn't supported properly. You can see what video codec is used by loading the video into ffmpegGUI in input 0 then click the Input File Info button and look at the results. There will be one stream that is the video stream, typically stream 0, and you can see what codec is bing used. If the ones that won't play are all the same video codec then MPlayer might not support that one properly or it could be using a video codec that isn't particularly suitable for an AVI container.

_________________
Kevin - X1000 First Contact / uA1

 Status: Offline
Profile     Report this post  
ktadd 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 6:42:51
#24 ]
Cult Member
Joined: 30-Jul-2003
Posts: 589
From: California, USA

Quote:

number6 wrote:
@ktadd

Downloaded and installed ffmpeggui (version 3.0) and ffmpeg (version 0.6.1).
Changed tooltype to complete path to MPlayer (in this case version RC2)
Ghosted Mplayer controls became unghosted as expected.
Entered a file name in "Input 0"
Clicked "preview".
Whereas some other folks in irc got playback by doing this, I got a response, but not a good one.

What happens if you try to play the file from the command line like so:
mplayer -idx -osdlevel 3 filename

This is how I'm executing it from ffmpegGUI. If that produces the same problem then it's likely you have some setting different than the defaults in MPlayer-GUI. Also, double check that you are running the same version of MPlayer from both programs by comparing the SVN revision number in the console output. Last suggestion is to look at the MPlayer config file found in the conf directory wher MPlayer resides and see what is bing set there that might be being overriden by an option when run from MPlayer-GUI.

The last suggestion I have is to try the April 1st version of MPlayer. That's the one I use. RC2 is an older version.

Are all the files your having problems with WMV files or does it happen with other formats as well?
Sorry I can't be more help as I've never come across this problem. From the MPlayer output you posted, it looks like MPlayer doesn't recognize the video format your trying to play but that doesn't explain why it plays from MPlayer-GUI but not from ffmepgGUI if you are indeed using the same version of MPlayer from both.

_________________
Kevin - X1000 First Contact / uA1

 Status: Offline
Profile     Report this post  
ktadd 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 6:45:17
#25 ]
Cult Member
Joined: 30-Jul-2003
Posts: 589
From: California, USA

Quote:

Fab wrote:
I don't maintain the OS4 port, but i think I have enough insight about MPlayer since I maintain it for MorphOS...

Thanks for you input Fab. Hopefully the guys supporting the OS4 version of MPlayer will find some useful information in this thread.

_________________
Kevin - X1000 First Contact / uA1

 Status: Offline
Profile     Report this post  
ChrisH 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 9:39:24
#26 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@Fab Quote:
MPlayer since I maintain it for MorphOS.

Is there any MorphOS software that you aren't responsible for?

Quote:
In the last year(s), there were many fixes (and optimisations) regarding MP4 playback in ffmpeg/mplayer, so a newer version would help there. Same for the greenish bug in some wmv files.

That sounds great, since currently MP4 playback is almost unusable most of the time (tends to stop showing video, with just a purple window, or else the frame rate rapidly drops until it is effectively paused).

@ktadd
From my point of view, if the above bug(s) were fixed (as well as occasional crash on exit), then the only thing missing would be double-buffered (VSync) playback. DvPlayer has this, and it looks SO much nicer in certain circumstances.

Last edited by ChrisH on 28-Nov-2010 at 09:41 AM.

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
samo79 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 10:36:19
#27 ]
Elite Member
Joined: 13-Feb-2003
Posts: 3505
From: Italy, Perugia

@Fab

Quote:
In the last year(s), there were many fixes (and optimisations) regarding MP4 playback in ffmpeg/mplayer, so a newer version would help there. Same for the greenish bug in some wmv files.


This is great to hear

Quote:
- Crashes/leaks at exit. They could be caused by a buggy (pthread?) cache implementation (if it happens after stream playback) or by the SDL driver otherwise (it's a very bad idea to use the SDL video/audio driver if you want actual performance, anyway).


AFAIK MPlayer-OS4 doesn't use any SDL driver, by default it use p96pip for all, so maybe also problems with OSD are caused by it, not sure aniway, Andrea ?

_________________
BACK FOR THE FUTURE

http://www.betatesting.it/backforthefuture

Sam440ep Flex 800 Mhz 1 GB Ram + AmigaOS 4.1 Update 6
AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE + AmigaOS 4.1 Update 6

 Status: Offline
Profile     Report this post  
samo79 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 10:42:59
#28 ]
Elite Member
Joined: 13-Feb-2003
Posts: 3505
From: Italy, Perugia

@Deniil715

Quote:
I don't really see th lack of GUI to be such a big problem. Either I run mplayer from the web using getVideo/ClipDown or I use MPlayer-GUI which I find quite comfortable.


Yes, this is because your external GUI, but an integrated GUI would be a lot better to control the videos and other aspect of the program, expecially when OSD are a bit problematic.

Aniway without MPlayer GUI I would not have used MPlayer too mutch as today, i can say that your GUI is an essential part of this app

Last edited by samo79 on 28-Nov-2010 at 10:44 AM.

_________________
BACK FOR THE FUTURE

http://www.betatesting.it/backforthefuture

Sam440ep Flex 800 Mhz 1 GB Ram + AmigaOS 4.1 Update 6
AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE + AmigaOS 4.1 Update 6

 Status: Offline
Profile     Report this post  
Varthall 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 11:08:55
#29 ]
Super Member
Joined: 17-Feb-2004
Posts: 1559
From: Up Rough

@all

I have setup a page dedicated to MPlayer and MEncoder for AmigaOS4:

https://code.google.com/p/mplayer-amigaos/

I'd like to ask everyone to start opening issue tickets there:

https://code.google.com/p/mplayer-amigaos/issues/list

instead of posting the problems in this thread, so that we can keep track of all the bugs more easily.

I have written a small guide on how to open bug reports:

https://code.google.com/p/mplayer-amigaos/wiki/BugReportHOWTO


Some notes about the issues reported here (besides what Fab has already answered):

- the problem with videos not being supported might be due to the age of the latest release (more than one year ago). If after the newest release there are still some videos not being recognised, I'll compare with an official Linux compile of MPlayer to see if it's a generic MPlayer problem or if it's related to the OS4 port. Same with the distortion / audio sync problems (if they're not related to insufficient CPU speed).

- @Phantom: try the latest MPlayer first

- @K-L: The Altivec version will be still supported (after all, I have an Altivec machine myself). I'm considering versions with G3 and 440 GCC's optimizations too, if they will give any performance boost there will be separate binaries for them.

- @Thematic: if the older versions of MPlayer has any feature that works better than in the newest MPlayer, I'll take a look if it will be possible to include it in the next release.

- @Fab: Thanks for the info!

Varthall

_________________
AmigaOne XE - AmigaOS 4.1 - Freescale 7457 1GHz - 1GB ram

 Status: Offline
Profile     Report this post  
samo79 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 12:43:29
#30 ]
Elite Member
Joined: 13-Feb-2003
Posts: 3505
From: Italy, Perugia

Well done Varthall

Count of me about bug reports

_________________
BACK FOR THE FUTURE

http://www.betatesting.it/backforthefuture

Sam440ep Flex 800 Mhz 1 GB Ram + AmigaOS 4.1 Update 6
AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE + AmigaOS 4.1 Update 6

 Status: Offline
Profile     Report this post  
number6 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 18:18:10
#31 ]
Elite Member
Joined: 25-Mar-2005
Posts: 11587
From: In the village

@samo79

Quote:
AFAIK MPlayer-OS4 doesn't use any SDL driver, by default it use p96pip for all, so maybe also problems with OSD are caused by it, not sure aniway, Andrea ?


For those of us who still have to set radeon tooltype "(INTERRUPT=Yes)", meaning NO hardware interrupts/software polling of interrupts only, you will find that obviously you can only use sdl and not p96pip.

I don't think the authors of MPlayer/MPlayer-GUI and/or ffmpeg/ffmpeggui should try to address this, since this is not the fault of those programs. I'm also not sure it is wise for any of us with the boot issue to even test any program requiring hardware interrupts.

#6

_________________
This posting, in its entirety, represents solely the perspective of the author.
*Secrecy has served us so well*

 Status: Offline
Profile     Report this post  
K-L 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 19:26:10
#32 ]
Super Member
Joined: 3-Mar-2006
Posts: 1411
From: Oullins, France

@number6

Eh ? I'm using INTERRUPT=YES since a long time and P96_PIP works flawlessly.

_________________
PowerMac G5 2,7Ghz - 2GB - Radeon 9650 - MorphOS 3.14
AmigaONE X1000, 2GB, Sapphire Radeon HD 7700
FPGA Replay + DB 68060 at 85Mhz

 Status: Offline
Profile     Report this post  
Varthall 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 19:32:51
#33 ]
Super Member
Joined: 17-Feb-2004
Posts: 1559
From: Up Rough

@samo79
Quote:
AFAIK MPlayer-OS4 doesn't use any SDL driver, by default it use p96pip for all, so maybe also problems with OSD are caused by it, not sure aniway, Andrea ?

MPlayer uses SDL for audio by default:

Quote:
[AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16be
AO: [sdl] 48000Hz 2ch s16be (2 bytes per sample)


I don't know what is the reason for this, I'll see if I can implement an AHI interface.

@K-L

I have been told that AmigaOnes can't boot with a Radeon 7000 card if INTERRUPTS is set to yes.

Varthall

_________________
AmigaOne XE - AmigaOS 4.1 - Freescale 7457 1GHz - 1GB ram

 Status: Offline
Profile     Report this post  
Fab 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 19:58:52
#34 ]
Super Member
Joined: 17-Mar-2004
Posts: 1178
From: Unknown

@Varthall

AHI drivers already exist in 2 flavours: one using ahi lowlevel (library) method and the other using device mode.

 Status: Offline
Profile     Report this post  
number6 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 20:12:06
#35 ]
Elite Member
Joined: 25-Mar-2005
Posts: 11587
From: In the village

@Varthall

Quote:
I have been told that AmigaOnes can't boot with a Radeon 7000 card if INTERRUPTS is set to yes.


Just to clarify. Most do, but some don't.
Until the last few threads we've had on the topic, it seemed confined to Micro users (who have made the same posts over and over at my urging to confirm the issue still exists). But in the last few threads we had report of the same boot issue from an XE with Radeon 7000.
I'll refrain from repeating the whole story, since it's getting quite tiresome.

#6

_________________
This posting, in its entirety, represents solely the perspective of the author.
*Secrecy has served us so well*

 Status: Offline
Profile     Report this post  
K-L 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 28-Nov-2010 20:31:41
#36 ]
Super Member
Joined: 3-Mar-2006
Posts: 1411
From: Oullins, France

@number6

Ok, I did not quite catch what you meant, I understand better now.

_________________
PowerMac G5 2,7Ghz - 2GB - Radeon 9650 - MorphOS 3.14
AmigaONE X1000, 2GB, Sapphire Radeon HD 7700
FPGA Replay + DB 68060 at 85Mhz

 Status: Offline
Profile     Report this post  
ktadd 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 29-Nov-2010 5:05:03
#37 ]
Cult Member
Joined: 30-Jul-2003
Posts: 589
From: California, USA

@Debuuk715
Quote:

Deniil715 wrote:
@ktadd
Exiting is often unstable, especially when using SDL. Then it always crashes. It also always crashes after ClipDown for me.

The summer version (MPlayer SVN-r29532-4.2.3) crashes and doesn't release all memory on exit when streaming videos.
Try using the April version (MPlayer SVN-r29068-4.2.3). It doesn't release all memory when streaming but at least it doesn't crash on exit. At least for me using a uA1 on OS4 update 2. This is the version I always use with ClipDown.

I've already submitted the defect to the MPlayer google project.

_________________
Kevin - X1000 First Contact / uA1

 Status: Offline
Profile     Report this post  
ktadd 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 29-Nov-2010 5:12:21
#38 ]
Cult Member
Joined: 30-Jul-2003
Posts: 589
From: California, USA

@Varthall
Quote:

Varthall wrote:
@all
I have setup a page dedicated to MPlayer and MEncoder for AmigaOS4:

Thanks a lot for taking up support of MPlayer and setting this up. I'll be submitting defects as I run across them. I've also PM's you with some info that might help with troubleshooting and testing Mplayer.

@All
I'm happy to see this thread keeping a positive outlook and people making positive contributions. Thanks. Let's all make sure we thank and support the guys taking up support of MPlayer.

_________________
Kevin - X1000 First Contact / uA1

 Status: Offline
Profile     Report this post  
Slayer 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 29-Nov-2010 8:29:14
#39 ]
Regular Member
Joined: 4-Jan-2005
Posts: 416
From: New Zealand

I generally don't think there is much wrong with mplayer but then I don't try and watch anything full speed on it LOL... that's what burning DVDRW and playing on your xbox on 50" plasma TV is for :p

I do still get part of the screen (on the right about 20%) in a nice red block but only when I play these types of files

Audio: no sound
Starting playback...
VDec: vo config request - 1920 x 1080 (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: [p96_pip] 1920x1080 => 3840x2160 Planar YV12 [fs]

adios!

_________________
~Yes I am a Kiwi, No, I did not appear as an extra in 'Lord of the Rings'~
1x AmigaOne X5000 2.0GHz 2gM RadeonR9280X AOS4.x
3x AmigaOne X1000 1.8GHz 2gM RadeonHD7970 AOS4.x

 Status: Offline
Profile     Report this post  
Varthall 
Re: What's "bad" or could improve MPlayer for OS4?
Posted on 29-Nov-2010 12:35:54
#40 ]
Super Member
Joined: 17-Feb-2004
Posts: 1559
From: Up Rough

@Slayer

Quote:

Slayer wrote:
I generally don't think there is much wrong with mplayer but then I don't try and watch anything full speed on it LOL... that's what burning DVDRW and playing on your xbox on 50" plasma TV is for :p

I do still get part of the screen (on the right about 20%) in a nice red block but only when I play these types of files

Audio: no sound
Starting playback...
VDec: vo config request - 1920 x 1080 (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: [p96_pip] 1920x1080 => 3840x2160 Planar YV12 [fs]

adios!


Same here, when trying to play videos of the same size (1080p/i). Since it's not possible anyway to replay them at a decent speed with the current HW, this issue will have a lower priority for now. Besides, it might be an issue with OS4's video drivers.

Varthall

_________________
AmigaOne XE - AmigaOS 4.1 - Freescale 7457 1GHz - 1GB ram

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle