public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Sigmund Augdal <sigmund@snap.tv>
To: Dinesh Bhat <dbhat@linsys.ca>
Cc: Video-4l-list <video4linux-list@redhat.com>, linux-dvb@linuxtv.org
Subject: Re: DVB ASI related question
Date: Thu, 29 May 2008 18:41:49 +0200	[thread overview]
Message-ID: <1212079309.26238.15.camel@rommel.snap.tv> (raw)
In-Reply-To: <483C7696.9060004@linsys.ca>

tir, 27.05.2008 kl. 16.01 -0500, skrev Dinesh Bhat:
> Hello,
> 
> Please suggest if this is not a question relevant to this list.
> 
> I do not see support DVB over ASI on linuxtv.org. We are DVB/SDI over 
> ASI manufacturers and was wondering how much need is there in the market 
> for video 4 linux drivers for DVB ASI. Currently we have regular PCI 
> based drivers for Linux 2.6 and are thinking of porting our drivers to 
> V4L if there is need. I could not obtain enough information while 
> searching on the Internet.
It was discussed at some point wether to add the necessary apis to
handle ASI input devices to the linuxtv dvb api at some point. The post
that started the discussion can be read here:
http://www.mail-archive.com/linux-dvb@linuxtv.org/msg26193.html

I don't think the discussion ended in any conclution, and I don't think
anyone did anything towards adding ASI support. As you might know linux
multimedia support has two different sets of apis, one for dvb cards
(called "dvb" or "linuxtv dvb" and one for analog capture cards (called
v4l and v4l2). The previous discussion was about adding support for ASI
input boards to the dvb api. This would need some work because it
wouldn't be well defined how to "tune" a ASI card. I think you by this
mail suggested to add the ASI card as a v4l(2) driver. This might be a
good idea as this api is allready well defined for devices that don't
need to be tuned. Also many devices has arrived lately with hardware
encoders on them, so the api does handle capturing codec data.

So if you want to create a ASI capture card driver within the confines
of standard linux apis you have the following alternatives (as I see
it):

Use the DVB Api:
pros:
 * you can take advantage of the software pid and section filters in the
dvb framework
 * if your device supports hardware pid/section filters, apis will be
available to take advantage of them
 * userspace applications that handle mpeg2 ts often use this api, and
would be easy to adapt.
cons:
 * you might need to extend the apis to handle asi cards

Use the v4l2 api:
pros:
 * semantics are well defined.
 * provides an extensible api using so called "controls"
cons:
 * adapting user space applications will be more difficult
 * no reuse of software filters

Just my 2 norwegian øre

Sigmund Augdal


> 
> Any advice is appreciated.
> 
> Kind Regards,
> 
> Dinesh
> 
> --
> 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

      parent reply	other threads:[~2008-05-29 17:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-27 21:01 DVB ASI related question Dinesh Bhat
2008-05-27 21:37 ` Steven Toth
2008-05-28 13:38   ` Dinesh Bhat
2008-05-29 16:41 ` Sigmund Augdal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1212079309.26238.15.camel@rommel.snap.tv \
    --to=sigmund@snap.tv \
    --cc=dbhat@linsys.ca \
    --cc=linux-dvb@linuxtv.org \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox