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 m7G3lKYK005981 for ; Fri, 15 Aug 2008 23:47:20 -0400 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m7G3l5U6000920 for ; Fri, 15 Aug 2008 23:47:05 -0400 Received: by ug-out-1314.google.com with SMTP id m2so7828uge.13 for ; Fri, 15 Aug 2008 20:47:04 -0700 (PDT) Date: Sat, 16 Aug 2008 13:47:20 +1000 From: Dmitri Belimov To: video4linux-list@redhat.com, Chehab , Gert Vervoort , Mauro@xs4all.nl, hermann pitton Message-ID: <20080816134720.37ad63e2@glory.loctelecom.ru> In-Reply-To: <200808150805.20459.hverkuil@xs4all.nl> References: <20080814093320.49265ec1@glory.loctelecom.ru> <48A4763D.8030509@hccnet.nl> <20080815115954.0be6c5ba@glory.loctelecom.ru> <200808150805.20459.hverkuil@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 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: 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. 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