Jump to content


Photo
- - - - -

Apache streaming mods (FLV,X-264) + mod-auth-token


  • Please log in to reply
2 replies to this topic

#1 vakuum

vakuum

    Junior Member

  • Members
  • Pip
  • 14 posts

Posted 22 April 2016 - 03:15 AM

How do i install (FLV,X-264) + mod-auth-token ? please help me :)



#2 desihoes

desihoes

    Senior Member

  • Members
  • PipPipPipPip
  • 380 posts

Posted 09 May 2016 - 03:02 AM

Mod Auth Token

cd /usr/src
wget http://mod-auth-token.googlecode.com/files/mod_auth_token-1.0.5.tar.gz
tar -xvzf mod_auth_token-1.0.5.tar.gz
cd mod_auth_token-1.0.5
rm -f configure
autoreconf -fi
automake -f
./configure
make
make install

FLV

cd /usr/src
wget https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&ved=0ahUKEwiatKDb_8vMAhWKXRQKHSWPCn0QFggpMAI&url=http%3A%2F%2Fpeople.apache.org%2F~pquerna%2Fmodules%2Fmod_flvx.c&usg=AFQjCNHHDLvnafkiZgz0ESjWgE8vkF-aww&cad=rja
apxs -c -i ./mod_flvx.c

X-264

cd /usr/src
wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz
tar -xvzf apache_mod_h264_streaming-2.2.7.tar.gz
cd mod_h264_streaming-2.2.7
./configure --with-apxs=`which apxs2`
make
make install

Add the following to apache conf file:

LoadModule auth_token_module modules/mod_auth_token.so
LoadModule flvx_module modules/mod_flvx.so
LoadModule h264_streaming_module modules/mod_h264_streaming.so


AddHandler flv-stream .flv
AddHandler h264-streaming.extensions .mp4

Edited by desihoes, 09 May 2016 - 03:03 AM.


#3 dargre

dargre

    Senior Member

  • Members
  • PipPipPipPipPip
  • 991 posts

Posted 09 May 2016 - 03:27 PM

mod_auth_token installation is useless and not needed if download rules and secret path/token not configured and player configuration code not prepared.


VIDEO.JS - best HTML5 player in the world for AVS script

NUEVOPLAYER 8 - best flash+html5 player for video scripts
Mods, custom code by NuevoLab (Search Suggest, Multiple image upload, Seo mods,and much more)