Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
90 user(s) are online (73 user(s) are browsing Forums)

Members: 2
Guests: 88

Joeled, BSzili, more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 2 3 (4) 5 »


Re: MickJT-MPlayer
Not too shy to talk
Joined:
2007/2/6 13:57
From Donostia (SPAIN)
Posts: 374
Not sure if its a bug, but in amigaos_stuff.c there is:
..
struct Library *GadToolsBase = NULL;
struct AslIFace *IGadTools = NULL;
..

Is "struct AslIFace" correct?!?! Or should it be "struct GadToolsIFace"

   Report Go to top

Re: MickJT-MPlayer
Quite a regular
Joined:
2009/4/28 3:57
From Adelaide, Australia
Posts: 895
I've not looked at or touched that part of the code before, but yeah it seems wrong. I'll take a closer look later on.

   Report Go to top

Re: MickJT-MPlayer
Quite a regular
Joined:
2008/4/10 13:57
From Northern Ireland
Posts: 878
Latest OS4depot version running great here on X1000.
I have a very taxing fullHD x.264 MP4 of Ex Machina that no previous player could keep A/V sync with.

Micks latest version can. Great work, thanks.

_________________
AmigaOne X1000.
Radeon R9 270X

http://www.tinylife.org.uk/
   Report Go to top

Re: MickJT-MPlayer
Quite a regular
Joined:
2006/11/29 8:09
From Lyon, France
Posts: 942
@ddni

If "lavdopts=skiploopfilter=all:skipframe=noref" is activated in the conf file, you'll be able to play it of course but quality will be ugly.

Except if you have very big def videos, this option should be commented otherwise you won't get optimal quality (and you'll think MPlayer is faster than it really is).

_________________
--
AmigaONE X1000 1,8Ghz, 2GB, Sapphire Radeon HD 7700, with Amiga OS 4.1 FE
http://www.amiga-ng.org
   Report Go to top

Re: MickJT-MPlayer
Just popping in
Joined:
2006/12/8 13:37
From Netherlands
Posts: 51
@MickJT

Thank you for this piece of software!

   Report Go to top

Re: MickJT-MPlayer
Quite a regular
Joined:
2009/4/28 3:57
From Adelaide, Australia
Posts: 895
@K-L

"noref" is actually a typo. I corrected it in the config in 1.0.1, it's supposed to be "nonref" and skips more frames.

@ddni

It's quite possible that the reason it's keeping up is because of skiploopfilter=all which degrades the quality of the video a bit. Thanks for your compliment though :)

@benny

Thanks.

   Report Go to top

Re: MickJT-MPlayer
Quite a regular
Joined:
2008/4/10 13:57
From Northern Ireland
Posts: 878
@K-L

ok thanks, I'll check that.

Does Mplayer GUI ignore the config file?

_________________
AmigaOne X1000.
Radeon R9 270X

http://www.tinylife.org.uk/
   Report Go to top

Re: MickJT-MPlayer
Home away from home
Joined:
2006/11/20 16:26
From Norway
Posts: 2696
@jabirulo

Yes its wrong but GadTools is not used, it just some crap from some where, I guess, can be deleted.

_________________
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
   Report Go to top

Re: MickJT-MPlayer
Home away from home
Joined:
2006/11/20 16:26
From Norway
Posts: 2696
@ddni

yes, don't think mplayer GUI knows about that file, mplayer overrides any options you might have in the GUI.


Edited by LiveForIt on 2018/1/6 0:04:10
_________________
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
   Report Go to top

Re: MickJT-MPlayer
Just popping in
Joined:
2012/7/16 17:57
From Istanbul
Posts: 72
I am able to play 720p music videos on my X5k

Generally it is ok but sometimes I hear some cracks in sound replay (from NGFS partition).

I will check if there is something in serial output ?

_________________
Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
   Report Go to top

Re: MickJT-MPlayer
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1086
This version of Mplayer works really fast with those "fast" settings on an X1000.

_________________
Rock lobster bit me, so excuse me.
X1000 + AmigaOS 4.1 FE. Be authentic.
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
   Report Go to top

Re: MickJT-MPlayer
Home away from home
Joined:
2006/11/20 16:26
From Norway
Posts: 2696
@SinanSam460

Serial output, debug kernel ? I think that slow things down, the serial port really slow.

_________________
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
   Report Go to top

Re: MickJT-MPlayer
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1086
@MickJT

The sound gets distorted with some videos. That doesn't happen with other Mplayer's.

_________________
Rock lobster bit me, so excuse me.
X1000 + AmigaOS 4.1 FE. Be authentic.
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
   Report Go to top

Re: MickJT-MPlayer
Quite a regular
Joined:
2009/4/28 3:57
From Adelaide, Australia
Posts: 895
@TSK

Any example videos I can try? Do you use playlists at all?

I know of 2 types of distortion issues. One is when switching between audio formats from FLOAT_BE to something else if you're using a playlist or specifying 2 or more files on the command line. The other is just when the audio plays too loud. If it's mp3 audio, try -ac ffmp3float.


Edited by MickJT on 2018/1/6 7:39:49
Edited by MickJT on 2018/1/6 14:51:59
   Report Go to top

Re: MickJT-MPlayer
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1086
@MickJT

No, I don't use playlists. The audio format is AAC in those videos.

Here's a video in YT.

I couldn't find keys to control playback volume, I don't have numpad on the keyboard if that matters.

_________________
Rock lobster bit me, so excuse me.
X1000 + AmigaOS 4.1 FE. Be authentic.
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
   Report Go to top

Re: MickJT-MPlayer
Quite a regular
Joined:
2009/4/28 3:57
From Adelaide, Australia
Posts: 895
@TSK

You can use the 9 and 0 keys to change the volume level, if you have input.conf in the conf directory.

I'm assuming you mean the audio is clipping, and that's what you mean by distorted.

I played the 640x360 MP4 video and hear audio clipping. It seems like it happens only when using FLOAT_BE output in AHI. Changing the audio levels in AHI or MPlayer itself doesn't have any effect. I will need to investigate. LiveForIt-MPlayer doesn't natively play this output to AHI, but converts it to a different format while playing back. The ahi_dev2 I'm using is from Kjetil but it's still experimental.

Edit: Can you try with -softvol -volume 50 (and other volume levels with softvol enabled) and tell me if that "fixes" the issue?


Edited by MickJT on 2018/1/6 14:24:34
Edited by MickJT on 2018/1/6 14:42:57
Edited by MickJT on 2018/1/6 14:51:08
   Report Go to top

Re: MickJT-MPlayer
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1086
@MickJT

That -softvol -volume 50 helped.

I didn't know you can play floats through AHI ?! I'm using swresample to convert audio in my own video players.

_________________
Rock lobster bit me, so excuse me.
X1000 + AmigaOS 4.1 FE. Be authentic.
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
   Report Go to top

Re: MickJT-MPlayer
Home away from home
Joined:
2006/11/20 16:26
From Norway
Posts: 2696
@TSK

No i wrote a code optimizer, and conversion rotines

https://github.com/khval/mplayer-amiga ... /master/src/amigaos/asm.c

https://github.com/khval/mplayer-amiga ... /master/src/amigaos/asm.h


I think its scale factor, I need have look at code again I think.

on line 61 it inserts muls, using register 1.
question now is where is register 1 one set.
my guess its done in start of the code.

#define dRT (RT == 1 ? 0 : RT),(RT == 1 ? 0 : RT)

dRT replaces register 1 with register 0,
PowerPC normal takes 3 arguments,

normally format is
INSTRUCTION DST,INDEX,SRC

or

INSTRUCTION REG1,REG2,REG3

maybe the last part of dRT is wrong, maybe it should have been a index. but we need to lookup etch individual powerpc instruction to see, sadly I did not make comment in .h file, anyway as long as loaded and saved in same location it should not be a problem.


#define m_muls(a,b,c) ( 0xEC000032 | (a<<21) | (b<<16) | (c<<6) )


Look at this macro I wonder if Multiplications might be hardcoded into macro it self.


Edited by LiveForIt on 2018/1/6 15:52:09
Edited by LiveForIt on 2018/1/7 8:49:44
Edited by LiveForIt on 2018/1/7 8:55:38
Edited by LiveForIt on 2018/1/7 8:56:59
Edited by LiveForIt on 2018/1/7 8:57:42
Edited by LiveForIt on 2018/1/7 8:59:32
Edited by LiveForIt on 2018/1/7 9:01:29
Edited by LiveForIt on 2018/1/7 9:05:08
Edited by LiveForIt on 2018/1/7 9:06:23
Edited by LiveForIt on 2018/1/7 9:08:03
_________________
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
   Report Go to top

Re: MickJT-MPlayer
Quite a regular
Joined:
2009/4/28 3:57
From Adelaide, Australia
Posts: 895
@LiveForIt

Thanks for the explanation. That explains the even worse distortion if I disable the JIT function entirely. A hack to decrease the volume in software would work, but it seems a little crude to do that. I'm clueless about how the AHI & JIT code works, so I'm not the right person to modify that code directly.

   Report Go to top

Re: MickJT-MPlayer
Quite a regular
Joined:
2009/4/28 3:57
From Adelaide, Australia
Posts: 895
It's been pointed out to me that 1.0.1 is not an Amiga version number. The whole reason I called the first release "1.0" was to have a compliant version string. It slipped my mind. I'll retroactively call 1.0.1, 1.1, and the next version can be 1.2. Sorry about that everyone :)

   Report Go to top


« 1 2 3 (4) 5 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project