From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 29 19:17:57 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27A96C10; Fri, 29 Nov 2013 19:17:57 +0000 (UTC) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C81D51A65; Fri, 29 Nov 2013 19:17:56 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id k4so2164020qaq.15 for ; Fri, 29 Nov 2013 11:17:56 -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=6gyyICwnjF8k6TJO4DsjTeq8ZcOwYKZod1dLHDP5NYw=; b=1JqdL7uOP6ZbtSh6jpbLlCPc+X1y8ZB5hLmUio/0LaBpxtaWSu7dAsAwEfnrlH+Wi3 4iGyFEp2msv6czbzLLQWts/clwoH5t7LHoQFxLBiD8lHUUSzkjJP1ZlUJBF4spMozudV JA7kAfDTih3iaszeLGrggNELsJI3+SnK/wyswP5qEPNu/kjbp14QfQY5F7dG6jy18pk4 JrSrV5onVPLhSFCWSZo4ni7ZQqw7lcxcz+KLVAKLjAOJ1+tPNEkjRVFF3EtRxBhe9uCr 3tYjH4BgVcvRrGeLGtrQzcajHVid367f/f73fiNQFdARpYBaDfxnNP0csi1Kou2uqS9C +WQA== MIME-Version: 1.0 X-Received: by 10.229.5.4 with SMTP id 4mr89419941qct.2.1385752675928; Fri, 29 Nov 2013 11:17:55 -0800 (PST) Received: by 10.140.81.233 with HTTP; Fri, 29 Nov 2013 11:17:55 -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 17:17:55 -0200 Message-ID: Subject: Re: livestreamer port; anyone want to help porting python-librtmp? From: William Grzybowski To: Juergen Lock Content-Type: text/plain; charset=ISO-8859-1 Cc: multimedia-list freebsd , 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 19:17:57 -0000 Hi, yes, it is looking good. On Fri, Nov 29, 2013 at 4:07 PM, Juergen Lock wrote: > 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.) -- William Grzybowski ------------------------------------------ Curitiba/PR - Brasil