How video comment works in 7.02

It may help some who wonder why video comment isn't working. In flash apps video comments player settings you have to disable "Use H264 codec". This is how I got it working.

Regard

Quote · 6 Jul 2010
Do not learned how to send other than on the forum, here is the solution.

In the file / flash / modules / video_comments / inc / classes / BxDolCronVideoComments.php

Change the last line VC_STATUS_FAILED by VC_STATUS_APPROVED
The source file amended below.
Tongue out

 

 

 

<?php
/***************************************************************************
*                            Dolphin Smart Community Builder
*                              -------------------
*     begin                : Mon Mar 23 2006
*     copyright            : (C) 2007 BoonEx Group
*     website              : http://www.boonex.com
* This file is part of Dolphin - Smart Community Builder
*
* Dolphin is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the
* License, or  any later version.
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with Dolphin,
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/

require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolCron.php');
require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolAlerts.php');

global $sModule;
$sModule = "video_comments";

global $sIncPath;
global $sModulesPath;

require_once($sIncPath . "constants.inc.php");
require_once($sIncPath . "db.inc.php");
require_once($sIncPath . "xml.inc.php");
require_once($sIncPath . "functions.inc.php");
require_once($sIncPath . "apiFunctions.inc.php");
require_once($sIncPath . "customFunctions.inc.php");

global $sFilesPath;
$sModuleIncPath = $sModulesPath . $sModule . "/inc/";
require_once($sModuleIncPath . "header.inc.php");
require_once($sModuleIncPath . "constants.inc.php");
require_once($sModuleIncPath . "functions.inc.php");

class BxDolCronVideoComments extends BxDolCron {
   
    function processing() {
       
        global $sModule;
  global $sFfmpegPath;
  global $sModulesPath;
  global $sFilesPath;
       
        $iFilesCount = getSettingValue($sModule, "processCount");
        if(!is_numeric($iFilesCount)) $iFilesCount = 2;
        $iFailedTimeout = getSettingValue($sModule, "failedTimeout");
        if(!is_numeric($iFailedTimeout)) $iFailedTimeout = 1;
        $iFailedTimeout *= 86400;
        $sDbPrefix = DB_PREFIX . ucfirst($sModule);
       
        $iCurrentTime = time();

        //remove all tokens older than 10 minutes
        getResult("DELETE FROM `" . $sDbPrefix . "Tokens` WHERE `Date`<'" . ($iCurrentTime - 600). "'");

        getResult("UPDATE `" . $sDbPrefix . "Files` SET `Date`='" . $iCurrentTime . "', `Status`='" . VC_STATUS_FAILED . "' WHERE `Status`='" . VC_STATUS_PROCESSING . "' AND `Date`<'" . ($iCurrentTime - $iFailedTimeout) . "'");
        $rResult = getResult("SELECT * FROM `" . $sDbPrefix . "Files` WHERE `Status`='" . VC_STATUS_PENDING . "' ORDER BY `ID` LIMIT " . $iFilesCount);
        for($i=0; $i<mysql_num_rows($rResult); $i++)
        {
            $aFile = mysql_fetch_assoc($rResult);
            if(!_convert($aFile['ID']))
                getResult("UPDATE `" . $sDbPrefix . "Files` SET `Status`='" . VC_STATUS_APPROVED . "' WHERE `ID`='" . $aFile['ID'] . "'");
        }
    }
}
?>

http://www.maillarbaux.org/support
Quote · 6 Jul 2010

very good reply frdji. Very important change.

Quote · 6 Jul 2010

elcentcom,

My video comments work in 7.0.2 without disabling H264 codec ...

However, here's what I want to know.

If I record a video comment, it will say: "Video is being processed."

It will say this indefinitely ...forever and ever and ever...

However, if you leave the persons profile and go back, then the video is indeed there.

I worry that some members may wait and wait and wait for the video to be processed, and then assume it failed.

Is there a way we to make it say: "Video is being processed, the video will appear if you leave and come back." Or something like that. Or even better, is there a way to have the video show up right away without leaving and coming back????

No Signature at this time.
Quote · 6 Jul 2010

This was discussed in another topic. One of the problems with H264 in Dolphin is it won't start streaming until the entire file is downloaded to the users machine. That's why I disabled it

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 6 Jul 2010

is there a way to change the text "Video is being processed" into something else so that users may understand?

Quote · 6 Jul 2010

My video comments work but the quality is horrible.  Audio and video don't sync.  Are any of you experiencing this?  How can I fix it.? Tried it from several computers at different locations.  Same result.  Had this problem in 7.0.1.  Thought the upgrade would improve it but it didn't.  Appreciate any help.  Right now it's embarrassing for me to even offer video record as a feature on my site.

Someday, Someway.
Quote · 6 Jul 2010

Search "video quality" there has been a fix posted for that problem for some time now....

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 6 Jul 2010

I am familiar with the fix for video quality in upload conversions, but I have seen nothing for video comments or video record, which require converting the send from a webcam.  I've tried a high-end USB webcam and a built in laptop webcam.  If you can note a specific post it would be much appreciated.  (BTW, my upload video conversion is excellent.)

Search "video quality" there has been a fix posted for that problem for some time now....

Someday, Someway.
Quote · 6 Jul 2010

I am familiar with the fix for video quality in upload conversions, but I have seen nothing for video comments or video record, which require converting the send from a webcam.  I've tried a high-end USB webcam and a built in laptop webcam.  If you can note a specific post it would be much appreciated.  (BTW, my upload video conversion is excellent.)

Search "video quality" there has been a fix posted for that problem for some time now....

I may be mistaken but isn't the uploads from your vid cam into video comments the same thing? In other words, videos uploaded into comments are processed using the ffmpeg like all the other uploaded videos? If that's the case and I am not wrong, then I would be suspect of the equipment you are using to make the video. If I am wrong, then please explain to me how it works differently.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 6 Jul 2010

I believe they are processed using ffmpeg, since the end result is to produce a video in a playable format.  The difference as I see it is the mechanism whereby the video gets uploaded, a copy on your hard drive vs a real-time audio/video stream.  I've tried this using a built in laptop webcam and a desktop usb plug-in.  These work fine in the Chat, so I don't think it is equipment related.  I have seen other posts where members also described this issue.  But I haven't seen a solution.  Have you been successful in recording reasonable quality video comments?  If so, what equipment did you use and how was it set up?  Maybe that will help me figure out what's going on for me, or if this is something Boonex still needs to address.  Thanks.

Someday, Someway.
Quote · 6 Jul 2010

for the time being I have changed the text in

flash/
modules/
video_comments/
langs/

I took a long time to render on the server. First I thought it wont work, but finally it does.

Quote · 7 Jul 2010

this fix doesn'

t work on a fresh copy of d7.0.2

Both fixes didn't make any eirrerce still a defined error

Quote · 7 Jul 2010

Thats because they wont work with the new flash/ffmpeg files :) The new flash files and codec doesnt seem to work with the video comments, but I bet if you mess around and try using your 7.0 flash files, it will work ....Of course make sure you have backups ..

Nothing to see here
Quote · 7 Jul 2010

qwith 7.0.0 and 7.0.1 and 7/.0.2 flash comments directory contents changed it still DOES NOT WORK.

Quote · 8 Jul 2010

error processing file goes on all three versions of video comments flash directories. it does not write antything to files directory in it.. it just craps out.\

Quote · 8 Jul 2010

 

Thats because they wont work with the new flash/ffmpeg files :) The new flash files and codec doesnt seem to work with the video comments, but I bet if you mess around and try using your 7.0 flash files, it will work ....Of course make sure you have backups ..

 

 HaaaaaaaaaaaaaY  !

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 8 Jul 2010

this fix doesn'

t work on a fresh copy of d7.0.2

Both fixes didn't make any eirrerce still a defined error

OK heres my 2 cents...

I duplicated the video comments problem on test server:

  1. fresh 7.0.2 install, processes video normal on uploads.. but cannot leave a video comment.
  2. found that RMS must be enabled for video comments to work...
  3. enabled and video commenting works perfect..
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 8 Jul 2010

After playing around for quite some time I found that when I record a a comment it shows in a low quality resolution. I have uploaded it. After I use preview> re-record I get to the high quality of a 16mb web cam.I have uploaded both to see the difference in action.

That may helpt the experts here to narrow the issue.


Hope this gets a fix. Difficult to expalain users how to make high quality video comments.

It's the same with all browsers.

Quote · 10 Jul 2010

error processing file goes on all three versions of video comments flash directories. it does not write antything to files directory in it.. it just craps out.\

I don't get this to work also on 7.0.2 Nothing on video is working.

Kids first
Quote · 10 Jul 2010

Yo ty frdji70 really helped

Quote · 24 Jul 2010

yes, but mine has given up again, cannot process. I don't know if there are ghosts in the scripts practising for haloween.

Quote · 24 Jul 2010

i followed both the first 2 tips in this forum and by doing both i have resolved my video recording issues. thank you guys.

Quote · 27 Jul 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.