Status: New
Owner: ----
New issue 684 by plundis@areaindex.com: FFMpeg / Streaming features in
Cherokee - problems in Ubuntu 9.xx
http://code.google.com/p/cherokee/issues/detail?id=684
Read the docs for streaming audio/video in Cherokee and watched the
screencast about this. Seemed very simple. It however, does not work this
easy in Ubuntu and Debian based OS'es.
For Debian / Ubuntu based installs we need to make sure folks have FFMpeg
installed, functional and detected at install time by Cherokee.
Debian / Ubuntu does not have ffmpeg-dev package available (Thanks to
Stefan for pointing out this package) that is required for the streaming
functionality in Cherokee. Parts of this package are in other packages, but
unsure of what is needed and what packages might work if any to install.
Solution so far is to reinstall FFMpeg from source following the
instructions here:
http://ubuntuforums.org/showthread.php?t=786095
(be sure to copy the complete line at each step as the commands trail far
off to the right)
After doing such and starting the Unix installation steps for Cherokee you
should find that after the initial step:
./configure --localstatedir=/var \
--prefix=/usr \
--sysconfdir=/etc \
--with-wwwroot=/var/www
-In the output: FFMpeg Yes
Great FFMpeg is there and Cherokee can find it. Continue with you source
install for Cherokee. Hopefully all compiles fine.
Following these steps we have one totally new Cherokee installation that
completed without error and one existing installation that failed to
compile during the Cherokee make step.
The failed compile is running Ubuntu 9.10 x64:
mv -f ".libs/libplugin_streaming.expT" ".libs/libplugin_streaming.exp"
echo "{ global:" > .libs/libplugin_streaming.ver
cat .libs/libplugin_streaming.exp | sed -e "s/\(.*\)/\1;/" >>
.libs/libplugin_streaming.ver
echo "local: *; };" >> .libs/libplugin_streaming.ver
gcc -std=gnu99 -shared .libs/libplugin_streaming_la-handler_streaming.o
-lavformat -lavcodec -lavutil -lm -lcrypto -ldl -Wl,-soname
-Wl,libplugin_streaming.so -Wl,-version-script
-Wl,.libs/libplugin_streaming.ver -o .libs/libplugin_streaming.so
/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation
R_X86_64_32 against `aac_demuxer' can not be used when making a shared
object; recompile with -fPIC
/usr/local/lib/libavformat.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libplugin_streaming.la] Error 1
I will test this on a duplicate machine (same hardware and OS) to see if
machine / install specific or if the error is 64-bit issue.
Neither of our installations have yet to tested to see if the actual
streaming functionality works in Cherokee at this point. Time for bed.
Will test the streaming tomorrow.
Feel free to submit comments if you are on Debian based OS and have
streaming working in another way.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev
Owner: ----
New issue 684 by plundis@areaindex.com: FFMpeg / Streaming features in
Cherokee - problems in Ubuntu 9.xx
http://code.google.com/p/cherokee/issues/detail?id=684
Read the docs for streaming audio/video in Cherokee and watched the
screencast about this. Seemed very simple. It however, does not work this
easy in Ubuntu and Debian based OS'es.
For Debian / Ubuntu based installs we need to make sure folks have FFMpeg
installed, functional and detected at install time by Cherokee.
Debian / Ubuntu does not have ffmpeg-dev package available (Thanks to
Stefan for pointing out this package) that is required for the streaming
functionality in Cherokee. Parts of this package are in other packages, but
unsure of what is needed and what packages might work if any to install.
Solution so far is to reinstall FFMpeg from source following the
instructions here:
http://ubuntuforums.org/showthread.php?t=786095
(be sure to copy the complete line at each step as the commands trail far
off to the right)
After doing such and starting the Unix installation steps for Cherokee you
should find that after the initial step:
./configure --localstatedir=/var \
--prefix=/usr \
--sysconfdir=/etc \
--with-wwwroot=/var/www
-In the output: FFMpeg Yes
Great FFMpeg is there and Cherokee can find it. Continue with you source
install for Cherokee. Hopefully all compiles fine.
Following these steps we have one totally new Cherokee installation that
completed without error and one existing installation that failed to
compile during the Cherokee make step.
The failed compile is running Ubuntu 9.10 x64:
mv -f ".libs/libplugin_streaming.expT" ".libs/libplugin_streaming.exp"
echo "{ global:" > .libs/libplugin_streaming.ver
cat .libs/libplugin_streaming.exp | sed -e "s/\(.*\)/\1;/" >>
.libs/libplugin_streaming.ver
echo "local: *; };" >> .libs/libplugin_streaming.ver
gcc -std=gnu99 -shared .libs/libplugin_streaming_la-handler_streaming.o
-lavformat -lavcodec -lavutil -lm -lcrypto -ldl -Wl,-soname
-Wl,libplugin_streaming.so -Wl,-version-script
-Wl,.libs/libplugin_streaming.ver -o .libs/libplugin_streaming.so
/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation
R_X86_64_32 against `aac_demuxer' can not be used when making a shared
object; recompile with -fPIC
/usr/local/lib/libavformat.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libplugin_streaming.la] Error 1
I will test this on a duplicate machine (same hardware and OS) to see if
machine / install specific or if the error is 64-bit issue.
Neither of our installations have yet to tested to see if the actual
streaming functionality works in Cherokee at this point. Time for bed.
Will test the streaming tomorrow.
Feel free to submit comments if you are on Debian based OS and have
streaming working in another way.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev