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
0 crawler(s) on-line.
 50 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 Kronos:  6 mins ago
 walkero:  12 mins ago
 zipper:  21 mins ago
 RobertB:  45 mins ago
 bhabbott:  1 hr 23 mins ago
 kolla:  1 hr 52 mins ago
 Karlos:  2 hrs 19 mins ago
 Rob:  2 hrs 26 mins ago
 jPV:  2 hrs 53 mins ago
 Musashi5150:  2 hrs 56 mins ago

/  Forum Index
   /  Amiga OS4 Software
      /  mui-mplayer on amigaos4 thread / progress
Register To Post

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 Next Page )
PosterThread
Thematic 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 6:15:15
#241 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

I noticed the overlay fix uses expanding... some videos will require scale, but the funny part is you don't need to calculate at all:
VIDEO: [FLV1] 360x216 0bpp 25.000 fps 409.6 kbps (50.0 kbyte/s)

fixed with just -vf scale=360

I think it's tricky to make this automatic, since the message when not using scale:
Full DR not possible, trying SLICES instead!
Full DR not possible, trying SLICES instead!

.. comes only *after* the "Starting playback" part.

@Mrodfr

If you put into conf/config
Quote:

nosub=1
noautosub=1

it won't automatically load text subtitles, only if you use -sub option.

Last edited by Thematic on 30-Oct-2011 at 06:30 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  
Mrodfr 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 6:26:57
#242 ]
Super Member
Joined: 28-Jan-2007
Posts: 1396
From: French

@Thematic

not working. Have added at the end of the config file and of course, without the #

_________________
BTW, what you have done for the amiga today ????

-A1200+Mediator+VooDoo3+060/50+96mo+SCSI-KIT
-SAM440EP-667mhz-on MapowerKC3000+AOS4.1

Amiga Docs Disks Preservation Project

 Status: Offline
Profile     Report this post  
Thematic 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 6:31:18
#243 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@Mrodfr

What kind of subtitle is it? Does any other option in the file do anything?

Last edited by Thematic on 30-Oct-2011 at 06:32 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  
Mrodfr 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 6:38:11
#244 ]
Super Member
Joined: 28-Jan-2007
Posts: 1396
From: French

@Thematic

I want to remove the subtitle I have per default when launching a VOB file.

I must use the menu: subtitle-> cycle subtitle one time, and the subtitle is disabled (but I need to do that allways).

_________________
BTW, what you have done for the amiga today ????

-A1200+Mediator+VooDoo3+060/50+96mo+SCSI-KIT
-SAM440EP-667mhz-on MapowerKC3000+AOS4.1

Amiga Docs Disks Preservation Project

 Status: Offline
Profile     Report this post  
Thematic 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 6:39:26
#245 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@Mrodfr

Yep, I didn't find out about that either, those are not text but image subtitles... but maybe you can specify an invalid subtitle id like sid=-1 ? Or 0?

Last edited by Thematic on 30-Oct-2011 at 06:40 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  
tommysammy 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 6:51:33
#246 ]
Cult Member
Joined: 20-Jan-2010
Posts: 662
From: Isselburg,Germany

@Mrodfr

I have here the same problem with VOB files .
I can`t delete the subtitle.
Another problem for me .I hear only the englisch version,I can not switch to German.
With DVPlayer VOB files works fine here

_________________
Amiga600/Vampire2/PrismaMegaMix

 Status: Offline
Profile     Report this post  
Thematic 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 6:59:50
#247 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@tommysammy

http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.txt

-alang de,en would tell mplayer to choose German labeled audio if it exists, otherwise the English one.

Pressing v should disable any subtitle, easier than using a menu IMO.

_________________
: 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  
Mrodfr 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 7:03:52
#248 ]
Super Member
Joined: 28-Jan-2007
Posts: 1396
From: French

@all

Also tried to use a DVD with DVDnav, with use, on the menu: Use DVDmenu and after PlayDVD. Work but terribly slow.

Just loading the first VOB, on the same DVD, with a requester and play much better.

_________________
BTW, what you have done for the amiga today ????

-A1200+Mediator+VooDoo3+060/50+96mo+SCSI-KIT
-SAM440EP-667mhz-on MapowerKC3000+AOS4.1

Amiga Docs Disks Preservation Project

 Status: Offline
Profile     Report this post  
kyle 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 7:49:57
#249 ]
Cult Member
Joined: 15-Oct-2006
Posts: 866
From: Livorno, Italy

It doesn't work with Radeon HD on Sam460 (I have a X1950Pro), since overlay is not yet supported.
However this is the message of error I have:

Playing Fun:Anime/The_Chubbchubbs.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
Detected NON-INTERLEAVED AVI file format.
VIDEO: [DX50] 640x352 24bpp 23.976 fps 1175.3 kbps (143.5 kbyte/s)
VO: [p96_pip]
ok, preinit P96_OpenOSLibs done!
ok, preinit P96_GiveArg done!
ok, exit from preinit
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16be, 96.0 kbit/6.25% (ratio: 12000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AHI: Using 0x1f0002 AudioID.
AHI: Using 11520 bytes per chunk and 360 Kb for buffer
AO: [ahi] 48000Hz 2ch s16be (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
[swscaler @ 0x4c56d2e8]No accelerated colorspace conversion found from yuv420p to rgb24.
[swscaler @ 0x4c56d2e8]using unscaled yuv420p -> rgb24 special converter
VO: [p96_pip] 640x352 => 640x352 Planar YV12
Unable to open a window
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
[swscaler @ 0x4c56d2e8]No accelerated colorspace conversion found from yuv420p to rgb24.
VO: [p96_pip] 640x352 => 640x352 Planar YV12
Unable to open a window
FATAL: Cannot initialize video driver.

 Status: Offline
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 9:38:25
#250 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@kyle

Strange that its not fallback for the wpa_cgx .. Anyway, you can follow 2 ways to make it works:

-- mplayer -gui 1 -vo cgx_wpa (to run with gui, and without overlay). The go to preferences, choice cgx_wpa and save settings

-- directly in gui.conf or how it called, remove vo=p96_pip, and write here vo=cgx_wpa

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 9:43:15
#251 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@all_who_have_crash_freeze_with_p96_driver

For now then just use cgx_wpa, as p96_driver one big mess, its still neeed some love of course.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 12:03:34
#252 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@samo79
Quote:

aniway if i double click on it to make it at full screen i have the left background part showed as black (and it's ok) but the right side have a white background instead !


Its the same problem which i dislike myself (i write about it few posts before), and imho (i hope) its just about setting for OpenScreenTags() something like Sa_Background, black or kind of.

@all

Don't have a lot of time to dig-in to autodocs, so maybe some of you already know:

- How set background of new opened screen to the black for all the time ?

- Can i somehow disable overlay by some settings in the Os itself ? (that need to check fallbacks from the overlay (when it not available) to the cgx_wpa)

Last edited by kas1e on 30-Oct-2011 at 12:03 PM.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
Fab 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 16:18:31
#253 ]
Super Member
Joined: 17-Mar-2004
Posts: 1178
From: Unknown

@kas1e

In the original cgxoverlay driver, there's a layer hook that deals with clearing the window background in black (and adjusting vlayer coordinates to the desired ratio) whenever the window is resized.

For fullscreen, the layer hook isn't needed, and you can just paint the background with FillPixelArray() (or SetRast for non true colour screens). See cgx_overlay openfullscreen function.

Regarding the fallback, it should already work, unless something was changed compared to MorphOS sources.

Anyway, to work, it requires preinit() function to return false if the driver can't open a video overlay layer. Then mplayer will try the next driver in list.
I guess that in your current code, it returns true, even though it's wrong, so the driver is selected, but it obviously fails later in config(), and it's too late to fallback.

**************************

I ran OS4 and tested quickly. Here's what i can notice compared to MorphOS port:
- No double/triple buffered overlay (which means tear effects and flickering OSD). Since i think P96 recently got this multibuffering feature, it should really be added. This is an essential feature, IMO.

- Aspect ratio is ignored, but that's because I set the ratio by positioning the video layer to according coordinates in the window, which you can't do with P96 currently.

- The gui panel doesn't follow the video when switching to fullscreen (i.e the gui stays on WB while the video is on its own screen)

- DVD Title/Chapter/Angle listviews can't be selected at all (play a dvd using the dvd icon and see).

- Got some DSI after going back to window mode once.

I also ran a couple speed tests, and here's what i get:
benchmark.avi, 1024x576, divx, 100s
- OS4: 109s
- MorphOS: 76s

I am legend.mp4, 1920x816, h264, played 30s only (-endpos 30)
- OS4: 84s
- MorphOS: 61s

Not sure where the difference comes from, since the pip driver already uses more or less the YV12 blitting mode from cgx_overlay, AFAIR.

Last edited by Fab on 30-Oct-2011 at 04:57 PM.
Last edited by Fab on 30-Oct-2011 at 04:55 PM.
Last edited by Fab on 30-Oct-2011 at 04:22 PM.

 Status: Offline
Profile     Report this post  
samo79 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 17:05:29
#254 ]
Elite Member
Joined: 13-Feb-2003
Posts: 3505
From: Italy, Perugia

@kas1e

About freeze during resizing there is a similar report opened for the Reaction version, see this:

http://code.google.com/p/mplayer-amigaos/issues/detail?id=1

However this time if freeze on Sam440 (i don't try on my A1 yet)

On Reaction version we have also a similar issue with the background, but on Reaction version there are only 2 small white strips at the left and at the right of the video screen while on your MUI version the while strips are bigger so more annoying ..

If i set 16:10 resolution all strips will gone



_________________
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  
K-L 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 17:11:07
#255 ]
Super Member
Joined: 3-Mar-2006
Posts: 1415
From: Oullins, France

@Fab

Altivec doesn't seem to be used (I do not get any ALTIVEC mention when playing a video), maybe the difference comes from here.

_________________
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  
kyle 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 18:38:11
#256 ]
Cult Member
Joined: 15-Oct-2006
Posts: 866
From: Livorno, Italy

@kas1e

Thanks for the hint, now is working without the overlay

Any suggestion about the maintaining of the aspect ractio of the video when it pass in full screen? I have a 17" 4:3 monitor and the 16:9 video file resulted "compressed" in full screen (no orizontal black wide)

 Status: Offline
Profile     Report this post  
eliyahu 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 18:58:18
#257 ]
Super Member
Joined: 3-Mar-2010
Posts: 1962
From: Waterbury, Connecticut (USA)

@samo79

Quote:
On Reaction version we have also a similar issue with the background, but on Reaction version there are only 2 small white strips at the left and at the right of the video screen while on your MUI version the while strips are bigger so more annoying ..

try disabling compositing.

-- eliyahu

_________________
"Physical reality is consistent with universal laws. When the laws do not operate, there is no reality. All of this is unreal."

 Status: Offline
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 19:02:41
#258 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@fab
Quote:

In the original cgxoverlay driver, there's a layer hook that deals with clearing the window background in black (and adjusting vlayer coordinates to the desired ratio) whenever the window is resized.

For fullscreen, the layer hook isn't needed, and you can just paint the background with FillPixelArray() (or SetRast for non true colour screens). See cgx_overlay openfullscreen function.


Seems the problems somethere else (maybe about that aspect ratio, or maybe because of fix for alignment) , but i already have in the p96driver after screen opening that:

/* Fill the screen with black color */
p96RectFill(&(My_Screen->RastPort), 0,0, My_Screen->Width, My_Screen->Height, 0x00000000);

And still white areas as borders

Quote:

Not sure where the difference comes from, since the pip driver already uses more or less the YV12 blitting mode from cgx_overlay, AFAIR.


I think 02 and 03 differences can't give so big differences ? Btw, that benchmarks with overlay, or without ? Imho if with plain cgx_wpa all will be same, but such differences only with overlay-drivers, then of course p96 driver suck something, and it possible even just because of some wrong breaks; in some case: or kind.. There is what i have for now:

vo_p96pip.c
vo_p96pip.h
vo_p96pip_stuff.c

Its all still messy, vo_p96_stuff.c for example not need it at all, just few fucntions from it uses in vo_p96pip.c , i just not have time to test if i can safely remove them. But all that mess can easyly give any slowdown problems.

Also there is reall mess with all that alignments-tryes, its all a bit hard to undersand all of this.

@K-L

Quote:

Altivec doesn't seem to be used (I do not get any ALTIVEC mention when playing a video), maybe the difference comes from here.


Tested, and i see altivec mentioned in scaling when use cgx_wpa driver , but not with overlay..

@kyle

Dunno to be honest, but imho something like manual key-switching from command line can help ?

Last edited by kas1e on 30-Oct-2011 at 07:11 PM.
Last edited by kas1e on 30-Oct-2011 at 07:04 PM.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 19:09:12
#259 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@fab, samo79, elihau

Right, the problem with white borders because of compositing ! What a crap ! After i disable it , all looks as should - black. But when i enable it - white.

@elihau

Is it wellknown bug ?

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
nikosidis 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 30-Oct-2011 19:11:40
#260 ]
Cult Member
Joined: 9-Dec-2008
Posts: 995
From: Norway, Oslo

So OS 4 can not player a 1024x576, divx without frameskip!!

That is bad.

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 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