Mailing List archive

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

[linux-dvb] Re: Reception of raw TS or multiple PIDS



On Fri, Feb 07, 2003 at 01:04:57PM +0100, Marcus Metzler wrote:
> There is a program called dvbaudio which is part of dvb-mpegtools (
> http://www.metzlerbros.org/dvb/index.html). You can either use it to
> get the audio elementary stream and pipe it into mpg123 or similar
> programs. 

The docs I could find in the DVB drivers distribution and 
dvb-mpegtools don't give much information about how to do this. In 
fact this whole project (linux-dvb) does not have any good docs or 
HOWTOs. Files included in the distribution or CVS do not give enough 
information for somebody who starts using it, and does not want to 
guess some things or spend next couple of days reading the source. 
There is no place where somebody who wants to RTFM can do it. There 
are some www sites around, but all of them either have specific 
information on some small subject, or out of date (0.8.x drivers for 
example). 

In the LinixDVB FAQ I found this: 
http://www.linuxdvb.tv/documentation/faq/cache/50.html

Can I get the complete TS (Transport Stream) from the DVB card?
Yes, but this only works with the budget cards (i.e. WinTV NOVA) which 
has no built-in MPEG decoder.

But why it doesn'r tell HOW do I get any stream from the DVB card?

I searched this list archive, and I had some guesses based on the 
search results. I wanted to get the sound from CNN:

miernik@tarnica:~$ szap -n47 -r
zapping to 'CNN Int.':
sat 0, frequency = 12168 MHz V, symbolrate 27500000, vpid = 0x00a5, apid = 0x0064
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 1f | signal c3c3 | snr dada | ber 00000000 | unc ffffffff | FE_HAS_LOCK
status 1f | signal c6c6 | snr d8d8 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal c3c3 | snr dada | ber 00000000 | unc 00000000 | FE_HAS_LOCK

miernik@tarnica:~$ cat /dev/dvb/adapter0/dvr0 > test.ts

miernik@tarnica:~$ l test.ts
-rw-r--r--    1 miernik  miernik         0 Feb  7 19:29 test.ts
miernik@tarnica:~$ 

miernik@tarnica:~$ ts2ps 0x00a5 0x0064 < /dev/dvb/adapter0/dvr0 | pes2aud_es > s1.mp3
ts2ps
pes2aud_es

miernik@tarnica:~$ l s1.mp3 
-rw-r--r--    1 miernik  miernik         0 Feb  7 19:31 s1.mp3
miernik@tarnica:~$ 

As you can see, I do not get anything useful. 

I use newstruct divers from the CVS snapshot of 20030201. 
At the same time I was seeing the CNN video image in tuxview. 

What do I do wrong?

Thanks for help. And this project definetly needs a good, up to date 
HOWTO. There is no simple way of getting to know why there are 
"normal" and "NEWSTRUCT" drivers and how they differ.

-- 
    Miernik          ____________________________________________________
___ ICQ: 4004001 ___/___ tel.: +48608233394 ___/  mailto:miernik@ctnet.pl
No Iraq war http://www.globalexchange.org/campaigns/iraq/invadeIraq082702.html
Please call the White House +1-202-456-1111 or fax +1-202-456-2461 and say no!

Attachment: pgp00003.pgp
Description: PGP signature


Home | Main Index | Thread Index