On Wed, 2008-05-28 at 17:50 +0200, Hans Verkuil wrote:
> On Wednesday 28 May 2008 15:05:11 Martin Crossley wrote:
> > Hello all.
> >
> > I'm a caveman who has been stuck in a timewarp for the last 2,000
> > years so I am only just updating my scripts from using the _old_
> > ivtv-ctl API to the new one based on v4l2-ctl.
> >
> > FYI I running a CX23416-based card (Adaptec AVC-2010) under kernel
> > 2.6.24.7-92.fc8 using the up-to-date driver and utils.  Everything is
> > working well.
> >
> > In the old days (when dinosaurs walked the Earth) I could use
> > ivtv-ctl stream_type to select three different types of 'DVD' mpeg
> > stream (10:'DVD', 13:'DVD_S1', or 14:'DVD_S2').  But with the V4L2
> > API it seems I have only one DVD stream type (=3).
> >
> > Diving into the kernel source I found cx2341x_update() which includes
> > among other things:
> >
> > static int mpeg_stream_type[] = {
> >     0,      /* MPEG-2 PS */
> >     1,      /* MPEG-2 TS */
> >     2,      /* MPEG-1 SS */
> >     14,     /* DVD */
> >     11,     /* VCD */
> >     12,     /* SVCD */
> > };
> >
> > I presume that this is a translation between the new V4L2 stream
> > types and the CX2341X fw-encoder API.  If so, am I correct in
> > assuming that v4l2 stream-type 3 is translated into CX2341X stream
> > type 14 (DVD_S2)?
> 
> Yes.
> 
> > I've been struggling a little with the new API because I used to be
> > able to use DVD_S2 to create a stream I could plug straight into
> > dvdauthor without having to remux (as long as I tweaked a few other
> > parameters like the B-frames).  But so far I've not been able to
> > achieve this with v4l2-ctl stream_type 3.  Are there any other things
> > I need to set to get the "old" DVD_S2 behavior (such as
> > insert_navigation_packets) ??
> 
> Not that I know of. I haven't tried that in a long time, though. You can 
> just try replacing '14' with '10' and '13' and see if one of the others 
> give a DVDAuthor compliant stream. The idea behind the DVD stream is 
> exactly that you can use it without remuxing. At the time I thought 14 
> was the right one to use, but I might have been mistaken.

And please let us informed of the results, I am very interested to know
which is the "most compliant" stream.

Levente



_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to