Re: Record TV over USB
Posted: Wed Feb 10, 2010 9:26 pm
Hellow.
I am releasing long waited PVR Application. It's not working. I have problems with it. Might be some one could cure problems.
BIG FAT WARNING: There is no safety check in this code/program. Only For LExxB650 with T-CHL7DEUC 2004 & 2005 FW's
Code replaces and skips staGetHex() functions at spI_Stream_Record() function, so you don't needed to enter 0x1, 0x2, 0x3 manually.
I tested with injected codes to spI_Stream_Record() by console, and it's working. But when press Remotes REC button. It gives error like pvr open error pvr set error...
I inject hook to KeyCommon::SendKeyPressInput(int, int)
Second integer (R1 register) is KeyPress code. key 0x49 belongs to Record key and 0x46 for stop button.
I successfully detect/filter keypress and calling functions.
If you load PVR App and try to capture stream from Console, you don't needed to enter Video & Audio & PcrPids...
But When you press REC button. You will got
I don't give away and press REC button again and again, result is not changed much.
If you press stop key, you will probably have this error, same error when you try to call spI_Stream_Record_Stop() from console while there is no recording.
So function calling works but there is something missing....
Might be I could make something wrong at my code. I couldn't found where, Might be you could find.
I am releasing long waited PVR Application. It's not working. I have problems with it. Might be some one could cure problems.
BIG FAT WARNING: There is no safety check in this code/program. Only For LExxB650 with T-CHL7DEUC 2004 & 2005 FW's
Code replaces and skips staGetHex() functions at spI_Stream_Record() function, so you don't needed to enter 0x1, 0x2, 0x3 manually.
I tested with injected codes to spI_Stream_Record() by console, and it's working. But when press Remotes REC button. It gives error like pvr open error pvr set error...
I inject hook to KeyCommon::SendKeyPressInput(int, int)
Second integer (R1 register) is KeyPress code. key 0x49 belongs to Record key and 0x46 for stop button.
I successfully detect/filter keypress and calling functions.
If you load PVR App and try to capture stream from Console, you don't needed to enter Video & Audio & PcrPids...
Code: Select all
Input Record File Name : /mtd_ram/movie/test.ts
Video Pid: 0xAudio Pid: 0xPcrPid: 0x__ REC FILE OPEN (/mtd_ram/movie/test.ts, 3d)
Code: Select all
Select> Video Pid: 0xAudio Pid: 0xPcrPid: 0x__ REC FILE OPEN (/mtd_ram/movie/movie00.ts, 3d)
Error set pvr Rec device(85221ffb)
Code: Select all
Video Pid: 0xAudio Pid: 0xPcrPid: 0x__ REC FILE OPEN (/mtd_ram/movie/movie00.ts, 3e)
Error open pvr Rec device(85221ff6)
Code: Select all
Select> 67
Unhandled fault: external abort on linefetch (0x806) at 0x00000000
Might be I could make something wrong at my code. I couldn't found where, Might be you could find.