Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] NAPI: test_pes.c files incomplete?



I'm still having a hard time understanding the video.pes file
created by test_pes.c from the latest CVS driver.

When I dump such a file with my tool (available at http://www.cadsoft.de/people/kls/vdr/xlist.c),
I see sequences like this:

 1038264 1D slice 32 ED 11 06 D0 01 89 F4 6F 2A 14 CD 40 58 D5 A3 4B 1B C4 6F
 1038664 1E slice 32 72 C8 A5 F1 A8 C7 B9 18 58 AE 16 21 AD 8C 16 07 48 F4 DD
 1039047 1F slice 32 76 15 91 DB 80 C8 D9 E8 32 FC 1E 94 C3 1A CA C9 0F 6F DB
 1039414 20 slice 32 76 C1 17 EC 62 54 EE A0 15 9C 29 5C 08 E9 23 07 30 04 78
 1039757 E0 video  6137 17 F9 80 00 00 91 7C 7C F6 EF F1 05 DC 66 A7 3F 3B 76 61 9C
 1039948 07 slice 33 FE 1F 83 42 29 09 BF A2 C0 0C 41 0F FC 3E E5 20 21 7F C7
 1040770 08 slice 33 FE 1F 84 AA 42 6F E8 A8 03 18 08 5F E1 F7 80 8D FF 1D 94
 1041521 09 slice 33 FE 1E 84 AA 42 6F E8 A0 03 19 00 04 BF 51 80 85 FF 1D 94
 1042342 0A slice 33 FE 1F 83 42 29 09 BF A2 60 0C E0 21 7F 87 D4 33 DF B2 8B

Maybe my understanding of the data format is insufficient, or my dump tool
makes a mistake, but isn't there something missing after the "E0 video" line?
The "picture_header", "extension_start" and "slices" 01 thru 06?
I would expect something more in the lines of:

    1204 24 slice 52 AB A0 D3 F3 56 34 B6 46 36 4A DE 4B 7D 23 78 E0 70 F0 48
    1389 E0 video  6137 17 F9 80 80 05 21 6F D1 8D 6F 00 00 01 00 02 52 D2 D3 80 00
    1403 00 picture_header - temporal_reference:    9  picture_coding_type: 2
    1412 B5 extension_start
    1421 01 slice 42 E3 B7 B0 BA DB B5 B4 70 00 DA 86 70 4D AD AD 80 6A 40 AA
    1610 02 slice 42 DE 9C 20 3A 55 E0 16 87 D0 8E A4 AD 77 25 A4 DD 5D 20 1E
    1807 03 slice 32 E3 E0 15 01 C0 FB 01 AE C3 40 46 03 2A 19 54 5B 13 E4 B0

(Note that both of these sequences are taken from the *same* video.pes file).

When I use my dump tool on a file recorded with driver 0.8.2, all appears to
be fine.

Also, when I take the video.pes file created with the latest CVS driver
and replay it thru 'cat video.pes > /dev/video' of the 0.8.2 driver, the
picture is heavily distorted and runs way too fast.

Can somebody please clear up my confusion?

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index