Recherche avancée

Médias (91)

Autres articles (59)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (7433)

  • Retrieving information from ffmpeg shell_exec command

    29 août 2012, par user1503606

    i am doing the following

    $output = shell_exec('/usr/local/bin/ffmpeg -i intro.mp3 2>&1');
    echo "<pre>$output</pre>";

    This outputs

    ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers
     built on Aug 20 2012 09:28:43 with clang 3.1 (tags/Apple/clang-318.0.61)
     configuration: --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libxvid --enable-libx264 --enable-libvpx --enable-hardcoded-tables --enable-shared --enable-pthreads --disable-indevs --cc=clang
     libavutil    51.  9. 1 / 51.  9. 1
     libavcodec   53.  7. 0 / 53.  7. 0
     libavformat  53.  4. 0 / 53.  4. 0
     libavdevice  53.  1. 1 / 53.  1. 1
     libavfilter   2. 23. 0 /  2. 23. 0
     libswscale    2.  0. 0 /  2.  0. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    [mp3 @ 0x7f9481807c00] max_analyze_duration 5000000 reached at 5015510
    Input #0, mp3, from &#39;intro.mp3&#39;:
     Metadata:
       album           : Frank
       artist          : Amy Winehouse
       genre           : R&amp;B
       title           : [Intro] Stronger Than Me
       track           : 01
       date            : 2008
     Duration: 00:03:54.71, start: 0.000000, bitrate: 230 kb/s
       Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 160 kb/s
    At least one output file must be specified

    i want to get the information to insert into a database album,artist,genre,title etc

    But all seperately

    i can get them by doing the following

    $output = shell_exec(&#39;/usr/local/bin/ffmpeg -i intro.mp3 2>&amp;1&#39;);

    $edit = explode(&#39;  &#39;, $output);
    $edit = implode("@", $edit);
    $edit = explode(&#39;:&#39;, $output);
    echo "<pre>";
    print_r($edit);
    echo "</pre>";

    then running

    &lt;?php echo $edit[9]; ?>

    etc

    but this seems like a really bad way and annoying way to get values and sometimes the output is slightly different which messes with the outputs.

    Whats the best way to do this or am i stuck doing this ?

  • How can I add audio (mp3) to a flv (just video) with ffmpeg ?

    18 juillet 2012, par domi

    How can I add sound from a mp3-file to a flv file that has no audio ?
    (With ffmpeg)

    When I use

    ffmpeg -i video.flv -i audio.mp3 -acodec copy -vcodec copy -ab 128k -ar 44100 output.flv
    

    I get this output :

    FFmpeg version SVN-r12758, Copyright (c) 2000-2008 Fabrice Bellard, et al.
      configuration : —enable-shared —prefix=/usr
      libavutil version : 49.6.0
      libavcodec version : 51.54.0
      libavformat version : 52.13.0
      libavdevice version : 52.0.0
      built on Apr  7 2008 09:00:42, gcc : 4.1.2 20070626 (Red Hat 4.1.2-14)
    [flv @ 0x2b72415e00c0]Could not find codec parameters (Audio : 0x0000)
    Input #0, flv, from 'video.flv' :
      Duration : 00:00:03.2, start : 0.000000, bitrate : N/A
        Stream #0.0 : Video : flv, yuv420p, 468x312, 1000.00 tb(r)
        Stream #0.1 : Audio : 0x0000
    mdb:511, lastbuf:0 skipping granule 0
    mdb:511, lastbuf:0 skipping granule 0
    mdb:511, lastbuf:0 skipping granule 1
    mdb:511, lastbuf:0 skipping granule 1
    Input #1, mp3, from 'audio.mp3' :
      Duration : 00:01:00.9, start : 0.000000, bitrate : 128 kb/s
        Stream #1.0 : Audio : mp3, 44100 Hz, stereo, 128 kb/s
    Output #0, flv, to 'output.flv' :
        Stream #0.0 : Video : flv, yuv420p, 468x312, q=2-31, 1000.00 tb(c)
        Stream #0.1 : Audio : 0x0000
    Stream mapping :
      Stream #0.0 -> #0.0
      Stream #0.1 -> #0.1
    [flv @ 0x2b72415e00c0]sample rate not set
    Could not write header for output file #0 (incorrect codec parameters ?)
    
  • AForge.Video.FFMPEG used in C#

    30 décembre 2018, par cuong nguyen

    I use Visual C# 2008 and want to write AVI file from bmp sequences.

    I found AForge.Video.VWF but it’s just for "vmw3" or "DIB " codecs and I want to use AForge.Video.FFMPEG but it got error.

    For example I just code :

    using System;
    using System.Collections.Generic;

    using System.Linq;
    using System.Text;
    using AForge.Video.FFMPEG;

    namespace ConsoleApplication4
    {
       class Program
       {
           static void Main(string[] args)
           {
               VideoFileWriter vfw = new VideoFileWriter();
           }
       }
    }

    But I got this filenotfoundexception

    {"The specified module could not be found. (Exception from HRESULT: 0x8007007E)":null}