All of lore.kernel.org
 help / color / mirror / Atom feed
* Record DVB-T from command line
@ 2011-08-18 12:30 shacky
  2011-08-18 13:39 ` Josu Lazkano
  0 siblings, 1 reply; 7+ messages in thread
From: shacky @ 2011-08-18 12:30 UTC (permalink / raw)
  To: linux-media

Hi.

I need to record from DVB-T using the command line.
I'm looking for some commands to make that saving the recording to a .ts file.
Could you help me please?

Thank you very much!
Bye.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Record DVB-T from command line
  2011-08-18 12:30 Record DVB-T from command line shacky
@ 2011-08-18 13:39 ` Josu Lazkano
  2011-08-18 15:47   ` shacky
  0 siblings, 1 reply; 7+ messages in thread
From: Josu Lazkano @ 2011-08-18 13:39 UTC (permalink / raw)
  To: shacky; +Cc: linux-media

2011/8/18 shacky <shacky83@gmail.com>:
> Hi.
>
> I need to record from DVB-T using the command line.
> I'm looking for some commands to make that saving the recording to a .ts file.
> Could you help me please?
>
> Thank you very much!
> Bye.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

You can try this:

szap -a 0 -c channels_astra.conf -r "TV3 CAT"
cat /dev/dvb/adapter0/dvr0 > testvideo.mpg
mplayer testvideo.mpg

This is for DVB-S, you can change it with tzap, first you need to scan
your local channels.

Regards.

-- 
Josu Lazkano

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Record DVB-T from command line
  2011-08-18 13:39 ` Josu Lazkano
@ 2011-08-18 15:47   ` shacky
  2011-08-18 16:09     ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 7+ messages in thread
From: shacky @ 2011-08-18 15:47 UTC (permalink / raw)
  To: Josu Lazkano; +Cc: linux-media

> szap -a 0 -c channels_astra.conf -r "TV3 CAT"
> cat /dev/dvb/adapter0/dvr0 > testvideo.mpg
> mplayer testvideo.mpg

I tried that, but cat tells me that the device is busy:

root@werecit1:/opt/utils/tv# tzap -c /etc/channels.conf -r "Rai 1"
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
reading channels from file '/etc/channels.conf'
tuning to 177500000 Hz
video pid 0x0200, audio pid 0x028a
status 00 | signal 1b1b | snr 000c | ber 0000ffff | unc 00000000 |
status 1f | signal fefe | snr 00f6 | ber 000000bd | unc 00000282 | FE_HAS_LOCK
[last line repeated several times]

In another console:

root@werecit1:~# cat /dev/dvb/adapter0/dvr0 > prova.mpg
cat: /dev/dvb/adapter0/dvr0: Dispositivo o risorsa occupata

Could you help me please?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Record DVB-T from command line
  2011-08-18 15:47   ` shacky
@ 2011-08-18 16:09     ` Mauro Carvalho Chehab
  2011-08-18 16:13       ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 7+ messages in thread
From: Mauro Carvalho Chehab @ 2011-08-18 16:09 UTC (permalink / raw)
  To: shacky; +Cc: Josu Lazkano, linux-media

Em 18-08-2011 08:47, shacky escreveu:
>> szap -a 0 -c channels_astra.conf -r "TV3 CAT"
>> cat /dev/dvb/adapter0/dvr0 > testvideo.mpg
>> mplayer testvideo.mpg
> 
> I tried that, but cat tells me that the device is busy:
> 
> root@werecit1:/opt/utils/tv# tzap -c /etc/channels.conf -r "Rai 1"
> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
> reading channels from file '/etc/channels.conf'
> tuning to 177500000 Hz
> video pid 0x0200, audio pid 0x028a
> status 00 | signal 1b1b | snr 000c | ber 0000ffff | unc 00000000 |
> status 1f | signal fefe | snr 00f6 | ber 000000bd | unc 00000282 | FE_HAS_LOCK
> [last line repeated several times]
> 
> In another console:
> 
> root@werecit1:~# cat /dev/dvb/adapter0/dvr0 > prova.mpg
> cat: /dev/dvb/adapter0/dvr0: Dispositivo o risorsa occupata
> 
> Could you help me please?

You can use gnometv for that. It is also part of dvb-utils package.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Record DVB-T from command line
  2011-08-18 16:09     ` Mauro Carvalho Chehab
@ 2011-08-18 16:13       ` Mauro Carvalho Chehab
  2011-08-18 17:03         ` shacky
  0 siblings, 1 reply; 7+ messages in thread
From: Mauro Carvalho Chehab @ 2011-08-18 16:13 UTC (permalink / raw)
  To: shacky; +Cc: Josu Lazkano, linux-media

Em 18-08-2011 09:09, Mauro Carvalho Chehab escreveu:
> Em 18-08-2011 08:47, shacky escreveu:
>>> szap -a 0 -c channels_astra.conf -r "TV3 CAT"
>>> cat /dev/dvb/adapter0/dvr0 > testvideo.mpg
>>> mplayer testvideo.mpg
>>
>> I tried that, but cat tells me that the device is busy:
>>
>> root@werecit1:/opt/utils/tv# tzap -c /etc/channels.conf -r "Rai 1"
>> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
>> reading channels from file '/etc/channels.conf'
>> tuning to 177500000 Hz
>> video pid 0x0200, audio pid 0x028a
>> status 00 | signal 1b1b | snr 000c | ber 0000ffff | unc 00000000 |
>> status 1f | signal fefe | snr 00f6 | ber 000000bd | unc 00000282 | FE_HAS_LOCK
>> [last line repeated several times]
>>
>> In another console:
>>
>> root@werecit1:~# cat /dev/dvb/adapter0/dvr0 > prova.mpg
>> cat: /dev/dvb/adapter0/dvr0: Dispositivo o risorsa occupata
>>
>> Could you help me please?
> 
> You can use gnometv for that. It is also part of dvb-utils package.
Sorry... the name of the application is: gnutv

You'll use it with something like:
	$ gnutv -out file test.mpeg -channels channel.conf mychannel

PS.: I'm fighting with a gnome application here that is doing something bad
when called fom xfce... so, "gnome" come to my mind, instead of "gnu" ;)
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-media" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Record DVB-T from command line
  2011-08-18 16:13       ` Mauro Carvalho Chehab
@ 2011-08-18 17:03         ` shacky
  2011-08-19  6:33           ` shacky
  0 siblings, 1 reply; 7+ messages in thread
From: shacky @ 2011-08-18 17:03 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: Josu Lazkano, linux-media

> You'll use it with something like:
>        $ gnutv -out file test.mpeg -channels channel.conf mychannel

Thank you very very much!!!
It works!! :-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Record DVB-T from command line
  2011-08-18 17:03         ` shacky
@ 2011-08-19  6:33           ` shacky
  0 siblings, 0 replies; 7+ messages in thread
From: shacky @ 2011-08-19  6:33 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: Josu Lazkano, linux-media

One question.
What if I need to record two channels in the same multiplex in the same time?
Gnutv does not let me it, because the second recording command returns
me that the device is busy, but I know this is possible (I know a
Windows program - TV Scheduler Pro - that make it.

Could you help me please?

Thank you very much!
Bye.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-08-19  6:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-18 12:30 Record DVB-T from command line shacky
2011-08-18 13:39 ` Josu Lazkano
2011-08-18 15:47   ` shacky
2011-08-18 16:09     ` Mauro Carvalho Chehab
2011-08-18 16:13       ` Mauro Carvalho Chehab
2011-08-18 17:03         ` shacky
2011-08-19  6:33           ` shacky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.