Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (11)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (3920)

  • Could not write header for output file #0 (incorrect codec parameters ?) : Broken pipe

    23 mai 2020, par Laura

    I'm trying to generate audio waveform from an mp4 file as described here : https://github.com/bbc/audiowaveform.

    



    My mp4 file looks like

    



    <?xml version="1.0" encoding="UTF-8"?>


    



    http://www.w3.org/2001/XMLSchema-instance' ;>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


    



    <format filename="/cache/1268.mp4" duration="40.112000" size="10610125">&#xA;    <tag key="major_brand" value="isom"></tag>&#xA;    <tag key="minor_version" value="512"></tag>&#xA;    <tag key="compatible_brands" value="isomiso2avc1mp41"></tag>&#xA;    <tag key="encoder" value="Lavf58.20.100"></tag>&#xA;</format>&#xA;

    &#xA;&#xA;

    &#xA;&#xA;

    I wrote this command line :&#xA;/ffmpeg-4.1.1/ffmpeg -i /cache/1268.mp4 -map 0:1 -f wav - | /opt/audiowaveform/audiowaveform —input-format wav —pixels-per-second 25 -b 16

    &#xA;&#xA;

    But it fails with the folliwing error :&#xA;Could not write header for output file #0 (incorrect codec parameters ?) : Broken pipe&#xA;Error initializing output stream 0:0 —&#xA;Conversion failed !

    &#xA;&#xA;

    Complete log is :

    &#xA;&#xA;

            ffmpeg version 4.2.2-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers&#xA;      built with gcc 8 (Debian 8.3.0-6)&#xA;      configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg&#xA;      libavutil      56. 31.100 / 56. 31.100&#xA;      libavcodec     58. 54.100 / 58. 54.100&#xA;      libavformat    58. 29.100 / 58. 29.100&#xA;      libavdevice    58.  8.100 / 58.  8.100&#xA;      libavfilter     7. 57.100 /  7. 57.100&#xA;      libswscale      5.  5.100 /  5.  5.100&#xA;      libswresample   3.  5.100 /  3.  5.100&#xA;      libpostproc    55.  5.100 / 55.  5.100&#xA;    Error: unrecognised option &#x27;--input-format&#x27;&#xA;    See &#x27;/opt/audiowaveform/audiowaveform --help&#x27; for available options&#xA;    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;/cache/1268.mp4&#x27;:&#xA;      Metadata:&#xA;        major_brand     : isom&#xA;        minor_version   : 512&#xA;        compatible_brands: isomiso2avc1mp41&#xA;        title           : Big Buck Bunny - test 8&#xA;        encoder         : Lavf57.72.101&#xA;        comment         : Matroska Validation File 8, secondary audio commentary track, misc subtitle tracks&#xA;      Duration: 00:00:46.07, start: 0.000000, bitrate: 2111 kb/s&#xA;        Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1024x576 [SAR 1:1 DAR 16:9], 1908 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)&#xA;        Metadata:&#xA;          handler_name    : VideoHandler&#xA;        Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 129 kb/s (default)&#xA;        Metadata:&#xA;          handler_name    : SoundHandler&#xA;        Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 67 kb/s&#xA;        Metadata:&#xA;          handler_name    : SoundHandler&#xA;    Stream mapping:&#xA;      Stream #0:1 -> #0:0 (aac (native) -> pcm_s16le (native))&#xA;    Press [q] to stop, [?] for help&#xA;    Could not write header for output file #0 (incorrect codec parameters ?): Broken pipe&#xA;    Error initializing output stream 0:0 --&#xA;    Conversion failed!&#xA;

    &#xA;&#xA;

    Can anyone help me ?

    &#xA;&#xA;

    Note : I read the answer here ffmpeg Could not write header for output file #0 but I need to preserve audio codec.

    &#xA;

  • How to make HLS start from the begining

    15 juillet 2016, par Ariel Argañaraz

    I need some help with HLS streaming, I’m trying to create a playlist for streaming,

    I’m using ffmpeg to generate the files and the .m3u8 files. And for playing i’m using a web page with videojs player

    The idea is to simulate a live streaming using files already created.

    The problem is that in some version of iphone works and in another does not work.
    The problem is that when I start play the video in the Safari browser of my phone it freezes for a while and then download and play the last segment.

    for example if the video is split in 4 differents .ts files.
    It starts playing from the 4th .ts file and then stop.

    The problem is that I have 2 iphone mobile phone, one of them works perfectly but the other one not

    The not working cell phone is a iphone 6 (version 9.2.1)

    Here is my m3u8 file. Note that I’m using the #EXT-X-PLAYLIST-TYPE:EVENT and I remove the #EXT-X-ENDLIST from the botton. So it should be played as an live streaming.

    It works for another phones, it begins from the 0 second when I set the #EXT-X-START:TIME-OFFSET=0

    but in this version (9.2.1) the video freezes and then jumps to the last segment (webinar-3.ts) plays that segment and finally stop.

    #EXTM3U
    #EXT-X-VERSION:4
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-ALLOW-CACHE:NO
    #EXT-X-PLAYLIST-TYPE:EVENT
    #EXT-X-START:TIME-OFFSET=0
    #EXT-X-TARGETDURATION:6
    #EXTINF:5.046444,
    webinar-0.ts
    #EXTINF:5,
    webinar-1.ts
    #EXTINF:5,
    webinar-2.ts
    #EXTINF:5,
    webinar-3.ts

    Have anybody got an idea of what i’m doing wrong or how to get a m3u8 config that works for this iphone version ?

  • ffmpeg : Need to convert source video to web/phone html5 players. Willing to pay [on hold]

    25 juillet 2015, par mariotanenbaum

    I need somebody to write me commands for converting videos and i’m willing to pay that.

    I need to convert most of these : (if ffmpeg doesn’t support any of those, just ignore it)

    mov (QuickTime Movie)
    mp4 (MPEG-4 Video)
    mpe (MPEG Video)
    mpeg (MPEG Video)
    mpeg4 (MPEG-4 Video)
    3g2 (Mobile Video)
    3gp (Mobile Video)
    3gpp (Mobile Video)
    asf (Windows Media Video)
    avi (AVI Video)

    To most of these :

    HTML5, Flash : MP4/H.264, High profile
    HTML5 : WebM
    HTML5 : Ogg
    Mobile : MP4/H.264, Baseline profile, 480x360, for wide compatibility
    Mobile : MP4/H.264, Main profile, 1280x720, for newer iOS devices (iPhone 4, iPad, Apple TV)
    Mobile : 3GP/MPEG4, 320x240 and/or 177x144, for non-smartphones*

    Nothing which would not work out of box in ffmpeg
    Some tweaking about processor usage and quality is ok but not so important.

    Goal is to get suitable clips for playing in chrome, firefox, ie9, iphone and android.
    For now iphone is the most important.

    IF you have some spare time, feel free to contact me, i would pay somebody just to send me "commands". It doesn’t to be anything "smart" just so that i don’t need to spend so much time trying learn all about ffmpeg.