Recherche avancée

Médias (91)

Autres articles (92)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (13642)

  • How to use NSProcessInfo's operatingSystemVersion property in place of gestaltSystemVersionMinor and gestaltSystemVersionBugFix

    28 octobre 2016, par Michael Whiteacre

    Newbie here, but longtime frequenter of this essential resource.

    Using :
    MacBook Pro (Retina, 13-inch, Early 2015).
    Processor : 3.1 GHz Intel Core i7
    Memory : 16 GB 1867 MHz DDR3
    Running Yosemite 10.10.5

    I’m attempting to compile my own Perian- and FFmpeg-based FFusion.component (for Quicktime), for 10.11 using Xcode 7.2.1, and in this relatively simple project, as in others, am trying to move away from Gestalt. The original FFusion-RJVB.xcodeproj I’m employing is Xcode-3.2 compatible.

    I have yet to find a clear, definitive solution to what must appear a painfully simple problem to you all. Here is the Gestalt version :
    `

    #if TARGET_OS_MAC
    static int GetSystemMinorVersion()
    {
       static SInt32 minorVersion = -1;
       if (minorVersion == -1)
           Gestalt(gestaltSystemVersionMinor, &minorVersion);

       return minorVersion;
    }

    static int GetSystemMicroVersion()
    {
       static SInt32 microVersion = -1;
       if (microVersion == -1)
           Gestalt(gestaltSystemVersionBugFix, &microVersion);

       return microVersion;
    }
    #endif

    `
    I’ve tried what seems like endless variations of NSProcessInfo i.e.

    ([[NSProcessInfo processInfo] respondsToSelector:@selector(operatingSystemVersion)])

    but I’m afraid I’m not formatting it correctly to achieve my ends. It just hasn’t ’clicked’ in my head yet, so Im hoping someone can give me a push when I see the difference between the gestalt version, my stumbling attempts, and the correct way.

    Many thanks.

  • VLC syntax to transcode and stream to stdout ?

    19 novembre 2016, par Will Tower

    Goal : I am trying to use VLC as a local server to expand the video capabilities of an app created with Adobe AIR, Flex and Actionscript. I am using VLC to stream to stdoutand reading that output from within my app.

    VLC Streaming capabilities
    VLC Flash Video
    Stream VLC to Website with asf and Flash

    Status : I am able to launch VLC as a background process and control it through its remote control interface (more detail). I can load, transcode and stream a local video file. The example app below is a barebones testbed demonstrating this.

    Issue : I am getting data in to my app but it is not rendering as video. I don’t know if it is a problem with my VLC commands or with writing to/reading from stdout. This technique of reading from stdout in AIR works (with ffmpeg for example).

    One of the various transcoding commands I have tried :

    -I rc  // remote control interface  
    -vvv   // verbose debuging  
    --sout  // transcode, stream to stdout
    "#transcode{vcodec=FLV1}:std{access=file,mux=ffmpeg{mux=flv},dst=-}"

    This results in data coming into to my app but for some reason it is not rendering as video when using appendBytes with the NetStream instance.

    If instead I write the data to an .flv file, a valid file is created – so the broken part seems to be writing it to stdout. One thing I have noticed : I am not getting metadata through the stdout`method. If I play the file created with the command below, I do see metadata.

    // writing to a file
    var output:File = File.desktopDirectory.resolvePath("stream.flv");
    var outputPath:String = output.nativePath;
    "#transcode{vcodec=FLV1}:std{access=file,mux=ffmpeg{mux=flv},dst=" + outputPath + "}");

    Hoping someone sees where I am going wrong here.


    Update 1 : Just to add some more detail (!) – I took a look at the .flv file that is generated to examine the metadata. It appears at the head of the file as shown below. I have the correct onMetaData handler set up and see a trace of this data if I play the file from disk. I do not see this trace when reading from stdout and NetStream is in Data Generation mode. Is it possible that it isn’t getting sent to stdout for some reason ? I’ve tried generating my own header and appending that before the stream starts – I may not have the header format correct.

    enter image description here


    Update 2 : So in my AIR app I was able to crudely parse the incoming stdout stream coming from VLC. I wanted to see if the FLV header data was being sent – and it appears that it is. I don’t know if it is in the correct format, etc. but as I mention above, if I write to an .flv file instead of stdout, a valid .flv file is created.

    Completely at a loss now – have tried everything I could think of and followed up every web link I could find on the issues involved. Alas – so close and it would have been so cool to leverage VLC from within AIR.

  • php shell_exec() command pop out error and permission denied ffmpeg

    19 octobre 2016, par user3711175

    This is the main index.php file where I run my code to generate a video thumbnail with ffmpeg but it has no lucks at all I have been searching online for a lot of solution but nothing comes out i will be very appreciate if you guys can help me out. The shell_exec() keep giving me error

    <form action="index.php" method="POST" enctype="multipart/form-data">
    <input type="file" /><input type="submit" value="upload" />

    </form>

    &lt;?php

    if(isset($_POST['submit'])){


    $ffmpeg = "/Users/mac/Documents/ffmpeg/3.1.4/bin/ffmpeg";
    $videoFile = $_FILES["file"]["tmp_name"];
    $imageFile = "1.jpg";
    $size = "320x240";
    $getFromSecond = 5;
    $cmd = "$ffmpeg -i $videoFile -an -ss $getFromSecond -s $size $imageFile 2>&amp;1";

       echo shell_exec($cmd);


    echo shell_exec('whoami');
    if(!shell_exec($cmd)){


       echo "thumbnail created";
    }else{
       echo "error creating thumbnail";
    }






    }

    ?>