livestreamer port; anyone want to help porting python-librtmp?

Olivier Duchateau duchateau.olivier at gmail.com
Fri Nov 29 20:29:22 UTC 2013


2013/11/29 Juergen Lock <nox at jelal.kn-bremen.de>:
> On Thu, Nov 28, 2013 at 10:42:18PM -0200, William Grzybowski wrote:
>> On Thu, Nov 28, 2013 at 9:57 PM, William Grzybowski <william88 at gmail.com> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscribe at 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


More information about the freebsd-multimedia mailing list