Recherche avancée

Médias (91)

Autres articles (20)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (3926)

  • ffmpeg not working on Asp.net MVC

    9 avril 2015, par Faisal Mq

    I am using ffmpeg to extract thumbnails from video files and also to get their durations.
    The code works absolutely fine in Console Application, but when I use it on Asp.Net MVC 3, it does not work at all.

    I have placed ffmpeg.exe file on my application’s root folder and set its property "Copy to Output Directory" to "Copy Always"

    ffmpeg file gets placed in my application’s Bin folder after that I compile my project but it is not doing anything. It does not give me any error but also does not giving me my intended results, which are otherwise working absolutely fine in a Console application.

    [NOTE] In QuickWatch when I see the value for "output" on statement :

    string output = SROutput.ReadToEnd();

    ffmpeg shows me following output but this output does not include Duration info like it does in Console application.

    ffmpeg version N-69422-gf5722ba Copyright (c) 2000-2015 the FFmpeg developers
     built on Jan 30 2015 22:13:10 with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
     libavutil      54. 18.100 / 54. 18.100
     libavcodec     56. 21.101 / 56. 21.101
     libavformat    56. 19.100 / 56. 19.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5.  9.102 /  5.  9.102
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100

    I am pasting here the code that I am using just to get the duration of a media file using ffmpeg.

    private static TimeSpan GetVideoDurationByFFMPEG(string ffmpegPath, string filepath)
           {
               string param = string.Format("-i \"{0}\"", filepath);

               System.Text.RegularExpressions.Regex re = null;
               System.Text.RegularExpressions.Match m = null;
               TimeSpan Duration = new TimeSpan();

               //Get ready with ProcessStartInfo
               ProcessStartInfo oInfo = new ProcessStartInfo(ffmpegPath, param);
               oInfo.CreateNoWindow = true;

               //ffMPEG uses StandardError for its output.
               oInfo.RedirectStandardError = true;
               oInfo.WindowStyle = ProcessWindowStyle.Hidden;
               oInfo.UseShellExecute = false;

               // Lets start the process

               Process mProcess = Process.Start(oInfo);

               // Divert output
               StreamReader SROutput = mProcess.StandardError;

               // Read all
               string output = SROutput.ReadToEnd();

               //get duration

               re = new System.Text.RegularExpressions.Regex("[D|d]uration:.((\\d|:|\\.)*)");
               m = re.Match(output);

               if (m.Success)
               {
                   //Means the output has cantained the string "Duration"
                   string temp = m.Groups[1].Value;
                   string[] timepieces = temp.Split(new char[] { ':', '.' });
                   if (timepieces.Length == 4)
                   {

                       // Store duration
                       Duration = new TimeSpan(0, Convert.ToInt16(timepieces[0]), Convert.ToInt16(timepieces[1]), Convert.ToInt16(timepieces[2]), Convert.ToInt16(timepieces[3]));
                   }
               }

               mProcess.Close();

               return Duration;
           }

    Please someone guide me where I am getting wrong.

  • ffmpeg command to merge two mp4 file is not working

    27 février 2018, par Arpit Pagaria

    Hi I am trying to merge two mp4 file using ffmpeg commad. I found below command from somewhere. I have copy this complete command and paste this in cmd. But got error "Error initiaNo such filter : ’\’.Error Initializing complex filters.Invalid argument". Please help me out how to run this command ?

    ffmpeg -i GYM_1.mp4 -i Snow_1.mp4 -filter_complex "\
    [0:v]setsar=1[0v]; \
    [1:v]scale=720:576:force_original_aspect_ratio=decrease,setsar=1,\
        pad=720:576:(ow-iw)/2:(oh-ih)/2[1v]; \
    [0v][0:a][1v][1:a]concat=n=2:v=1:a=1[outv][outa] \
    " -map "[outv]" -map "[outa]" \
    -c:v libx264 -crf 23 \
    ffmpeg1.mp4
  • Using Sony camera (a6500) as a webcam in Ubuntu 20.04 - Working fine

    22 juillet 2022, par The Flying Maverick

    Is possible to use your Sony camera as webcam in ubuntu ?, In my case I have tried with the following steps and everything is running fine.