Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (79)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (4499)

  • Centos : TERM environment Variable Not Set

    21 janvier 2014, par Architact

    I am working on a mobile application which allows users to upload videos, upon upload the videos are converted to mp4 format, I am using a shell script for that purpose, the script was working fine on our last server but we switched our server and now it has stopped working, the log files of apache are printing.

    [Tue Jan 21 00:57:37.003944 2014] [:error] TERM environment variable not set.
    [Tue Jan 21 00:57:37.148531 2014] [:error] ./script.sh: line 3: ffmpeg: command not found
    [Tue Jan 21 00:57:37.148794 2014] [:error] script.sh: line 4: ffmpeg: command not found

    The content of script.sh are

    #!/bin/bash -p
    clear
    ffmpeg -i $filename -strict experimental -ar 22050 converted.mp4<br />
    ffmpeg -itsoffset -1 -i  converted.mp4 -vframes 25 -filter:v scale="min(500\, iw):-1"  thumbnail.png

    I am calling the script form php using

    shell_exec("script.sh 52567afa374c61381399290.mp4");

    Any help would be greatly appreciated.

    Thanks

  • Centos : TERM enivornment Variable Not Set

    21 janvier 2014, par Architact

    I am working on a mobile application which allows users to upload videos, upon upload the videos are converted to mp4 format, I am using a shell script for that purpose, the script was working fine on our last server but we switched our server and now it has stopped working, the log files of apache are printing.

    [Tue Jan 21 00:57:37.003944 2014] [:error] TERM environment variable not set.
    [Tue Jan 21 00:57:37.148531 2014] [:error] ./script.sh: line 3: ffmpeg: command not found
    [Tue Jan 21 00:57:37.148794 2014] [:error] script.sh: line 4: ffmpeg: command not found

    The content of script.sh are

    #!/bin/bash -p
    clear
    ffmpeg -i $filename -strict experimental -ar 22050 converted.mp4<br />
    ffmpeg -itsoffset -1 -i  converted.mp4 -vframes 25 -filter:v scale="min(500\, iw):-1"  thumbnail.png

    I am calling the script form php using

    shell_exec("script.sh 52567afa374c61381399290.mp4");

    Any help would be greatly appreciated.

    Thanks

  • "An attempt was made to load a program with an incorrect format"

    31 janvier 2014, par user2922938

    I work in visual studio 2008, when run the program this error is shown :

    $exception "Could not load file or assembly 'AForge.Video.FFMPEG,
    Version=2.2.5.0, Culture=neutral, PublicKeyToken=03563089b1be05dd' or one of its dependencies. An attempt was made to load a program with an incorrect format."

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using AForge.Video.FFMPEG;

    namespace WindowsFormsApplication9
    {
       public partial class Form1 : Form
       {        
           public Form1()
           {
               InitializeComponent();
           }

           private void button1_Click(object sender, EventArgs e)
           {
               VideoFileReader video = new VideoFileReader();
           }
       }
    }

    What is wrong with my program ?