MPEG TS Play on D serie.

Ideas and dreaming will go this forum
Post Reply

Denny
Official SamyGO Developer
Posts: 350
Joined: Thu Sep 30, 2010 12:18 pm
Location: Croatia

MPEG TS Play on D serie.

Post by Denny » Thu Nov 03, 2011 12:18 am

as i have see that all my recorded movies on DM8000 (aprox. 1TB) wonted played on D8000 and D6510 , i patch it success, (like for DRM , all come together in one package public, for the one who play , they can check code at them)

void MPEG2TS_Bugfix(void) {

func _ZN10MULTIMEDIA10CContainer9t_AVParseEv;
void *dl_handle;
unsigned pageaddr;
unsigned int *pointer;
char *error;

sdl_draw_text2(10,my_pos+=20, "Checking MPEG TS PlayBack Fix...", 0, 1);
dl_handle = dlopen( NULL, RTLD_NOW | RTLD_GLOBAL );
if (!dl_handle) {
printf("dlerror _ZN10MULTIMEDIA10CContainer9t_AVParseEv\n" );
return;
}
_ZN10MULTIMEDIA10CContainer9t_AVParseEv = (void*) dlsym( dl_handle, "_ZN10MULTIMEDIA10CContainer9t_AVParseEv" );
pageaddr = ((unsigned) _ZN10MULTIMEDIA10CContainer9t_AVParseEv) & ~0x0FFF;
mprotect((void *) pageaddr, 8192, PROT_READ | PROT_WRITE | PROT_EXEC);
pointer = (unsigned int *)_ZN10MULTIMEDIA10CContainer9t_AVParseEv + 0x10;
pointer[0] = 0xe35300FF;
pointer = (unsigned int *)_ZN10MULTIMEDIA10CContainer9t_AVParseEv + 0x10 + 0x1B;
pointer[0] = 0xe3570001;
mprotect((void *) pageaddr, 8192, PROT_READ | PROT_EXEC);
error = dlerror();
if (error != NULL) {
return;
}
dlclose( dl_handle );
sdl_draw_text2(10,my_pos+=20, "Checking MPEG TS PlayBack Fix... Done", 0, 1);
}
Denny - 데니 - 丹尼 (card2000)
UE55C8000 UE55D8000 UE32D6510 BD-C9600 3xDM8000
Reversing HW Demux Drivers and API from Samsung´s TV

Post Reply

Return to “[D] Brainstorm”