Recherche avancée

Médias (91)

Autres articles (20)

  • 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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (3520)

  • Ffmpeg ./configure not found

    7 juin 2016, par Justin Tullock

    I’m trying to install ffmpeg with libvpx & libx264 on my vps. Centos07. I’ve followed these instructions https://trac.ffmpeg.org/wiki/CompilationGuide/Centos to the T.

    Now when I try to run

    cd ~/ffmpeg; ./configure --enable-libvpx --enable-gpl --enable-libx264

    it returns

    -bash: ./configure: No such file or directory

    When I try ffmpeg -v

    ffmpeg: error while loading shared libraries: libx264.so.148: cannot open shared object file: No such file or directory

    and ldd $(which ffmpeg) returns

    root@host [~/ffmpeg_sources]# ldd $(which ffmpeg)
    linux-vdso.so.1 =>  (0x00007fff4fb86000)
    libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f4972e27000)
    libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f4972c23000)
    libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0 (0x00007f4972a1a000)
    libxcb-shape.so.0 => /lib64/libxcb-shape.so.0 (0x00007f4972816000)
    libx264.so.148 => not found
    libm.so.6 => /lib64/libm.so.6 (0x00007f4972513000)
    liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f49722ee000)
    libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f49720de000)
    libz.so.1 => /lib64/libz.so.1 (0x00007f4971ec7000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4971cab000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f49718e9000)
    libXau.so.6 => /lib64/libXau.so.6 (0x00007f49716e4000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f4973056000)

    I’ve followed all the instructions exactly - is there something I’m missing ?

  • AVI to MP4 - ffmpeg conversion

    4 juin 2014, par Emmanuel Brunet

    I’m running a debian 7.5 machine with ffmpeg-2.2 installed following these instructions

    Issue

    I’m trying to display a mp4 video inside my browser. The original file has an AVI container format. I can successfully convert it to mp4 and the targetfile is readable (video + sound) with the totem movie player. So I thought everything would be OK displaying the bellow page

    HTML5 web page

       


    <video width="640" height="480" controls="controls">
     <source src="/path/to/output.mp4" type="video/mp4">
    <h3>Your browser does not support the video tag</h3>
    </source></video>

    Input probe

    $ ffprobe -show_streams input.avi

     Duration: 00:08:22.90, start: 0.000000, bitrate: 1943 kb/s
       Stream #0:0: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 64 kb/s
       Stream #0:1: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x540 [SAR 1:1 DAR 4:3], 1870 kb/s, 29.97 fps, 25 tbr, 29.97 tbn, 25 tbc

    Convert

    $ ffmpeg -y -fflags +genpts -i input.avi -acodec copy -vcodec copy ouput.mp4

    Html browser

    Opening the above html file plays sound but no video is displayed.

    When I use other .mp4 files, videos succesfully displayed so I’m sure I face a conversion issue.

    Not : I’ve tryed a lot of other ffmpeg options but without success.

    Any idea ?

    Thanks in advance.

  • Mpegts packet corrupt with ffmpeg concat protocol

    1er novembre 2022, par Curious Octopus

    I'm trying to use the concat protocol in ffmpeg as described in the ffmpeg docs :&#xA;https://trac.ffmpeg.org/wiki/Concatenate

    &#xA;

    However I'm getting lots of errors about corrupt packets when running the concat, so I'm worried that this isn't the best approach. My actual use case will involve running unsupervised with a ton of different source videos, so I want to be sure that it's solid.

    &#xA;

    The concat demuxer approach succeeds without errors but takes about 10 times as long.

    &#xA;

    Steps to reproduce

    &#xA;

    Download Big Buck Bunny :

    &#xA;

    wget https://download.blender.org/demo/movies/BBB/bbb_sunflower_1080p_30fps_normal.mp4&#xA;

    &#xA;

    Transcode a 30 second chunk :

    &#xA;

    ffmpeg -i bbb_sunflower_1080p_30fps_normal.mp4 -ss &#x27;00:06:30&#x27; -t 30 -c:v libx264 -crf 18 bbb30.mp4&#xA;

    &#xA;

    Create one second parts :

    &#xA;

    mkdir -p parts;&#xA;for i in $(seq -f "%02g" 0 29); do \&#xA;  ffmpeg \&#xA;    -i bbb30.mp4 \&#xA;    -ss "00:00:$i" -t 1 \&#xA;    -c:v libx264 -pix_fmt yuv420p -crf 18 \&#xA;    -bsf:v h264_mp4toannexb \&#xA;    -f mpegts \&#xA;    -y parts/$i.ts;&#xA;done&#xA;

    &#xA;

    Combine all the parts into a new output mp4 :

    &#xA;

    ffmpeg -y \&#xA;  -i "concat:parts/00.ts|parts/01.ts|parts/02.ts|parts/03.ts|parts/04.ts|parts/05.ts|parts/06.ts|parts/07.ts|parts/08.ts|parts/09.ts|parts/10.ts|parts/11.ts|parts/12.ts|parts/13.ts|parts/14.ts|parts/15.ts|parts/16.ts|parts/17.ts|parts/18.ts|parts/19.ts|parts/20.ts|parts/21.ts|parts/22.ts|parts/23.ts|parts/24.ts|parts/25.ts|parts/26.ts|parts/27.ts|parts/28.ts|parts/29.ts" \&#xA;  -c copy \&#xA;  output.mp4&#xA;

    &#xA;

    Stderr has lots of warnings about corrupt packets (in this case always at dts = 21300) :

    &#xA;

    [mpegts @ 0x555d172daa00] Packet corrupt (stream = 0, dts = 213000).&#xA;concat:parts/00.ts|parts/01.ts|parts/02.ts|parts/03.ts|parts/04.ts|parts/05.ts|parts/06.ts|parts/07.ts|parts/08.ts|parts/09.ts|parts/10.ts|parts/11.ts|parts/12.ts|parts/13.ts|parts/14.ts|parts/15.ts|parts/16.ts|parts/17.ts|parts/18.ts|parts/19.ts|parts/20.ts|parts/21.ts|parts/22.ts|parts/23.ts|parts/24.ts|parts/25.ts|parts/26.ts|parts/27.ts|parts/28.ts|parts/29.ts: corrupt input packet in stream 0&#xA;

    &#xA;

    The resulting mp4 looks ok to my eye, but obviously ffmpeg isn't happy about something. Any ideas ?

    &#xA;