Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (45)

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

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

  • Convert form 30 to 60fps by increasing speed, not duplicating frames, using FFmpeg

    12 août 2018, par Matt Pellegrini

    I have a video that is incorrectly labelled at 30fps, it is actually 60fps and so looks like it’s being played at half speed. The audio is fine, that is, the soundtrack finishes half way through the video clip. I’d like to know how, if possible to fix this, that is double the video speed, making it 60fps and meaning that the audio and video are synced.

    The file is H.264 and the audio MPEG-4 AAC.

    File details as given by ffmpeg, as requested :

    ffmpeg version 0.8.9-6:0.8.9-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers
    built on Nov  9 2013 19:09:46 with gcc 4.8.1
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './Tignes60fps.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2014-01-13 02:23:09
       Duration: 00:08:33.21, start: 0.000000, bitrate: 5690 kb/s
       Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 5609 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
       creation_time   : 2014-01-13 02:23:09
       Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 156 kb/s
    Metadata:
         creation_time   : 2014-01-13 02:23:09
    At least one output file must be specified
  • Unable to Creating Video File from one audio file and single image file in windows form c# using ffmpeg.exe

    25 juillet 2018, par MoonTech

    Hello I created one form for creating video from one mp3 file and one jpg file.
    For this I Wrote this Code but this is not the answer.

    private void button2_Click(object sender, EventArgs e)
       {        
           string input_audio = @"C:\Users\...\Desktop\test\audio";        

           string outPut = @"C:\Users\...\Desktop\test\outputvideo";
           string img= @"C:\Users\...\Desktop\folder image\image123";

           stripAudioTest(img, input_audio,  outPut);

       }

       public void stripAudioTest(string image, string AudioFile, string outputfile)
       {
           string FFMPEG_PATH = "ffmpeg.exe";          

           string strParam = "-loop 1 -i "+ image+".jpg  -i "+ AudioFile+ ".mp3 -c:v libx264 -c:a aac -strict experimental -b:a 128k -shortest "+ outputfile+ ".mp4";                    

           process(FFMPEG_PATH, strParam);

       }

       public void process(string Path_FFMPEG, string strParam)
       {
           try
           {
               Process ffmpeg = new Process();
               ffmpeg.StartInfo.UseShellExecute = false;
               ffmpeg.StartInfo.RedirectStandardOutput = true;              
               ffmpeg.StartInfo.CreateNoWindow = true;
               ffmpeg.StartInfo.FileName = Path_FFMPEG;
               ffmpeg.StartInfo.Arguments = strParam;              
               ffmpeg.Start();
               ffmpeg.StartInfo.ErrorDialog = true;            
               ffmpeg.WaitForExit();

           }
           catch (Exception ex)
           {
               MessageBox.Show(ex.Message);
           }
       }

    FYI : mp3 file Duration 5 minutes and 23 Seconds .
    1. I am new in FFmpeg so I don’t have idea how to get out of this.
    2. I Got ffmpeg command from Here
    3. I tried Few of more ffmpeg command .Please check it below.

    string strParam = "-y -stream_loop -1 -i " + image + ".jpg -i " + AudioFile + ".mp3 -y -r 25 -b 2500k - acodec ac3 - ab 384k - vcodec mpeg4 " + outputfile+".mp4";

    another one

    string strParam = "-loop 1 -i " + image + ".jpg -i " + AudioFile+ ".mp3 -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k -pix_fmt yuv420p -shortest " + outputfile+".mp4";
  • how can I get the length of an video in order to validate django form before upload can begin ?

    20 juin 2018, par GetItDone

    I have an app running on heroku that allows users to upload videos, then I use ffmpeg to preform 3 tasks using celery and redis-to-go :

    1) Check the format and if it isn't already mp4, convert it to mp4.
    2) Extract a 3 minute clip, in mp4 format
    3) Grab an image from the video

    The problem is that I want to verify the video length before the video is uploaded and the three tasks are run since I want to make sure all videos are at least 15 minutes, and if not I want to raise a ValidationError. So when validating the form, I want to do something like this :

    def clean(self, *args, **kwargs):        
       data = super(ContentTypeRestrictedVideoField, self).clean(*args, **kwargs)

       file = data.file
       try:
           content_type = file.content_type
           main, extension = content_type.split('/')
           if content_type in self.content_types:
               if file._size > self.max_upload_size:
                   raise forms.ValidationError(_('Please keep filesize under %s. Current filesize %s') % (filesizeformat(self.max_upload_size), filesizeformat(file._size)))
               if VIDEO_LENGTH < MINIMUM_LENGTH:
                   raise forms.ValidationError(_('Please make sure video file is at least %s. Current video length %s') % (MINIMUM_LENGTH, VIDEO_LENGTH)
           else:
               raise forms.ValidationError(_('File type is not supported. File must be mov, flv, avi, mpeg, wmv, or mp4.'))
       except AttributeError:
           pass        

       return data

    What could I do for VIDEO_LENGTH and MINIMUM_LENGTH ? I read that ffprobe could be used for getting the duration, but it isn’t available with the buildpack I am using and I am very inexperienced. I can’t just validate file size because it can vary greatly depending on numerous factors. Anyone have any solution as to what I could try ? Thanks