Message ID | 4537BA87.8090109@chello.at |
---|---|
State | New |
Headers |
Received: from viefep15-int.chello.at ([213.46.255.20] helo=viefep17-int.chello.at) by www.linuxtv.org with esmtp (Exim 4.50) id 1Gac1F-0002g0-Pi for vdr@linuxtv.org; Thu, 19 Oct 2006 19:49:25 +0200 Received: from [192.168.250.253] (really [84.113.41.43]) by viefep17-int.chello.at (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20061019174852.TUNT18728.viefep17-int.chello.at@[192.168.250.253]> for <vdr@linuxtv.org>; Thu, 19 Oct 2006 19:48:52 +0200 Message-ID: <4537BA87.8090109@chello.at> Date: Thu, 19 Oct 2006 19:48:55 +0200 From: =?ISO-8859-1?Q?Michael_M=FCllner?= <mi.muellner@chello.at> User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: VDR Mailing List <vdr@linuxtv.org> Subject: Re: [vdr] How to record H.264 stream in VDR? References: <45296BDE.4070201@gmx.de> <452AA71C.7030908@bieringer.de> <0a4401c6f300$603b81e0$0600080a@hp> In-Reply-To: <0a4401c6f300$603b81e0$0600080a@hp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: VDR Mailing List <vdr@linuxtv.org> List-Id: VDR Mailing List <vdr.linuxtv.org> List-Unsubscribe: <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>, <mailto:vdr-request@linuxtv.org?subject=unsubscribe> List-Archive: <http://www.linuxtv.org/pipermail/vdr> List-Post: <mailto:vdr@linuxtv.org> List-Help: <mailto:vdr-request@linuxtv.org?subject=help> List-Subscribe: <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>, <mailto:vdr-request@linuxtv.org?subject=subscribe> X-List-Received-Date: Thu, 19 Oct 2006 17:49:26 -0000 Status: O X-Status: X-Keywords: X-UID: 10977 |
Commit Message
Michael Müllner
Oct. 19, 2006, 5:48 p.m. UTC
Hallo, some time ago there was a patch here in this list for H264 but it didnt work for me but maybe my prob is that me receive S13.0E only on my primary Card. (FF dvb-s) If i add this patch VDR didnt del the VPid anymore but when i start an recording VDR restart itself and create only 0 bytes files. Here the patch again maybe it works for you. case 3: // STREAMTYPE_11172_AUDIO @@ -408,7 +410,7 @@ } } break; - //default: printf("PID: %5d %5d %2d %3d %3d\n", pmt.getServiceId(), stream.getPid(), stream.getStreamType(), pmt.getVersionNumber(), Channel->Number());//XXX + default: printf("PID: %5d %5d %2d %3d %3d\n", pmt.getServiceId(), stream.getPid(), stream.getStreamType(), pmt.getVersionNumber(), Channel->Number());//XXX } for (SI::Loop::Iterator it; (d = (SI::CaDescriptor*)stream.streamDescriptors.getNext(it, SI::CaDescriptorTag)); ) { CaDescriptors->AddCaDescriptor(d, true); regards Mike dvb schrieb: > In DVB-S and DVB-T > LUXE TV HD:11240:v:S13.0E:27500:0:36,37:0:0:13809:0:0:0 > VPID is 33 > > > > _______________________________________________ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr >
Comments
No luck with this patch (1.4.1 & 1.4.3) :( they(tv company) use MPEG2 ID in H.264 stream PID found: 512 (0x0200) [PES: ITU-T Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 11172-2 video stream] Oct 20 18:40:00 testbox vdr: [17789] transfer thread ended (pid=17201, tid=17789) Oct 20 18:40:00 testbox vdr: [17201] buffer stats: 68244 (3%) used Oct 20 18:40:00 testbox vdr: [17201] switching device 1 to channel 28 Oct 20 18:40:00 testbox vdr: [17201] timer 19 (28 1840-1842 'test264') start Oct 20 18:40:00 testbox vdr: [17201] waiting for EPG info... Oct 20 18:40:04 testbox vdr: [17201] no EPG info available Oct 20 18:40:04 testbox vdr: [17201] executing '/usr/share/vdr/bin/vdrrecord-gate.sh before "/data/vdr/video/test264/2006-10-20.18.40.99.99.rec"' Oct 20 18:40:04 testbox vdr: [17201] record /data/vdr/video/test264/2006-10-20.18.40.99.99.rec Oct 20 18:40:04 testbox vdr: [17201] creating directory /data/vdr/video/test264 Oct 20 18:40:04 testbox vdr: [17201] creating directory /data/vdr/video/test264/2006-10-20.18.40.99.99.rec Oct 20 18:40:08 testbox vdr: [17201] recording to '/data/vdr/video/test264/2006-10-20.18.40.99.99.rec/001.vdr' Oct 20 18:40:08 testbox vdr: [17881] file writer thread started (pid=17201, tid=17881) Oct 20 18:40:08 testbox vdr: [17882] recording thread started (pid=17201, tid=17882) Oct 20 18:40:09 testbox vdr: [17201] switching to channel 11 Oct 20 18:40:09 testbox vdr: [17201] info: Channel not available! Oct 20 18:40:11 testbox vdr: [17201] switching to channel 28 Oct 20 18:40:11 testbox vdr: [17201] buffer stats: 0 (0%) used Oct 20 18:40:11 testbox vdr: [17201] max. latency time 10 seconds Oct 20 18:40:11 testbox vdr: [17888] transfer thread started (pid=17201, tid=17888) Oct 20 18:40:39 testbox vdr: [17881] ERROR: video data stream broken Oct 20 18:40:39 testbox vdr: [17881] initiating emergency exit Oct 20 18:40:39 testbox vdr: [17201] emergency exit requested - shutting down ... Oct 20 18:40:39 testbox vdr: [17882] recording thread ended (pid=17201, tid=17882) Oct 20 18:40:39 testbox vdr: [17881] file writer thread ended (pid=17201, tid=17881) Oct 20 18:40:39 testbox vdr: [17201] buffer stats: 40608 (0%) used Oct 20 18:40:39 testbox vdr: [17201] timer 19 (28 1840-1842 'test264') stop Oct 20 18:40:39 testbox vdr: [17201] executing '/usr/share/vdr/bin/vdrrecord-gate.sh after "/data/vdr/video/test264/2006-10-20.18.40.99.99.rec"' Oct 20 18:40:39 testbox vdr: [17888] transfer thread ended (pid=17201, tid=17888) Oct 20 18:40:39 testbox vdr: [17201] buffer stats: 61664 (2%) used ... Oct 20 18:40:40 testbox vdr: [17201] exiting Oct 20 18:40:40 testbox vdr: [17201] emergency exit! Oct 20 18:40:40 testbox vdr: [17228] Netwatcher thread ended (pid=17201, tid=17228) ----- Original Message ----- From: "Michael Müllner" <mi.muellner@chello.at> To: "VDR Mailing List" <vdr@linuxtv.org> Sent: Thursday, October 19, 2006 8:48 PM Subject: Re: [vdr] How to record H.264 stream in VDR? > Hallo, > > some time ago there was a patch here in this list for H264 but it didnt work for me but maybe my > prob is that me receive S13.0E only on my primary Card. (FF dvb-s) > If i add this patch VDR didnt del the VPid anymore but when i start an recording VDR restart > itself and create only 0 bytes files. > > Here the patch again maybe it works for you. > > --- vdr-1.4.0/pat.c 2006-03-31 14:39:34.000000000 +0200 > +++ vdr-1.4.0.jarada/pat.c 2006-06-18 20:04:34.000000000 +0200 > @@ -340,6 +340,8 @@ > switch (stream.getStreamType()) { > case 1: // STREAMTYPE_11172_VIDEO > case 2: // STREAMTYPE_13818_VIDEO > + case 0x19: // advanced codec HD digital television service > + case 0x1b: //ISO/IEC 14496-10 Video (MPEG-4 part 10/AVC, aka H.264) > Vpid = stream.getPid(); > break; > case 3: // STREAMTYPE_11172_AUDIO > @@ -408,7 +410,7 @@ > } > } > break; > - //default: printf("PID: %5d %5d %2d %3d %3d\n", pmt.getServiceId(), > stream.getPid(), stream.getStreamType(), pmt.getVersionNumber(), Channel->Number());//XXX > + default: printf("PID: %5d %5d %2d %3d %3d\n", pmt.getServiceId(), stream.getPid(), > stream.getStreamType(), pmt.getVersionNumber(), Channel->Number());//XXX > } > for (SI::Loop::Iterator it; (d = > (SI::CaDescriptor*)stream.streamDescriptors.getNext(it, SI::CaDescriptorTag)); ) { > CaDescriptors->AddCaDescriptor(d, true); > > > regards > Mike > > dvb schrieb: >> In DVB-S and DVB-T >> LUXE TV HD:11240:v:S13.0E:27500:0:36,37:0:0:13809:0:0:0 >> VPID is 33 >> >> >> >> _______________________________________________ >> vdr mailing list >> vdr@linuxtv.org >> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr >> > > _______________________________________________ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr >
Hi, dvb wrote: > No luck with this patch (1.4.1 & 1.4.3) :( > > they(tv company) use MPEG2 ID in H.264 stream > PID found: 512 (0x0200) [PES: ITU-T Rec. H.262 | ISO/IEC 13818-2 or > ISO/IEC 11172-2 video stream] > > Oct 20 18:40:09 testbox vdr: [17201] switching to channel 11 > Oct 20 18:40:39 testbox vdr: [17881] ERROR: video data stream broken Just an idea: maybe you should disable cVideoRepacker. See remux.c #define TEST_cVideoRepacker. cVideoRepacker can currently only parse MPEG1 and MPEG2 video streams. Bye.
--- vdr-1.4.0/pat.c 2006-03-31 14:39:34.000000000 +0200 +++ vdr-1.4.0.jarada/pat.c 2006-06-18 20:04:34.000000000 +0200 @@ -340,6 +340,8 @@ switch (stream.getStreamType()) { case 1: // STREAMTYPE_11172_VIDEO case 2: // STREAMTYPE_13818_VIDEO + case 0x19: // advanced codec HD digital television service + case 0x1b: //ISO/IEC 14496-10 Video (MPEG-4 part 10/AVC, aka H.264) Vpid = stream.getPid(); break;