Record TV over USB

Here for general support for B series TVs, request and problem solve area.

User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Record TV over USB

Post by erdem_ua »

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...

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)
But When you press REC button. You will got

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)
I don't give away and press REC button again and again, result is not changed much.

Code: Select all

Video Pid: 0xAudio Pid: 0xPcrPid: 0x__ REC FILE OPEN (/mtd_ram/movie/movie00.ts, 3e)
 Error open pvr Rec device(85221ff6)
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.

Code: Select all

Select> 67
Unhandled fault: external abort on linefetch (0x806) at 0x00000000
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.
You do not have the required permissions to view the files attached to this post.
nbd
Posts: 161
Joined: Wed Jan 13, 2010 12:02 pm

Re: Record TV over USB

Post by nbd »

Hello, I'm just wondering why there is psI_StreamRecord and spI_StreamRecord. Is the first one a typo, or what? The first one is here:

extern void psI_Stream_Record( char * );
extern void psI_Stream_Record_Stop( void );

and all others are spI.
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Record TV over USB

Post by erdem_ua »

nbd wrote:Hello, I'm just wondering why there is psI_StreamRecord and spI_StreamRecord. Is the first one a typo, or what? The first one is here:

extern void psI_Stream_Record( char * );
extern void psI_Stream_Record_Stop( void );

and all others are spI.
Opps! typo error. I don't know why it doesn't throw error at compile time. Might be due liked library. But I don't think that make that program doesn't work for this.
AFAIK, It's helps compilation only.
nbd
Posts: 161
Joined: Wed Jan 13, 2010 12:02 pm

Re: Record TV over USB

Post by nbd »

Hello, do you have any clue how the debug menu manages to record streams? Is there a possibility to debug what it is doing? Maybe instead of calling the record functions directly, try calling the functions from the debug menu (if such exist)
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Record TV over USB

Post by erdem_ua »

nbd wrote:Hello, do you have any clue how the debug menu manages to record streams? Is there a possibility to debug what it is doing? Maybe instead of calling the record functions directly, try calling the functions from the debug menu (if such exist)
I debugged that function and it uses pvr_set() pvr_open() like functions.
Might be writing our own functions does the job well :)
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Record TV over USB

Post by erdem_ua »

santaclaus1 wrote:Hey guys,
I am pretty new to all this modification on the tv.
What exactly do I have to do to be able to record stuff from Tv on a USB drive?
thanks in advantage
For example, you can start by reading wiki page at here. :)
Thanks

Post Reply

Return to “[B] Support”