Message ID | 45FF8B1B.2020908@errror.org |
---|---|
State | New |
Headers |
Received: from intrepid.errror.org ([84.16.235.55] ident=Debian-exim) by www.linuxtv.org with esmtp (Exim 4.50) id 1HTYda-0007FO-ET for vdr@linuxtv.org; Tue, 20 Mar 2007 08:20:06 +0100 Received: from manitu-243.dsl.mpi-sb.mpg.de ([85.116.207.243] helo=[192.168.178.103]) by intrepid.errror.org (envelope-from <errror@errror.org>) with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63)id 1HTYdV-0003hI-Ty; Tue, 20 Mar 2007 08:20:02 +0100 Message-ID: <45FF8B1B.2020908@errror.org> Date: Tue, 20 Mar 2007 08:19:55 +0100 From: Patrick Cernko <errror@errror.org> User-Agent: Icedove 1.5.0.9 (X11/20070125) MIME-Version: 1.0 To: VDR Mailing List <vdr@linuxtv.org> Subject: Re: [vdr] updated slavemode patch for mplayer plugin References: <2d842fa80703031740g711c5a86x482e13610ad79b94@mail.gmail.com> In-Reply-To: <2d842fa80703031740g711c5a86x482e13610ad79b94@mail.gmail.com> X-Enigmail-Version: 0.94.2.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5318D3C20C40F8C3028EBC90" X-Envelope-To: vdr@linuxtv.org X-Envelope-To: errror@errror.org X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: errror@gmx.de, 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: Tue, 20 Mar 2007 07:20:06 -0000 Status: O X-Status: X-Keywords: X-UID: 12531 |
Commit Message
Patrick Cernko
March 20, 2007, 7:19 a.m. UTC
Hi List, Stone wrote: > After building the latest SVN today of the mplayer source, I noticed > that the slavemode patch from the vdr-mp3-plugin did not apply anymore. > Here is an attached working version of the patch for current SVN of > mplayer. > seems like the mplayer people are heavily working on their code. Again a slight update to the diff, to make it working. So long,
Comments
Hi, Is there any plans to have subtitle support for streamdev plugin? Or is there by any chance a patch that provides it? And are there any plans for streamdev to support HDTV (h.264 or similar)? Br, Pasi
On Tue, 20 Mar 2007 22:18:31 +0200, Pasi Juppo wrote > Hi, > > Is there any plans to have subtitle support for streamdev plugin? Or > is there by any chance a patch that provides it? AFAIC no plans for that at the moment - sorry. > And are there any plans for streamdev to support HDTV (h.264 or > similar)? AFAIK mpeg2 based HDTV works right out of the box. I will probably start working on H.264 if all of the following conditions are met: - Linux and VDR support for DVB-S2 and H.264 - H.264 FTA channels on Astra which are halfway worth the effort - Affordable way to decode it in hardware without generating to much noise - Component output of HDTV not threatened by broadcast flag / DRM Cheers, Frank
Pasi Juppo wrote: > Hi, > > Is there any plans to have subtitle support for streamdev plugin? Or is > there by any chance a patch that provides it? What do you mean? 1) DVB Subtitles sent in the HTTP datastream: http://users.tkk.fi/~rahrenbe/vdr/vdr-streamdev-cvs-subtitles.diff.gz 2) DVB Subtitles on a VDR VTP client using vdr-plugin-subtitles: Seems to work, but streamdev seems to be buggy and crashes often when used like this (works better when you enable the "AllowSuspend" option in the server).
Anssi Hannula wrote: > 1) DVB Subtitles sent in the HTTP datastream: > http://users.tkk.fi/~rahrenbe/vdr/vdr-streamdev-cvs-subtitles.diff.gz Forbidden: You don't have permission to access /~rahrenbe/vdr/vdr-streamdev-cvs-subtitles.diff.gz on this server AK
Arthur Konovalov wrote: > Anssi Hannula wrote: >> 1) DVB Subtitles sent in the HTTP datastream: >> http://users.tkk.fi/~rahrenbe/vdr/vdr-streamdev-cvs-subtitles.diff.gz > > Forbidden: > You don't have permission to access > /~rahrenbe/vdr/vdr-streamdev-cvs-subtitles.diff.gz on this server Oh. Well, an older version of the patch is available here as well: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/vdr-plugin-streamdev/current/SOURCES/vdr-streamdev-cvs-20060823-dvbsubtitles.diff?revision=70921
Anssi Hannula wrote: > Pasi Juppo wrote: >> Hi, >> >> Is there any plans to have subtitle support for streamdev plugin? Or is >> there by any chance a patch that provides it? > > What do you mean? > > 1) DVB Subtitles sent in the HTTP datastream: > http://users.tkk.fi/~rahrenbe/vdr/vdr-streamdev-cvs-subtitles.diff.gz I applied this one and now I have subtitles on remote computer (vdr+streamdev+xineliboutput). Thanks goes to RoFa. > 2) DVB Subtitles on a VDR VTP client using vdr-plugin-subtitles: > Seems to work, but streamdev seems to be buggy and crashes often when > used like this (works better when you enable the "AllowSuspend" option > in the server). Haven't tried this one (didn't know that there was already support for this). But if this is somewhat buggy then I'll stick with the patch. But, seems that there can be multiple clients but they all have the same channel and OSD (local can also have own channel and OSD). To have centralized solution via streamdev it would require either multiple instances of VDR or streamdev server (internally preferably instead of multiple plugins). Multiple instances of VDR would not be nice solution thus streamdev should do this. Any plans regarding the support of multiple clients? Br, Pasi
Hi, Pasi Juppo wrote: > Is there any plans to have subtitle support for streamdev plugin? Or is > there by any chance a patch that provides it? I got dvb subtitles to work thanks to this tip (in Finnish) http://www.linuxtv.fi/viewtopic.php?t=2029&start=30&sid=29c463b7f0abe6a3c18ef54d9142cdbd Using multipid streaming and manual copying of plugins/subchannels.conf from server to client seems to do the trick! Cheers, Seppo
On Fri, 23 Mar 2007, Anssi Hannula wrote: > > 2) DVB Subtitles on a VDR VTP client using vdr-plugin-subtitles: > Seems to work, but streamdev seems to be buggy and crashes often when > used like this (works better when you enable the "AllowSuspend" option > in the server). > What streamdev version and where is it available ? (there are n+1 different patched versions around...) With current CVS version (vdr-developer.org) I have working subtitles, I just had to copy config files channels.conf and plugins/subchannels.conf from server to client. (I guess this is because of missing section filters ?). - Petri
On Fri, 23 Mar 2007, Seppo Ingalsuo wrote: > > I got dvb subtitles to work thanks to this tip (in Finnish) > http://www.linuxtv.fi/viewtopic.php?t=2029&start=30&sid=29c463b7f0abe6a3c18ef54d9142cdbd > > Using multipid streaming and manual copying of plugins/subchannels.conf from > server to client seems to do the trick! > No need for copying anymore: there's a patch to enable section filtering in streamdev (http://phivdr.dyndns.org/vdr/vdr-streamdev-patches/). Now clients can do full EPG scans and automatic channel list updates work :) - Petri
On Tue, 20 Mar 2007 22:18:31 +0200, Pasi Juppo wrote > > And are there any plans for streamdev to support HDTV (h.264 or > similar)? It should be possible to watch H.264 HDTV using HTTP TS streaming with the patch from http://phivdr.dyndns.org/vdr/vdr-streamdev-patches/testing/ - Petri
Petri Hintukainen <phintuka@users.sourceforge.net> writes: >> And are there any plans for streamdev to support HDTV (h.264 or >> similar)? > > It should be possible to watch H.264 HDTV using HTTP TS streaming with > the patch from > http://phivdr.dyndns.org/vdr/vdr-streamdev-patches/testing/ Hmm what about section filtering ? it seems section_filters-0.2.patch doesn't apply well on cvs version. is it possible to have both ? --
On Tue, 2007-04-03 at 15:20 +0200, syrius.ml@no-log.org wrote: > Petri Hintukainen <phintuka@users.sourceforge.net> writes: > > Hmm what about section filtering ? > it seems section_filters-0.2.patch doesn't apply well on cvs version. > is it possible to have both ? > I generated new patch against current CVS (section_filters-0.3.patch). It includes also HTTP TS PAT/PMT patch (it was quite impossible to create separate patches without collisions). - Petri
Petri Hintukainen <phintuka@users.sourceforge.net> writes: > On Tue, 2007-04-03 at 15:20 +0200, syrius.ml@no-log.org wrote: >> Petri Hintukainen <phintuka@users.sourceforge.net> writes: >> >> Hmm what about section filtering ? >> it seems section_filters-0.2.patch doesn't apply well on cvs version. >> is it possible to have both ? >> > > I generated new patch against current CVS (section_filters-0.3.patch). > > It includes also HTTP TS PAT/PMT patch (it was quite impossible to > create separate patches without collisions). Ok, Thanks a lot for this very quick patch. Unfortunatly it doesn't solve the issues i have with vtp. I'll have a look at the bug tracker to see if it has already been reported. Cheers --
syrius.ml@no-log.org writes: > Ok, Thanks a lot for this very quick patch. > > Unfortunatly it doesn't solve the issues i have with vtp. > I'll have a look at the bug tracker to see if it has already been > reported. Hm in fact the issues I have are with vdr 1.5.1 and VTP. I went back to 1.4 and vtp seems quite stable. thanks again. --
--- mplayer.c (revision 22763) +++ mplayer.c (working copy) @@ -3548,6 +3548,25 @@ edl_decision = 0; } +#if 1 + if(slave_mode){ + float position=0.0; + float time=0.0; + if(mpctx->demuxer->file_format==DEMUXER_TYPE_AVI && mpctx->sh_video->video.dwLength>2) { + // get pos from frame number / total frames + position=(float)mpctx->d_video->pack_no*100.0/(float)mpctx->sh_video->video.dwLength; + } + else { + off_t len = ( mpctx->demuxer->movi_end - mpctx->demuxer->movi_start ); + off_t pos = ( mpctx->demuxer->file_format == DEMUXER_TYPE_AUDIO?mpctx->stream->pos:mpctx->demuxer->filepos ); + if(len>0) position=( pos - mpctx->demuxer->movi_start ) * 100.0 / len; + } + if(mpctx->sh_video) time=mpctx->d_video->pts; + else if(mpctx->sh_audio) time=mpctx->delay; + mp_msg(MSGT_OSD,MSGL_ERR,"SLAVE: time=%.2f position=%.2f\r",time,position); + } +#endif + #ifdef HAVE_NEW_GUI if(use_gui){ guiEventHandling();