Re: BBC HD TS file

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

 



On Thu, 2006-08-03 at 17:49 +0200, Nico Sabbi wrote:
> Soyeb Aswat wrote:
> > Hello Nico,
> >
> > I've been trying this for days and just can't get it working:
> >
> > soyeb@linux:~/dvb/hd> decode_pat city.ts
> >
> > New PAT
> >   transport_stream_id : 47976
> >   version_number      : 17
> >     | program_number @ [NIT|PMT]_PID
> >     |              1 @ 0x42 (66)
> >   active              : 1
> >
> > soyeb@linux:~/dvb/hd>
> > soyeb@linux:~/dvb/hd> decode_pmt city.ts 1 66
> >
> > New active PMT
> >   program_number : 1
> >   version_number : 8
> >   PCR_PID        : 0x45 (69)
> >     | type @ elementary_PID
> >     | 0x03 (ISO/IEC 11172 Audio) @ 0x44 (68)
> >     |  ] 0x0a : "eng"
> >     | 0x1b (ISO/IEC 13818-1 reserved) @ 0x45 (69)
> >
> > New active PMT
> >   program_number : 1
> >   version_number : 11
> >   PCR_PID        : 0x46 (70)
> >     | type @ elementary_PID
> >     | 0x03 (ISO/IEC 11172 Audio) @ 0x46 (70)
> >     |  ] 0x0a : "eng"
> >
> > New active PMT
> >   program_number : 1
> >   version_number : 12
> >   PCR_PID        : 0x47 (71)
> >     | type @ elementary_PID
> >     | 0x03 (ISO/IEC 11172 Audio) @ 0x46 (70)
> >     |  ] 0x0a : "eng"
> >     | 0x1b (ISO/IEC 13818-1 reserved) @ 0x47 (71)
> >
> >
> >
> > soyeb@linux:~/tmp/dvbstream> ./dvbstream -c 1 -f 522167000 -tm 8 -o 0 66
> > 68 69 > stnhsth
> >   
> 
> add 70 and 71

I'm starting to understand this now.  I've been using VLC to record the
channel and VLC has been recording just the one channel, not the whole
TS as I previously thought.

> > dvbstream v0.6 - (C) Dave Chapman 2001-2004
> > Released under the GPL.
> > Latest version available from http://www.linuxstb.org/
> > Tuning to 522167000 Hz
> > Using DVB card "KWorld/VStream XPert DVB-T", freq=522167000
> > tuning DVB-T (in United Kingdom) to 522167000 Hz, Bandwidth: 8
> > Getting frontend status
> > Bit error rate: 0
> > Signal strength: 65481
> > SNR: 43433
> > UNC: 0
> > FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI
> > FE_HAS_SYNC
> > dvbstream will stop after -1 seconds (71582788 minutes)
> > Output to stdout
> > Streaming 4 streams
> > Caught signal 2 - closing cleanly.
> > soyeb@linux:~/tmp/dvbstream> ls -l stnhsth
> > -rw-r--r--  1 soyeb users 19740 2006-08-03 16:16 stnhsth
> > soyeb@linux:~/tmp/dvbstream>
> >
> > That file obviously doesn't contain anything useful in there.  Can you
> > see what I'm doing wrong?
> >   
> 
> the PMT is changing: pids 68 and 69 have changed to 70 and 71

That explains why I see so many pids in the stream.  Why could this be?
Is it to stop people like me recording the streams or something else?

> > Also I don't have a problem capturing the full TS, I use VLC for that
> > and it works fine.  It's just that, because there is more than one
> > channel there, mencoder gets confused and falls over :-(  Any
> > suggestions on a workaround?  
> 
> try -vid 71 and -tsprobe 10000000

These help with the first pass of encoding which runs smoothly, but the
second pass fails immediately with the error "Video stream is
mandatory!".

> > By the way, this all works on another
> > channel that we have that only has one channel in the TS.

This works because the pids aren't changing, it only uses one pid.

Thanks for your help Nico.

Regards,

Soyeb



_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux