TBC-5000 USB stick format

Spezielle Fragen zur DVB-T Version
pa4wdh
Vielfrager
Vielfrager
Beiträge: 17
Registriert: Fr 21. Dez 2012, 16:55

TBC-5000 USB stick format

#1

Beitrag von pa4wdh » Fr 21. Dez 2012, 17:09

Hi All,

I see you mostly use the German language over here, but i see some English posts so i hope you'll understand me :)

I'm using a TopField TBC-5000 for "KPN Digitenne" DVB-T in The Netherlands and it works quite alright. It records on a USB stick, but i can't read the USB stick on my computer because it seems to use a non-standard filesystem.
Do you have any technical documentation on how topfield uses the USB stick ? I would like to write a program myself to be able to read the USB stick.
(Just in case you want to help by pointing to programs written by others: I'm using Linux :) ).

Thanks in advance.

Best regards,
Wesley

Benutzeravatar
TV-Junkie
Alteingesessener
Alteingesessener
Beiträge: 28022
Registriert: Sa 16. Jun 2007, 19:10
Receivertyp: VU+ Duo4K, Ultimo4K und Uno4KSE
Receiverfirmware: VTI 15.xx ausser der Uno 4K SE
Wohnort: Düsseldorf

AW: TBC-5000 USB stick format

#2

Beitrag von TV-Junkie » Fr 21. Dez 2012, 18:18

sorry for my bad English, but you may TFTool brings further because it may be that the USB stick has the same format as the hard drives of the 5000 series. Here it was FAT12 :u:
Gruß Ha-Jü
----------------------------------------------------------------------------------------------
Zum Tippspiel BuLi 2019/2020 hier entlang
Und wer Lust auf tippen beim DFB Pokal hat, darf sich hier austoben
Viel Spaß

Sat-Anlage: Astro CAS 90 mit Kathrein UAS 584 LNB (20Jahre alt und noch immer Top in Schuss :D ), Jultec JPS0506-8T Unicable Multischalter sowie UM/VF West Kabelanschluß
Installierte Plugins:OScam (incl OScam-Butler), LV4, SmartEPG VU+, ansonsten nix, was VTI nicht schon selbst mitbringt :)

Benutzeravatar
Gerti
Nicht mehr bei Topfield-Europe
<b>Nicht mehr bei Topfield-Europe</b>
Beiträge: 15740
Registriert: Fr 9. Dez 2005, 00:16
Receivertyp: Vu+ Uno 4k
Wohnort: Hürth
Kontaktdaten:

AW: TBC-5000 USB stick format

#3

Beitrag von Gerti » Fr 21. Dez 2012, 18:19

Hi!

FAT24

Gruß,
Gerti

Benutzeravatar
TV-Junkie
Alteingesessener
Alteingesessener
Beiträge: 28022
Registriert: Sa 16. Jun 2007, 19:10
Receivertyp: VU+ Duo4K, Ultimo4K und Uno4KSE
Receiverfirmware: VTI 15.xx ausser der Uno 4K SE
Wohnort: Düsseldorf

AW: TBC-5000 USB stick format

#4

Beitrag von TV-Junkie » Fr 21. Dez 2012, 18:20

:patsch: :D
@Gerti, würde TFTool den Stick erkennen, bzw die Daten darauf?
Zuletzt geändert von TV-Junkie am Fr 21. Dez 2012, 18:22, insgesamt 1-mal geändert.
Gruß Ha-Jü
----------------------------------------------------------------------------------------------
Zum Tippspiel BuLi 2019/2020 hier entlang
Und wer Lust auf tippen beim DFB Pokal hat, darf sich hier austoben
Viel Spaß

Sat-Anlage: Astro CAS 90 mit Kathrein UAS 584 LNB (20Jahre alt und noch immer Top in Schuss :D ), Jultec JPS0506-8T Unicable Multischalter sowie UM/VF West Kabelanschluß
Installierte Plugins:OScam (incl OScam-Butler), LV4, SmartEPG VU+, ansonsten nix, was VTI nicht schon selbst mitbringt :)

Benutzeravatar
Gerti
Nicht mehr bei Topfield-Europe
<b>Nicht mehr bei Topfield-Europe</b>
Beiträge: 15740
Registriert: Fr 9. Dez 2005, 00:16
Receivertyp: Vu+ Uno 4k
Wohnort: Hürth
Kontaktdaten:

AW: TBC-5000 USB stick format

#5

Beitrag von Gerti » Fr 21. Dez 2012, 18:27

Hi!

Ich denke eigentlich, dass der auf NTFS sein müsste, kenne das Gerät aber nicht.

Gruß,
Gerti

Benutzeravatar
TV-Junkie
Alteingesessener
Alteingesessener
Beiträge: 28022
Registriert: Sa 16. Jun 2007, 19:10
Receivertyp: VU+ Duo4K, Ultimo4K und Uno4KSE
Receiverfirmware: VTI 15.xx ausser der Uno 4K SE
Wohnort: Düsseldorf

AW: TBC-5000 USB stick format

#6

Beitrag von TV-Junkie » Fr 21. Dez 2012, 18:30

Dann stehen wir beide wohl im Hemd :D
@ pa4wdh. What operating system do you have on your PC
Gruß Ha-Jü
----------------------------------------------------------------------------------------------
Zum Tippspiel BuLi 2019/2020 hier entlang
Und wer Lust auf tippen beim DFB Pokal hat, darf sich hier austoben
Viel Spaß

Sat-Anlage: Astro CAS 90 mit Kathrein UAS 584 LNB (20Jahre alt und noch immer Top in Schuss :D ), Jultec JPS0506-8T Unicable Multischalter sowie UM/VF West Kabelanschluß
Installierte Plugins:OScam (incl OScam-Butler), LV4, SmartEPG VU+, ansonsten nix, was VTI nicht schon selbst mitbringt :)

pa4wdh
Vielfrager
Vielfrager
Beiträge: 17
Registriert: Fr 21. Dez 2012, 16:55

AW: TBC-5000 USB stick format

#7

Beitrag von pa4wdh » Fr 21. Dez 2012, 18:48

Thanks for all the reply's.

I'm using Linux (Gentoo Linux). I already tried every filesystem Linux supports but it can't read the USB stick. On an other (dutch) forum i found that it uses a propriety filesystem from TopField. Now i'm seaching for information to make a program to read it :)

Benutzeravatar
FireBird
Suspekter verdächtiger Zauberküchenchef, TAP & Firmware-Guru
Suspekter verdächtiger Zauberküchenchef, TAP & Firmware-Guru
Beiträge: 28745
Registriert: Fr 9. Dez 2005, 09:59
Receivertyp: SRP-2401CI+ TFIR
vu+ Duo 4k
Wohnort: Wien

AW: TBC-5000 USB stick format

#8

Beitrag von FireBird » Fr 21. Dez 2012, 18:52

TV-Junkie hat geschrieben:@ pa4wdh. What operating system do you have on your PC

pa4wdh hat geschrieben:(Just in case you want to help by pointing to programs written by others: I'm using Linux :) ).


Maybe you can post a hex dump of the first sector of the stick.

Benutzeravatar
TV-Junkie
Alteingesessener
Alteingesessener
Beiträge: 28022
Registriert: Sa 16. Jun 2007, 19:10
Receivertyp: VU+ Duo4K, Ultimo4K und Uno4KSE
Receiverfirmware: VTI 15.xx ausser der Uno 4K SE
Wohnort: Düsseldorf

AW: TBC-5000 USB stick format

#9

Beitrag von TV-Junkie » Fr 21. Dez 2012, 18:54

Hi Alex, habe oben noch was freigeschaltet :u:
Gruß Ha-Jü
----------------------------------------------------------------------------------------------
Zum Tippspiel BuLi 2019/2020 hier entlang
Und wer Lust auf tippen beim DFB Pokal hat, darf sich hier austoben
Viel Spaß

Sat-Anlage: Astro CAS 90 mit Kathrein UAS 584 LNB (20Jahre alt und noch immer Top in Schuss :D ), Jultec JPS0506-8T Unicable Multischalter sowie UM/VF West Kabelanschluß
Installierte Plugins:OScam (incl OScam-Butler), LV4, SmartEPG VU+, ansonsten nix, was VTI nicht schon selbst mitbringt :)

Benutzeravatar
FireBird
Suspekter verdächtiger Zauberküchenchef, TAP & Firmware-Guru
Suspekter verdächtiger Zauberküchenchef, TAP & Firmware-Guru
Beiträge: 28745
Registriert: Fr 9. Dez 2005, 09:59
Receivertyp: SRP-2401CI+ TFIR
vu+ Duo 4k
Wohnort: Wien

AW: TBC-5000 USB stick format

#10

Beitrag von FireBird » Fr 21. Dez 2012, 18:56

Danke. (was mich zur OT-Frage bringt: wieso 2x?).

pa4wdh
Vielfrager
Vielfrager
Beiträge: 17
Registriert: Fr 21. Dez 2012, 16:55

AW: TBC-5000 USB stick format

#11

Beitrag von pa4wdh » Fr 21. Dez 2012, 18:58

[quote="FireBird"]Maybe you can post a hex dump of the first sector of the stick.[/quote]
I'll do that tomorrow. I've looked at it before and it contained "FAT32" in ASCII, but mounting it as a FAT32 partition didn't work. I think it where left-overs of whatever was on the stick before it was formatted with the TopField.

Benutzeravatar
TV-Junkie
Alteingesessener
Alteingesessener
Beiträge: 28022
Registriert: Sa 16. Jun 2007, 19:10
Receivertyp: VU+ Duo4K, Ultimo4K und Uno4KSE
Receiverfirmware: VTI 15.xx ausser der Uno 4K SE
Wohnort: Düsseldorf

AW: TBC-5000 USB stick format

#12

Beitrag von TV-Junkie » Fr 21. Dez 2012, 18:59

FireBird hat geschrieben:Danke. (was mich zur OT-Frage bringt: wieso 2x?).

Was für 2x :confused:
Oder meinst du das freischalten, bei mir war das so noch markiert :u:
Siehe auch im internen :angel:
Gruß Ha-Jü
----------------------------------------------------------------------------------------------
Zum Tippspiel BuLi 2019/2020 hier entlang
Und wer Lust auf tippen beim DFB Pokal hat, darf sich hier austoben
Viel Spaß

Sat-Anlage: Astro CAS 90 mit Kathrein UAS 584 LNB (20Jahre alt und noch immer Top in Schuss :D ), Jultec JPS0506-8T Unicable Multischalter sowie UM/VF West Kabelanschluß
Installierte Plugins:OScam (incl OScam-Butler), LV4, SmartEPG VU+, ansonsten nix, was VTI nicht schon selbst mitbringt :)

pa4wdh
Vielfrager
Vielfrager
Beiträge: 17
Registriert: Fr 21. Dez 2012, 16:55

AW: TBC-5000 USB stick format

#13

Beitrag von pa4wdh » Sa 22. Dez 2012, 20:40

I've just inserted the topfield-formatted USB stick in my PC, this first appears in dmesg:

Code: Alles auswählen

usb 1-4.3: new high-speed USB device number 4 using ehci_hcd
scsi6 : usb-storage 1-4.3:1.0
scsi 6:0:0:0: Direct-Access     SanDisk  Cruzer Switch    1.26 PQ: 0 ANSI: 5
sd 6:0:0:0: Attached scsi generic sg2 type 0
sd 6:0:0:0: [sdb] 62530624 512-byte logical blocks: (32.0 GB/29.8 GiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sdb: unknown partition table
sd 6:0:0:0: [sdb] Attached SCSI removable disk
Note the "unknown partition table" line ...

Then the hexdump, here it is:

Code: Alles auswählen

00000000  07 26 08 07 46 50 4f 54  44 4c 45 49 35 46 54 20  |.&..FPOTDLEI5FT |
00000010  50 30 30 30 48 20 52 56  00 00 44 44 00 00 00 00  |P000H RV..DD....|
00000020  14 08 01 01 00 00 00 00  03 00 00 00 00 27 10 00  |.............'..|
00000030  be e1 d4 8f 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  07 26 08 07 46 50 4f 54  44 4c 45 49 35 46 54 20  |.&..FPOTDLEI5FT |
00000210  50 30 30 30 48 20 52 56  00 00 44 44 00 00 00 00  |P000H RV..DD....|
00000220  14 08 01 01 00 00 00 00  03 00 00 00 00 27 10 00  |.............'..|
00000230  be e1 d4 8f 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000400  ff ff ff f1 ff ff ff ff  00 00 00 00 01 00 00 00  |................|
00000410  80 26 10 00 4f 52 5f 5f  5f 5f 54 4f 00 5f 5f 00  |.&..OR____TO.__.|
00000420  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000470  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff 32  |...............2|
00000480  ff ff ff f3 ff ff ff ff  01 00 00 00 01 00 00 00  |................|
00000490  00 27 10 00 45 52 5f 5f  4c 43 59 43 00 5f 5f 45  |.'..ER__LCYC.__E|
000004a0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
I can't see anything useful in here, if i scroll down a bit further i can see FAT32 again and names (and content) of files that where on the stick before i formatted it with the TopField.

If you want i can also make a hexdump from my other USB stick which is filled with recordings :)
Zuletzt geändert von pa4wdh am Sa 22. Dez 2012, 20:43, insgesamt 1-mal geändert.

Benutzeravatar
FireBird
Suspekter verdächtiger Zauberküchenchef, TAP & Firmware-Guru
Suspekter verdächtiger Zauberküchenchef, TAP & Firmware-Guru
Beiträge: 28745
Registriert: Fr 9. Dez 2005, 09:59
Receivertyp: SRP-2401CI+ TFIR
vu+ Duo 4k
Wohnort: Wien

AW: TBC-5000 USB stick format

#14

Beitrag von FireBird » Sa 22. Dez 2012, 21:34

You need to swap all dwords and then you'll get:

Code: Alles auswählen

00000000  07 08 26 07 54 4f 50 46  49 45 4c 44 20 54 46 35  |..&.TOPFIELD TF5|
00000010  30 30 30 50 56 52 20 48  44 44 00 00 00 00 00 00  |000PVR HDD......|
Does that make more sense? :wink: It is the FAT24 system created by Topfield. You can read more details in my PDF, chapter "Topfield TF-5xxx Hard Disk Structure".

pa4wdh
Vielfrager
Vielfrager
Beiträge: 17
Registriert: Fr 21. Dez 2012, 16:55

AW: TBC-5000 USB stick format

#15

Beitrag von pa4wdh » So 23. Dez 2012, 12:42

That indeed makes a lot more sense Firebird !
I've also hexdump'ed my used stick and i was able find the names of all the recordings now :w00t:

Also thanks for the link to the PDF, i think that's all info i need. Just one question:
I understood that a few mediaplayers (mplayer, vlc) can actually read the rec format of the TopField, but to do that, do i still need to swap de dwords or is that done by the media player ?

Benutzeravatar
FireBird
Suspekter verdächtiger Zauberküchenchef, TAP & Firmware-Guru
Suspekter verdächtiger Zauberküchenchef, TAP & Firmware-Guru
Beiträge: 28745
Registriert: Fr 9. Dez 2005, 09:59
Receivertyp: SRP-2401CI+ TFIR
vu+ Duo 4k
Wohnort: Wien

AW: TBC-5000 USB stick format

#16

Beitrag von FireBird » So 23. Dez 2012, 13:07

You need to swap all dwords. Assuming that the recordings are identical to the old 5000, they are standard DVB transport streams, which would be understood by many players. The first 3kB or so contain a header, which may confuse some players. So you can skip the header and start with the first real TS packet.

pa4wdh
Vielfrager
Vielfrager
Beiträge: 17
Registriert: Fr 21. Dez 2012, 16:55

AW: TBC-5000 USB stick format

#17

Beitrag von pa4wdh » So 23. Dez 2012, 15:34

Is there anything i can search for in the file to recognise the first TS packet ?

I also found this project: http://tffs.sourceforge.net/index.html
It's doing exactly what i was planning to do, but it claims to be compatible with the 4000 series, does that use the same format as my 5000 ?

Benutzeravatar
FireBird
Suspekter verdächtiger Zauberküchenchef, TAP & Firmware-Guru
Suspekter verdächtiger Zauberküchenchef, TAP & Firmware-Guru
Beiträge: 28745
Registriert: Fr 9. Dez 2005, 09:59
Receivertyp: SRP-2401CI+ TFIR
vu+ Duo 4k
Wohnort: Wien

AW: TBC-5000 USB stick format

#18

Beitrag von FireBird » So 23. Dez 2012, 15:51

Look out for a 0x47, which is the start of a TS packet. As the packets are aligned, this byte is always located at byte 0 and then every 188th byte (of course except where the TF header has overwritten the DVB stream).

I can't remember that I've ever seen a TF4000 stream. It is also a transport stream but I'm not sure about the alignment. The header is different and therefore tffs might not accept your data as a valid TF recording.

pa4wdh
Vielfrager
Vielfrager
Beiträge: 17
Registriert: Fr 21. Dez 2012, 16:55

AW: TBC-5000 USB stick format

#19

Beitrag von pa4wdh » So 23. Dez 2012, 15:57

Ok, thanks for the info. I'm actually looking at the sourcecode of the TF4000 program i found, it searches for the string "TOPFIELD PVR HDD", which is different from my hexdump. I'm not sure if that's the only difference :)

pa4wdh
Vielfrager
Vielfrager
Beiträge: 17
Registriert: Fr 21. Dez 2012, 16:55

AW: TBC-5000 USB stick format

#20

Beitrag von pa4wdh » Mo 24. Dez 2012, 12:49

The program i found didn't work for me, so i started writing my own :)

The first results are there: I can read the superblock, fat and the directory structure. I can ee my recordings and if i copy some sectors to a file mplayer is able play it :)

The only problem seems to be that i can't address all sectors. I guess it has something to do with 32 bits etc. Some files show a nice TFrec header, some seem to be more or less random fragments of other recordings.
I'm already using off64_t which should give me 64 bits of addressing space but it doesn't work :(

Any ideas ?
Zuletzt geändert von pa4wdh am Mo 24. Dez 2012, 12:52, insgesamt 1-mal geändert.

Antworten

Zurück zu „TF5000PVRt - Terrestrischer Empfang“