Recherche avancée

Médias (91)

Autres articles (14)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (4274)

  • ffmpeg doesn't recognize Quicktime DV codec

    8 août 2017, par 3pointedit

    I have had success with excellent advice, on a Mac OSX10.5, converting a modified MXF media structure to h264 while retaining multitrack audio. But I cannot get ffmpeg to work in Windows environment.

    See this page.

    Here’s the result of latest failure-

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

    F:\>h:

    H:\>cd conversion folder


    H:\Conversion folder>ffmpeg ffmpeg -report -enable_drefs 1 -use_absolute_path 1
    -i fdb9_AerialsEagleFarm_0610.mov -map 0:v -map 0:a -write_tmcd 1 fd9_AerialsEag
    leFarm_A0609.mp4
    ffmpeg started on 2017-08-08 at 15:01:24
    Report written to "ffmpeg-20170808-150124.log"
    ffmpeg version N-86950-g1bef008 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 7.1.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --e
    nable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --
    enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
    --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-li
    bfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug -
    -enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl
    e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
    bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolam
    e --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
    --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable
    -libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 70.100 / 55. 70.100
     libavcodec     57.102.100 / 57.102.100
     libavformat    57. 76.100 / 57. 76.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 98.100 /  6. 98.100
     libswscale      4.  7.102 /  4.  7.102
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] Opening 'video.vid' for reading
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] stream 0, error opening alias: path
    ='/VibrintAVFiles/Xchange In/fdb9_AerialsEagleFarm_0610.vmf/video.vid', dir='fdb
    9_AerialsEagleFarm_0610.vmf', filename='video.vid', volume='default', nlvl_from=
    1, nlvl_to=1
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] Opening 'audio_0.pcm' for reading
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] stream 1, error opening alias: path
    ='/VibrintAVFiles/Xchange In/fdb9_AerialsEagleFarm_0610.vmf/audio_0.pcm', dir='f
    db9_AerialsEagleFarm_0610.vmf', filename='audio_0.pcm', volume='default', nlvl_f
    rom=1, nlvl_to=1
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] Opening 'audio_1.pcm' for reading
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] stream 2, error opening alias: path
    ='/VibrintAVFiles/Xchange In/fdb9_AerialsEagleFarm_0610.vmf/audio_1.pcm', dir='f
    db9_AerialsEagleFarm_0610.vmf', filename='audio_1.pcm', volume='default', nlvl_f
    rom=1, nlvl_to=1
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] Opening 'audio_2.pcm' for reading
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] stream 3, error opening alias: path
    ='/VibrintAVFiles/Xchange In/fdb9_AerialsEagleFarm_0610.vmf/audio_2.pcm', dir='f
    db9_AerialsEagleFarm_0610.vmf', filename='audio_2.pcm', volume='default', nlvl_f
    rom=1, nlvl_to=1
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] Opening 'audio_3.pcm' for reading
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] stream 4, error opening alias: path
    ='/VibrintAVFiles/Xchange In/fdb9_AerialsEagleFarm_0610.vmf/audio_3.pcm', dir='f
    db9_AerialsEagleFarm_0610.vmf', filename='audio_3.pcm', volume='default', nlvl_f
    rom=1, nlvl_to=1
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] Could not find codec parameters for
    stream 0 (Video: dvvideo (dvpp / 0x70707664), none, 720x576, 28800 kb/s): unspe
    cified pixel format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Guessed Channel Layout for Input Stream #0.1 : mono
    Guessed Channel Layout for Input Stream #0.2 : mono
    Guessed Channel Layout for Input Stream #0.3 : mono
    Guessed Channel Layout for Input Stream #0.4 : mono
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fdb9_AerialsEagleFarm_0610.mov':
     Metadata:
       creation_time   : 2016-10-06T07:01:58.000000Z
     Duration: 00:12:43.90, start: 0.000000, bitrate: 1 kb/s
       Stream #0:0(eng): Video: dvvideo (dvpp / 0x70707664), none, 720x576, 28800 k
    b/s, SAR 118:81 DAR 295:162, 25 fps, 25 tbr, 2500 tbn, 2500 tbc (default)
       Metadata:
         creation_time   : 2016-10-06T07:01:58.000000Z
         handler_name    : Apple Alias Data Handler
         timecode        : 01:17:27:12
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2016-10-06T07:01:58.000000Z
         handler_name    : Apple Alias Data Handler
       Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2016-10-06T07:01:58.000000Z
         handler_name    : Apple Alias Data Handler
       Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2016-10-06T07:01:58.000000Z
         handler_name    : Apple Alias Data Handler
       Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2016-10-06T07:01:58.000000Z
         handler_name    : Apple Alias Data Handler
       Stream #0:5(eng): Data: none (tmcd / 0x64636D74) (default)
       Metadata:
         creation_time   : 2016-10-06T07:01:58.000000Z
         handler_name    : Apple Handle Data Handler
         timecode        : 01:17:27:12
    [NULL @ 00000000005cad20] Unable to find a suitable output format for 'ffmpeg'
    ffmpeg: Invalid argument

    And a screen grab of file structure (although I’m using an alias for target)

    alt mxf media

  • Picturebox from AForge FFMPEG empty - C#/WinForms

    1er août 2017, par Jake Delson

    I’ve done a ton of research and looked at a lot of questions here but can’t seem to find anything to help me. I should preface I’m very new to C#, Windows Forms, and SO ! I’m a 1st year CompSci student coming from C++ experimenting with my own projects for the summer. I’m trying to display a series of bitmaps from a .avi using the AForge.Video.FFMPEG video file reader.

    It seems to be finding the file, getting its’ data (console prints dimensions, framerate, and codec) and creating the picturebox, but the picturebox comes up blank/empty. I get the bitmap from the frames of a .avi :

    From AForge example code here

    Then I’m trying to display it with a picture box :

    From MS example code here as well

    And here’s my code. Essentially a combination of the two :

       public class Simple : Form
    {
       Bitmap videoFrame;

       public Simple()
       {
           try
           {
               // create instance of video reader
               VideoFileReader reader = new VideoFileReader();
               // open video file
               reader.Open(@"C:\Users\User\Desktop\ScanTest3.AVI");
               // check some of its attributes
               Console.WriteLine("width:  " + reader.Width);
               Console.WriteLine("height: " + reader.Height);
               Console.WriteLine("fps:    " + reader.FrameRate);
               Console.WriteLine("codec:  " + reader.CodecName);

               PictureBox pictureBox1 = new PictureBox();

               // read 100 video frames out of it
               for (int i = 0; i < 100; i++)
               {
                   videoFrame = reader.ReadVideoFrame();

                   pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
                   pictureBox1.ClientSize = new Size(videoFrame.Width, videoFrame.Height);
                   pictureBox1.Image = videoFrame;

                   // dispose the frame when it is no longer required
                   videoFrame.Dispose();
               }

               reader.Close();
           }

           catch
           {
               Console.WriteLine("Nope");
           }

       }
    }

    class MApplication
    {
       public static void Main()
       {
           Application.Run(new Simple());
       }
    }

    So that’s it pretty much. Just a blank picture box coming up, when it should have the first frame of the video, even though no exception caught (though I’m pretty confident I’m using the try/catch very poorly), and the console printing the correct data for the file :

    width:  720
    height: 480
    fps:    29
    codec:  dvvideo
    [swscaler @ 05E10060] Warning: data is not aligned! This can lead to a speedloss

    Though if anyone could tell me what that warning means, that would be great as well, but I’m mainly just lost as to why there’s no picture printing to the screen.

    Thanks !

  • ffmpeg : Setting GOP structure, Picture structure when converting to MPEG-2 [on hold]

    27 juin 2017, par Jude

    I have a yuv file named src9_ref__625.yuv from the following website :
    ftp://vqeg.its.bldrdoc.gov/SDTV/VQEG_PhaseI/TestSequences/Reference/

    It contains 720 pixels (1440 bytes) per horizontal line and has 576 active lines per frame. Each line is in multiplexed 4:2:2 component video format as follows : Cb Y Cr Y ... 720 Y bytes per line, 360 Cb bytes per line, 360 Cr bytes per line.

    How to convert that file to MPEG-2 with following coding parameters :

    • GOP Structure : Automatic
    • Picture Structure : Alw Frame
    • Profile/Level : MP@ML

    ...as suggested in this article :
    http://iie.fing.edu.uy/publicaciones/2009/JL09/JL09.pdf