From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 29 20:29:21 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D62A9489; Fri, 29 Nov 2013 20:29:21 +0000 (UTC) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 309AE1DD4; Fri, 29 Nov 2013 20:29:21 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id y1so5174819lam.39 for ; Fri, 29 Nov 2013 12:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3Sg/aD8zUATiEjtmWG88BTZp6pGbF2l7liCz+yIM2wA=; b=Q2NyUF3a7gdFr1Mb1+yLmsRlJXWSsFjrZSBOKt/N/1huVyVUK61LidT2L7Lw3PNTYA 6ByprCF5rjeg4jwGFYoFBztT1PRLC5lZe7hnqJDD7OOiw2JMSbzle7paf9VSEycoTrka QLdV4kg1aMrTkz5357x9HGHe3iMkXIHAQTHM6y2kfdMAqgXViwv+WZzWj1DXtlqLhrPA IihCpF4FjYmf1MbSZ1VLpSvrPhslKL6znP+saNLqvbvn3ax78HlfLghUgI/aCtB9VHwD hce5dq9Lqm/JVlLdw83tG7VHXZxznftv2zn/tulCaiwIc6AjimKSpBQ5VYevA2VCiLKi /xXg== MIME-Version: 1.0 X-Received: by 10.152.20.6 with SMTP id j6mr36162652lae.8.1385756959272; Fri, 29 Nov 2013 12:29:19 -0800 (PST) Received: by 10.152.130.193 with HTTP; Fri, 29 Nov 2013 12:29:19 -0800 (PST) In-Reply-To: <20131129180717.GA30379@enceladus10.kn-bremen.de> References: <20131128232053.GA19413@enceladus10.kn-bremen.de> <20131129180717.GA30379@enceladus10.kn-bremen.de> Date: Fri, 29 Nov 2013 21:29:19 +0100 Message-ID: Subject: Re: livestreamer port; anyone want to help porting python-librtmp? From: Olivier Duchateau To: Juergen Lock Content-Type: text/plain; charset=ISO-8859-1 Cc: multimedia-list freebsd , William Grzybowski , freebsd-python@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2013 20:29:22 -0000 2013/11/29 Juergen Lock : > On Thu, Nov 28, 2013 at 10:42:18PM -0200, William Grzybowski wrote: >> On Thu, Nov 28, 2013 at 9:57 PM, William Grzybowski wrote: >> > Hi, >> > >> > I can do it, give me a day or so ;) >> >> >> Actually, done! :) >> >> Your livestreamer port looks OK at a quick glance, you can remove >> NO_STAGE, python ports are stage ready. >> > Thanx! > > Turns out tho python-librtmp needs python singledispatch too: > > https://pypi.python.org/pypi/singledispatch > > Preliminary port: > > http://people.freebsd.org/~nox/tmp/py-singledispatch.shar > > And I updated the livestreamer shar too: > > http://people.freebsd.org/~nox/tmp/livestreamer.shar > > Index: multimedia/py-librtmp/Makefile > =================================================================== > --- multimedia/py-librtmp/Makefile (revision 335161) > +++ multimedia/py-librtmp/Makefile (working copy) > @@ -15,6 +15,7 @@ > > LIB_DEPENDS= librtmp.so:${PORTSDIR}/multimedia/librtmp > BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:${PORTSDIR}/devel/py-cffi > +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}singledispatch>=0:${PORTSDIR}/devel/py-singledispatch > > CFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib > > Does this look ok to commit? > > Thanx again, :) > Juergen > > PS: With these livestreamer plays rtmp ustream links too so you can > watch say NASA TV: > > livestreamer http://www.ustream.tv/channel/nasa-hd-tv > > (to list the available streams) > > livestreamer http://www.ustream.tv/channel/nasa-hd-tv 360p > > (to play one of them in vlc, or:) > > livestreamer -p mplayer http://www.ustream.tv/channel/nasa-hd-tv 360p > > (to play the same in mplayer.) > _______________________________________________ > freebsd-python@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-python > To unsubscribe, send any mail to "freebsd-python-unsubscribe@freebsd.org" Myself, I'm working on py-librtmp (before split of multimedia/rtmpdump). Singledispatch is only needed for Python < 3.4.0. Here my ports: - devel/py-cffi http://code.google.com/p/olivier-freebsd-ports/source/browse/devel/py-cffi/ - devel/py-singledispatch http://code.google.com/p/olivier-freebsd-ports/source/browse/devel/py-singledispatch/ - multimedia/py-librtmp http://code.google.com/p/olivier-freebsd-ports/source/browse/multimedia/py-librtmp/ Regards -- olivier