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 m7G9m3N1029112 for ; Sat, 16 Aug 2008 05:48:04 -0400 Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m7G9lARD017146 for ; Sat, 16 Aug 2008 05:47:10 -0400 From: Hans Verkuil To: video4linux-list@redhat.com Date: Sat, 16 Aug 2008 11:46:57 +0200 References: <20080814093320.49265ec1@glory.loctelecom.ru> <20080816134720.37ad63e2@glory.loctelecom.ru> <1218875412.2668.20.camel@pc10.localdom.local> In-Reply-To: <1218875412.2668.20.camel@pc10.localdom.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808161146.57545.hverkuil@xs4all.nl> Cc: Gert Vervoort , Mauro Carvalho 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: Hi Hermann, On Saturday 16 August 2008 10:30:12 hermann pitton wrote: > Hi, > > Am Samstag, den 16.08.2008, 13:47 +1000 schrieb Dmitri Belimov: > > 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. > > yes, sorry. > > This does explain at least the NTSC-M seen after it and lowers > confusion on this, after all, amazing and successful story. > > However, using v4l2-ctl for setting the correct norm still results in > losing picture and sound immediately on all FMD1216ME/I MK3 and all > tda8275a tuners in this machine here. Are you changing the norm while a capture is in progress, or before starting a capture? And if you capture, do you capture from the MPEG device or from the framegrabber? At least for the ivtv/cx18 driver changing the norm in midcapture will not work at all since the cx2341x chip usually just loses sync with the video encoder chip. So trying to change the norm while a capture is in progress will result in an EBUSY error for ivtv and cx18. Of course, if this worked fine in the past for the saa7134 driver, then clearly something broke. Regards, Hans > > The same happens with old "v4lctl setnorm PAL-BG". > The tda8275a is known for not playing nicely with all apps, the > FMD1216 is famous for other issues, but not those. > > Eventually I might have a chance in the evening to play with some > very old tuners to look out for any difference, for now I still say, > I can't set the norm neither with v4l2-ctl nor v4lctl on all four > cards I have here and this was my latest contribution to help to > debug it. > > Cheers, > Hermann > > > > 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