Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m7G9Q0Ft017956 for ; Sat, 16 Aug 2008 05:26:00 -0400 Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m7G9OQ5h007432 for ; Sat, 16 Aug 2008 05:24:26 -0400 From: Hans Verkuil To: video4linux-list@redhat.com Date: Sat, 16 Aug 2008 11:24:13 +0200 References: <20080814093320.49265ec1@glory.loctelecom.ru> <200808150805.20459.hverkuil@xs4all.nl> <20080816134720.37ad63e2@glory.loctelecom.ru> In-Reply-To: <20080816134720.37ad63e2@glory.loctelecom.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808161124.13106.hverkuil@xs4all.nl> Cc: Gert Vervoort , Chehab Subject: Re: MPEG stream work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: video4linux-list-bounces@redhat.com Errors-To: video4linux-list-bounces@redhat.com List-ID: On Saturday 16 August 2008 05:47:20 Dmitri Belimov wrote: > Hi Hans > > > > I found problem in v4l2-ctl. This programm can't set correct TV > > > norm. After my hack TV norm was set correct. > > > > ??? > > > > $ v4l2-ctl -s secam-dk > > Standard set to 00320000 > > > > v4l2-ctl works fine for me! > > > > Are you using the latest v4l2-ctl version from v4l-dvb? I did fix a > > bug in SetStandard some time ago (although I think that bug didn't > > affect this particular situation either). > > This is my error. I run > > v4l2-ctl -s=secam-dk -d /dev/video0 > > It response set TV norm to 0x0b000 > > When I run > > v4l2-ctl -s secam-dk -d /dev/video0 > > All is OK. Ah, thank you. I was getting worried that there was another bug in v4l2-ctl. Regards, Hans > > With my best regards, Dmitry. > > > Regards, > > > > Hans > > > > > diff -r 42e3970c09aa v4l2-apps/util/v4l2-ctl.cpp > > > --- a/v4l2-apps/util/v4l2-ctl.cpp Sun Jul 27 19:30:46 2008 > > > -0300 +++ b/v4l2-apps/util/v4l2-ctl.cpp Fri Aug 15 05:53:38 > > > 2008 +1000 @@ -1572,6 +1572,7 @@ > > > } > > > > > > if (options[OptSetStandard]) { > > > + std = 0x320000; // durty hack for SECAM-DK > > > if (std & (1ULL << 63)) { > > > vs.index = std & 0xffff; > > > if (ioctl(fd, VIDIOC_ENUMSTD, &vs) >= 0) { > > > > > > I have MPEG stream with CORRECT TV data. > > > See link: > > > > > > http://debian.oshec.org/binary/tmp/mpeg02.dat > > > > > > Yahooooo! > > > > > > With my best regards, Dmitry. > > > > > > -- > > > 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 -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list