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 (109)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (14168)

  • 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.
The command that does not work with the Process is :

    


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


    


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

    


    ffmpeg -i videoPath -i audioPath -c:v copy -map 0:v:0 -map 1:a:0 -shortest newVideoPath


    


    Here is the C# code :

    


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


    


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

    


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

    &#xA;

    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.

    &#xA;

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

    &#xA;

    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.

    &#xA;

    Looking forward to hear from you.&#xA;Thanks

    &#xA;