Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (48)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

  • How to batch "touch" files in subfolder with data from parent folder

    12 août 2019, par Constantine Grigorakis

    I have a folder named "Video" on my Desktop and inside that folder are a bunch of .MTS video files. (00000.MTS, 00001.MTS, 00002.MTS etc...)

    There is also a subfolder "H.265" (Video > H.265) which contains files (00000.mp4, 00001.mp4, 00002.mp4 etc...) which were made by converting the files from the parent folder. The problem is they don’t contain the correct date created metadata.

    I want to use the command

    touch -r 00000.MTS 00000.mp4
    touch -r 00001.MTS 00001.mp4
    ...
    touch -r 000mn.MTS 000mn.mp4

    to copy the date from the MTS to the mp4 file.

    Is there a way I could write a for loop or something to do this for every single file ?

    I am using MacOS Mojave.

  • 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

    


  • Android Video Processing in background with work manager using ffmpeg

    27 juin 2019, 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);
           }`enter code here`
           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