Off topic: How to set up Panda locally (specifically, MP4Box and neroAacEnc)

13 views
Skip to first unread message

Steffen

unread,
Oct 19, 2008, 4:04:04 PM10/19/08
to Panda
I've been trying to install panda on a local Debian box, and no matter
which approach I take (package, custom compile, ....) I end up with
segfaults i gpac/MP4Box when I add the audio part of the mp4. However,
magically everything works perfectly when using the version on the
Panda AMI ;-)

Also I haven't found the magic bullet for installing neroAacEnc on my
local machine.

Could you guys help me with a little insight into how the compilation
was done? A few one-liners from your notes perhaps?


Thank you so much,
Steffen

Makoto Inoue

unread,
Oct 22, 2008, 6:31:28 AM10/22/08
to panda...@googlegroups.com
Hi, Steffen.

Here is the config which Damien used to setup Initial Panda AMI.

---
FFMPEG
---
Compile ffmpeg with h264 support (debian doesn't include it)
http://www.jbkempf.com/blog/post/2007/10/04/Build-vlc-under-a-fresh-sid

./configure --enable-libx264 --enable-gpl --enable-libfaad
--enable-libfaac --enable-swscaler --enable-pp --enable-libmp3lame
--enable-libamr-nb --enable-libamr-wb --enable-liba52
--enable-libtheora --enable-libvorbis  --enable-libxvid
Codecs I need to add: qdm2, vp6f

Extra stuff for flash h264
install gpac and nero's aac encoder
http://massanti.com/2007/09/28/encoding-h264-video-aac-plus-audio-for-flash/

GPAC
sh ./configure --enable-sdl-static
make install-lib && make && make install

CODECS
----

X264
svn co svn://svn.videolan.org/x264/trunk x264
./configure --enable-mp4-output --enable-shared
make && make install

AMR (samr)
http://ftp.penguin.cz/pub/users/utx/amr/

FAAC
libfaa

A52
http://liba52.sourceforge.net/downloads.html

ALAC
http://craz.net/programs/itunes/alac.html

THEORA etc...
http://www.theora.org/downloads/
apt-get install libtheora0 libtheora-dev libvorbis0a libvorbis-dev

---

apt-get install ffmpeg libavcodec0d libavformat0d libavifile-0.7c2
libpostproc0d libasound2-plugins avifile-player avifile-utils
avifile-mad-plugin avifile-mjpeg-plugin avifile-vorbis-plugin
zlib1g-dev automake sysutils libtool libfaac-dev yasm

Compile nginx with upload progress module
(http://blog.new-bamboo.co.uk/2008/2/29/using-the-nginx-upload-progress-module-with-safari)
./configure --with-http_flv_module
--add-module=/root/nginx_uploadprogress_module_safari_fix
--without-http_rewrite_module --with-debug --without-http_gzip_module

Compile zlib

Grab libs required to compile ruby
apt-get build-dep ruby

Compile ruby 1.8.6 (merb needs this) and rubygems

gem i -y merb rvideo SQS flvtool2 rails daemons log4r json
merb_helpers merb_activerecord
aws-s3 rspec

Makoto

EdwardOG

unread,
Oct 22, 2008, 2:18:17 PM10/22/08
to Panda
Hi Steffen and Makoto,

Take a look at this patch I wrote to use ffmpeg and faac instead of
Nero’s aac encoder and MP4Box: http://github.com/edward/panda/commit/e72d9e47777d663041f6b0eb64cac7a2b475ebab

On Oct 22, 6:31 am, "Makoto Inoue" <mak...@new-bamboo.co.uk> wrote:
> Hi, Steffen.
>
> Here is the config which Damien used to setup Initial Panda AMI.
>
> ---
> FFMPEG
> ---
> Compile ffmpeg with h264 support (debian doesn't include it)http://www.jbkempf.com/blog/post/2007/10/04/Build-vlc-under-a-fresh-sid
>
> ./configure --enable-libx264 --enable-gpl --enable-libfaad
> --enable-libfaac --enable-swscaler --enable-pp --enable-libmp3lame
> --enable-libamr-nb --enable-libamr-wb --enable-liba52
> --enable-libtheora --enable-libvorbis  --enable-libxvid
> Codecs I need to add: qdm2, vp6f
>
> Extra stuff for flash h264
> install gpac and nero's aac encoderhttp://massanti.com/2007/09/28/encoding-h264-video-aac-plus-audio-for...
>
> GPAC
> sh ./configure --enable-sdl-static
> make install-lib && make && make install
>
> CODECS
> ----
>
> X264
> svn co svn://svn.videolan.org/x264/trunk x264
> ./configure --enable-mp4-output --enable-shared
> make && make install
>
> AMR (samr)http://ftp.penguin.cz/pub/users/utx/amr/
>
> FAAC
> libfaa
>
> A52http://liba52.sourceforge.net/downloads.html
>
> ALAChttp://craz.net/programs/itunes/alac.html
>
> THEORA etc...http://www.theora.org/downloads/
> apt-get install libtheora0 libtheora-dev libvorbis0a libvorbis-dev
>
> ---
>
> apt-get install ffmpeg libavcodec0d libavformat0d libavifile-0.7c2
> libpostproc0d libasound2-plugins avifile-player avifile-utils
> avifile-mad-plugin avifile-mjpeg-plugin avifile-vorbis-plugin
> zlib1g-dev automake sysutils libtool libfaac-dev yasm
>
> Compile nginx with upload progress module
> (http://blog.new-bamboo.co.uk/2008/2/29/using-the-nginx-upload-progres...
> )

Damien Tanner

unread,
Nov 12, 2008, 9:07:00 AM11/12/08
to panda...@googlegroups.com
Awesome! Will merge in soon.

Kind Regards,
Damien Tanner
Co-Founder and Director, New Bamboo

Creating fresh, flexible and fast-growing web applications is our passion.

+44 (0)78 6312 7999
+44 (0)20 7099 7486
http://www.new-bamboo.co.uk

Reply all
Reply to author
Forward
0 new messages