public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* analize ASI with dvbnoop and dektec 140
@ 2008-10-10 12:09 luisan82
  2008-10-10 13:01 ` Daniel Glöckner
  0 siblings, 1 reply; 5+ messages in thread
From: luisan82 @ 2008-10-10 12:09 UTC (permalink / raw)
  To: linux-dvb, video4linux-list

I've been trying to analyze a ts with dvbsnoop through an ASI input
unsuccessfully.
When I execute dvbsnoop, it tries to read from a location (/dev/dvb/...)
wich doesn't exists.

# dvbsnoop -s pidscan
dvbsnoop V1.4.52 -- http://dvbsnoop.sourceforge.net/ 

---------------------------------------------------------
Transponder PID-Scan...
---------------------------------------------------------
Error(2): /dev/dvb/adapter0/dvr0: No such file or directory

My /dev contains the following:

bus/        Dta1xx1     Dta1xx5     Dta1xx9     loop/       pts/
disk/       Dta1xx2     Dta1xx6     fd/         MAKEDEV     shm/
dri/        Dta1xx3     Dta1xx7     .initramfs/ mapper/     .static/
Dta1xx0     Dta1xx4     Dta1xx8     input/      net/        .udev/

Dektec commands are located at: /home/optiva/DTA1xx/LinuxSDK_feb08/

Dta1xx/    Dta1xxNw/  DTAPI/     DtPlay/    DtRecord/  DtRmxUtil/
Dtu2xx/

I think may be two alternatives to solve this (at least). First one and
cleaner is to have drivers and dektec software installed as must, that
is drivers at /dev/dvb and software at /usr (included in the path). The
other way could be use the dvb options to select the appropriate device,
but I've no idea how to use it.

 -demux device: demux device [/dev/dvb/adapter0/demux0]
   -dvr device:   dvr device [/dev/dvb/adapter0/dvr0]
   -frontend device: frontend   device [/dev/dvb/adapter0/frontend0]
   -adapter n:    select dvb adapter/card no. <n> using default path
   -devnr n:      select device no. <n> using default dvb adapter/card
 
Thanks in advance,

Luis Martinez
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: analize ASI with dvbnoop and dektec 140
  2008-10-10 12:09 analize ASI with dvbnoop and dektec 140 luisan82
@ 2008-10-10 13:01 ` Daniel Glöckner
  2008-10-11 18:51   ` rafael2k
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Glöckner @ 2008-10-10 13:01 UTC (permalink / raw)
  To: luisan82@gmail.com; +Cc: video4linux-list, linux-dvb

On Fri, Oct 10, 2008 at 02:09:08PM +0200, luisan82@gmail.com wrote:
> I've been trying to analyze a ts with dvbsnoop through an ASI input
> unsuccessfully.
> When I execute dvbsnoop, it tries to read from a location (/dev/dvb/...)
> wich doesn't exists.

The drivers provided by DekTec do not implement the Linux DVB API.
You can't use dvbsnoop.
You need to write your own program using their proprietary DTAPI library.
At least their drivers are open source...

  Daniel

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: analize ASI with dvbnoop and dektec 140
  2008-10-10 13:01 ` Daniel Glöckner
@ 2008-10-11 18:51   ` rafael2k
  2008-10-11 19:49     ` Markus Rechberger
  0 siblings, 1 reply; 5+ messages in thread
From: rafael2k @ 2008-10-11 18:51 UTC (permalink / raw)
  To: video4linux-list; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 992 bytes --]

I think you could write a v4l2 wrapper using the dektec API.

bye,
rafael diniz

Em Friday 10 October 2008, Daniel Glöckner escreveu:
> On Fri, Oct 10, 2008 at 02:09:08PM +0200, luisan82@gmail.com wrote:
> > I've been trying to analyze a ts with dvbsnoop through an ASI input
> > unsuccessfully.
> > When I execute dvbsnoop, it tries to read from a location (/dev/dvb/...)
> > wich doesn't exists.
>
> The drivers provided by DekTec do not implement the Linux DVB API.
> You can't use dvbsnoop.
> You need to write your own program using their proprietary DTAPI library.
> At least their drivers are open source...


-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Ciência da Computação @  Unicamp
Rádio Muda, radiolivre.org, TV Piolho, tvlivre.org, www.midiaindependente.org
Chave PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2FF86098
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-


[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 164 bytes --]

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: analize ASI with dvbnoop and dektec 140
  2008-10-11 18:51   ` rafael2k
@ 2008-10-11 19:49     ` Markus Rechberger
  2008-10-11 20:52       ` rafael2k
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Rechberger @ 2008-10-11 19:49 UTC (permalink / raw)
  To: rafael2k; +Cc: video4linux-list, linux-dvb

2008/10/11 rafael2k <rafael@riseup.net>:
> I think you could write a v4l2 wrapper using the dektec API.
>

v4l2 has nothing to do with dvbsnoop :-)

you might read the manual how you can get access to the mpeg-ts stream
and simply pipe it to dvbsnoop

eg.:
dvbstream -o 8192 | dvbsnoop -s ts -if /dev/stdin

note you have to replace the dvbstream command with something specific
from dektec I guess.

Markus
> bye,
> rafael diniz
>
> Em Friday 10 October 2008, Daniel Glöckner escreveu:
>> On Fri, Oct 10, 2008 at 02:09:08PM +0200, luisan82@gmail.com wrote:
>> > I've been trying to analyze a ts with dvbsnoop through an ASI input
>> > unsuccessfully.
>> > When I execute dvbsnoop, it tries to read from a location (/dev/dvb/...)
>> > wich doesn't exists.
>>
>> The drivers provided by DekTec do not implement the Linux DVB API.
>> You can't use dvbsnoop.
>> You need to write your own program using their proprietary DTAPI library.
>> At least their drivers are open source...
>
>
> --
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
> Ciência da Computação @  Unicamp
> Rádio Muda, radiolivre.org, TV Piolho, tvlivre.org, www.midiaindependente.org
> Chave PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2FF86098
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
>
>
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
>

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: analize ASI with dvbnoop and dektec 140
  2008-10-11 19:49     ` Markus Rechberger
@ 2008-10-11 20:52       ` rafael2k
  0 siblings, 0 replies; 5+ messages in thread
From: rafael2k @ 2008-10-11 20:52 UTC (permalink / raw)
  To: video4linux-list; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 1726 bytes --]

Hi Markus,

> > I think you could write a v4l2 wrapper using the dektec API.
>
> v4l2 has nothing to do with dvbsnoop :-)

ok, read "write a dvb (the linux api) wrapper using the dektec API".
: )

> you might read the manual how you can get access to the mpeg-ts stream
> and simply pipe it to dvbsnoop
>
> eg.:
> dvbstream -o 8192 | dvbsnoop -s ts -if /dev/stdin
>
> note you have to replace the dvbstream command with something specific
> from dektec I guess.

I was talking about using the dvb api, that would be nice to have for the 
dektec cards.
of course, you can get the data using a pipe.

one can do:

create a named pipe:
# mkfifo fifo.ts

# run dvbsnoop:
dvbsnoop -s ts -if fifo.ts

# feed the fifo
DtRecord fifo.ts

bye,
rafael diniz


> > Em Friday 10 October 2008, Daniel Glöckner escreveu:
> >> On Fri, Oct 10, 2008 at 02:09:08PM +0200, luisan82@gmail.com wrote:
> >> > I've been trying to analyze a ts with dvbsnoop through an ASI input
> >> > unsuccessfully.
> >> > When I execute dvbsnoop, it tries to read from a location
> >> > (/dev/dvb/...) wich doesn't exists.
> >>
> >> The drivers provided by DekTec do not implement the Linux DVB API.
> >> You can't use dvbsnoop.
> >> You need to write your own program using their proprietary DTAPI
> >> library. At least their drivers are open source...


-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Ciência da Computação @  Unicamp
Rádio Muda, radiolivre.org, TV Piolho, tvlivre.org, www.midiaindependente.org
Chave PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2FF86098
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-


[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 164 bytes --]

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

end of thread, other threads:[~2008-10-11 20:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10 12:09 analize ASI with dvbnoop and dektec 140 luisan82
2008-10-10 13:01 ` Daniel Glöckner
2008-10-11 18:51   ` rafael2k
2008-10-11 19:49     ` Markus Rechberger
2008-10-11 20:52       ` rafael2k

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox