Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (53)

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

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

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

  • FFMEG : run code after complete conversion

    26 octobre 2019, par Сергей Барахтенко

    There is a code that runs FFMPEG

    shell_exec($this->config->item('ffmpeg') . ' -i ' . $path . ' ' . $cmd . ' 1>' . $folder . '/log.txt 2>&1 ');

    And there is the following line, which should, taking into account the peculiarities of the PHP language, work out immediately after shell_exec

    $params = array(
       'status' => 'ready'
    );
    $result = $this->model->editVideo($video_key, $params);

    This line simply updates the status of the video in the database

    My question is, why doesn’t the further php code work after completion shell_exec ? What could be the catch ?

  • Video Processing in background with work manager using ffmpeg

    24 novembre 2020, par Naseer Attari

    The problem comes when during the video processing user closes the application himself from the task manager then its processing stops.

    


    I am working on video file processing in android using FFMpeg, which is working perfectly but when I do close the application during processing from task manager then video processing has stopped working even I added all the work in work manager.

    


        @Override 
public Result doWork() {
        shellCommand = new ShellCommand();
        ffmpegBinary = new String[] {
            FileUtils.getFFmpeg(context).getAbsolutePath()
        };
        command = concatenate(ffmpegBinary, command);
        CommandResult commandResult = getCommandResult(command);
        if (command`enter code here`Result.success) {
            onSuccess(videoPath);
        } else {
            onFailure(videoPath);
        }
    }
    //getCommandResult
    private CommandResult getCommandResult(String[] command) {
        try {
            process = shellCommand.run(command, null);
    
            if (process == null) {
                return CommandResult.getDummyFailureResponse();
            }
            checkAndUpdateProcess();
            return CommandResult.getOutputFromProcess(process);
        } catch(Exception e) {} finally {
            Util.destroyProcess(process);
        }
        return CommandResult.getDummyFailureResponse();
    }


    


    As far as I can tell, when the application closes from the background then the parent process destroys it and is destroying all of its sub-process too, FFMpeg is using the android process to execute the command and check the video file status during video processing.

    


    Looking forward to hear from you.
Thanks

    


  • Creating MPEG4 video file with Python from raw frames

    11 août 2016, par Mikko Ohtamaa

    I have a raw video frame source which I can access in Python. I’d like to create a MPEG4 video out of this, with MP3 background music.

    What kind of tools and libraries are available in Python for such a task ? Preferably I’d like to have an API for which I can feed output filename and then individual frames as 24 bit raw images.