"NY" wrote
>"Jan Panteltje" wrote in message
>news:pum4ct$t1m$1@dont-email.me...
>
>> If you however typed:
>> dvbstream -c 0 -I 2 -qam 64 -gi 4 -cr 1_2 -crlp 1_2 -bw 8 -tm
>> -f 562000 -o 8192 > /root/q1.ts
>> then you record the whole transponder (the whole transmitter content for
>> that frequency) to file /root/q1.ts
>>
>> Stop it with control C after a few minutes (file will get VERY big), and
>> then type:
>> mediainfo /root/q1, then you see this (maybe needs apt-get install
>> mediainfo):
>
>I've not found a way of recording a whole multiplex on the Pi. On Windows,
>VLC can be pointed at a DVB tuner (File | Open Capture Device) and can view
>any channel from it or can record the whole mux.
>
>But I've not managed to make that work with VLC on Linux (either Ubuntu or
>Raspbian), even when I give it the path of the decoder (/dev/dvb/adaptor0
>with various permutations of sub-devices) so maybe there's a permission
>problem.
>
>It is weird to record a whole mux and then be able to play it back and watch
>one channel (a different one each time!) from a load of simultaneous ones.
>
>
>I'll have to experiment with dvbstream... I presume I need to sudo it so it
>runs as root.
I don't know, I am always root,
fixed that in /etc/passwd:
#pi:x:1000:1000:,,,:/home/pi:/bin/bash
pi:x:0:0:,,,:/root:/bin/bash
you do not drive your car from the passenger seat I hope?
Anyways, recording the whole TS seems to work, even on this old raspi B.
# cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 464.48
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2708
Revision : 000e
# uname -a
Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l
GNU/Linux
Maybe needs a reasonable fast SDcard?
Mine says SDHC or something.
There is an other program I wrote, it is called jpfilter:
http://panteltje.com/panteltje/satellite/jpfilter-0.3.tgz
it can give you info about what PIDs are in the transport stream and also
filter out specific ones.
jpfilter -h
jpfilter-0.3 By Jan Panteltje
usage: cat transponder.ts | jpfilter [-a PID1 ] [-b PID2] ... [-g PID7] [-h]
[-i 0x47s] [-p] [-s skip_packets] [-v verbose_level] > program.ts
-h help (this help).
-i int ignore first int 0x47 found.
-p scan for PIDs, no stream output.
-s unsigned long skip int packets, default 0.
-v int verbose, prints some variables, functions and arguments.
Examples:
To find PIDs is a ts:
cat movie.ts | jpfilter -p
Or:
jpfilter < movie.ts -p -v 1
To find PIDs in a ts and see how many times a specific PID occurs:
jpfilter < movie.ts -p -v 1
To make a file with only the wanted PIDs:
jpfilter
filtered_movie.ts
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|