View Single Post
Old 15th November 2008, 07:24   #365  |  Link
Accident
Registered User
 
Join Date: Aug 2002
Posts: 111
I have just checked-in version 0.0.3, which adds a streaming method to using the conv_tab.bin. For those wanted to include it is their own code, this is the pseudo code required.

Code:
bluray_init();
vm  = dlx_VM_new(DLX_MEMORY_SIZE);
dlx_load_slots(vm, opt_flashfile ? opt_flashfile : "flash.bin");
dlx_setVolumeID(vm, volumeid);
dlx_loadsvm(vm, 0x0, "BDSVM/00000.svm");
dlx_setPC(vm, 0x1000);
dlx_setWD(vm, 0x7fffffff);
dlx_run_convtab(vm);
dlx_patchseek(vm, 1/*title*/, 0x00000000 /*seek*/);
while((rbytes = fread(buffer, 1,
                              sizeof(buffer),
                              stdin)) > 0) {
  dlx_patch(vm, rbytes, buffer);
  fwrite(buffer, rbytes, 1, stdout);
}
I have included Windows binaries again.

Download here:
http://uploaded.to/?id=ge5h4v

Unix style use are:
Code:
# ./configure
# make
# mount /dev/cdrom /mnt
# cat /mnt/BDMV/STREAM/00001.m2ts | test/convtab -d /mnt/BDMV -t 1 -U | mplayer 
(Use -f and -i or -I to specify flash file, and VolumeID)
Accident is offline   Reply With Quote