Recherche avancée

Médias (91)

Autres articles (85)

  • 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 (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (6125)

  • PHP script works when called from command line, does not when called as background via web server

    6 juin 2014, par fNek

    I am facing a problem with a certain PHP script (CLI mode) I wrote. It should take certain arguments to convert a video with FFMPEG. When I call it from the command prompt, it works fine. However, I have to call it from a web server.

    The PHP script that handles the request calls the PHP script in the background via code I found here at SE :

    if (substr(php_uname(), 0, 7) == "Windows"){
       pclose(popen("start /B ". $cmd, "r"));  
    }
    else {
       exec("nohup " . $cmd . " > /dev/null &");
    }

    When run this way, however, the PHP script does not create the files, even after a much longer time than it took via the command prompt.

    The script runs, I have checked that by letting it insert dummy entries into the database. It also has the permission to create files, which I verified by letting it create a text file.

    What could be the difference that prevents my script from working properly ? I develop and test this code with XAMPP on Windows 7.

    //EDIT : I forgot to give you this link to the background PHP script : http://pastebin.com/pfTZMfwi

    //EDIT2 : I found out that the PHP process runs for a very short time (only until next refresh of the Windows task manager). Could it be that PHP kills its children when it exits ?

    //EDIT3 : No, that seems not to be the problem. I cannot execute programs via exec() when the script is called as background from the web server. What could the problem be, and what would be a solution/workaround ?

    //EDIT4 : The command that seems to cause the trouble is not exec()/etc. but the echo command I did before the exec(). I am going to remove it, but why does it cause a problem ?

  • Can I convert jpeg byte array to a RTSP stream to send to my server

    1er mars 2015, par Andrew Simpson

    Is it possible to use FFMPEG - using C# - to convert jpegs to a stream i.e RTSP and then stream that rtsp to my server ?

    The intent is to save the amount of bytes I upload to my server.

    I have looked around but could not find anything about this..

  • read rtsp stream in my server

    1er mars 2015, par Andrew Simpson

    using C# and ffmpeg.

    Is it possible to stream from a RTSP on my local network and stream it back to my server and then somehow recieve my rtsp stream on my server using c# ?
    What is the accepted way ?

    I started this off in a DOS Window on my client PC and I installed Fiddler on my server to if it could detect the RTSP coming in. It did not.

    These are my arguments for FFMPEG :

    ffmpeg -i rtsp://my rstp connection -vf mpdecimate -c:v libx264 -preset medium -crf 25 -r 10 pipe rtsp://88.208.237.66

    I have used http as well t my server.

    I just wanted to see if ANYTHING came through to my server...