Recording video works, but without audio
  • Uploading videos only works in rare occasions
  • [li]Upload..." />

    Forums

    John
    John
    Offline
    Resolved
    0 votes
    Hi all,

    This is "how to" install Boonex Dolphin Community 7 on ClearOS.
    When following these steps you will be able to run a functional community, but with the following limitations, due to incompatibility issues with FFmpeg:

  • Recording video works, but without audio

  • Uploading videos only works in rare occasions

  • Uploading (audio / other) files does not work

  • Saving of the Whiteboard does not work

  • I cannot confirm if in the latest version (7.0.3 - 29th of September 2010), these issues have been addressed, so using it now is at your own risk.
    More details about future updates are on the Roadmap.


    You can chose to follow the official instructions, but the following are specifically meant for a ClearOS box!

    What is Dolphin Community software version 7 ... ?!?
  • YouTube video (4 min)

  • Demos and Case Studies

  • Download Video Tutorial - How to Install Dolphin 6 (11,2Mb)

  • Detailed Install Information

  • Technical Requirements

  • Tools used
  • WinSCP (How to connect with WinSCP)

  • PuTTy (How to connect with PuTTy)

  • Tips:
    Make nano your default editor (thanks to Keith Osburn):
    # EDITOR=nano
    # export EDITOR
    How to configure a virtual host for LAN local access only. (Thanks to Tim Burgess):
    This assumes that ClearOS is your gateway device, and provides DHCP for your LAN clients
    [ol]
  • IP Settings > DHCP Server > Edit LAN interface, check that DNS #1 IP is set to clearos local IP ONLY, #2 and #3 should be empty

  • Check your Clients can ping ClearOS local IP

  • Webconfig > Webserver > Click Add virtual host

  • Fill in your site name...e.g. mytestsite.domain.com. Make a note of the document root, this is where you need to save your site

  • Network > Local DNS server, Click EDIT on your ClearOS LAN IP, and add another alias to your LAN IP, so that it now also includes your virtual domain name...so that it looks like
    192.168.1.1
    clearos.default.domain
    mytestsite.domain.com

  • Check your Clients can now ping your virtual host domain name. If they can't then your DNS setup is wrong
    ping mytestsite.domain.com

  • Create a dummy file in /var/www/virtual/mytestsite.domain.com called index.html with:
    <HTML>
    <BODY>
    TEST SITE - THIS SHOULD APPEAR IN YOUR BROWSER
    </BODY>
    </HTML>
  • Point your browser at mytestsite.domain.com
  • [/ol]
    From experience most website problems are DNS related and a result of mis-configured networks.


    Preperations
    Ok here we go ...

    Confirm Technical Requirements (Thanks to deadkatz):
    Check the following in "/etc/php.ini":
  • register_globals = Off

  • safe_mode = Off

  • allow_url_fopen = On

  • allow_url_include = Off

  • open_basedir = <empty>
    (At least 128 Mb or higher.)

  • post_max_size = 8M
    (At least 52M or higher)

  • upload_max_filesize = 2M
    (At least 52M or higher)

  • If some security module is installed on the server (such as mod_security for Apache), it should be able to be disabled or set up for specific folders.
    (mod_security is not installed by default.)

  • Sendmail or Postfix programs for sending emails
    (details might follow at a later time)

  • After making these changes, apply the following command to implement them: service httpd restart

    Install PHP 5.2 (Thanks to Tim Burgess):
    # yum -y install autoconf
    # yum -y install automake
    # yum -y install net-snmp
    # wget ftp://download.clearfoundation.com/community/timb80/php-5.2.10/*.rpm
    # rpm -Uvh php-5.2.10-1.i386.rpm php-bcmath-5.2.10-1.i386.rpm php-cli-5.2.10-1.i386.rpm php-common-5.2.10-1.i386.rpm php-dba-5.2.10-1.i386.rpm php-devel-5.2.10-1.i386.rpm php-gd-5.2.10-1.i386.rpm php-imap-5.2.10-1.i386.rpm php-ldap-5.2.10-1.i386.rpm php-mbstring-5.2.10-1.i386.rpm php-mysql-5.2.10-1.i386.rpm php-ncurses-5.2.10-1.i386.rpm php-pdo-5.2.10-1.i386.rpm php-snmp-5.2.10-1.i386.rpm php-soap-5.2.10-1.i386.rpm php-xml-5.2.10-1.i386.rpm php-xmlrpc-5.2.10-1.i386.rpm

    Upgrade to the latest PHP (currently 5.3.8):
    # yum --enablerepo=timb-testing install php-xml php-gd
    # service httpd restart

    Install Java:
    I was unable to install the ".rpm" version, so I used the ".bin" version.
    Download the "Linux (self-extracting file)" and follow the Instructions.
    Use to following command to confirm a successful extraction:
    # ls -l

    Download Dolphin Community 6.1.6(ffmpeg.exe), -7 and RMS (Ray Media Server):
    Download page

    Unzip and copy the Dolphin 7 files too for example:
    [quote]/var/www/html/
    /var/www/html/<community folder>
    /var/www/virtual/<your domain>.com/
    /var/www/virtual/<your domain>.com/<community folder>
    # cd /var/www/<path2community>
    # wget http://get.boonex.com/Dolphin-v.7.0
    # unzip -d . Dolphin-v.7.0
    Unzip Dolphin 6.1.6 to a temporary location and extract "ffmpeg.exe" to the following location (you could rename the original first):
    /var/www/<path2community>/flash/modules/global/app/
    Apply the following permission change on "ffmpeg.exe":
    # chmod -v 755 *.exe
    Unzip and copy the RMS files to for example (replace <rms> for the name of the install folder):
    /opt/<rms>

    Additionally I would like to add that when using a Flexshare for the Dolphin community, that the following setting should be applied:
    Allow [.htaccess] Override: Enabled
    [/quote]
    RMS (Ray Media Server):
    You should install RMS if you want the users to be able to [strike]upload files[/strike], record- & upload audio & video [strike]and save the Whiteboard[/strike]. (partly operational due to incompatibility "ffmpeg.exe" Dolphin 7 and ClearOS)
    Only when connecting from the Internet (like users) you need TCP port 1935 and 5080 to be opened/enabled in your firewall or iptables.
    Configuring RMS
    Make the following changes / additions to these files inside the Ray Media Server directory:
    access.dat
    <your domain>.com
    red5.sh
    JAVA_HOME=/usr/java/<path2java>;
    run_daemon.sh
    RAY_SERVER_PATH=/opt/<rms>;
    /opt/<rms>/webapps/<widget_name>/WEB-INF/red5-web.properties (board, chat, global, im, installer, root and video)
    webapp.virtualHosts=*, <your domain>.com:1935, <your domain>.com:5080
    Setting permissions for RMS files
    # cd /opt/<rms>
    # chmod -v 777 *.sh
    RMS Test Launch
    After finishing this how to, this is command will give feedback to confirm a successful install & configuration of the RMS server, when using video, audio, or flash.
    # ./red5.sh
    When successful, the output ends with this:
    [RAY notification] Application started Global Server
    [RAY notification] Application IM 3.5 was started
    [RAY notification - Video.init] Application Video was started
    [RAY notification - Board.init] Board application was started
    [RAY notification - Chat.init] Application chat 3.5 was started
    [INFO] [Launcher:/installer] org.red5.server.service.Installer - Installer service created
    Press <Ctrl> + "C" to stop (only one session can run at one time).

    Confirm that RMS started
    With this command you can confirm that RMS is running:
    # ps ax | grep red5
    Output when started looks similar to this:
    18247 pts/0    Sl+    0:55 /opt/red5new_555/jre1.x/bin/java -Djava.security.manager -Djava.security.policy=conf/red5.policy -cp red5.jar:conf:. org.red5.server.Standalone
    When not started the output looks similar to this:
    30678 pts/0    S+     0:00 grep red5
    Stopping RMS (only required for the runtime, otherwise press <Ctrl> + "C")
    Run the following command:
    # ps ax | grep <rms>
    Output example:
    18306 pts/1    S+     0:00 grep <rms>
    31516 pts/0 Sl+ 5:35 /usr/java/<path2java> -Dpython.home=lib -Dred5.root=/opt/<rms> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector -Dcatalina.useNaming=true -Djava.security.debug=failure -cp /opt/<rms>/boot.jar:/opt/<rms>/conf: org.red5.server.Bootstrap
    In the output example, the number 31516 is the <process ID>.
    Now you need to kill this process by running the following command:
    # kill -9 <process ID>
    Setting up RMS Runtime on Startup (No more feedback when testing recordings!)
    Add the following commands to "/etc/rc.local"
    cd /opt/<rms>
    ./run_daemon.sh
    Ray Base Settings for RMS
    Do this after finishing the browser install, to configure RMS from within the community site!
    http:// www.<your domain>.com/<path2community>/administration/flash.php
    Click "Settings"
    Ray Base Settings
    Use RMS: V
    RMS Address: <your domain>.com or <internet ip>
    RMS Port: 1935
    RMS HTTP Port: 5080
    ...
    Click "Save"
    Preferably use "<your domain>.com".
    The field length of "RMS Address" is limited, so when <your domain>.com is too long, you can enter your <internet ip> and ignore the notification. (Additionally you can also test your <clearos ip>;)
    Once you receive no notification, you have successfully tested the connection to your RMS.
    This test assumes that you are installing on a remote server.

    Install ImageMagick (Thanks to Tim Burgess):
    # yum install ImageMagick

    Install the compiler:
    # yum install gcc

    After installing these packages:
    # updatedb

    MySQL
    Start in the web interface "Server -> Database - MySQL", create a root password to login too MySQL and create a new user and database for Dolphin:
  • Menu tab "Privileges", button "Add New User"

  • Enter the username

  • host: Local - localhost

  • Enter a password and retype

  • Select "Create database with same name and grant all privileges" (databasename=username)

  • Select "Check All"

  • Select "Go"

  • This code was generated by MySQL:
    CREATE USER '<username>'@'localhost' IDENTIFIED BY '***';

    GRANT ALL PRIVILEGES ON * . * TO '<username>'@'localhost' IDENTIFIED BY '***' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;

    CREATE DATABASE IF NOT EXISTS `<username>` ;

    GRANT ALL PRIVILEGES ON `<username>` . * TO '<username>'@'localhost';
    Compile Apache server with "mod_rewrite" module (Thanks to Tim Burgess)
    Change the following in "/etc/httpd/conf/httpd.conf" on line 293 and 327 from
    AllowOverride None
    to
    AllowOverride All

    Restart the web server.
    # service httpd restart



    Install
    Now you are ready to start the install process in your browser:
    http:// www.<your domain>.com/<path2community>/install/index.php
    Click "Install".

    Permissions
    Change the file and folder permissions with the following commands:
    # cd /var/www/<path2community>

    Dolphin/Ray folders to be writable for script operation:
    # chmod -v 777 ./inc ./backup ./cache ./cache_public ./langs ./media/app ./media/images ./media/images/banners ./media/images/blog ./media/images/classifieds ./media/images/membership ./media/images/profile ./media/images/profile_bg ./media/images/promo ./media/images/promo/original ./tmp ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/HTML ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/CSS ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/Test ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/URI 
    # chmod -v 777 ./flash/modules/board/files ./flash/modules/chat/files ./flash/modules/photo/files ./flash/modules/im/files ./flash/modules/mp3/files ./flash/modules/video/files ./flash/modules/video_comments/files

    Dolphin/Ray files to be writable to perform the installation of all of them:
    # chmod -v 666 inc/prof.inc.php

    Ray XML files to be writable. This will allow you to install Ray Widgets via Ray Base easily:
    # chmod -v 666 ./flash/modules/global/data/integration.dat ./flash/modules/board/xml/config.xml ./flash/modules/board/xml/langs.xml ./flash/modules/board/xml/main.xml ./flash/modules/board/xml/skins.xml ./flash/modules/chat/xml/config.xml ./flash/modules/chat/xml/langs.xml ./flash/modules/chat/xml/main.xml ./flash/modules/chat/xml/skins.xml ./flash/modules/desktop/xml/config.xml ./flash/modules/desktop/xml/langs.xml ./flash/modules/desktop/xml/main.xml ./flash/modules/desktop/xml/skins.xml ./flash/modules/global/xml/config.xml ./flash/modules/global/xml/main.xml ./flash/modules/im/xml/config.xml ./flash/modules/im/xml/langs.xml ./flash/modules/im/xml/main.xml ./flash/modules/im/xml/skins.xml ./flash/modules/mp3/xml/config.xml ./flash/modules/mp3/xml/langs.xml ./flash/modules/mp3/xml/main.xml ./flash/modules/mp3/xml/skins.xml ./flash/modules/photo/xml/config.xml ./flash/modules/photo/xml/langs.xml ./flash/modules/photo/xml/main.xml ./flash/modules/photo/xml/skins.xml ./flash/modules/video/xml/config.xml ./flash/modules/video/xml/langs.xml ./flash/modules/video/xml/main.xml ./flash/modules/video/xml/skins.xml ./flash/modules/video_comments/xml/config.xml ./flash/modules/video_comments/xml/langs.xml ./flash/modules/video_comments/xml/main.xml ./flash/modules/video_comments/xml/skins.xml
    # chmod -v 777 flash/modules/global/app/ffmpeg.exe
    Confirm with "Check" and click "Next" when finished.

    Paths
    Enter all the paths to the locations on your ClearOS box.
    When one of the paths are not found use the following command to find it (Thanks to Tim Burgess):
    # locate <name>
    Once you add a new file to ClearOS, you have to run "updatedb", before the command "locate" will find it. This job normally runs overnight. The alternative is to use the find command.(Thanks to Nick Howitt)
    Click "Next" when finished.

    Database
    Enter the username, databasename and password (leave the rest of the fields blank or default), that you used when creating the user and database in MySQL.(thanks to Keith Osburn)

    Click "Next" when finished.

    Config
    Enter all the following fields or you won't be able to continue:
  • Site Title: (The name of your community)

  • Site Description: (Meta description of your site)

  • Site e-mail: (mail-to, will be used in the cronjob and when users send mail to the community)

  • Notify e-mail: (from)

  • Bug report email: (your personal e-mail address)

  • Admin Username: (new user-id that you want to use for community administrator)

  • Admin Password: (new password of the community administrator)
  • Click "Next" when finished.

    Cron Jobs
    Use this to prevent problems with some systems to use the correct PHP scripts:
    MAILTO=<mail address>
    * * * * * /usr/bin/php -c /etc/php.ini -q /var/www/<path2community>/periodic/cron.php
    # crontab -e
  • Copy and paste the code to the editor.

  • press <Esc> to toggle out of the "Insert" or "Append" mode.

  • ":" + "w" = Save document

  • ":" + "q" = Quit


  • See: "Setting up Cron jobs", for detailed information.
    Click "Next" when finished.

    Permissions Reversal
    Set the post-installation permissions:
    After doing this, if you still want to make changes, you will have to restart the browser install!
    # cd /var/www/<path2community>
    # chmod -v 755 ./inc
    Confirm with "Check" and click "Next" when finished.

    Delete the install folder
    If you do not see the following, you can try to rename ".htaccess" to fe "htaccess.txt" (not sure about the consequences).
    You will have to fix this first, before restarting the install process in the browser.
    http://www.clearfoundation.com/media/kunena/attachments/legacy/images/remove_install-20100311.jpg
    You have to move or delete the "install" folder, before continuing.

    Post-installation procedures
    It is not required to register (I didn't discover a practical use for it), but here is how to:

    [ol]
  • First you will need to get a Unity account here: http://www.boonex.com/unity/

  • Get a free license here: http://www.boonex.com/unity/community/licenses

  • Admin Page

  • Settings

  • Advanced Settings

  • Variables

  • Dolphin License Code: (enter the free license number)

  • Logout

  • Clear your browsers cache

  • Go to: http:// www.<domain>.com/<path2community>/administration

  • Login and enter the free license number

  • Now when returning to the following page you can confirm that your domain has been registered: http://www.boonex.com/unity/community/licenses
  • [/ol]
    After you have registered, it's also possible to unregister.

    Only apply the following changes for the specific default modules you plan to install (not required):

    # cd /var/www/<path2community>/flash
    # chmod 777 modules/boonex/avatar/data/images/ modules/boonex/avatar/data/tmp/
    # chmod 777 modules/boonex/forum/classes modules/boonex/forum/conf modules/boonex/forum/layout modules/boonex/forum/log modules/boonex/forum/js modules/boonex/forum/cachejs
    # chmod 777 modules/boonex/photos/data/files
    # chmod 777 modules/boonex/files/data/files
    # chmod 777 modules/boonex/desktop/file
    # chmod 777 modules/boonex/profile_customize/data/images
    # chmod 666 modules/boonex/profiler/log/profiler.log

    When you experience 404 or page not found errors, when selecting a profile, your mod_rewrite is supposedly not enabled.
    The only way I discovered to solve this is with these instructions:
    [ul]Comment the following line in .htaccess:
    # RewriteEngine on
    [/ul][ul]disable all 8 Friendly profile permalinks in Settings - Permalinks.[/ul][ul]Recompile Navigation Menu Builder in Admin Panel - Builders - Navigation Menu Builder by moving any block there.[/ul][ul]Go to Tools - Host Tools and confirm that there are no FAILS reported.[/ul]

    Additionally (before you enable your SMTP service) add the following to <path to community>inc/header.inc.php, below the "<?":
    date_default_timezone_set('Europe/Dublin');

    Instead of - Europe/Dublin write your location.
    (If you don't do this, your cronjob will send an E-mail with an error message every minute.)


    The End
    If you completed all of these steps successfully, than you finished the installation ... :woohoo:
    Now you are ready to test the functionality and configure it, so ... good luck & have fun.
    The advise is not to install more than 3 modules at once, or you might have to restart the browser install, because of database errors.

    Finish configuring RMS if you want the users to be able to [strike]upload files[/strike], record- & upload audio & video [strike]and save the Whiteboard[/strike]. (partly operational due to incompatibility "ffmpeg.exe" Dolphin 7 and ClearOS)

    Thanks for using this "how to" and for the assistance of everyone who helped accomplishing it.
    A special thank you for Tim ;)
    Without him this would not have been possible.

    Don't forget to leave a message with your comments.
    Greetings,


    John
    Thursday, March 11 2010, 08:59 AM
    Share this post:
    Responses (125)
    • Accepted Answer

      John
      John
      Offline
      Sunday, October 23 2011, 11:14 AM - #Permalink
      Resolved
      0 votes
      Hi all,

      I still don't know how to enable mod_rewrite, but I did discover a way how to still make Dolphin work like it is supposed too.
      Comment the following in .htaccess in the mod_rewrite.c module:
      # RewriteEngine on

      There are also some additional changes you need to make in /etc/php.ini
      I have updated the first post of this thread accordingly.

      Additionally I would like to add that when using a Flexshare for the Dolphin community, that the following setting should be applied:
      Allow [.htaccess] Override: Enabled

      I am still looking for a way to make the following MySQL changes:
      query_cache_size = 0 - FAIL (must be >= 16777216)
      thread_cache_size = 0 - FAIL (must be > 0)

      When I know how to, I will also add it to the first post of this thread.

      Greetings,

      John
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Wednesday, October 12 2011, 03:36 PM - #Permalink
      Resolved
      0 votes
      Hi Tim,

      Sorry, I didn't know that and I thought that information was irrelevant ... :blush:
      Here is the full contents of .htaccess:
      Options -MultiViews -Indexes

      <IfModule mod_php4.c>
      php_flag register_globals Off
      </IfModule>
      <IfModule mod_php5.c>
      php_flag allow_url_include Off
      php_flag register_globals Off
      </IfModule>

      <IfModule mod_rewrite.c>
      RewriteEngine on

      RewriteRule ^blogs/{0,1}$ modules/boonex/blogs/blogs.php [QSA,L]
      RewriteRule ^blogs/all/{0,1}$ modules/boonex/blogs/blogs.php?action=all [QSA,L]
      RewriteRule ^blogs/all/([0-9]+)/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?page=$2&per_page=$1 [QSA,L]
      RewriteRule ^blogs/top/{0,1}$ modules/boonex/blogs/blogs.php?action=top_blogs [QSA,L]
      RewriteRule ^blogs/top/([0-9]+)/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=top_blogs&page=$2&per_page=$1 [QSA,L]
      RewriteRule ^blogs/top_posts/{0,1}$ modules/boonex/blogs/blogs.php?action=top_posts [QSA,L]
      RewriteRule ^blogs/top_posts/([0-9]+)/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=top_posts&page=$2&per_page=$1 [QSA,L]
      RewriteRule ^blogs/tag/([^/.]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=search_by_tag&tagKey=$1 [QSA,L]
      RewriteRule ^blogs/tag/{0,1}$ modules/boonex/blogs/blogs.php?action=search_by_tag&tagKey= [QSA,L]
      RewriteRule ^blogs/posts/([^/.]+)/tag/([^/.]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=search_by_tag&tagKey=$2&ownerName=$1 [QSA,L]
      RewriteRule ^blogs/posts/([^/.]+)/category/([^/.]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName=$1&categoryUri=$2 [QSA,L]
      RewriteRule ^blogs/entry/([^/.]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=show_member_post&postUri=$1 [QSA,L]
      RewriteRule ^blogs/entry/{0,1}$ modules/boonex/blogs/blogs.php?action=show_member_post&postUri= [QSA,L]
      RewriteRule ^blogs/posts/([^/.]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName=$1 [QSA,L]
      RewriteRule ^blogs/posts/{0,1}$ modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName= [QSA,L]
      RewriteRule ^blogs/posts/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName=$1&page=$3&per_page=$2 [QSA,L]
      RewriteRule ^blogs/posts/([^/.]+)/category/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName=$1&categoryUri=$2&page=$4&per_page=$3 [QSA,L]
      RewriteRule ^blogs/home/{0,1}$ modules/boonex/blogs/blogs.php?action=home [QSA,L]
      RewriteRule ^blogs/all_posts/{0,1}$ modules/boonex/blogs/blogs.php?action=all_posts [QSA,L]
      RewriteRule ^blogs/popular_posts/{0,1}$ modules/boonex/blogs/blogs.php?action=popular_posts [QSA,L]
      RewriteRule ^blogs/featured_posts/{0,1}$ modules/boonex/blogs/blogs.php?action=featured_posts [QSA,L]
      RewriteRule ^blogs/tags/{0,1}$ modules/boonex/blogs/blogs.php?action=tags [QSA,L]
      RewriteRule ^blogs/show_calendar/{0,1}$ modules/boonex/blogs/blogs.php?action=show_calendar [QSA,L]
      RewriteRule ^blogs/my_page/{0,1}$ modules/boonex/blogs/blogs.php?action=my_page&mode=main [QSA,L]
      RewriteRule ^blogs/my_page/add/{0,1}$ modules/boonex/blogs/blogs.php?action=my_page&mode=add [QSA,L]
      RewriteRule ^blogs/my_page/manage/{0,1}$ modules/boonex/blogs/blogs.php?action=my_page&mode=manage [QSA,L]
      RewriteRule ^blogs/my_page/pending/{0,1}$ modules/boonex/blogs/blogs.php?action=my_page&mode=pending [QSA,L]
      RewriteRule ^blogs/my_page/edit/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=edit_post&EditPostID=$1 [QSA,L]
      RewriteRule ^blogs/member_posts/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=show_member_blog&ownerID=$1 [QSA,L]
      RewriteRule ^blogs/category/([^/.]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=category&uri=$1 [QSA,L]

      RewriteRule ^ads/{0,1}$ modules/boonex/ads/classifieds.php?Browse=1 [QSA,L]
      RewriteRule ^ads/my_page/{0,1}$ modules/boonex/ads/classifieds.php?action=my_page [QSA,L]
      RewriteRule ^ads/my_page/add/{0,1}$ modules/boonex/ads/classifieds.php?action=my_page&mode=add [QSA,L]
      RewriteRule ^ads/my_page/edit/([0-9]+)/{0,1}$ modules/boonex/ads/classifieds.php?action=my_page&mode=add&EditPostID=$1 [QSA,L]
      RewriteRule ^ads/my_page/edit/([0-9]+)/dimg/([0-9]+)/{0,1}$ modules/boonex/ads/classifieds.php?action=my_page&mode=add&EditPostID=$1&dimg=$2 [QSA,L]
      RewriteRule ^ads/my_page/manage/{0,1}$ modules/boonex/ads/classifieds.php?action=my_page&mode=manage [QSA,L]
      RewriteRule ^ads/my_page/pending/{0,1}$ modules/boonex/ads/classifieds.php?action=my_page&mode=pending [QSA,L]
      RewriteRule ^ads/my_page/disapproved/{0,1}$ modules/boonex/ads/classifieds.php?action=my_page&mode=disapproved [QSA,L]
      RewriteRule ^ads/cat/([^/.]+)/{0,1}$ modules/boonex/ads/classifieds.php?catUri=$1 [QSA,L]
      RewriteRule ^ads/all/cat/([0-9]+)/([0-9]+)/([^/.]+)/{0,1}$ modules/boonex/ads/classifieds.php?catUri=$3&page=$2&per_page=$1 [QSA,L]
      RewriteRule ^ads/subcat/([^/.]+)/{0,1}$ modules/boonex/ads/classifieds.php?scatUri=$1 [QSA,L]
      RewriteRule ^ads/all/subcat/([0-9]+)/([0-9]+)/([^/.]+)/{0,1}$ modules/boonex/ads/classifieds.php?scatUri=$3&page=$2&per_page=$1 [QSA,L]
      RewriteRule ^ads/entry/([^/.]+)/{0,1}$ modules/boonex/ads/classifieds.php?entryUri=$1 [QSA,L]
      RewriteRule ^ads/tag/([^/.]+)/{0,1}$ modules/boonex/ads/classifieds_tags.php?tag=$1 [QSA,L]
      RewriteRule ^ads/calendar/{0,1}$ modules/boonex/ads/classifieds.php?action=show_calendar [QSA,L]
      RewriteRule ^ads/categories/{0,1}$ modules/boonex/ads/classifieds.php?action=show_categories [QSA,L]
      RewriteRule ^ads/tags/{0,1}$ modules/boonex/ads/classifieds.php?action=tags [QSA,L]
      RewriteRule ^ads/all_ads/{0,1}$ modules/boonex/ads/classifieds.php?action=show_all_ads [QSA,L]
      RewriteRule ^ads/top_ads/{0,1}$ modules/boonex/ads/classifieds.php?action=show_top_rated [QSA,L]
      RewriteRule ^ads/popular_ads/{0,1}$ modules/boonex/ads/classifieds.php?action=show_popular [QSA,L]
      RewriteRule ^ads/featured_ads/{0,1}$ modules/boonex/ads/classifieds.php?action=show_featured [QSA,L]

      RewriteRule ^search/tag/([^/.]+)/{0,1}$ search.php?Tags=$1 [QSA,L]

      RewriteRule ^browse/([^/.]+)/([^/.]+)/([^/.]+)$ browse.php?sex=$1&age=$2&country=$3 [QSA,L]

      RewriteRule ^m/(.*)$ modules/index.php?r=$1 [QSA,L]

      RewriteRule ^forum/groups/(.*)$ modules/boonex/forum/$1?orca_integration=groups [QSA,L]
      RewriteRule ^forum/events/(.*)$ modules/boonex/forum/$1?orca_integration=events [QSA,L]
      RewriteRule ^forum/store/(.*)$ modules/boonex/forum/$1?orca_integration=store [QSA,L]
      RewriteRule ^forum/$ modules/boonex/forum/index.php [QSA,L]
      RewriteRule ^forum/(.*)$ modules/boonex/forum/$1 [QSA,L]

      RewriteRule ^page/(.*)$ viewPage.php?ID=$1 [QSA,L]

      RewriteCond %{REQUEST_FILENAME} -f [OR]
      RewriteCond %{REQUEST_FILENAME} -d
      RewriteRule .+ - [L]
      RewriteRule ^([^/]+)$ profile.php?ID=$1 [QSA,L]

      </IfModule>

      AddType application/vnd.adobe.air-application-installer-package+zip .air
      AddType application/x-shockwave-flash .swf

      Please assist,

      John

      EDIT:
      I also want to report that I get similar error messages on a few internal pages:
      Not Found

      The requested URL /flexshare/community/m/avatar/ was not found on this server.


      EDIT:
      Additionally I would like to report the following error message, when attempting to change the permissions on a Gallery3 folder (according to this, mod_rewrite is not enabled):
      http://www.clearfoundation.com/media/kunena/attachments/legacy/images/mod_rewrite.jpg
      The reply is currently minimized Show
    • Accepted Answer

      Wednesday, October 12 2011, 09:49 AM - #Permalink
      Resolved
      0 votes
      Why have you snipped all the content out of the mod_rewrite section? that's probably where your problem lies, as the rewrite module is messing with the URL and preventing access to one of your subdirectories

      Most mod_rewrite rules are written on the basis of the site being contained within the webroot of a web server (i.e. /var/www/html/...) Therefore it may not like being dumped into a flexshare, which is a 'virtual host'
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Tuesday, October 11 2011, 06:06 PM - #Permalink
      Resolved
      0 votes
      Hi Tim,

      When you have the time, can you (or someone else that can be of assistance) please point me in the right direction ... ?!?

      Please help,

      John
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Wednesday, October 05 2011, 08:18 PM - #Permalink
      Resolved
      0 votes
      Hi Tim,

      Here is the contents of .htaccess:
      Options -MultiViews -Indexes

      <IfModule mod_php4.c>
      php_flag register_globals Off
      </IfModule>
      <IfModule mod_php5.c>
      php_flag allow_url_include Off
      php_flag register_globals Off
      </IfModule>

      <IfModule mod_rewrite.c>
      RewriteEngine on
      ...
      </IfModule>

      AddType application/vnd.adobe.air-application-installer-package+zip .air
      AddType application/x-shockwave-flash .swf

      Please advice,

      John
      The reply is currently minimized Show
    • Accepted Answer

      Wednesday, October 05 2011, 05:31 PM - #Permalink
      Resolved
      0 votes
      Ok so what's the contents of htaccess?
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Wednesday, October 05 2011, 04:43 PM - #Permalink
      Resolved
      0 votes
      Hi Tim,

      Thanks for your answer.
      You are probably right that it could involve apache, but it didn't solve the problem.
      I did this:
      # chown -R apache /var/flexshare/shares/community

      According to WinSCP the ownership changed successfully.
      After I restored the .htaccess file, I still got the same error message, on every page I try to browse too, so I named it htaccess.txt again.

      For now the community seems to work like it is supposed too, but I would still like to solve this.
      Should I restore the ownership of the flexshare to 'root' again ... ?!?

      Please advice,

      John
      The reply is currently minimized Show
    • Accepted Answer

      Wednesday, October 05 2011, 11:24 AM - #Permalink
      Resolved
      0 votes
      Hi John, looks like the installer (which runs as the apache user) does not have permission to access the file index.php contained in folder community.

      You need to change the ownership (and possibly other folders) - change [sharename] to match yours
      chown -r apache /var/flexshare/shares/[sharename]/community
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Tuesday, October 04 2011, 04:59 PM - #Permalink
      Resolved
      0 votes
      Hi all,

      When I try to install Dolphin on a Flexshare, I get the following error message:
      Forbidden
      You don't have permission to access /flexshare/community/index.php on this server.

      I have created a phpinfo.php file and it confirmed that "mod_rewrite" is a loaded module and setup like mentioned in the 1st post of this thread (AllowOverride All).

      When I temporary rename .htaccess, I am able to install Dolphin, so I suspect that this problem can be solved.
      The big question is, how can it be done properly ... because I don't like to break stuff, that doesn't need to be broken.

      Please advice,

      John
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Saturday, October 09 2010, 01:07 AM - #Permalink
      Resolved
      0 votes
      Hi all,

      A new version has recently been released:
      Dolphin 7.0.3

      The 1st post of this thread has been updated accordingly.

      Greetings,

      John
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Wednesday, June 16 2010, 05:01 PM - #Permalink
      Resolved
      0 votes
      Hi all,

      Thanks for pointing this out Tony.
      For the first time in weeks I am able to acces http://www.boonex.com again.

      Here is all the info I could find that the site is up again since today:
      Site is up again since 16th of June 2010

      The latest version available is:
      Dolphin 7.0.2. Released.

      Have fun & good luck if you want to test this version.
      FFMPEG has been updated, but I am still waiting for more bugs to be solved before I am willing to spend more time on it.

      Greetings,

      John

      EDIT:
      The 1st post of this thread has been accordingly updated (see the Roadmap for further developments)
      The reply is currently minimized Show
    • Accepted Answer

      Wednesday, June 16 2010, 05:16 AM - #Permalink
      Resolved
      0 votes
      Which site are you referring to?

      I can still get to http://173.192.139.196/dolphin/ which is Boonex dolphin page
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Wednesday, June 16 2010, 03:36 AM - #Permalink
      Resolved
      0 votes
      Hi all,

      Not quiet sure what to report about Boonex, because since all hell broke lose in Kyrgyzstan, their site is no longer on-line.
      Currently there is some sort of war going on and all I can do is speculate if this is related to the fact that the head office of Boonex is located in that region.
      As soon as I am able to access their site again and there is an update available I will let you know, because I suspect that the developments of the latest updates are still continued in the Australian and US offices.

      Greetings,

      John
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Tuesday, April 27 2010, 03:13 PM - #Permalink
      Resolved
      0 votes
      Hi all,

      Finally the Dolphin 7.0.1 patch was released with over 300 bug fixes :blink: (what makes version 7.0.0 a beta and not a final release in my opinion :S ).

      I didn't test it yet, because I was going to wait until version 8 came out before I was willing to waist more time on it :angry: and also because there are still over 160 major bugs in it :ohmy: , as you can see on the Roadmap.

      If you didn't install it yet, the download link didn't change and if you did, you can find the patch & instructions in the link at the beginning of this post.
      If and when I find the courage to test this, I will let you know about my findings and update the "how to" accordingly, but don't expect any miracles.

      Greetings,

      John
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Wednesday, April 07 2010, 05:19 PM - #Permalink
      Resolved
      0 votes
      Thanks Tim,

      You are right ... the "how to" came a long way and maybe it will help to get D7 fully functional on ClearOS boxes in the future. Actually it is possible to record video (without audio) & to upload videos (only when specific codecs are used), what makes it useless for the average user :blink: .

      I didn't suspect or realized that making FFmpeg work, would be like catching a fly with chop sticks.
      At the moment I hit a brick wall, trying to solve this and it feels like running my first marathon and not being able to stand on my feet with the finish in sight :S .

      Probably I will continue my efforts at a later time to see if I can still make it work, but my vision of the finish line was a fata morgana and I just realized that I am walking in circles in the middle of a desert :ohmy: .

      Greetings,

      John
      The reply is currently minimized Show
    • Accepted Answer

      kbricked
      kbricked
      Offline
      Wednesday, April 07 2010, 04:42 PM - #Permalink
      Resolved
      0 votes
      You've probably learned more about Linux in the last couple of weeks then I have in the last 2 months :) I'm not sure if I could install dolphin at this point as its proven to be one complicated web application!
      The reply is currently minimized Show
    • Accepted Answer

      Wednesday, April 07 2010, 04:13 PM - #Permalink
      Resolved
      0 votes
      Hi John, sorry to hear this still isn't resolved...as you have discovered web applications are written around a particular system setup, which isn't necessarily compatible with all variants of linux. They've attempted to improve installation issues by providing a precompiled version of ffmpeg but at the expense of those who can't get them to work on their system. FFmpeg and video encoding in general on linux can be a real headache to the uninitiated and the experienced! mainly becuase it's such a moving target...

      Remember it's only searching for occurrences within a file so likewise it will also match 'libavfilter' etc...so I wouldn't take the fact that the ffmpeg executable actually contains any reference to vfilter as a bad thing...but I thought you were doing this so you could use the ClearOS ffmpeg executable anyway?

      I understand your frustrated but it's come a long way, and from what I can tell you have everything sorted besides recording video. Which is only a small part of a large community site anyway! :) Things improve and change with time, so maybe your persistence will help improve Dolphin install for future users based on CentOS systems....
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Wednesday, April 07 2010, 03:46 PM - #Permalink
      Resolved
      0 votes
      Hi Tim,

      Thanks for the tip.
      The strange thing is that I found vfilter in the ffmpeg version of D7 :blink: :
      Binary file /var/www/virtual/<domain>.com/flash/modules/global/app/ffmpeg.exe.d7 matches

      I got this answer from Boonex:
      "Hello John

      In this case the only thing I can offer you is to help you to modify the FFMPEG execution command(remove -vfilters) and then test the problem again.

      Best Regards
      Anton Lesnikov"

      My advice to anyone who wants to use D7 on a ClearOS box:
      Get a computer degree so you are able to rewrite it's code, or accept that you will not be able to get the most important parts operational.

      Greetings,

      John

      Ps. I am thinking of removing this whole thread out of frustration :angry:
      The reply is currently minimized Show
    • Accepted Answer

      Wednesday, April 07 2010, 10:53 AM - #Permalink
      Resolved
      0 votes
      grep -R -n vfilter /path/to/your/folder/ | less

      Scroll up / down with arrow keys

      That will recursively search every file and subfolder for locations of the term 'vfilters' and output the file and line number, and the line itself. You can omit the '| less' bit if only a few instances
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Wednesday, April 07 2010, 10:31 AM - #Permalink
      Resolved
      0 votes
      Hi Tim,

      Thanks for the tip.
      My first attempt was unsuccessful, but I discovered that "vfilter" is used in other PHP scripts as well.
      Is there something like the "grep" command with what I can search all files in a folder, including sub-folders ... ?!?

      Greetings,

      John
      The reply is currently minimized Show
    • Accepted Answer

      Wednesday, April 07 2010, 09:56 AM - #Permalink
      Resolved
      0 votes
      You may want to check for any other instances of vfilters by running the following:-
      grep -n vfilters /flash/modules/video/inc/functions.inc.php
      The reply is currently minimized Show
    • Accepted Answer

      Wednesday, April 07 2010, 09:54 AM - #Permalink
      Resolved
      0 votes
      John, it appears 'vfilters hflip' is used to rotate video or more specifcally flip it about a horizontal plane, although hflip is no longer shown in the ffmpeg documentation? may have been removed...anyhow you may wish to try removing that flag altogether

      Change the following line
                     if(empty($sTmpl)) $sTmpl = getConverterTmpl($sTempFile, $sTempFile, true, $bRecorded) . " -vfilters hflip ";

      to
                     if(empty($sTmpl)) $sTmpl = getConverterTmpl($sTempFile, $sTempFile, true, $bRecorded);
      The reply is currently minimized Show
    • Accepted Answer

      John
      John
      Offline
      Wednesday, April 07 2010, 09:19 AM - #Permalink
      Resolved
      0 votes
      Hi all,

      Krod, I am still unable to access those links.

      I got some disappointing news from Boonex:
      "Hello John

      Looks like the problem is in the version of FFMPEG or convertion command itself. As you may see it doesn't know some parameters. I didn't see such problem before.
      You may modify the conversion command in \flash\modules\video\inc\functions.inc.php file -> functions getConverterTmpl and convertMainVideo but you need to test it because the changes may affect something.

      Best Regards
      Anton Lesnikov"

      Error message that Anton is referring too:
    • /usr/bin/ffmpeg: unrecognized option '-vfilters'

    • Since I don't know much of PHP scripting, here are the functions:
      function getConverterTmpl($sInputFile, $sSize, $bSound = true, $bRecorded = false)
      {
      global $sModule;
      global $sFfmpegPath;

      $sSound = $bRecorded ? " -ar 44100 " : " -acodec libmp3lame -ar 44100 ";
      if(!$bSound) $sSound = " -an ";
      $sTmpl = $sFfmpegPath . " -y -i " . $sInputFile . " -r " . getVideoFps() . " -s " . getVideoSize($sSize) . $sSound;
      if(getSettingValue($sModule, "sameQuality") == TRUE_VAL) $sTmpl .= "-sameq ";
      return $sTmpl;
      }
      function convertMainVideo($sId, $sTmpl = "", $bRecorded = false)
      {
      global $sFilesPath;
      global $sModule;
      global $sFfmpegPath;

      $sTempFile = $sFilesPath . $sId;
      if(!file_exists($sTempFile)) $sTempFile .= TEMP_FILE_NAME;
      $sPlayFile = $sTempFile . PLAY_EXTENSION;

      $bResult = true;
      if(!file_exists($sPlayFile) || filesize($sPlayFile)==0)
      {
      if(empty($sTmpl)) $sTmpl = getConverterTmpl($sTempFile, $sTempFile, true, $bRecorded) . " -vfilters hflip ";
      $bResult = convertVideoFile($sPlayFile, $sTmpl . $sPlayFile);
      if(!$bResult)
      {
      $sTmpl = getConverterTmpl($sTempFile, $sTempFile, false);
      $bResult = convertVideoFile($sPlayFile, $sTmpl . $sPlayFile);
      }
      }
      return $bResult && grabImages($sPlayFile, $sTempFile);
      }

      Any help from someone who understands this is welcome.

      Thanks,

      John
    The reply is currently minimized Show
  • Accepted Answer

    Krod
    Krod
    Offline
    Saturday, April 03 2010, 10:22 PM - #Permalink
    Resolved
    0 votes
    All seems to be fine here, but it always is from the inside, I was able to reach it yesterday though. Maybe try just using https://krodrigue.webhop.net/downloads
    The reply is currently minimized Show
  • Accepted Answer

    John
    John
    Offline
    Saturday, April 03 2010, 09:38 PM - #Permalink
    Resolved
    0 votes
    Hi Krod,

    I suspected that wget wouldn't work, but I didn't know what else to try :blush:

    This is the error message I get in IE:
    Internet Explorer cannot display the webpage

    What you can try:
    Diagnose Connection Problems

    More information

    This problem can be caused by a variety of issues, including:

    •Internet connectivity has been lost.
    •The website is temporarily unavailable.
    •The Domain Name Server (DNS) is not reachable.
    •The Domain Name Server (DNS) does not have a listing for the website's domain.
    •There might be a typing error in the address.
    •If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.
    No warning about certificates.

    Greetings,

    John
    The reply is currently minimized Show
  • Accepted Answer

    Krod
    Krod
    Offline
    Saturday, April 03 2010, 09:02 PM - #Permalink
    Resolved
    0 votes
    Yeah, using wget might not work since im using a Self-signed certificate, you have to accept the warning to move forward to the site.

    I might use a service like DYDNS to forward the port later on in the week.
    The reply is currently minimized Show
  • Accepted Answer

    John
    John
    Offline
    Saturday, April 03 2010, 07:57 PM - #Permalink
    Resolved
    0 votes
    Hi Krod,

    Thanks for this :)
    I am unable to connect to the first two HTTPS links in my browser, but I will try to implement the last links solutions.
    To be sure I also attempted http://krodrigue.webhop.net/, but this didn't work either.
    Neither did this:
    # wget https://krodrigue.webhop.net/downloads/ffmpeg_glibc22.zip
    --2010-04-03 21:53:12-- https://krodrigue.webhop.net/downloads/ffmpeg_glibc22.zip
    Resolving krodrigue.webhop.net... 24.252.112.31
    Connecting to krodrigue.webhop.net|24.252.112.31|:443...

    I will keep you updated.

    Greetings,

    John

    EDIT:
    Since the guy of your last link has a lot of experience with compiling several kinds of FFmpeg versions I also left a message there.
    The reply is currently minimized Show
  • Accepted Answer

    Krod
    Krod
    Offline
    Saturday, April 03 2010, 07:36 PM - #Permalink
    Resolved
    0 votes
    Not sure if this will help but here are a few ffmpeg files that i found on the web where another guy was having similar problems and someone compiled these for him.

    https://krodrigue.webhop.net/downloads/ffmpeg_glibc22.zip

    https://krodrigue.webhop.net/downloads/ffmpeg_slackwarebinary.zip

    and another link:
    http://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html
    The reply is currently minimized Show
  • Accepted Answer

    John
    John
    Offline
    Saturday, April 03 2010, 06:18 PM - #Permalink
    Resolved
    0 votes
    Hi all,

    Another lengthy post & small update :blush: (I know, but I refuse to give up as long as not all reasonable alternatives have been depleted :P ).
    I have received the following answer from Boonex:
    "Hello John

    No, Boonex doesn't have new FFMPEG. In such case you need to contact with your hosting provider support team and ask them to install FFMPEG which is available for your server. Then you need to get path from them and enter it in flash/modules/global/inc/header.inc.php file.

    Best Regards
    Anton Lesnikov"

    And this is what I did:
  • # yum --enablerepo=* list ffmpeg
    Loading "kmod" plugin
    Loading "protect-packages" plugin
    ...
    Installed Packages
    ffmpeg.i386 0.5-1.1.v5 installed
  • Installing "ffmpeg-devel" resulted in missing dependency of "lame-devel" and AFAIK useless anyway :dry:

  • I update Java from "jre1.6.0_18" to "jre1.6.0_19" with these instructions (Can someone please confirm if this is correct for ClearOS, because I found with Google that this could be the reason too ... ?!?)


  • After changing the following line in "/var/www/virtual/<domain>.com/flash/modules/global/inc/header.inc.php":
    $sFfmpegPath = $sGlobalPath . "app/ffmpeg.exe";
    into
    $sFfmpegPath = "/usr/bin/ffmpeg";

  • The results are:
  • AFAIK, recording is successful, but 0 files (of 4 that should be created from 1 recording) are stored / saved

  • Error in browser:
    "Error Processing File"

  • In "/var/log/error_log":
    Input #0, flv, from '/var/www/virtual/<domain>.com/flash/modules/video_comments/files/4_temp':
    Duration: 00:00:06.78, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flv, yuv420p, 176x98, 1k tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: nellymoser, 44100 Hz, mono, s16
    /usr/bin/ffmpeg: unrecognized option '-vfilters'
    FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
    configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-shared --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-nonfree --incdir=/usr/include/ffmpeg --enable-libtheora --enable-libvorbis --disable-libmp3lame --disable-libfaad --enable-libfaac --enable-libgsm --enable-libxvid --enable-libx264 --disable-stripping --extra-cflags=-I/usr/include/gsm
    libavutil 49.15. 0 / 49.15. 0
    libavcodec 52.20. 0 / 52.20. 0
    libavformat 52.31. 0 / 52.31. 0
    libavdevice 52. 1. 0 / 52. 1. 0
    libavfilter 0. 4. 0 / 0. 4. 0
    libswscale 0. 7. 1 / 0. 7. 1
    libpostproc 51. 2. 0 / 51. 2. 0
    built on May 14 2009 23:15:12, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)
    Input #0, flv, from '/var/www/virtual/<domain>.com/flash/modules/video_comments/files/4_temp':
    Duration: 00:00:06.78, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flv, yuv420p, 176x98, 1k tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: nellymoser, 44100 Hz, mono, s16
    Output #0, image2, to '/var/www/virtual/<domain>.com/flash/modules/video_comments/files/1270242858.jpg':
    Stream #0.0: Video: mjpeg, yuvj420p, 176x98, q=2-31, 200 kb/s, 90k tbn, 1k tbc
    Stream mapping:
    Stream #0.0 -> #0.0
    Press [q] to stop encoding
    FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
    configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-shared --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-nonfree --incdir=/usr/include/ffmpeg --enable-libtheora --enable-libvorbis --disable-libmp3lame --disable-libfaad --enable-libfaac --enable-libgsm --enable-libxvid --enable-libx264 --disable-stripping --extra-cflags=-I/usr/include/gsm
    libavutil 49.15. 0 / 49.15. 0
    libavcodec 52.20. 0 / 52.20. 0
    libavformat 52.31. 0 / 52.31. 0
    libavdevice 52. 1. 0 / 52. 1. 0
    libavfilter 0. 4. 0 / 0. 4. 0
    libswscale 0. 7. 1 / 0. 7. 1
    libpostproc 51. 2. 0 / 51. 2. 0
    built on May 14 2009 23:15:12, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)
    Input #0, flv, from '/var/www/virtual/<domain>.com/flash/modules/video_comments/files/4_temp':
    Duration: 00:00:06.78, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flv, yuv420p, 176x98, 1k tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: nellymoser, 44100 Hz, mono, s16
    Output #0, flv, to '/var/www/virtual/<domain>.com/flash/modules/video_comments/files/4_temp.flv':
    Stream #0.0: Video: flv, yuv420p, 640x360, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream mapping:
    Stream #0.0 -> #0.0
    Press [q] to stop encoding

  • Conclusions:
    Tim Burgess wrote (Missing dependencies for compiling custom FFmpeg):
    "Your best bet in my opinion, is either to try and get hold of the same SVN version that your Dolphin install is based around, and try to recompile finding all it's libraries, and go from there - OR revert your install back to Dolphin 6.1.6 which has a working ffmpe"

  • Compiling I have to leave to the experts :blush:

  • Going back to Dolphin 6.1.6 is not an option :angry:

  • Tim Burgess wrote (Missing dependencies for compiling custom FFmpeg):
    "Another option is you try and find a way of patching Dolphin so that it can use the existing pre-compiled version of ffmpeg (I think you said it flagged up a vfilter type warning, which maybe of no consequence to what you actually want to do)"

  • Currently the only error reported is "/usr/bin/ffmpeg: unrecognized option '-vfilters'". :blink:

  • This is what I hoped would definitely solve all currently remaining issues involving uploading files & saving the boards, when running Dolphin 7 on a ClearOS box :S


  • Thanks for reading and any new suggestions are welcome,

    John

    EDIT:
    I now can also add that the cron job is working, because I have received e-mail from my community, even when it is a virtual domain (updates will follow).
    The reply is currently minimized Show
  • Accepted Answer

    John
    John
    Offline
    Thursday, April 01 2010, 07:38 PM - #Permalink
    Resolved
    0 votes
    Hi all,

    Just a small update.
    As you can see in this thread (Missing dependencies for compiling custom FFmpeg), I am awaiting an answer from Boonex to solve it.

    I can also report that I was able to upload a video with audio.
    I suspect that this is only successful when specific audio codecs are involved, but hopefully this will also be solved with the FFmpeg fix.

    I will not go into security issues now, because Boonex reported this:
    "We're preparing a beta version now. It's just a "service update", but the amount of addressed issues warrants the need for at least one beta run. Tuesday next week is likely to be the date for the beta.

    Along with published tickets we are improving Dolphin in terms of security again. Second round of security audit is passed and we're working on the report."

    The next issue I will start investigating will be the e-mail options.

    The "how to" is updated to my latest findings.

    Greetings,

    John
    The reply is currently minimized Show
  • Accepted Answer

    John
    John
    Offline
    Wednesday, March 31 2010, 09:07 AM - #Permalink
    Resolved
    0 votes
    Hi Tim,

    Because Dolphin doesn't like that version and I don't know how to refer to it when Dolphin demands the name ffmpeg.exe in this location:
    /var/www/virtual/<domain>.com/flash/modules/global/app

    This is part of the message in error_log when I copy it to this location and change it's name to ffmpeg.exe and I try to record a 5 second video:
    /var/www/virtual/<domain>.com/flash/modules/global/app/ffmpeg.exe: unrecognized option '-vfilters'
    0 bytes have been processed / saved of the 4 files that should be created.
    This error in the browser:
    Error Processing File

    This happens with ffmpeg.exe from Dolphin 6.1.6:
    Compiler did not align stack variables. Libavcodec has been miscompiled
    and may be very slow or crash. This is not a bug in libavcodec,
    but in the compiler. You may try recompiling using gcc >= 4.2.
    Do not report crashes to FFmpeg developers.
    But at least it saves the 4 files without an error in the browser, but without audio. (better than nothing at the moment, but not enough to satisfy me)

    It would be grate if you know how to solve this, but I don't have a clue, that's why I wanted to compile the latest version, to test if that would work.

    Greetings,

    John

    EDIT:
    The how to has been updated to the current state.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 31 2010, 08:23 AM - #Permalink
    Resolved
    0 votes
    Hi John, just to chip in - but whats wrong with trying the ClearOS compiled ffmpeg (from base-extras repo) installed already? it's located at /usr/bin/ffmpeg? I appreciate it's probably a bit older than the SVN version used, but at least you won't have any library dependency issues
    [root@starlane ~]# ffmpeg
    FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
    configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-shared --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-nonfree --incdir=/usr/include/ffmpeg --enable-libtheora --enable-libvorbis --disable-libmp3lame --disable-libfaad --enable-libfaac --enable-libgsm --enable-libxvid --enable-libx264 --disable-stripping --extra-cflags=-I/usr/include/gsm
    libavutil 49.15. 0 / 49.15. 0
    libavcodec 52.20. 0 / 52.20. 0
    libavformat 52.31. 0 / 52.31. 0
    libavdevice 52. 1. 0 / 52. 1. 0
    libavfilter 0. 4. 0 / 0. 4. 0
    libswscale 0. 7. 1 / 0. 7. 1
    libpostproc 51. 2. 0 / 51. 2. 0
    built on May 14 2009 23:15:12, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)
    The reply is currently minimized Show
  • Accepted Answer

    John
    John
    Offline
    Wednesday, March 31 2010, 06:43 AM - #Permalink
    Resolved
    0 votes
    Hi all,

    This is were I stranded with my attempt to compile ffmpeg for ClearOS.
    I confirmed that no system updates are available.

    Already installed, but not recognized:
    libogg.i386
    libogg-devel.i386
    a52dec.i386

    yum searched for libamr, amr, nb & wb:
    Unknown option "libamr-nb"
    Unknown option "libamr-wb"

    After removing these codecs from the command line the result is this error:
    FAAD test failed.

    If you think configure made a mistake, make sure you are using the latest
    version from SVN. If the latest version fails, report the problem to the
    ffmpeg-user @ mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.err" produced by configure as this will help
    solving the problem.
    So far this was not a success ... :S

    So what can I do to download these codecs, so I can start compiling ... ?!?
    If this is not possible on ClearOS I would like to hear it as well.

    Greetings,

    John
    The reply is currently minimized Show
  • Accepted Answer

    John
    John
    Offline
    Wednesday, March 31 2010, 04:52 AM - #Permalink
    Resolved
    0 votes
    Hi Krod,

    Thanks, but it still isn't solved as you can see here:
    # yum search libogg
    Loading "kmod" plugin
    Loading "protect-packages" plugin
    libogg.i386 : The Ogg bitstream file format library.
    libogg.i386 : The Ogg bitstream file format library.
    libogg-devel.i386 : Files needed for development using libogg.
    # yum install libogg
    Loading "kmod" plugin
    Loading "protect-packages" plugin
    Setting up Install Process
    Parsing package install arguments
    Package libogg - 2:1.1.3-3.el5.i386 is already installed.
    Nothing to do
    # yum install libogg-devel
    Loading "kmod" plugin
    Loading "protect-packages" plugin
    Setting up Install Process
    Parsing package install arguments
    Resolving Dependencies
    --> Running transaction check
    ---> Package libogg-devel.i386 2:1.1.3-3.el5 set to be updated
    --> Finished Dependency Resolution

    Dependencies Resolved

    =============================================================================
    Package Arch Version Repository Size
    =============================================================================
    Installing:
    libogg-devel i386 2:1.1.3-3.el5 clearcentos-os 73 k

    Transaction Summary
    =============================================================================
    Install 1 Package(s)
    Update 0 Package(s)
    Remove 0 Package(s)

    Total download size: 73 k
    Is this ok [y/N]: y
    Downloading Packages:
    (1/1): libogg-devel-1.1.3-3.el5.i386.rpm
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing: libogg-devel ######################### [1/1]

    Installed: libogg-devel.i386 2:1.1.3-3.el5
    Complete!
    # ./configure --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --disable-ffplay --disable-ffserver --extra-ldflags='-L/usr/lib -static'
    Unknown option "--enable-libogg".
    See ./configure --help for available options.

    Can you please explain ... ?!?

    Thanks,

    John

    EDIT:
    Thanks, I also checked the ClearOS man files, but it doesn't change that I already have the codec, as well as the development package ... :blink:

    EDIT:
    Help ... :silly: ... I thought that I started to understand what I was doing, but obviously I am not ... :S
    The reply is currently minimized Show
  • Accepted Answer

    kbricked
    kbricked
    Offline
    Wednesday, March 31 2010, 04:48 AM - #Permalink
    Resolved
    0 votes
    hi krod.

    don't forget you can reference in house man pages.

    http://www.clearfoundation.com/docs/man/
    The reply is currently minimized Show
  • Accepted Answer

    Krod
    Krod
    Offline
    Wednesday, March 31 2010, 04:26 AM - #Permalink
    Resolved
    0 votes
    Here is a link that shows the commands.

    http://www.linuxcommand.org/man_pages/yum8.html
    The reply is currently minimized Show
  • Accepted Answer

    Krod
    Krod
    Offline
    Wednesday, March 31 2010, 04:22 AM - #Permalink
    Resolved
    0 votes
    try yum search any-package, or yum search httpd, yum info any-package...then yum install any-package.
    The reply is currently minimized Show
  • Accepted Answer

    John
    John
    Offline
    Wednesday, March 31 2010, 04:00 AM - #Permalink
    Resolved
    0 votes
    Hi Krod,

    Thanks, I went for the ffmpeg.org version.

    Here is my 1st problem:
    # ./configure --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --disable-ffplay --disable-ffserver --extra-ldflags='-L/usr/lib -static'
    Unknown option "--enable-libogg".
    See ./configure --help for available options.
    #
    manual:
    If you get an error such as
    ERROR: libfaac not found
    Then with the example above, just search for "faac" (the name of the codec) through your distribution's package manager. , and you'll see many results. The result you're looking for will look like,

    Centos:
    faac2.i386 (the actual faac )
    faac2-devel.i386 (the development packages)

    I am completely new to this so ... can you tell me how to search for the library "ogg" ... ?!?
    Like this ... ?!?:
    # locate ogg
    /usr/share/doc/libogg-1.1.3
    /usr/share/doc/libogg-1.1.3/AUTHORS
    /usr/share/doc/libogg-1.1.3/CHANGES
    /usr/share/doc/libogg-1.1.3/COPYING
    /usr/share/doc/libogg-1.1.3/README
    /usr/share/mime/application/ogg.xml
    /usr/share/mime/audio/x-flac+ogg.xml
    /usr/share/mime/audio/x-speex+ogg.xml
    /usr/share/mime/audio/x-vorbis+ogg.xml
    /usr/share/mime/video/x-ogm+ogg.xml
    /usr/share/mime/video/x-theora+ogg.xml
    #
    What do I have to "apt-get install" ... ?!?

    Thanks,

    John
    The reply is currently minimized Show
  • Accepted Answer

    Krod
    Krod
    Offline
    Wednesday, March 31 2010, 03:49 AM - #Permalink
    Resolved
    0 votes
    I'm sure the ffmpeg site should have the latest release, but it should not matter as long as you check to make sure what release you are downloading.

    http://ffmpeg.org/download.html
    The reply is currently minimized Show
  • Accepted Answer

    John
    John
    Offline
    Wednesday, March 31 2010, 03:31 AM - #Permalink
    Resolved
    0 votes
    Hi Krod,

    Thanks for your assistance ... where have you been all this time ... ;)
    I am willing to take the steps now that I read them and I even (at least partly) understand what I am supposed to do.
    Before I will be able to start, I will have to install the developers tools, or I won't be able to download the SVN version.

    Can you tell me the difference or should I try both:
    svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg (from you)
    svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg (found it myself)

    Just want to make sure that I compile the latest version with the best compatibility with ClearOS and the latest codecs.
    The problem that I face is that the Dolphin PHP scripts demand that the name is "ffmpeg.exe" or it won't work.
    Do you know if I can simply rename it to that, after I compiled it ... ?!?

    Greetings,

    John
    The reply is currently minimized Show
  • Load more replies (85 )
    Your Reply