Re: RTMP/HLS in Nginx for 13.04

2012-11-17 Thread Reinhard Tartler
On Wed, Nov 14, 2012 at 1:20 PM, John Moser john.r.mo...@gmail.com wrote:

 Nod.  I'll have to work this out.  However it crashes in libavformat.so when
 using HLS, causing a segfault.  The developer (Roman) suggests using a newer
 version of ffmpeg (and NOT using libav); I'll have to try with newer libav.
 I've tried with the ffmpeg in PPA:

   https://launchpad.net/~jon-severinsson/+archive/ffmpeg

 but 0.10 is still too old (March?!).  Was hoping to test with ffmpeg 1.0
 and/or the latest libav.

See http://launchpad.net/~motumedia/+archive/libav9-raring/

Does your crash happen with that version of libavcodec as well? if
yes, please come to #libav-devel and let's discuss it there.

PS: As you can see, there is still quite some work to do until we can
have libav9 in raring. Help on that more than welcome, most of the
packages are rather easy to fix (missing #includes, update to use
newer API, etc.)


-- 
regards,
Reinhard

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


RTMP/HLS in Nginx for 13.04

2012-11-08 Thread John Moser
Can we look at adding this to nginx-extras?

http://rarut.wordpress.com/2012/06/25/hls-support-in-nginx-rtmp-16-2/

It's possibly not ready yet, but there's 5 months to go.  It's real simple
to get in the package.



Basically I added dependencies to debian/control:

Build-Depends:  add the below
   libavcodec-dev,
   libavformat-dev

You should also add libav to the dependencies.



To get the actual module source, I snagged:

https://github.com/arut/nginx-rtmp-module/archive/master.zip

and unzipped it to debian/modules/, changing the folder to
nginx-rtmp-module (instead of nginx-rtmp-module-master)



Then, debian/rules, under config.status.extras, I added this to ./configure:

--add-module=$(MODULESDIR)/nginx-rtmp-module \
--add-module=$(MODULESDIR)/nginx-rtmp-module/hls \
   $(CONFIGURE_OPTS) $@

(obviously, the last line was already there).



These have to go into debian/source/include-binaries:

debian/modules/nginx-rtmp-module/doc/video_file_format_spec_v10.pdf
debian/modules/nginx-rtmp-module/doc/rtmp-decoded.pdf
debian/modules/nginx-rtmp-module/test/rtmp-publisher/RtmpPlayer.swf
debian/modules/nginx-rtmp-module/test/rtmp-publisher/RtmpPublisher.swf
debian/modules/nginx-rtmp-module/test/www/jwplayer_old/player.swf
debian/modules/nginx-rtmp-module/test/www/jwplayer/player.swf




After that it's just dpkg-buildpackage -rfakeroot and you're good.  the
nginx-extras package includes rtmp and hls.

Viability?
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: RTMP/HLS in Nginx for 13.04

2012-11-08 Thread Clint Byrum
Excerpts from John Moser's message of 2012-11-08 11:45:19 -0800:
 Can we look at adding this to nginx-extras?
 
 http://rarut.wordpress.com/2012/06/25/hls-support-in-nginx-rtmp-16-2/
 
 It's possibly not ready yet, but there's 5 months to go.  It's real simple
 to get in the package.
 
 
 
 Basically I added dependencies to debian/control:
 

snip step by step

 After that it's just dpkg-buildpackage -rfakeroot and you're good.  the
 nginx-extras package includes rtmp and hls.
 
 Viability?

It sounds like you've done most of the hard work of prototyping the
package changes.

Perhaps the next step would be to submit this as a debdiff to the Debian
maintainer as a bug report.

On a related note, we're evaluating nginx for main this cycle.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss