[linux-dvb] Bad TS from dvb-t recording?

Torbjörn Lundquist torbjorn.lundquist at googlemail.com
Thu Mar 8 21:51:32 CET 2007


Hmm. So this should do it:

dvbstream -f 522000 -o -tm 8 0 1248 1249 5180 > recordings/test.ts

But VLC does not play that file (mplayer does). I tried to add almost all
pids in the stream but with no luck with VLC.

Here are the pids I got from dvbsnoop:

dvbsnoop -s pidscan
dvbsnoop V1.4.00 -- http://dvbsnoop.sourceforge.net/

---------------------------------------------------------
Transponder PID-Scan...
---------------------------------------------------------
PID found:    0 (0x0000)  [SECTION: Program Association Table (PAT)]
PID found:    1 (0x0001)  [SECTION: Conditional Access Table (CAT)]
PID found:   18 (0x0012)  [SECTION: Event Information Table (EIT) - other
transport stream, present/following]
PID found:   41 (0x0029)  [SECTION: DVB CA message section (EMM/ECM)]
PID found:   57 (0x0039)  [SECTION: DVB CA message section (EMM/ECM)]
PID found:  870 (0x0366)  [SECTION: Program Map Table (PMT)]
PID found:  871 (0x0367)  [SECTION: MHP- Application Information Table
(AIT)]
PID found:  872 (0x0368)  [SECTION: DSM-CC - Download Data Messages (DDB)]
PID found:  878 (0x036e)  [PES: ISO/IEC 13818-3 or ISO/IEC 11172-3 audio
stream]
PID found:  879 (0x036f)  [PES: ITU-T Rec. H.262 | ISO/IEC 13818-2 or
ISO/IEC 11172-2 video stream]
PID found:  880 (0x0370)  [SECTION: Program Map Table (PMT)]
PID found: 1002 (0x03ea)  [SECTION: DSM-CC - Download Data Messages (DDB)]
PID found: 1004 (0x03ec)  [PES: private_stream_1]
PID found: 1010 (0x03f2)  [SECTION: Program Map Table (PMT)]
PID found: 1011 (0x03f3)
PID found: 1012 (0x03f4)  [SECTION: DSM-CC - Download Data Messages (DDB)]
PID found: 1016 (0x03f8)  [PES: ISO/IEC 13818-3 or ISO/IEC 11172-3 audio
stream]
PID found: 1017 (0x03f9)  [PES: private_stream_1]
PID found: 1018 (0x03fa)  [PES: ISO/IEC 13818-3 or ISO/IEC 11172-3 audio
stream]
PID found: 1019 (0x03fb)  [PES: ITU-T Rec. H.262 | ISO/IEC 13818-2 or
ISO/IEC 11172-2 video stream]
PID found: 1021 (0x03fd)  [SECTION: MHP- Application Information Table
(AIT)]
PID found: 1022 (0x03fe)  [SECTION: DSM-CC - Download Data Messages (DDB)]
PID found: 1026 (0x0402)  [PES: ISO/IEC 13818-3 or ISO/IEC 11172-3 audio
stream]
PID found: 1027 (0x0403)  [PES: private_stream_1]
PID found: 1028 (0x0404)  [PES: ISO/IEC 13818-3 or ISO/IEC 11172-3 audio
stream]
PID found: 1029 (0x0405)  [PES: ITU-T Rec. H.262 | ISO/IEC 13818-2 or
ISO/IEC 11172-2 video stream]
PID found: 1241 (0x04d9)  [SECTION: MHP- Application Information Table
(AIT)]
PID found: 1242 (0x04da)  [SECTION: DSM-CC - U-N messages (DSI or DII)]
PID found: 1248 (0x04e0)  [PES: ISO/IEC 13818-3 or ISO/IEC 11172-3 audio
stream]
PID found: 1249 (0x04e1)  [PES: ITU-T Rec. H.262 | ISO/IEC 13818-2 or
ISO/IEC 11172-2 video stream]
PID found: 1280 (0x0500)  [SECTION: Program Map Table (PMT)]
PID found: 1290 (0x050a)  [SECTION: Program Map Table (PMT)]
PID found: 5050 (0x13ba)  [SECTION: Program Map Table (PMT)]
PID found: 5070 (0x13ce)  [SECTION: Program Map Table (PMT)]
PID found: 5180 (0x143c)  [SECTION: Program Map Table (PMT)]
PID found: 8191 (0x1fff)



2007/3/8, Måns Rullgård <mans at mansr.com>:
>
> Peter Fassberg <pf at leissner.se> writes:
>
> >> But how do I record a specific program in a mux? If I point out the
> video
> >> and sound pids for a program with
> >>
> >> dvbstream -f 522000 -o -tm 8 1249 1248 > recordings/test.ts
> >>
> >> The stream does not play in VLC.
> >
> > Exact.  That is not a "true" TS as some mandatory PID's is missing.
> > PAT/PMT/SDT/NIT/SID ...  I'm sure there is someone who can explain
> > exactly what PIDs you need to get i compliant TS.
>
> You need the PAT, PMT, and whatever audio and video belong to your
> program.  The PAT always has PID 0, and lists the PID of the PMT for
> each program in the mux.  The PMT then lists the PIDs of each
> audio/video stream in the program.  The NIT, SDT etc. only contain
> meta-information not necessary for playback.
>
> --
> Måns Rullgård
> mans at mansr.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070308/a45b987e/attachment.htm


More information about the linux-dvb mailing list