Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (112)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (12859)

  • MP4 to all mobile compatible 3gp

    2 mai 2013, par Susheel Mishra

    I am using FFMPEG for converting mp4 video to 3gp.I want to convert it to low end android phone as well as iphone.I am not concern with quality.Using it on linux server with php.

    I searched but my need is diferent , hence post question.

    thanks

  • FFMpeg + Beanstalk : How to pass the processes to it

    14 juillet 2012, par Ilia Rostovtsev

    I'm working around on the video web site ! I have a simple PHP function that is used to start complicated conversion processes. The problem is that FFMpeg and Mencoder are extremely resourceful and having one process of it is something that makes httpd slow down but multiple processes just hang it completely. I want to my conversion processes with Beanstalk (or anything else). Everything is working well right now : converting, logging and etc.

    My concrete question is : How to transfer my current jobs to Beanstalk ?

    I have very simple PHP code :

    RunInBackground('convert.php', array($initial_file_name, $vid), $LogFilePath);

    And the function looks also quite clear :

    function RunInBackground($sPHPFile, $aParam = array(), $sLogFile = '')
    {
       global $config;

       $sCmd = $config['phppath'] . ' ' . $config['BASE_DIR'] . '/' . $sPHPFile;
       foreach ($aParam as $s)
       {
           $sCmd .= ' ' . $s;
       }


           $sCmd .= ' > ' . ($sLogFile != '' ? $config['BASE_DIR'] . '/' . $sLogFile : '/dev/null');

           if ( iBgProc($sCmd) )
           {
               return true;
           }
           else
           {
               return false;
           }

    }

    function iBgProc($sCmd, $iPrio = 0)
    {
       if ($iPrio)
       {
           $iPID = shell_exec("nohup nice -n $iPrio $sCmd 2> /dev/null & echo $!");
       }
       else
       {
           $iPID = shell_exec("nohup $sCmd 2> /dev/null & echo $!");
       }

       return($iPID);
    }

    Now what would Beanstalk correct code would look like so these processes would NOT start all at the same time if multiple videos are uploaded ?

    If you believe that for my needs is better to use something else but Beanstalk and you know how to implement it, I would be still happy to see it !

    Thanks !

  • Will ffmpeg transcoding change the media's duration ?

    6 juillet 2012, par MaiTiano

    For example, I have a example flv media : 1775818137_1775828481_10344.flv. Only audio data has contained in it. (No video data)

    The major properties of this flv are :

    _____________________________________________________________________
    Format                                   : Flash Video

    File size                                : 87.4 KiB

    Duration                                 : 494 hours

    Overall bit rate mode                    : CBR

    Overall bit rate                         : 0 bps

    Writing application                      : Lavf53.4.0

    Audio

    Format                                   : MPEG Audio

    Format version                           : Version 1

    Format profile                           : Layer 3

    Mode                                     : Joint stereo

    Mode extension                           : MS Stereo

    Codec ID                                 : 2

    Codec ID/Hint                            : MP3

    Duration                                 : 49hours

    Bit rate mode                            : CBR

    Bit rate                                 : 64.0 Kbps

    Channel(s)                               : 2 channels

    Sampling rate                            : 44.1 KHz

    Compression mode                         : Lossy

    Stream size                              : 13.3 GiB

    _____________________________________________________________________

    Because this is the flv piece generated from the Suse10.0 server, the timestamp may be not correctly wrote into the flv metadata. Therefore, the Duration item listed above is not the real time of it.
    I has record the time in its file name.
    So, the beginning time is 1775818137 ms
    the ending time of this flv is 1775828481 ms
    The actual duation of this flv is 10344 ms which is about 10 seconds.

    **HERE IS MY QUESTION -.- **

    When I use ffmpeg to transcode flv fromat into ts format, like this,

    ./ffmpeg -i 1775818137_1775828481_10344.flv -f mpegts -vn -acodec libfaac -ar 44100 -ab 48k 1775818137_1775828481_10344.ts

    Is there possibility that the duration of final gotten ts file is not equal to the duation of original flv file ? In other words, the ts file's duration is not 10344ms.