Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (62)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (7598)

  • Why when creating video file with ffmpeg when playing the video file the video is moving very fast ?

    22 août 2013, par user2704319

    This is how I am using the ffmpeg arguments :

    public void Start(string pathFileName, int BitmapRate)
           {
               try
               {
                   string outPath = pathFileName;
                   Logger.Write("Output Video File Directory: " + outPath);
                   Logger.Write("Frame Rate: " + BitmapRate.ToString());
                   p = new NamedPipeServerStream(pipename, PipeDirection.Out, 1, PipeTransmissionMode.Byte);
                   b = new byte[1920 * 1080 * 3]; // some buffer for the r g and b of pixels of an image of size 720p

                   ProcessStartInfo psi = new ProcessStartInfo();
                   psi.WindowStyle = ProcessWindowStyle.Hidden;
                   psi.UseShellExecute = false;
                   psi.CreateNoWindow = true;
                   psi.FileName = ffmpegFileName; // the ffmpegFileName is the ffmpeg.exe !
                   Logger.Write("psi.FileName: " + psi.FileName);
                   psi.WorkingDirectory = workingDirectory;
                   Logger.Write("psi.WorkingDirectory: " + psi.WorkingDirectory);
                   psi.Arguments = @"-f rawvideo -pix_fmt bgr0 -video_size 1920x1080 -i \\.\pipe\mytestpipe -map 0 -c:v libx264 -r " + BitmapRate + " " + outPath;
                   Logger.Write("ProcessStartInfo Arguments" + @"-f rawvideo -pix_fmt bgr0 -video_size 1920x1080 -i \\.\pipe\mytestpipe -map 0 -c:v libx264 -r " + BitmapRate + " " + outPath);
                   //psi.RedirectStandardOutput = true;
                   process = Process.Start(psi);
                   process.EnableRaisingEvents = false;
                   p.WaitForConnection();
               }
               catch (Exception err)
               {
                   Logger.Write("Exception Error: " + err.ToString());
               }
           }

    I guess it is something with the arguments command, but I am not sure where the problem is.
    I tried to google and saw that you can use h264 or libx264 only with an mp4 output file ?

    How can I fix this ?

    When I am running the video file on any player I see everything moving very fast.

    This is a screenshot of the ffmpeg cmd window :

    enter image description here

    And this is a link for the video file it created 1.37MB size and only 3 seconds length playing it with Media Player Classic :

    https://skydrive.live.com/redir?resid=EB1C71C44C3976D5 !295&authkey= !AJjCZ-zINYp7h4A

    https://skydrive.live.com/redir?resid=EB1C71C44C3976D5!295&authkey=!AJjCZ-zINYp7h4A

    The ffmpeg command from the cmd window :

    ffmpeg version N-53885-gf97e28e Copyright (c) 2000-2013 the FFmpeg developers
     built on Jun  7 2013 00:32:38 with gcc 4.7.3 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
    amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
    enable-libxvid --enable-zlib
     libavutil      52. 35.100 / 52. 35.100
     libavcodec     55. 15.100 / 55. 15.100
     libavformat    55.  8.102 / 55.  8.102
     libavdevice    55.  2.100 / 55.  2.100
     libavfilter     3. 75.101 /  3. 75.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100

    And this is when its working :

    ffmpeg version N-53885-gf97e28e Copyright (c) 2000-2013 the FFmpeg developers
     built on Jun  7 2013 00:32:38 with gcc 4.7.3 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
    amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
    enable-libxvid --enable-zlib
     libavutil      52. 35.100 / 52. 35.100
     libavcodec     55. 15.100 / 55. 15.100
     libavformat    55.  8.102 / 55.  8.102
     libavdevice    55.  2.100 / 55.  2.100
     libavfilter     3. 75.101 /  3. 75.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, rawvideo, from '\\.\pipe\mytestpipe':
     Duration: N/A, start: 0.000000, bitrate: 1658880 kb/s
       Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 1658880 k
    b/s, 25 tbr, 25 tbn, 25 tbc
    No pixel format specified, yuv444p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 003bc420] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
    [libx264 @ 003bc420] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
    Output #0, avi, to 'D:\okwow.avi':
     Metadata:
       ISFT            : Lavf55.8.102
       Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv444p, 1920x1080,
    q=-1--1, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> libx264)
    Press [q] to stop, [?] for help
    frame=   10 fps=1.9 q=0.0 size=       6kB time=00:00:00.00 bitrate=N/A
  • Display image every X second and during Y second in ffmpeg

    29 juin 2016, par Ahmad Ali Mukashaty

    I want to stream video with gif image (myimage.gif) but I want to display it every X minute (every 10 minutes) and during this time I want to make it loops Y time and then disappear (fade out).

    or

    dispaly myimage.gif every X minute and still appear during Y minute and then disappear (disappear after 5 minute for example )

    I want to make this every 10 minutes until video finishes
    how can I do it ?

    ffmpeg -re -i test.mp4 -i logo.png -i myimage.gif -filter_complex
    "[0][1]overlay=0:0[a];[a][2]overlay=0:H-90,scale=1920:1080" -f mpegts
    udp://127.0.0.1:port
  • Adding gif image every X second with looping Y times in ffmpeg

    28 juin 2016, par Ahmad Ali Mukashaty

    I want to stream video with gif image (myimage.gif) but I want to display it every X minute (every 10 minutes) and during this time I want to make it loops Y time and then disappear (fade out).

    I want to make this every 10 minutes until video finishes
    how can I do it ?

    this is my command

    ffmpeg -re -i test.mp4 -i logo.png -i myimage.gif -filter_complex
    "[0][1]overlay=0:0[a];[a][2]overlay=0:H-90,scale=1920:1080" -f mpegts
    udp://127.0.0.1:port