Ogladanie nagran na komputerze

Moderator: sq9

Ogladanie nagran na komputerze

Postprzez protalk » 2009-02-24, 00:21

Wyglada na to, ze w UK znalezli sposob na na odtwarzanie nagran na pc z ubuntu:

cytat z angielskiego forum:

I have been able to watch one of my recordings on Ubuntu.

Here is the procedure I have followed:

1) Format the disk on the STB

2) Identify the Esata devices in Ubuntu (on my system /dev/sdb1 and /dev/sdb2)

3) Fill the first 100000 blocks of /dev/sdb2 with zeros:
dd ibs=1024 count=100000 if=/dev/zero of=/dev/sdb2

4) Reformat the disk on the STB

5) Record something

6) Use the hexdump tool to locate the recording header and recording itself:
sudo dd if=/dev/sdb2 | hexdump -C | more
020c7510 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
02540e00 01 00 00 00 02 00 00 00 00 00 00 00 01 00 00 00 |................|
02540e10 46 6f 72 67 65 74 74 69 6e 67 5f 53 5f 31 00 00 |Forgetting_S_1..|
02540e20 00 00 00 00 d6 07 e9 03 00 00 00 00 00 00 00 00 |................|
02540e30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
029ba800 06 0e 0a 00 bc 00 00 00 00 00 00 00 00 00 00 00 |................|
029ba810 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
029d2000 47 03 e9 10 5c 19 a9 32 be 21 44 c1 bc 5f 8f c5 |G...\..2.!D.._..|
After the recording name there are lots of zeros, so I guessed the recording started at the address 029d2000 ( 43851776 in decimal) equivalent to 42824 blocks (43851776/1024)

7) Extract the recording and store it in a file:
dd ibs=1024 count=10000 skip=42824 if=/dev/sdb2 of=Forgetting.mpg
(I am using 10000 blocks as a test)
dd is a very powerful Linux low level command, from my test it takes 17s to store 1GB of data!

8) Watch the recording:
mplayer Forgetting.mpg

So I need now to figure out how to understand the header of the recordings to get automatically the beginning of the recording (skip=) and the end of the recording (count=). Let me know if you have any information which may help.


Troche to klopotliwe, ale dobra wiadomoscia jest to, ze pliki nie sa zaszyfrowane. Najwyrazniej dobieranie sie do nagran odbywa sie wbrew woli producenta - w innym przypadku bylby przeciez pomocny.
protalk
 
Posty: 25
Dołączenie: 2009-02-05, 22:09

Powróć do GoSat GS-8010 CRCI HD Combo

Kto jest na forum

Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 1 gość