You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Streaming Modules Installation Problem! Please HELP! Created Mar 22, 2009

This thread is solved

Views: 4306     Replies: 9     Last reply Aug 8, 2011  
You must login first before you can use this feature

Andria

Posts: 9

Registered:
Mar 22, 2009

Streaming Modules Installation Problem! Please HELP!

Posted: Mar 22, 2009

Hello!

I have instructed the support from my hosting company to install both H.264 and flash STREAMING modules for Apache (in my VPS) and they could not compile it.

The server runs on Centos 5, it was Apache 2.0.x and it did not work.

They have installed Apache 2.2.x and it still would not compile.

The support suggested that Debian would suit better for this.

Could you guys help on this please? I have no idea about Linux, therefore the hosting company seems to have great support. Still, any input from your side would be helpful and highly appreciated!

The modules in question are:
1. H264 Streaming Modulehttp://h264.code-shop.com/trac/wiki
2. mod flvhttp://tperspective.blogspot.com/2009/02/apache-flv-streaming-done-right.html

These modules are listed at Flowplayer Documentation page:http://flowplayer.org/plugins/streaming/pseudostreaming.html

Please guys help me out!

Thank you very much!

Andria

Posts: 9

Registered:
Mar 22, 2009

» Streaming Modules Installation Problem! Please HELP!

Posted: Mar 22, 2009

Reply to: Streaming Modules Installation Problem! Please HELP!, from Andria
Short update: the support has been able to install mod flv successfully!

But there still was a problem installing H.264
They have installed this too, but afterwards the apache server would not start :(

httpd: Syntax error on line 36 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_h264_streaming.so into server: /usr/local/apache/modules/mod_h264_streaming.so: undefined symbol: mp4_split

Any idea anyone?

Thx!

Anssi
Flowplayer Flash & video streaming developer

Posts: 1194

Registered:
Jul 24, 2007

» » Streaming Modules Installation Problem! Please HELP!

Posted: Mar 23, 2009

Reply to: » Streaming Modules Installation Problem! Please HELP!, from Andria
I've emailed Arjen from code-shop to look at this forum thread.

arjen

Posts: 21

Registered:
Feb 4, 2009

» » Streaming Modules Installation Problem! Please HELP!

Posted: Mar 23, 2009

Reply to: » Streaming Modules Installation Problem! Please HELP!, from Andria
Hi Andria,

I assume you have followed the instructions on:http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Apache-Version2.

It seems that both the necessary files weren't compiled/linked into the module (you're missing moov.c which defines the mp4_split function).

Could you post (or email to h264@code-shop) the output of the following command:

sudo apxs2 -c -i mod_h264_streaming.c moov.c

Thanks,

Arjen

Andria

Posts: 9

Registered:
Mar 22, 2009

» » » Streaming Modules Installation Problem! Please HELP!

Posted: Mar 23, 2009

Reply to: » » Streaming Modules Installation Problem! Please HELP!, from arjen
Hello Arjen!

Thank you very much for your fast reply! I indeed have overseen the link you have provided! (btw, the link got parsed with '.' (dot) in the URL giving 404)

Since I have no Linux abilities, I provide the support of my hosting company with urls. The one I have sent them was http://h264.code-shop.com/trac/wiki found at http://flowplayer.org/plugins/streaming/pseudostreaming.html

Obviously they have also not seen this instruction. I will update them with the new URL!

One more thing: in your post you say "both necessary" files? Which exactly are the necessary files? moov.c and apsx2? On the instruction page there is no mention of moov.c!

I try to sum up what everything is needed, please correct me if I am wrong:

1. h264 streaming (obviously)
2. aspx2
3. moov.c

PS: Could you kindly provide an url where to download moov.c? I googled for it but was not able to locate it. You can imagine for a non-linux person like me, much of the develper sites I run into are quite hard to follow and understand what is what.

PPS: will it be sufficient for my support to update them with the url http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Apache-Version2 or will they need something more?

Thank you very much for your help!

arjen

Posts: 21

Registered:
Feb 4, 2009

» » » » Streaming Modules Installation Problem! Please HELP!

Posted: Mar 23, 2009

Reply to: » » » Streaming Modules Installation Problem! Please HELP!, from Andria
Hi,

The download, installation and configuration instructions are all on that page, so stick to that. Just by following the instructions you should get the plugin up and running.

For example, the first commands listed there get you the necessary source files (including the moov.c file).


cd ~
svn export http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/apache apache_http_h264_streaming
svn export --force http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/mp4split apache_http_h264_streaming

I hope this helps,

Arjen

Andria

Posts: 9

Registered:
Mar 22, 2009

update

Posted: Mar 23, 2009

Reply to: » » » » Streaming Modules Installation Problem! Please HELP!, from arjen
Hello Arjen!

Thank you again for your help. I have provided the support with your post, but they were not fortunate enough to make it work.

I am quoting support's reply:

Dear Andria,

The command you have provided is possible only in debian OS systems.
You are using Centos version with cpanel.

The apxs binary for apache 2.2 is located as /usr/local/apache/bin/apxs.

Ralph and Larry tried compiling H264 using the binary /usr/local/apache/bin/apxs which produced error while apache restart.

Please contact the developer and get back to us with the exact steps to carry out the installation in Centos 5 version.

Looks like I will have to get along without seekable h.264 :(

arjen

Posts: 21

Registered:
Feb 4, 2009

» update

Posted: Mar 23, 2009

Reply to: update, from Andria
Hi,

I've just installed the plugin under Centos52.


sudo yum install httpd-devel
sudo yum install httpd mod_ssl
sudo /usr/sbin/apxs -c -i -a mod_h264_streaming.c moov.c
sudo vi /etc/httpd/conf/httpd.conf
Add the line
'AddHandler h264-streaming.extensions .mp4'
after the line
'LoadModule h264_streaming_module /usr/lib/httpd/modules/mod_h264_streaming.so'
sudo /etc/init.d/httpd start

This gives me a working Apache and a working mod_h264_streaming module.

It's hard to say what's going wrong in your case without seeing the actual commands you are running and its output.

Good luck,

Andria

Posts: 9

Registered:
Mar 22, 2009

» » update

Posted: Mar 23, 2009

Reply to: » update, from arjen
Arjen, it is amazing how supportive you have been!
Thank you very much!

I have sent the exact info to the support and now they have been able to install it!

Thank you once again!

Anssi, thank you too!