Recherche avancée

Médias (91)

Autres articles (70)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

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

  • Ffmpeg : Output a video made of several video chunks of the input video

    20 mai 2013, par mad

    I was wondering if it was possible to output a video made of several extracts of the input video.
    For example outputting a video made of the first 10s of each minute of the input.

    I know you can do it programmatically, calling several time ffmpeg with -ss and -t to make the chunks and then merge them, but is it possible to do it in one command using video filters ?

    Thanks !

  • 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
  • How to convert fisheye-video into an equirectangular video to use with 360°-video viewers ?

    11 juin 2017, par P. Dee

    Actioncams like GoPro put a wider fov into a standard 1920 x 1080 or higher resolution at the expense of distortion.

    How do I use ffmpeg to convert this fov-encoded format into an equirectangular video to use with 360°-video viewers ?