Recherche avancée

Médias (1)

Mot : - Tags -/ipad

Autres articles (99)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

Sur d’autres sites (15116)

  • 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

    


  • avfilter/vf_fps : Work around msvc (c99wrap) build failure

    26 août 2013, par Pavel Koshevoy
    avfilter/vf_fps : Work around msvc (c99wrap) build failure
    

    c99wrap choked on initialization of .dbl start_time option with
    AV_NOPTS_VALUE : Unable to parse int64_t as expression primary

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavfilter/vf_fps.c
  • ffmpeg writing the output of the command to a text file doesn't work with C#

    5 février 2021, par Lifshitz

    I am using ffmpeg commands with C# processes. I used a command to change the audio of a video and it was working but I also wanted to write the output to a text file. The new command works from cmd but apparently, it does not work while using a C# process.&#xA;The command that does not work with the Process is :

    &#xA;

    ffmpeg -i videoPath -i audioPath -c:v copy -map 0:v:0 -map 1:a:0 -shortest newVideoPath > textFilePath 2>&amp;1&#xA;

    &#xA;

    And the working command is the same without the last part :

    &#xA;

    ffmpeg -i videoPath -i audioPath -c:v copy -map 0:v:0 -map 1:a:0 -shortest newVideoPath&#xA;

    &#xA;

    Here is the C# code :

    &#xA;

     Process proc = new Process();&#xA; proc.StartInfo.FileName = ffmpegPath;&#xA; proc.StartInfo.RedirectStandardError = true;&#xA; proc.StartInfo.RedirectStandardOutput = true;&#xA; proc.StartInfo.UseShellExecute = false;&#xA; proc.StartInfo.CreateNoWindow = true;&#xA; proc.StartInfo.Arguments = "-i " &#x2B; videoPath &#x2B; " -i " &#x2B; newAudioPath &#x2B; " -c:v copy" &#x2B; " -map" &#x2B; " 0:v:0 " &#x2B; "-map 1:a:0 " &#x2B; "-shortest " &#x2B; newVideoPath &#x2B; " > " &#x2B; @"F:\Videos\log.txt"&#x2B; " 2>&amp;1";&#xA; proc.EnableRaisingEvents = true;&#xA; proc.Exited &#x2B;= UpdateVideoSource;&#xA; proc.Start();&#xA;

    &#xA;

    I checked the arguments over and over again, and looked for missing spaces but nothing worked.&#xA;What can be the problem ?

    &#xA;