Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (64)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (9780)

  • Révision 115697 : Code inutile.

    16 juin 2019, par eric@smellup.net

    Appels avec le mauvais nombre d’arguments.
    updateq à la place de replace.

  • Why does MP4 mdat atom not start with H.264 NALU start code ?

    1er mars 2019, par stevendesu

    I’m trying to investigate an issue with an MP4 that I’m generating returning the error :

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55f0ae819080] Failed to add index entry
    Last message repeated 277 times
    [h264 @ 0x55f0ae81c300] Invalid NAL unit size (-800932280 > 6).

    The first frame decodes perfectly, and all future frames fail to decode. This results in a 0.042 second duration video.

    To help with the investigation, I had ffmpeg encode the same video in the same way so I could compare the two files. I noticed, however, that in the ffmpeg-encoded file the video sample doesn’t start with 0x000001 or 0x00000001.

    I tried looking through the MP4 spec and the H.264 spec to understand why this start code is sometimes required but not required in this case, but there literally hundreds of pages and I couldn’t find anything in a day of reading.

    The ffmpeg-generated file is available here : http://files.stevendesu.com/test.mp4

    If you open this with an MP4 atom parser you’ll notice the first mdat atom starts :

    0000 6DF4 6D64 6174 0000 04BF 6588 8101
    1788 8C12 0001 1498 3800 188E 003F FFFC
    ...

    The first 8 bytes make sense : 00006DF4 (28148) = the size of the mdat atom, 6D646174 = "mdat" in ASCII

    After this the mdat atom starts with 0x000004. According to the traf atom in the preceding moof, the first video sample (with a duration of 800/16000 seconds and a size of 19899 bytes) should start exactly here. Therefore 0x000004 are the first 3 bytes of the first video sample.

    Either this video sample doesn’t start with a NALU start code, or there is some header / wrapper around the NALU that I don’t understand.

    Can anyone explain to me why this video sample doesn’t start with a NALU start code ?

  • PHP ffmpeg having problem extracting Image as a thumbnail

    19 décembre 2022, par Sarotobi

    I am using a below repo via composer everything works well but i have a problem extracting the image as a poster ( thumbnail )

    &#xA;

    https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming#extracting-image

    &#xA;

    I used below code.

    &#xA;

    $video = $ffmpeg->open(&#x27;./videos/example1.mp4");&#xA;$frame = $video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(51));&#xA;$frame->save(&#x27;/var/media/poster.jpg&#x27;);&#xA;

    &#xA;

    But got an error below using mac os

    &#xA;

    Fatal error: Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException: ffmpeg failed to execute command &#x27;/usr/local/bin/ffmpeg&#x27; &#x27;-y&#x27; &#x27;-ss&#x27; &#x27;00:00:51.00&#x27; &#x27;-i&#x27; &#x27;./videos/example1.mp4&#x27; &#x27;-vframes&#x27; &#x27;1&#x27; &#x27;-f&#x27; &#x27;image2&#x27; &#x27;./videos/example1/poster.jpg&#x27;: Error Output: ffmpeg version N-109428-g10a56363a7-tessus https://evermeet.cx/ffmpeg/

    &#xA;

    Just want to know what is missing, i have already run chmod -R 0777 . to have a sufficient permissions.

    &#xA;