2012-09-07, 00:32
Here is a Dropbox link to the UNFIXED file, you dont need an account to download it. Thanks for compiling
https://www.dropbox.com/s/moyw827zuuetai...x86-osx.so
https://www.dropbox.com/s/moyw827zuuetai...x86-osx.so
(2012-09-07, 00:08)bitbotherer Wrote: Not got a Linux ARM install here with me but this should be the fix for it - I used the libavformat.so.53.21.0 version for examination.
Search for:
Code:04 30 90 E5 00 20 D3 E5 46 00 52 E3 01 00 00 0A 00 00 A0 E3 1E FF 2F E1 01 20 D3 E5 4C 00 52 E3 FA FF FF 1A 02 20 D3 E5 56 00 52 E3 F7 FF FF 1A 03 20 D3 E5 04 00 52 E3 F4 FF FF 8A 05 20 D3 E5 00 00 52 E3 0D 00 00 1A 07 10 D3 E5 06 00 D3 E5 08 20 D3 E5 01 18 A0 E1 00 34 81 E1 02 2C 83 E1 62 38 22 E0 23 34 A0 E1 FF 3C C3 E3 62 34 23 E0 08 00 53 E3 64 00 A0 83 00 00 A0 93 1E FF 2F E1 00 00 A0 E3 1E FF 2F E1
and replace with
Code:04 30 90 E5 00 20 D3 E5 47 00 52 E3 07 00 00 0A 46 00 52 E3 19 00 00 1A 01 20 D3 E5 4C 00 52 E3 16 00 00 1A 02 20 D3 E5 56 00 52 E3 13 00 00 1A 03 20 D3 E5 04 00 52 E3 10 00 00 8A 05 20 D3 E5 00 00 52 E3 0D 00 00 1A 07 10 D3 E5 06 00 D3 E5 08 20 D3 E5 01 18 A0 E1 00 34 81 E1 02 2C 83 E1 62 38 22 E0 23 34 A0 E1 FF 3C C3 E3 62 34 23 E0 08 00 53 E3 64 00 A0 83 00 00 A0 93 1E FF 2F E1 00 00 A0 E3 1E FF 2F E1
And that 'should' change the flv check to one for FLV or Gxx.
Located about 0x30c60
(2012-09-07, 00:50)midiman Wrote: I don't get it. I have tried using a number of editors - the last being ht2.0.20 windows based - still the search string does not show. The closest I found is 04 30 90 E5 00 20 D3 E5 and then everything else is wrong after that. I'm using this file libavformat.so.53 but have no idea how to check the version.
I admit, I have no idea what I am doing, but should the string not show up when I search? I'm trying but appear to be lost.
What editor do you use?
Any help?
Thanks all
__text:0001FEC0 _flv_probe proc near ; DATA XREF: __data:0009AF0Co
__text:0001FEC0
__text:0001FEC0 arg_0 = dword ptr 4
__text:0001FEC0
__text:0001FEC0 mov eax, [esp+arg_0]
__text:0001FEC4 mov eax, [eax+4]
__text:0001FEC7 cmp byte ptr [eax], 46h ; 'F'
__text:0001FECA jz short loc_1FEE0
__text:0001FECC
__text:0001FECC loc_1FECC: ; CODE XREF: _flv_probe+24j
__text:0001FECC ; _flv_probe+2Aj ...
__text:0001FECC xor edx, edx
__text:0001FECE mov eax, edx
__text:0001FED0 retn
__text:0001FED0 ; ---------------------------------------------------------------------------
__text:0001FED1 align 10h
__text:0001FEE0
__text:0001FEE0 loc_1FEE0: ; CODE XREF: _flv_probe+Aj
__text:0001FEE0 cmp byte ptr [eax+1], 4Ch ; 'L'
__text:0001FEE4 jnz short loc_1FECC
__text:0001FEE6 cmp byte ptr [eax+2], 56h ; 'V'
__text:0001FEEA jnz short loc_1FECC
__text:0001FEEC cmp byte ptr [eax+3], 4
__text:0001FEF0 ja short loc_1FECC
__text:0001FEF2 cmp byte ptr [eax+5], 0
__text:0001FEF6 jnz short loc_1FECC
__text:0001FEF8 mov eax, [eax+5]
__text:0001FEFB mov edx, 64h ; 'd'
__text:0001FF00 bswap eax
__text:0001FF02 cmp eax, 8
__text:0001FF05 jbe short loc_1FECC
__text:0001FF07 mov eax, edx
__text:0001FF09 retn
__text:0001FF09 _flv_probe endp
__text:0001FF09
__text:0001FF09 ; ---------------------------------------------------------------------------
__text:0001FF0A align 10h
(2012-09-07, 01:04)bitbotherer Wrote: [quote='midiman' pid='1185513' dateline='1346971851']
I don't get it. I have tried using a number of editors - the last being ht2.0.20 windows based - still the search string does not show. The closest I found is 04 30 90 E5 00 20 D3 E5 and then everything else is wrong after that. I'm using this file libavformat.so.53 but have no idea how to check the version.
I admit, I have no idea what I am doing, but should the string not show up when I search? I'm trying but appear to be lost.
What editor do you use?
Any help?
Thanks all
(2012-09-07, 01:47)midiman Wrote: Thanks a lot for the offer! The file can be found here https://www.dropbox.com/sh/qyd315dagw3sr4a/ZRrJNWMoyK
04 30 90 E5 00 20 D3 E5 46 00 52 E3 01 00 00 0A 00 00 A0 E3 1E FF 2F E1 01 20 D3 E5 4C 00 52 E3 FA FF FF 1A 02 20 D3 E5 56 00 52 E3 F7 FF FF 1A 03 20 D3 E5 04 00 52 E3 F4 FF FF 8A 05 20 D3 E5 00 00 52 E3 F1 FF FF 1A 05 00 93 E5 30 0F BF E6 08 00 50 E3 64 00 A0 83 00 00 A0 93 1E FF 2F E1
04 30 90 E5 00 20 D3 E5 46 00 52 E3 03 00 00 0A 47 00 52 E3 05 00 00 0A 00 00 A0 E3 1E FF 2F E1 00 F0 20 E3 02 20 D3 E5 56 00 52 E3 F9 FF FF 1A 03 20 D3 E5 04 00 52 E3 F6 FF FF 8A 05 20 D3 E5 00 00 52 E3 F3 FF FF 1A 05 00 93 E5 30 0F BF E6 08 00 50 E3 64 00 A0 83 00 00 A0 93 1E FF 2F E1
(2012-09-07, 02:49)plugh Wrote: (And some wonder why I prefer to tell people how to do their own patching...)
Nuggyblake, not sure what you are talking about. I posted the avformat file that I personally extracted from my xbmc 10.1 gen1 atv, personally patched, and personally use every day. If it 'does not work', well, one of us is in 'bizzaro world'.
What I said was that the disassembly listing posted had the same structure as the code in the aforementioned personally patched and posted image, and has the same filename. Perhaps the other file was built for a different / newer version of OSX, but the code structure and filename are still what they are. Ok?
If someone wants to see an example of a patch for that code structure, then examination of my previously patched and posted gen1 atv library might be informative.
(2012-09-07, 02:14)plugh Wrote: Huh - no wonder... midiman, you got an R-pi?? cool!
(2012-09-07, 02:04)bitbotherer Wrote:(2012-09-07, 01:47)midiman Wrote: Thanks a lot for the offer! The file can be found here https://www.dropbox.com/sh/qyd315dagw3sr4a/ZRrJNWMoyK
Quick fix for you
Search for:
Code:04 30 90 E5 00 20 D3 E5 46 00 52 E3 01 00 00 0A 00 00 A0 E3 1E FF 2F E1 01 20 D3 E5 4C 00 52 E3 FA FF FF 1A 02 20 D3 E5 56 00 52 E3 F7 FF FF 1A 03 20 D3 E5 04 00 52 E3 F4 FF FF 8A 05 20 D3 E5 00 00 52 E3 F1 FF FF 1A 05 00 93 E5 30 0F BF E6 08 00 50 E3 64 00 A0 83 00 00 A0 93 1E FF 2F E1
and replace with
Code:04 30 90 E5 00 20 D3 E5 46 00 52 E3 03 00 00 0A 47 00 52 E3 05 00 00 0A 00 00 A0 E3 1E FF 2F E1 00 F0 20 E3 02 20 D3 E5 56 00 52 E3 F9 FF FF 1A 03 20 D3 E5 04 00 52 E3 F6 FF FF 8A 05 20 D3 E5 00 00 52 E3 F3 FF FF 1A 05 00 93 E5 30 0F BF E6 08 00 50 E3 64 00 A0 83 00 00 A0 93 1E FF 2F E1
That is for the specific Openelec Arm version you put up (and is found about 0x2aed8)
(2012-09-07, 07:48)myteematt Wrote: I hope we all know this is a temporary fix until the Veetle plugin itself is updated because I am running into problems on the Windows side of this fix. Other XBMC plugins such as 1channel, Icefilms, and Youtube have links to FLV streams that will NOT work when the file replace fix is applied. Presently this is acceptable until a plugin update, as there are alot of links to files, but this is not a permanent solution. Please keep patching and compiling, its all weve got for now :-)That thing would disable the normal flv streams? are you sure?