Recherche avancée

Médias (0)

Mot : - Tags -/gis

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

Autres articles (84)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (11386)

  • Error during use of ffmpeg for the joining of images to form a video file

    19 juin 2022, par Commoner

    I am trying to join a sequence of images (*.png) using ffmpeg. The filenames of the images are in the following format : recon_0001.png,  recon_0002.png, ... , recon_0100.png. I would like to join the images sequentially (i.e. recon_0001.png being the first frame, recon_0002.png the second frame and so on.)

    



    After looking at the following link : Python : Make a video using several .png images , I tried to implement my task using the following code :

    



    from __future__ import division
import cv2
import os
import matplotlib.pyplot as plt
from pylab import pcolor, show, colorbar, xticks, yticks
import numpy as np

if(1):
    ffmpeg -f image2 -r 1/5 -i /Users/Username/Folder/recon_%04d.png -vcodec mpeg4 -y movie.mp4


    



    But, I get the following error :

    



    ffmpeg -f image2 -r 1/5 -i /Users/Username/Folder/recon_%04d.png -vcodec mpeg4 -y movie.mp4
               ^
SyntaxError: invalid syntax


    



    What am I missing here ? I am new to the use of ffmpeg and I will really appreciate any help.

    


  • Compress the video using ffmpeg when upload using php form ?

    7 mars 2018, par kunal

    I am using laravel famework and i am using ffmpeg PHP library. If have not found any good links for video compression using ffmpeg. There are two cases of compression.

    1) Video Already exists in folder - this i have done already
    2) Video Upload through Form - this i am not able to do :(

    Lets i am sharing 1st case code :-

    Suppose my video is 13Mb and below code compressed to 4.5Mb (running fine)
    $inputVideo = public_path('input/airplane_flight_airport_panorama_1080.mp4');
    $outputVideo = public_path('uploads/output.mp4');
    exec("ffmpeg -i $inputVideo -b 1000000 $outputVideo"); // this compressing or resize the video

    Now second case is uploading using form :-

    <form method="post" action="{{url('/api/upload-test-video')}}" enctype="multipart/form-data">
    <input type="file" /><br />
    <input type="submit" value="Submit" />
    </form>

    Now when i go to function :-

    public function uploadTestVideo(Request $request){
       echo "<pre>"; print_r($_FILES);
       // now in this function i wnat to compress the video
    }
    </pre>

    Note :- I don’t want to upload video in some folder and after that get the video and compress the video. Please help how can i resolve this problem. Thanks in advance :)

  • how to merge Audio and video in C# windows form other than ffmpeg

    31 janvier 2018, par Tahir Mulla

    Im trying to merge audio and video using ffmpeg following is my code,
    problem is it take too much time for long video,is there any other way of merging audio and video files

           string Path_FFMPEG = Application.StartupPath + "\\ffmpeg.exe";
           string Wavefile = applicationPath + @"\Vizipp_Video_" + currentDateTime + ".wav"; ;
           string videoFile = applicationPath + @"\Vizipp_Video_" + currentDateTime + ".avi";
           string strResult = applicationPath + @"\Vizipp_Video_" + currentDateTime + ".mpg";

           System.Diagnostics.Process proc = new System.Diagnostics.Process();


               proc.StartInfo.Arguments = string.Format("-i {0} -i {1} {2}", Wavefile, videoFile, strResult);
               proc.StartInfo.UseShellExecute = false;
               proc.StartInfo.CreateNoWindow = false;
               proc.StartInfo.RedirectStandardOutput = true;
               proc.StartInfo.RedirectStandardError = true;
               proc.StartInfo.FileName = Path_FFMPEG;
               proc.Start();
               //string StdOutVideo = proc.StandardOutput.ReadToEnd();
               //string StdErrVideo = proc.StandardError.ReadToEnd();
               MessageBox.Show("Please wait while we are processing on your video recording...", "Vizipp", MessageBoxButtons.OK, MessageBoxIcon.Information);