Video Prob.

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • RE: Ist ein Cron problem

      Also irgendwie funzt das net , hab nun alles ausprobiert und cronjob läuft, rechte gesetzt und video ist auch sichtbar aber beim abspielen dann file not found.
      in meinem errorlog steht dann :

      video:7kB audio:0kB global headers:0kB muxing overhead -100.298791%
      frame= 1 fps= 0 q=0.0 Lsize= -0kB time=0.04 bitrate= -4.4kbits/s
      Press [q] to stop encoding
      Stream #0.0 -> #0.0
      Stream mapping:
      Stream #0.0: Video: mjpeg, yuvj420p, 140x102 [PAR 34:35 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc
      Output #0, image2, to '/var/kunden/webs/vh187/freunde2011/flash/modules/video/files/1_temp_small.jpg':
      Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
      Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
      Duration: 00:04:19.26, start: 0.000000, bitrate: 329 kb/s
      Input #0, avi, from '/var/kunden/webs/vh187/freunde2011/flash/modules/video/files/1_temp':
      built on Jul 1 2009 10:40:54, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)
      libswscale 0. 7. 1 / 0. 7. 1
      libavfilter 0. 5. 0 / 0. 5. 0
      libavdevice 52. 2. 0 / 52. 2. 0
      libavformat 52.34. 0 / 52.34. 0
      libavcodec 52.30. 1 / 52.30. 1
      libavutil 50. 3. 0 / 50. 3. 0
      configuration: --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'
      FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.
      video:58kB audio:0kB global headers:0kB muxing overhead -100.037041%
      frame= 1 fps= 0 q=0.0 Lsize= -0kB time=0.04 bitrate= -4.4kbits/s
      Press [q] to stop encoding
      Stream #0.0 -> #0.0
      Stream mapping:
      Stream #0.0: Video: mjpeg, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc
      Output #0, image2, to '/var/kunden/webs/vh187/freunde2011/flash/modules/video/files/1_temp.jpg':
      [ffmpeg_output @ 0x9f81170]auto-inserting filter 'scale'
      Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
      Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
      Duration: 00:04:19.26, start: 0.000000, bitrate: 329 kb/s
      Input #0, avi, from '/var/kunden/webs/vh187/freunde2011/flash/modules/video/files/1_temp':
      built on Jul 1 2009 10:40:54, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)
      libswscale 0. 7. 1 / 0. 7. 1
      libavfilter 0. 5. 0 / 0. 5. 0
      libavdevice 52. 2. 0 / 52. 2. 0
      libavformat 52.34. 0 / 52.34. 0
      libavcodec 52.30. 1 / 52.30. 1
      libavutil 50. 3. 0 / 50. 3. 0
      configuration: --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'
      FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.

      und darunter :

      [Mon Jan 24 15:08:02 2011] [emerg] [client 87.149.66.29] (22)Invalid argument: mod_fcgid: can't lock process table in pid 11755, referer: freunde.sgf2010.de/index.php
    • ich kann dir nur soweit helfen das es ein undendliches thema ist videos zum laufen zu bringen.

      Ich hatte immer das Problem obwohl alle rechte gesetzt waren, alles gemacht es nicht gefunzt hat.

      Das Problem ist ,,, beim umwandeln für den ffmeg, oftmals nimmt er den cron nicht an. Seither mache ich es nur noch als curl.

      Du must halt vorher am besten deine Datei umbennen um zu vermeiden das irgendjemand ständig deine cron laufen lässt , zum beispiel das cron script umbenennen und dann in deinem cronjob
      curl was-auch-immer.com/periodiclauf/cron.php (Beispiel)
      angeben, versuch mal würde mich freuen wenn es läuft.

      Gruss
      :saufen:

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von wizi ()

    • Wie erklär mal näher, ansonsten würde ich denen einfach schreiben das es gändert werden muss , sollte doch machbar sein.

      Hast du mal den cronjob direckt mal ausprobiert? also url in browser? Ich meine wie machst du denn genau deinen cron?
      :saufen:

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von wizi ()

    • Jepp aber das funzt mal garnet, bekomme dann sowas hier:

      Zugriff verweigert!

      Der Zugriff auf das angeforderte Objekt ist nicht möglich. Entweder kann es vom Server nicht gelesen werden oder es ist zugriffsgeschützt.

      Sofern Sie dies für eine Fehlfunktion des Servers halten, informieren Sie bitte den Webmaster hierüber.
      Error 403
    • Ein ganz normaler also Apache debian server kein Vserver.

      Hab mal die cron.php hier als PHP datei :

      [php]
      <?php
      /***************************************************************************
      * Dolphin Smart Community Builder
      * -----------------
      * begin : Mon Mar 23 2006
      * copyright : (C) 2006 BoonEx Group
      * website : http://www.boonex.com/
      * This file is part of Dolphin - Smart Community Builder
      *
      * Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
      * http://creativecommons.org/licenses/by/3.0/
      *
      * 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 Creative Commons Attribution 3.0 License for more details.
      * You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,
      * see license.txt file; if not, write to marketing@boonex.com
      ***************************************************************************/

      $GLOBALS['bx_profiler_disable'] = true;

      $aPathInfo = pathinfo(__FILE__);
      require_once ($aPathInfo['dirname'] . '/../inc/header.inc.php');
      require_once(BX_DIRECTORY_PATH_INC . 'utils.inc.php');
      require_once(BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
      require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolDb.php');

      define('BX_DOL_CRON_EXECUTE', '1');

      /*
      * This file is used for cron jobs. He is started system cron every minute.
      * The file runs jobs at regular intervals. These jobs are listed in `sys_cron_jobs` table.
      *
      * Fields shark_cron_jobs table:
      * id - key for the table
      * name - job name to be executed
      * time - format of entries are five fields of numbers specifying the minute,
      * hour, day of the month, month and day of the week that a task must be executed.
      *
      * * * * * *
      * | | | | |
      * | | | | +--- day of week(0-6 with 0=Sunday)
      * | | | +----- month(1-12)
      * | | +------- day of month(1-31)
      * | +--------- hour(0-23)
      * +----------- minute(0-59)
      *
      * class - class name which will run
      * file - path to class file
      * eval - source code which will run
      *
      * The time numbers can be given as a comma separated list of simple numbers,
      * ranges("2-5" is the same as "2,3,4,5"). A single "*" can be used in a field to indicate all
      * valid numbers in that field, so it translates to "always". If a given time is valid in all five
      * fields then a module function is executed. Here are a few examples that illustrate the possibilities:
      *
      * will run at 16:10:
      * 10 16
      * will run at 2:00 on saturday:
      * 0 2 * * 6
      * will run at midnight on new years:
      * 0 0 1 1 0
      * will run every 15 minutes:
      * *\/15
      * will run at 22:00 on work weekdays:
      * 0 22 * * 1-5
      * will run each 23 minutes, 2:00, 4:00 ..., everyday
      * 23 0-23/2
      *
      * Example add new cron job:
      *
      * 1. Create new class inherited from "BxDolCron" and add method "processing"
      *
      * class BxDolCronMy extends BxDolCron {
      *
      * function processing()
      * {
      * // insert code
      * }
      * }
      *
      * 2. Add record in `sys_cron_jobs` table
      *
      * @see an example of BxDolCronNotifies, BxDolCronCupid, BxDolCronCmd.
      *
      *
      * Memberships/ACL:
      * Doesn't depend on user's membership.
      *
      *
      * Alerts:
      * no alerts available
      *
      */
      function getRange($iLow, $iHigh, $iStep)
      {
      $aResult = array();
      for ($i = $iLow; $i <= $iHigh && $iStep; $i += $iStep)
      $aResult[] = $i;
      return $aResult;
      }

      function getPeriod($sPeriod, $iLow, $iHigh)
      {
      $aRes = array();
      $iStep = 1;
      $sErr = '';

      do
      {
      if (!$sPeriod)
      {
      $sErr = 'Variable sPeriod is emply';
      break;
      }

      $aParam = split('/', $sPeriod);

      if (count($aParam) > 2)
      {
      $sErr = 'Error of format for string assigning period';
      break;
      }

      if (count($aParam) == 2 && is_numeric($aParam[1]))
      $iStep = $aParam[1];

      $sPeriod = $aParam[0];

      if ($sPeriod != '*')
      {
      $aParam = split('-', $sPeriod);

      if (count($aParam) > 2)
      {
      $sErr = 'Error of format for string assigning period';
      break;
      }

      if (count($aParam) == 2)
      $aRes = getRange($aParam[0], $aParam[1], $iStep);
      else
      $aRes = split(',', $sPeriod);
      }
      else
      $aRes = getRange($iLow, $iHigh, $iStep);
      }
      while(false);

      if ($sErr)
      {
      // show error or add to log
      }

      return $aRes;
      }

      function checkCronJob($sPeriods)
      {
      $aParam = split(' ', ereg_replace(" +", ' ', trim($sPeriods)));
      $bRes = true;
      $aDate = getdate(time());

      for ($i = 0; $i < count($aParam); $i++)
      {
      switch ($i)
      {
      case 0:
      $aRes = getPeriod($aParam[$i], 0, 59);
      $bRes = in_array($aDate['minutes'], $aRes);
      break;
      case 1:
      $aRes = getPeriod($aParam[$i], 0, 23);
      $bRes = in_array($aDate['hours'], $aRes);
      break;
      case 2:
      $aRes = getPeriod($aParam[$i], 1, 31);
      $bRes = in_array($aDate['mday'], $aRes);
      break;
      case 3:
      $aRes = getPeriod($aParam[$i], 1, 12);
      $bRes = in_array($aDate['mon'], $aRes);
      break;
      case 4:
      $aRes = getPeriod($aParam[$i], 0, 6);
      $bRes = in_array($aDate['wday'], $aRes);
      break;
      }

      if (!$bRes)
      break;
      }

      return $bRes;
      }

      function runJob($aJob)
      {
      if(!empty($aJob['file']) && !empty($aJob['class']) && file_exists(BX_DIRECTORY_PATH_ROOT . $aJob['file'])) {
      if(!class_exists($aJob['class']))
      require_once(BX_DIRECTORY_PATH_ROOT . $aJob['file']);

      $oHandler = new $aJob['class']();
      $oHandler->processing();
      }
      else if(!empty($aJob['eval'])) {
      require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolService.php');
      eval($aJob['eval']);
      }
      }

      $oDb = new BxDolDb();

      $aJobs = $oDb->fromCache('sys_cron_jobs', 'getAll', 'SELECT * FROM `sys_cron_jobs`');
      foreach ($aJobs as $aRow)
      {
      if (checkCronJob($aRow['time']))
      runJob($aRow);
      }

      ?>

      [/php]
    • Ist in ordung soweit ich sehe, ist auch nicht die php ,,,, der setzt einfach den cron nicht um , der wandelt deine datei nicht um sie später als video wiederzugeben.

      Ich frage nochmal wenn du den cron machst wie machst du ihn den? Hast du Cpannel oder Plesk Irgendwie musst du ihn ja eingeben?
      :saufen:
    • wie gesagt ...

      ich hatte früher ja auch einen anbieter bei dem einfach das dolphin nicht funzt , einfach deswegen um eine optimale einstellung zu erreichen muss mann in viele sachen eingreifen können, ob dateirechte, oder ssh, oder die php ini , das sind alles sachen die sind schon wichtig wenn mann das ding gut laufen lassen will, wie gesagt setzte dich mit deinem provider in verbindung .... und wenn du nicht weiter kommst dann sag halt bescheid dann helfen wir dir anders ....
      :saufen: