[linux-dvb] DVB-T radio recording

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

 



Hi Soyeb,

I downloaded the Debian source package libdvb_0.5.4.orig.tar.gz from 
http://packages.debian.org/stable/source/libdvb
I think you also need to have the libdvb-dev packages installed for a successful build.
After make, you will find the ts2es in the dvb-mpegtools folder.
It is a link to dvb-mpegtools. Unfortunately only dvb-mpegtools_main will exist in this folder.
Create a link to fix the problem:
ln -s dvb-mpegtools_main dvb-mpegtools

Nyk mentioned that one could file an RFP (request for packaging), which would make sense.

Frank


Soyeb Aswat wrote:
> Hello Frank,
> 
> I'm glad you've solved your problem.
> 
> Where did you get ts2es from?
> 
> Thanks,
> 
> Soyeb
> 
> 
> On Mon, 2005-10-10 at 13:33 +0200, Frank Breitling wrote:
> 
>>Hi,
>>
>>thank you very much for your answers.
>>Recording with Kaffeine would result in an intermediate file which I was trying to avoid.
>>But using ts2es I was in fact able to pipe the DVB-T radio stream directly to an ogg file:
>>
>>channel=Fritz; mkfifo fifo.mp2; tzap -r "$channel" &
>>APID=$(grep "$channel" ~/.tzap/channels.conf|awk 'BEGIN { FS=":" }{ print $12 }')
>>ts2es /dev/dvb/adapter0/dvr0 $APID > fifo.mp2 &
>>ffmpeg -i fifo.mp2 -ab 160 "$channel".ogg
>>
>>I did not consider ts2es at first since I could not find a recent Debian package containing this tool.
>>Quite a pity, if this is the only way to encode a DVB-T radio streams.
>>Is(n't) it???
>>
>>Frank
>>
>>
>>Soyeb Aswat wrote:
>>
>>>Hi,
>>>
>>>Or use Kaffeine to record it then mplayer or oggenc to do the
>>>conversion.
>>>
>>>Soyeb
>>>
>>>
>>>On Sun, 2005-10-09 at 22:41 +0100, nyk wrote:
>>>
>>>
>>>>On Sun, Oct 09, 2005 at 08:15:52PM +0200, Frank Breitling wrote:
>>>>
>>>>
>>>>>Hello,
>>>>>
>>>>>I have been trying to record a DVB-T radio program to an ogg file.
>>>>>Unfortunately I did not find a way to do it without an intermediate file.
>>>>
>>>>This fragment should do the trick
>>>>
>>>>			# ATM still easier to do this than arse about with tzap -o
>>>>			
>>>>			APID=$(grep "^$2" .tzap/channels.conf|awk ' BEGIN { FS=":" }
>>>>			{
>>>>				print $12
>>>>			}')
>>>>			
>>>>			tzap -S -r "${2}" &
>>>>			ts2es /dev/dvb/adapter0/dvr0 $APID  >"${FILENAME}.mp2"&
>>>>			
>>>>			#####################################################################
>>>>
>>>>Full (monstrously hacky) script attached
>>>>
>>>>_______________________________________________
>>>>
>>>>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