Recherche avancée

Médias (91)

Autres articles (50)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (5107)

  • FFplay only plays MPEG-DASH when in the same directory

    26 mars 2020, par M. Parker

    I’ve created a series of video segments using dashenc.c from ffmpeg’s libav on my windows machine. The mpd file is templated, so it’s fairly simple and it passes validation. The video plays, but only if I put ffplay in the same folder as all the files and use :

    ffplay -i manifest.mpd

    If I try to play from some other directory, or even the same directory using :

    ffplay -i c:\tmp\manifest.mpd

    or

    ffplay -i c:/tmp/manifest.mpd

    The attempt fails, producing this error :

    [dash @ 0000016ce0d69900] Failed to open an initialization section in playlist 0
    [dash @ 0000016ce0d69900] Error when loading first fragment, playlist 0
    C:/tmp/manifest.mpd: Invalid argument

    The mpd file :

    <?xml version="1.0" encoding="utf-8"?>
    <mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="dynamic" minimumupdateperiod="PT500S" suggestedpresentationdelay="PT4S" availabilitystarttime="2020-03-23T14:54:16Z" publishtime="2020-03-23T14:54:25Z" timeshiftbufferdepth="PT4811H53M52.3S" minbuffertime="PT9.6S">
       <programinformation>
       </programinformation>
       <period start="PT0.0S">
           <adaptationset contenttype="video" segmentalignment="true" bitstreamswitching="true">
               <representation mimetype="video/mp4" codecs="avc1.42001e" bandwidth="5953124" width="720" height="480">
                   <segmenttemplate timescale="1000000" duration="5000000" availabilitytimeoffset="4.967" initialization="init-stream$RepresentationID$.m4s" media="media-stream$RepresentationID$-$Number%06d$.m4s" startnumber="1">
                   </segmenttemplate>
               </representation>
           </adaptationset>
       </period>
    </mpd>

    Adding in a BaseUrl element didn’t help ; my guess is I’m formatting it wrong. Any ideas what I might do to fix this ?

  • How to generate a PDF (1.7) from a MP4 movie (Rich Media annotation) ?

    19 août 2020, par malat

    I am a happy user of img2pdf. This tool does the minimal amount of work to put a series of JPEG 2000/JPEG/PNG images into a PDF "enveloppe". However I am now faced with a new challenge : embed a MP4 file into a PDF "enveloppe".

    &#xA;

    I see that commercial tool can do it, as seen at :

    &#xA;

    &#xA;

    It seems to have been introduced in ISO 32000-1 (PDF 1.7 Extension Level 5)

    &#xA;

    I am looking for a solution which will use the Rich Media annotation inside the PDF stream.

    &#xA;

    There are dozen of duplicated questions on superuser/stackoverflow, which all pretty much refer to imagemagick/convert command line tool. But in my case, convert expand the images into a multi-page PDF (which is not my desired behavior) :

    &#xA;

    $ convert input.mp4 output.pdf&#xA;$ pdfinfo output.pdf &#xA;Title:          out&#xA;Producer:       https://imagemagick.org&#xA;CreationDate:   Wed Aug 19 15:38:01 2020 CEST&#xA;ModDate:        Wed Aug 19 15:38:01 2020 CEST&#xA;Tagged:         no&#xA;UserProperties: no&#xA;Suspects:       no&#xA;Form:           none&#xA;JavaScript:     no&#xA;Pages:          1601&#xA;Encrypted:      no&#xA;Page size:      352 x 288 pts&#xA;Page rot:       0&#xA;File size:      534407296 bytes&#xA;Optimized:      no&#xA;PDF version:    1.3&#xA;

    &#xA;

    with :

    &#xA;

    $ convert --version&#xA;Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org&#xA;Copyright: &#xA9; 1999-2019 ImageMagick Studio LLC&#xA;License: https://imagemagick.org/script/license.php&#xA;Features: Cipher DPC Modules OpenMP &#xA;Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib&#xA;

    &#xA;

    and

    &#xA;

    $ file input.mp4 &#xA;input.mp4: ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]&#xA;$ ffprobe -v quiet -print_format json  -show_streams input.mp4 | grep codec_long_name&#xA;            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",&#xA;

    &#xA;

  • How to embed an MP4 inside a PDF ?

    19 août 2020, par malat

    I am a happy user of img2pdf. This tool does the minimal amount of work to put a series of JPEG 2000/JPEG/PNG images into a PDF "enveloppe". However I am now faced with a new challenge : embed a MP4 file into a PDF "enveloppe".

    &#xA;

    I see that commercial tool can do it, as seen at :

    &#xA;

    &#xA;

    Here is one such sample PDF file (no Flash required on windows in this sample) :

    &#xA;

    &#xA;

    It seems to have been introduced in ISO 32000-1 (PDF 1.7 Extension Level 5)

    &#xA;

    I am looking for a solution which will use the Rich Media annotation inside the PDF stream.

    &#xA;

    There are dozen of duplicated questions on superuser/stackoverflow, which all pretty much refer to imagemagick/convert command line tool. But in my case, convert expand the images into a multi-page PDF (which is not my desired behavior) :

    &#xA;

    $ convert input.mp4 output.pdf&#xA;$ pdfinfo output.pdf &#xA;Title:          out&#xA;Producer:       https://imagemagick.org&#xA;CreationDate:   Wed Aug 19 15:38:01 2020 CEST&#xA;ModDate:        Wed Aug 19 15:38:01 2020 CEST&#xA;Tagged:         no&#xA;UserProperties: no&#xA;Suspects:       no&#xA;Form:           none&#xA;JavaScript:     no&#xA;Pages:          1601&#xA;Encrypted:      no&#xA;Page size:      352 x 288 pts&#xA;Page rot:       0&#xA;File size:      534407296 bytes&#xA;Optimized:      no&#xA;PDF version:    1.3&#xA;

    &#xA;

    with :

    &#xA;

    $ convert --version&#xA;Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org&#xA;Copyright: &#xA9; 1999-2019 ImageMagick Studio LLC&#xA;License: https://imagemagick.org/script/license.php&#xA;Features: Cipher DPC Modules OpenMP &#xA;Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib&#xA;

    &#xA;

    and

    &#xA;

    $ file input.mp4 &#xA;input.mp4: ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]&#xA;$ ffprobe -v quiet -print_format json  -show_streams input.mp4 | grep codec_long_name&#xA;            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",&#xA;

    &#xA;