Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
91 user(s) are online (56 user(s) are browsing Forums)

Members: 0
Guests: 91

more...

Headlines

 
  Register To Post  

« 1 2 3 (4) 5 »
Re: MickJT-MPlayer
Just can't stay away
Just can't stay away


See User information
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"

Go to top
Re: MickJT-MPlayer
Quite a regular
Quite a regular


See User information
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.

Go to top
Re: MickJT-MPlayer
Just can't stay away
Just can't stay away


See User information
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 RX550

http://www.tinylife.org.uk/
Go to top
Re: MickJT-MPlayer
Just can't stay away
Just can't stay away


See User information
@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 and Radeon RX 560
Go to top
Re: MickJT-MPlayer
Just popping in
Just popping in


See User information
@MickJT

Thank you for this piece of software!

Go to top
Re: MickJT-MPlayer
Quite a regular
Quite a regular


See User information
@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.

Go to top
Re: MickJT-MPlayer
Just can't stay away
Just can't stay away


See User information
@K-L

ok thanks, I'll check that.

Does Mplayer GUI ignore the config file?

AmigaOne X1000.
Radeon RX550

http://www.tinylife.org.uk/
Go to top
Re: MickJT-MPlayer
Home away from home
Home away from home


See User information
@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.
Go to top
Re: MickJT-MPlayer
Home away from home
Home away from home


See User information
@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.
Go to top
Re: MickJT-MPlayer
Not too shy to talk
Not too shy to talk


See User information
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
Go to top
Re: MickJT-MPlayer
Just can't stay away
Just can't stay away


See User information
This version of Mplayer works really fast with those "fast" settings on an X1000.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: MickJT-MPlayer
Home away from home
Home away from home


See User information
@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.
Go to top
Re: MickJT-MPlayer
Just can't stay away
Just can't stay away


See User information
@MickJT

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

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: MickJT-MPlayer
Quite a regular
Quite a regular


See User information
@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
Go to top
Re: MickJT-MPlayer
Just can't stay away
Just can't stay away


See User information
@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 I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: MickJT-MPlayer
Quite a regular
Quite a regular


See User information
@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
Go to top
Re: MickJT-MPlayer
Just can't stay away
Just can't stay away


See User information
@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 I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: MickJT-MPlayer
Home away from home
Home away from home


See User information
@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.
Go to top
Re: MickJT-MPlayer
Quite a regular
Quite a regular


See User information
@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.

Go to top
Re: MickJT-MPlayer
Quite a regular
Quite a regular


See User information
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 :)

Go to top

  Register To Post
« 1 2 3 (4) 5 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project