• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Problem setting up AMS with external APACHE

New Here ,
Jun 16, 2013 Jun 16, 2013

Copy link to clipboard

Copied

I have been reading for days online switching back and forth between using Adobe Media server(AMS) and RED5, The lack of documentation related to RED5 led me to adobe.

All i need is video streaming for mp4 video files to work on my current website i have set up.

My local host is 192.168.1.13

I downloaded AdobeMediaServer_5_LS1_win64.exe (free version).

Installed with apache (to get the dll files i needed listed on this page http://help.adobe.com/en_US/flashmediaserver/configadmin/WSd391de4d9c7bd6093a7e2f8312a374a1bde-8000...)

The files are:

  • rootinstall/Apache2.2/modules/adbe_dme.dll
  • rootinstall/Apache2.2/modules/adbe_license.dll
  • rootinstall/Apache2.2/modules/asneu.dll
  • rootinstall/Apache2.2/modules/hds.dll
  • rootinstall/Apache2.2/modules/libeay32.dll
  • rootinstall/Apache2.2/modules/libexpat.dll
  • rootinstall/Apache2.2/modules/mod_f4fhttp.so
  • rootinstall/Apache2.2/modules/mod_hlshttp.so
  • rootinstall/Apache2.2/modules/mod_jithttp.so

Copied ALL of those files into my existing apache modules folder

Unistalled AMS, Then Reinstalled using default ports (port 80 collides with port 80 set up by apache but i am ignoring that for now).

     Im ignoring the collision with port 80 because, i believe i dont need the AMS service to be running on my pc if i set it up with my current apache?

Then i went to my current apache htppd.conf file located at (C:\xampp\apache\conf\httpd.conf)

Added the module line:

LoadModule f4fhttp_module modules/mod_f4fhttp.so

<IfModule f4fhttp_module>

<Location /hds-live>

    HttpStreamingEnabled true

    HttpStreamingLiveEventPath "C:\xampp\htdocs\site\archives\01_archive\streaming"

    HttpStreamingContentPath "C:\xampp\htdocs\site\archives\01_archive\streaming"

    HttpStreamingF4MMaxAge 2

    HttpStreamingBootstrapMaxAge 2

    HttpStreamingFragMaxAge -1

    HttpStreamingDrmmetaMaxAge 3600

    Options -Indexes FollowSymLinks

</Location>

</IfModule>

I have no clue what this module is doing but i copy and pasted the code from (http://help.adobe.com/en_US/flashmediaserver/configadmin/WSd391de4d9c7bd6093a7e2f8312a374a1bde-8000....).

I know port 80 is colliding with the apache used in my xampp server so i go to my computers services and turn off Adobe media server (because my current thought is that i wont need the service because i am installing it on my current apache server).

Then I attempt to start apache from xampp and it refuses to start with out saying that it failed, aswell as not showing any errors in the error log.

BUT, when i change LoadModule f4fhttp_module modules/mod_f4fhttp.so to #LoadModule f4fhttp_module modules/mod_f4fhttp.so the error goes away and apache starts.

QUICKLIST:

1). Do i need Adobe Media server to be running in my services if i am using an external apache?

2). Why won't my apache start?

3). What ports should i use while installing my AMS if i am going to use an external apache?

My answers correct me if i am wrong:

1). Pupils whom are setting up AMS with an external Apache server are installing the AMS on that server, so the need for the AMS service to be running is not needed.

2). My theory of why AMS is not running is because the line LoadModule f4fhttp_module modules/mod_f4fhttp.so is calling the the line is succeeding the conditioned module / function one a syntax is incorrect, though this is unlikely due to adobe provide this code themselves.

3).Pupils setting up an external apache with AMS should not use port 80, because it will collide with your apache server for http.

Any help/guidance is apeciated i am new to AMS, but i believe i have provided every possible detail that could solve my issues. Hours of meaningful research will continue until i find the solution.

Views

3.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 16, 2013 Jun 16, 2013

Copy link to clipboard

Copied

i corrected my lines:

HttpStreamingLiveEventPath "C:\Program Files\Adobe\Adobe Media Server 5\applications"
HttpStreamingContentPath "C:\Program Files\Adobe\Adobe Media Server 5\applications"

i originally misunderstood what they meant but the problem persist.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 16, 2013 Jun 16, 2013

Copy link to clipboard

Copied

Hello,

First to solve your problem. I am assuming your apache installation on windows is 32 bit because the Apache modules that ship with AMS are all 32 bit.

Also, do you see mod_ctrlplane.so in the bundled Apache? You need to copy that as well.

If the use case just to be able to play mp4 files, you don't need AMS service running.

-Karishma

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2013 Jun 17, 2013

Copy link to clipboard

Copied

My OS is windows 8 64 bit, but i downloaded the 32 bit

I copied the file you requested mod_ctrlplane.so and still no luck, apache WILL NOT START.

I get an error of:

3:55:14 AM  [Apache] Error: Apache shutdown unexpectedly.
3:55:14 AM  [Apache] This may be due to a blocked port, missing dependencies,
3:55:14 AM  [Apache] improper privileges, a crash, or a shutdown by another method.
3:55:14 AM  [Apache] Check the "/xampp/apache/logs/error.log" file
3:55:14 AM  [Apache] and the Windows Event Viewer for more clues

I am not to sure what any of that jibberish means but after copying the file i did not update the module, in httd.conf.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 17, 2013 Jun 17, 2013

Copy link to clipboard

Copied

So did Apache not start or you are getting error when your request is being served? Because I see Apache writing errors when you call loadvid.php...so it must be up to write that.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 17, 2013 Jun 17, 2013

Copy link to clipboard

Copied

Also can you change the logLevel to info in httpd.conf? I don't see any AMS Apache module logs here

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2013 Jun 17, 2013

Copy link to clipboard

Copied

apache is still refusing to start my error log says this, but i think that its because i was spam clicking the start button.

XAMPP ERROR LOG

[Mon Jun 17 04:11:26.006397 2013] [core:warn] [pid 240:tid 320] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Mon Jun 17 04:11:26.391406 2013] [ssl:warn] [pid 240:tid 320] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]

[Mon Jun 17 04:11:26.441408 2013] [mpm_winnt:notice] [pid 240:tid 320] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations

[Mon Jun 17 04:11:26.441408 2013] [mpm_winnt:notice] [pid 240:tid 320] AH00456: Server built: Aug 18 2012 12:41:37

[Mon Jun 17 04:11:26.441408 2013] [core:notice] [pid 240:tid 320] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'

[Mon Jun 17 04:11:26.441408 2013] [mpm_winnt:notice] [pid 240:tid 320] AH00418: Parent: Created child process 4340

[Mon Jun 17 04:11:27.511435 2013] [ssl:warn] [pid 4340:tid 316] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]

[Mon Jun 17 04:11:27.561436 2013] [mpm_winnt:notice] [pid 4340:tid 316] AH00354: Child: Starting 150 worker threads.

I think a run down of the instructions of installing AMS with a xampp would help a lot, preferably if its done by video. 😕 totally understandable if you dont have the time.

I can get ams to run on its own as its own but i just want to connect my apache to AMS so i can load videos on demand on my website rather then using progressive downloading.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 17, 2013 Jun 17, 2013

Copy link to clipboard

Copied

What makes you say Apache didn't start? You don't see it running in task manager?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2013 Jun 17, 2013

Copy link to clipboard

Copied

no in xampp there is a button that says start for starting apache ( not the apache that came with AMS but the one i am trying to configure to work with AMS for my website )  and when i click it, i get the erros and apache does not start.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2013 Jun 17, 2013

Copy link to clipboard

Copied

but thats only when i have the modules like this ( listed on http://help.adobe.com/en_US/flashmediaserver/configadmin/WSd391de4d9c7bd6093a7e2f8312a374a1bde-8000.... )

LoadModule f4fhttp_module modules/mod_f4fhttp.so

<IfModule f4fhttp_module>

<Location /hds-live>

    HttpStreamingEnabled true

    HttpStreamingLiveEventPath "../applications"

    HttpStreamingContentPath "../applications"

    HttpStreamingF4MMaxAge 2

    HttpStreamingBootstrapMaxAge 2

    HttpStreamingFragMaxAge -1

    HttpStreamingDrmmetaMaxAge 3600

    Options -Indexes FollowSymLinks

</Location>

</IfModule>

if i remove them all is well, but i do not believe that streaming video on demand would be working ( 80% sure since that would just mean i only copied files from my modules folder into my sites module folder after installing AMS without installing its packaged apache and not listening to port 80).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 17, 2013 Jun 17, 2013

Copy link to clipboard

Copied

Ok but nothing in the log says that Apache didn't start.

Just to play a mp4 file, you can comment this. But then you get only the capability to play mp4 files and not hds live.

Unfortunately I can't provide you any instructions with xampp. From AMS perspective this should work.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2013 Jun 17, 2013

Copy link to clipboard

Copied

im going to go to bed, ive been up for 58 hours trying to get this to work, i will make a video showing my issue my installation process in the morning. check back in tomarrow?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2013 Jun 17, 2013

Copy link to clipboard

Copied

LATEST

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines