Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (81)

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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

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

Sur d’autres sites (8120)

  • Running a Python script directly within FFmpeg's filter complex

    15 juin 2024, par Rino

    As the title suggests I wish I could run my detection script inside the filter complex. The script should get input "IN" from the filter complex "OUT" and output a boolean value to filter this frame or keep it. Since FFmpeg is open source I wanted to ask Is this possible to do ? If yes any suggestion on where should I start or any help/hint is appreciated. BTW I am new to C programming. I have a Java/python background.

    


  • Error running exec() for FFMPEG in Android app

    28 juillet 2015, par Douglas Anunciação

    When following this tutorial : https://github.com/cine-io/android-ffmpeg-with-rtmp and after compiling successfully in Ubuntu 14.04 64-bits I get an IOException when trying to execute ffmpeg :

    String abspath = getApplicationInfo().nativeLibraryDir;

           // Change the permissions
           try {
               Runtime.getRuntime().exec("chmod -R 777 "+ abspath).waitFor();
           } catch (InterruptedException e) {
               e.printStackTrace();
           } catch (IOException e) {
               e.printStackTrace();
           }

           String cameraPath = "/storage/emulated/0/DCIM/Camera/";
           String cmd = "ffmpeg -i "+ cameraPath + "VID_20150728_150045662.mp4 -y "+ cameraPath + "output.mp4";

           ProcessBuilder processBuilder = new ProcessBuilder(cmd);

           final Map environment = processBuilder.environment();

           environment.put("LD_LIBRARY_PATH", getDir("lib", 0).getAbsolutePath());

           try {
               Process process = processBuilder.start();
           } catch (IOException e) {
               e.printStackTrace();
           }

    And the IOException is :

    Error running exec(). Command : [ffmpeg -i
    /storage/emulated/0/DCIM/Camera/VID_20150728_150045662.mp4 -y
    /storage/emulated/0/DCIM/Camera/output.mp4] Working Directory : null
    Environment : [ANDROID_ROOT=/system,
    EMULATED_STORAGE_SOURCE=/mnt/shell/emulated, LOOP_MOUNTPOINT=/mnt/obb,
    EMULATED_STORAGE_TARGET=/storage/emulated, ANDROID_BOOTLOGO=1,
    LD_LIBRARY_PATH=/data/data/douglasanunciacao.ndksample/app_lib,
    EXTERNAL_STORAGE=/storage/emulated/legacy, ANDROID_SOCKET_zygote=11,
    ANDROID_DATA=/data,
    PATH=/sbin :/vendor/bin :/system/sbin :/system/bin :/system/xbin,
    ANDROID_ASSETS=/system/app, ASEC_MOUNTPOINT=/mnt/asec,
    BOOTCLASSPATH=/system/framework/core.jar :/system/framework/conscrypt.jar :/system/framework/okhttp.jar :/system/framework/core-junit.jar :/system/framework/bouncycastle.jar :/system/framework/ext.jar :/system/framework/framework.jar :/system/framework/framework2.jar :/system/framework/telephony-common.jar :/system/framework/voip-common.jar :/system/framework/mms-common.jar :/system/framework/android.policy.jar :/system/framework/services.jar :/system/framework/apache-xml.jar :/system/framework/webviewchromium.jar :/system/framework/telephony-msim.jar :/system/framework/oem-services.jar :/system/framework/qcmediaplayer.jar,
    ANDROID_PROPERTY_WORKSPACE=9,0, ANDROID_STORAGE=/storage]

    Does anyone knows the solution for this problem ?

  • Running cmd in python (ffmpeg)

    29 mars 2017, par Coolcrab

    Atm I have this as my code, the first line seems to work well but the 2nd gives errrors.

    os.chdir('C://Users/Alex/Dropbox/code stuff/test')
    subprocess.call(['ffmpeg', '-i', 'test%d0.png', 'output.avi'])

    error :

    Traceback (most recent call last):
     File "C:\Users\Alex\Dropbox\code stuff\solarsystem.py", line 56, in <module>
       subprocess.call(['ffmpeg', '-i', 'test%d0.png', 'output.avi'])
     File "C:\Python27\lib\subprocess.py", line 524, in call
       return Popen(*popenargs, **kwargs).wait()
     File "C:\Python27\lib\subprocess.py", line 711, in __init__
       errread, errwrite)
     File "C:\Python27\lib\subprocess.py", line 948, in _execute_child
       startupinfo)
    WindowsError: [Error 2] The system cannot find the file specified
    </module>