Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
38 user(s) are online (19 user(s) are browsing Forums)

Members: 0
Guests: 38

more...

Support us!

Headlines

 
  Register To Post  

« 1 2 3 4 (5) 6 7 8 ... 72 »
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Fab
Of course i didn't specify any path to anything anywhere, you didn't says so, and i build it as you says: without any changes or specific flags. Can you maybe (another try to ask the same) copy paste there your configure line for libicu ?

I will check with snoopy tomorrow of course, but if you can just post line of how it all should be , it will save a lot of time, as i anyway will do it one time and forget for another years.

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Fab
Quote:

Well, you should run that snoopdos-like tool to check if ICU really looks for these files in progdir:resource/icublah/ dir? If you didn't specify this path anywhere in your icu build, it's extremely unlikely they will be found magically by ICU. :)


It still magically happens that it search for progdir:resource/icublah/ even without specifing this path when i build icu. And as i see api/morphos/icufiles.cpp contain all those patches. Log here: http://kas1e.mikendezign.com/temp/odyssey_icu_snoopy.txt

Quote:

So if you want to make a quick test, just change findWordBoundary to something void, and see what happens.


It all then start to crashes like this:

Crash log for task "OWB"
Generated by GrimReaper 53.17
Crash occured in module OWB at address 0x7E828CF4
Type of crash
DSI (Data Storage Interruptexception
Alert number
0x80000003

Register dump
:
GPR (General Purpose Registers):
   
000000000 632A5F70 00000000 632A5FAC 632A5FA8 020C2BEC 00000040 C004413C 
   8
616E6FD0 64DF7E50 01B5184C 00000000 0000015C 65019960 7EC47DD4 650130B0 
  16
61F50EA8 00000000 00000000 00000000 630953A4 632A60C4 632A60F4 00000000 
  24
6491D7B8 6239F698 6151ABD0 61F50F18 632A5FAC 64DF7E58 64F44DDC 00000000 


FPR 
(Floating Point RegistersNaN Not a Number):
   
0:              nan                0                0              nan 
   4
:              nan                0                0             -479 
   8
:             -539                0                0                1 
  12
:       4.5036e+15      1.39146e+09                0                0 
  16
:                0                0                0                0 
  20
:                0                0                0                0 
  24
:                0                0                0                0 
  28
:                0                0      1.39146e+09      1.39146e+09 

FPSCR 
(Floating Point Status and Control Register): 0xA2004100


SPRs 
(Special Purpose Registers):
           
Machine State (msr) : 0x0200F030
                Condition 
(cr) : 0x85027002
      Instruction Pointer 
(ip) : 0x7E828CF4
       Xtended Exception 
(xer) : 0x0000FFFF
                   Count 
(ctr) : 0x62A2D710
                     Link 
(lr) : 0x629CF850
            DSI Status 
(dsisr) : 0x62A2D6E8
            Data Address 
(dar) : 0x629CE424



680x0 emulated registers
:
DATA688ED58E 00000003 00000000 00000000 00000000 00000000 00000000 00000000 
ADDR
00000000 00000000 00000000 00000000 00000000 00000000 00000000 632A6080 
FPU0
:                0                0                0                0 
FPU4
:                0                0                0                0 



Symbol info
:
Instruction pointer 0x7E828CF4 belongs to module "OWB" (PowerPC
Symbol_ZN7WebCore26normalizeLineEndingsToCRLFERKN3WTF7CStringE 0x58 in section 1 offset 0x01376CD0

Stack trace
:
    
_ZN7WebCore26normalizeLineEndingsToCRLFERKN3WTF7CStringE()+0x58 (section 1 0x1376CD0)
    
_ZN7WebCore26normalizeLineEndingsToCRLFERKN3WTF7CStringE()+0xc (section 1 0x1376C84)
    
_ZNK7WebCore9InputType14appendFormDataERNS_12FormDataListEb()+0x80 (section 1 0x485938)
    
_ZNK7WebCore15HiddenInputType14appendFormDataERNS_12FormDataListEb()+0x11c (section 1 0x10352C8)
    
_ZN7WebCore16HTMLInputElement14appendFormDataERNS_12FormDataListEb()+0x84 (section 1 0x430A78)
    
_ZN7WebCore14FormSubmission6createEPNS_15HTMLFormElementERKNS0_10AttributesEN3WTF10PassRefPtrINS_5EventEEEbNS_21FormSubmissionTriggerE()+0x514 (section 1 0x5D79A8)
    
_ZN7WebCore15HTMLFormElement6submitEPNS_5EventEbbNS_21FormSubmissionTriggerE()+0x1c8 (section 1 0x42A6E8)
    
_ZN7WebCore15HTMLFormElement20submitFromJavaScriptEv()+0x54 (section 1 0x42AB34)
    
_ZN7WebCore40jsHTMLFormElementPrototypeFunctionSubmitEPN3JSC9ExecStateE()+0xb0 (section 1 0x12B59F4)
    
_ZN3JSC5LLInt5CLoop7executeEPNS_9ExecStateENS_8OpcodeIDEb()+0x280 (section 1 0x14DCDE4)
    
_ZN3JSC11Interpreter11executeCallEPNS_9ExecStateEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE()+0x3c8 (section 1 0x14D4080)
    
_ZN3JSC4callEPNS_9ExecStateENS_7JSValueENS_8CallTypeERKNS_8CallDataES2_RKNS_7ArgListE()+0x80 (section 1 0x14EE004)
    
_ZN7WebCore15ScheduledAction24executeFunctionInContextEPN3JSC14JSGlobalObjectENS1_7JSValueEPNS_22ScriptExecutionContextE()+0x37c (section 1 0x24ABB4)
    
_ZN7WebCore15ScheduledAction7executeEPNS_8DocumentE()+0xe4 (section 1 0x24B064)
    
_ZN7WebCore15ScheduledAction7executeEPNS_22ScriptExecutionContextE()+0x60 (section 1 0x24B1FC)
    
_ZN7WebCore8DOMTimer5firedEv()+0xf4 (section 1 0x6C4314)
    
_ZN7WebCore12ThreadTimers24sharedTimerFiredInternalEv()+0x178 (section 1 0x1E1B54)
    
_ZN7WebCore12ThreadTimers16sharedTimerFiredEv()+0x44 (section 1 0x1E1BC8)
    
_ZN7WebCore17fireTimerIfNeededEv()+0x38 (section 1 0x1CEE40)
    
_ZN14WebViewPrivate21fireWebKitTimerEventsEv()+0x2c (section 1 0xDDFA4)
    
_ZN7WebView21fireWebKitTimerEventsEv()+0x30 (section 1 0xB5D88)
    
_ZL28handleMM_OWBApp_WebKitEventsP6IClassPmP4_Msg()+0xcc (section 1 0x50F4)
    
_ZL8dispatchP6IClassPmP4_Msg()+0x6c0 (section 1 0xF7A4)
    
CustomClassDispatcher()+0xa0 (section 1 0x41B4)
    
native kernel module intuition.library.kmod+0x0001824c
    native kernel module intuition
.library.kmod+0x00018470
    native kernel module intuition
.library.kmod+0x00008448
    native kernel module intuition
.library.kmod+0x00008088
    _Z9main_loopv
()+0x218 (section 1 0x4E4)
    
main()+0x164 (section 1 0x1148)
    
native kernel module newlib.library.kmod+0x000020a4
    native kernel module newlib
.library.kmod+0x00002d54
    native kernel module newlib
.library.kmod+0x00002ee8
    _start
()+0x170 (section 1 0x16C)
    
native kernel module dos.library.kmod+0x00024cd0
    native kernel module kernel
+0x0006acd0
    native kernel module kernel
+0x0006ad50

PPC disassembly
:
 
7e828cec4182023c   beq-              0x7E828F28
 7e828cf0
397f0008   addi              r11,r31,8
*7e828cf4880b0000   lbz               r0,0(r11)
 
7e828cf839400000   li                r10,0
 7e828cfc
2f800000   cmpwi             cr7,r0,0





Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@All
Somehow was able to check youtube with some commented functions to avoid crashes, and it works in general:

Resized Image
Resized Image

Through, and its the same as on morphos: not all videos works, and window mode pretty slow (on peg2 its more or less ok, but still not fast).

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Quite a regular
Quite a regular


See User information
@kas1e

Great job kas1e!

The video are play in overlay? And how much is the video resolution? Ii think you can't go up 360p in browser mode, plus in morphos I have bad result if I using HTML 5 player goes better with the swf

Check here : http://youtube.com/watch?v=-qD3utEywNM

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@tlosm
Quote:

The video are play in overlay?


Nope. As far as i know window mode on morphos also didn't use overlay, only full-screen.

Quote:

And how much is the video resolution? Ii think you can't go up 360p in browser mode


360, but some videos are pretty fast, some are pretty not.

Quote:

plus in morphos I have bad result if I using HTML 5 player goes better with the swf


By swf you mean swfdec plugin ? I didn't have sources of swfdec plugin.

What i notice, that there is 2 different players brings in youtube. That one which i show on screenshot looks like it looks on all other browsers (same player, etc, all works), while, sometime it show another player, with button "play", and it seems do not works as well for me. And what is interesting, is that the same vids which show me player as i show on images, now start to show another one, with that "play" button.

Its the same on morphos too for me: sometime one look of player, sometime another look, sometime it works, sometime not.

Also in player which i show in screenshots pressing on fullscreen do nothing (i also tryed to use fullscreen_fix script too). And again, its the same for morphos (with and without fullscreen_fix script). It works only in second player.


Edited by kas1e on 2014/2/3 10:36:12
Go to top
Re: Odyssey 1.23 progress
Quite a regular
Quite a regular


See User information
@kas1e

Quote:
By swf you mean swfdec plugin ? I didn't have sources of swfdec plugin.

Doh!

another tip:
Try to go in the preference menu of Owb and test the decoding options , like skip some frame etc etc (sorry im at work and cant exactly write what is write in the menu)
It is in the preference where there are the decode compatibility and the h264 selection flag.

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@kas1e

Quote:

It still magically happens that it search for progdir:resource/icublah/ even without specifing this path when i build icu. And as i see api/morphos/icufiles.cpp contain all those patches. Log here: http://kas1e.mikendezign.com/temp/odyssey_icu_snoopy.txt


Again, this icufiles.cpp is just a check for the presence of these files, nothing more. You still *HAVE* to specify the data path in ICU itself. I can't check right now, but it's not more difficult than setting something like #define DATA_DIR progdir:resource/icudt49b or whatever. I'll check when i can.


About Youtube, you seem a bit confused, too, so to make it clear:

It works with *all* videos, provided you have the 2 userscripts added.

youtube.js is needed for the videos that are not available in HTML5 mode (there are still many, and youtube sucks for that) : in that case, the flash (or void object if flash plugin is not available) is removed from DOM and replaced by Odyssey's builtin HTML5 player.

youtube_fullscreen_fix.js is needed for two things:
- enabling overlay mode when pressing fullscreen button in Youtube's HTML5 player (the builtin one doesn't need this, it switches to overlay properly).
- changing links in youtube page so that clicking a link on the right triggers a page reload (and thus make scripts work again for the next video).

The flash plugin is not needed at all to have youtube working with these scripts.

Finally, the non-overlay mode is not very fast (it has to go through slow cairo path), but still fast enough to watch a video on peg2. But it's obviously much better with overlay, a 360p video takes about 30% CPU on a Peg2 then. And on a G5, 1080p streams are watchable at fullspeed in Odyssey.


Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@tlosm

Quote:

The video are play in overlay? And how much is the video resolution? Ii think you can't go up 360p in browser mode, plus in morphos I have bad result if I using HTML 5 player goes better with the swf


You can go as high as you want. It's not restricted in any way... Obviously, and especially without overlay, you'd better not go higher than 360/480p on a Pegasos2.

And with swf i suppose you rather mean the flash replacement mode done with youtube.js. It's slightly faster than Youtube's bloated HTML5 player indeed, but they both work just fine, and more than fast enough when overlay is enabled.
So if you don't have good results, just enable overlay mode already...

In any case, it's better than TW's 4 seconds per frame playback... :)

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Fab
Ok, got it, will try to rebuild libicu with datadir

Go to top
Re: Odyssey 1.23 progress
Quite a regular
Quite a regular


See User information
@Fab

Quote:
In any case, it's better than TW's 4 seconds per frame playback... :)


This is for sure better owb playback compared with TW 1 Frame per Hour...

but worst compared with smtube :P :P

Ot/ fab a small 1.23 for efika? :P /ot

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Fab
Quote:

youtube_fullscreen_fix.js is needed for two things:
- enabling overlay mode when pressing fullscreen button in Youtube's HTML5 player (the builtin one doesn't need this, it switches to overlay properly).


Maybe its me, but for me on pegasos2/morphos2.4, when i press on full-screen image in the mediplayer which i show on screenshots, it didn't works. Not with youtube_fullscreen_fix.js, not without. Its only works with another player (with that "play" button on black screen) , and works with and without fullscreen_youtube_fix.js. That on morphos.

Also volume image in that another player are reversed (the same on morphos too). I.e. it shows like sound is off, when its on, and show sounds image as on, when its off.

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@tlosm

Quote:

but worst compared with smtube :P :P


You mean MPlayer, i suppose, since SMTube doesn't play any video...

Well, guess what, it's about as fast in Odyssey as in MPlayer when using overlay, for a good reason:
I mostly reused the cgx_overlay video display routine from MPlayer (adapted to Odyssey's needs), and apart from that, both MPlayer and Odyssey use ffmpeg library.

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@kas1e
Quote:

Maybe its me, but for me on pegasos2/morphos2.4, when i press on full-screen image in the mediplayer which i show on screenshots, it didn't works. Not with youtube_fullscreen_fix.js, not without. Its only works with another player (with that "play" button on black screen) , and works with and without fullscreen_youtube_fix.js. That on morphos.

Also volume image in that another player are reversed (the same on morphos too). I.e. it shows like sound is off, when its on, and show sounds image as on, when its off.


Well, it's you, or you use an outdated script. And what's with this MorphOS 2.4 anyway? What about updating it, there's been 7 releases since, you know.

Regarding the volume icon, that's a way of seeing it. When sound is enabled, you can decide to either show the state or the action to perform.

The problem is Youtube mixes both concepts : when playing it shows a pause icon, when sound is enabled it shows sound enable icon and when in window mode, it shows a go to fullscreen icon. Confusion++, it's just not coherent.
In some cases it shows the action to perform (pause, fullscreen) and in others the status (sound is enabled/disabled).

In my player, i decided to be coherent instead, and i show the action to perform in audio volume case too, hence the mute icon.

Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
@kas1e

The commits from SBA aren't for 4.7.x. He did some changes for 4.2.4 in trunk and 4.5.x in branches, but the latter didn't work properly for me.

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Fab
Quote:

Well, it's you, or you use an outdated script. And what's with this MorphOS 2.4 anyway? What about updating it, there's been 7 releases since, you know.


Just messed a bit it all, i am on 3.2, it should be enough imho for avoid side-effects with any moments with full-screen ? Will try later to update to latest scripts (if those from 1.23 not latest ones)

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@kas1e

Regarding ICU

in putil.h, you should add amigaos path specificities, something like

# define U_FILE_SEP_CHAR '/'
# define U_FILE_ALT_SEP_CHAR ':'
# define U_PATH_SEP_CHAR ';'
# define U_FILE_SEP_STRING "/"
# define U_FILE_ALT_SEP_STRING ":"
# define U_PATH_SEP_STRING ";"


in putil.cpp, there's a function u_getDataDirectory(void). Above it, you should force it to really use the dir you want (since the build system seems to be somewhat broken and forgets setting what you actually pass in configure options).

#define ICU_NO_USER_DATA_OVERRIDE 1
#define U_ICU_DATA_DEFAULT_DIR "PROGDIR:Resource"
#define ICU_DATA_DIR U_ICU_DATA_DEFAULT_DIR

And finally, in udata.cpp, around line 1137, you might want to disable that code:
if (U_FILE_SEP_CHAR != U_FILE_ALT_SEP_CHAR) /* Windows: try "foo\bar" and "foo/bar" */
{
/* remap from alternate path char to the main one */
CharString altSepPath;
...
}

Go to top
Re: Odyssey 1.23 progress
Quite a regular
Quite a regular


See User information
@Fab
Quote:
e ffmpeg library

But for play mkv/webm/mp4 too?

/ot
I wrote it before I test mplayer with all my machine and on os 4 and mos ... And have desynchronised audio and video when go up to 480p
The strange is I have the same performance with mplayer on mos with Efika@396mhz g2 and 9250 compared with pegasos2 1266mhz g4 and 9800pro in video playback... Can be it a decoding library problem? For sure with a g5 you will not understand because the big CPU MIPS make the difference and probably compensate the poor performance of the decoding library /ot

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@tlosm

ffmpeg is used for almost everything in mplayer (and thus smtube) and odyssey. Be it mkv, webm, mp4 or whatever you want.

Regarding your desynchronized issue, well, i asked you for a specific file that would expose that issue, because it's clearly not the case with the vast majority of files i've tested.

But if you have the same "performance" on an efika and on a pegasos2, you obviously have a very serious issue with your peg2. It's of course not a decoding issue. Maybe you have an issue with this radeon for some reason. What about trying your 9250 in your Peg2?

I don't get what you mean with your G5 reference. My main system is a pegasos2, and i have absolutely no such issue on this system. Of course a G5 will perform better and allow 1080p h264 playback, but a Peg2 will still happily play perfectly synchronized 480p contents (or even 720p/1080p for less demanding codecs).

Go to top
Re: Odyssey 1.23 progress
Quite a regular
Quite a regular


See User information
@Fab

Ot/
okKkKk i will check better with other moovies and will make a youtube video for show exactly what i mean.
note i have more tham 600 video and the issue come with Mkv or Mp4 bigger of 1.3gb (720p and up) with 2.6gb mkv movie files, Mplayer freeze or better say load, the hard disk/usb/dvd continue read but nothing happen..(no video and no audio)
With Movie 720p Mplayer under Mos it use only 30% of the cpu but with all the movie (expecially mkv) that tested i have the desync issue.
This is the same for the AmigaOs 4 version.

I sow there are somen new decoding library probably it can help in some way...
Thake my words like a suggestion not a critic about Mplayer.

All this video working great with Ps3,Android mini Pc and RasberryPI

Ot/

Kas1e sorry for this Ot but probably can help the play of video on OWB.

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@tlosm

The issue is most likely not MPlayer or its decoding library. But to be 100% sure about it, give us a link to a video file exposing this issue.

But i repeat it again, on my peg2, on my mac mini, on my powerbook, on my pmac g5, a movie will take as much CPU as it needs to be decoded (not more, not less). So if a hd movie only uses 30% of your CPU on your peg2, you HAVE a SERIOUS issue, quite specific to your hardware/software driver combination. And you're the only one to have ever reported that, ever. So, what about trying again with your radeon 9250 instead, as a test?

And no, a "new decoding library" won't help in any way, since your issue is most likely unrelated to MPlayer/ffmpeg at all...

And the fact your videos work on PS3, PC, Rasp is entirely irrelevant (especially for the machines that have accelerated hardware decoding...). I'll add one: my videos work great on my peg2, doh.

Go to top

  Register To Post
« 1 2 3 4 (5) 6 7 8 ... 72 »

 




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



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
7 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project