Recherche avancée

Médias (91)

Autres articles (105)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • 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 (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (13940)

  • Evolution #3179 : Pouvoir désactiver l’héritage de logo entre les rubriques (via une constante)

    13 mars 2014, par b b

    Ça me semble être une bonne idée, sans ça on est obligé de fourber à coup de :

    [(#LOGO_RUBRIQUE|matchrubon#ID_RUBRIQUE\.|oui)[(#LOGO_RUBRIQUE|image_reduire150,150)]]

    Reste à voir si le nom de la constante convient à tout le monde et hop commit :)

  • Video is cut after adding 2 watermarks with FFMPEG-KIT [closed]

    7 août 2023, par dfjick

    I made a FFMPEG-KIT command to add 2 PNG watermarks to the video and everything went smoothly.

    


    String ffmpegCommand = "-y -i " + videoPath +
            " -i " + watermarkImagePath +
            " -i " + userID +
            " -filter_complex " +
            "\"[0:v][1:v]overlay=x='if(lt(mod(t,10),5),10,W-w-10)':y='if(lt(mod(t,10),5),10,H-h-35)',\"" +
            "\"overlay=x='if(lt(mod(t,10),5),7,W-w-7)':y='if(lt(mod(t,10),5),165,H-h-15)'[out]\"" +
            " -map [out] -map 0:a -c:v libx264 -crf 18 -preset slow -c:a aac " + outputPath;


    


    But for videos that are longer than 20 seconds, the results don't match the original video, sometimes the videos are only <20 seconds and at random times.

    &#xA;

    I get this error, how do I fix it ?

    &#xA;

    W/ffmpeg-kit: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007c5c1243f0] Packet corrupt (stream = 1, dts = 366976)&#xA;W/ffmpeg-kit: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007c5c1243f0] .&#xA;E/ffmpeg-kit: [NULL @ 0xb400007c6c179400] Invalid NAL unit size (63547 > 20190).&#xA;E/ffmpeg-kit: [NULL @ 0xb400007c6c179400] missing picture in access unit with size 20194&#xA;W/ffmpeg-kit: /storage/emulated/0/DCIM/android_100394_20230807_162805_5465009.mp4: corrupt input packet in stream 1&#xA;E/ffmpeg-kit: [h264 @ 0xb400007c6c210750] Invalid NAL unit size (63547 > 20190).&#xA;E/ffmpeg-kit: [h264 @ 0xb400007c6c210750] Error splitting the input into NAL units.&#xA;E/ffmpeg-kit: Error while decoding stream #0:1: Invalid data found when processing input&#xA;

    &#xA;

    I've tried to use this -fflags &#x2B;discardcorrupt, but the result is still the same. The duration of the video that has been watermarked does not match the original video.

    &#xA;

  • FFMPEG-KIT - Video is cut after adding 2 watermarks

    7 août 2023, par dfjick

    I made a FFMPEG-KIT command to add 2 PNG watermarks to the video and everything went smoothly.

    &#xA;

    String ffmpegCommand = "-y -i " &#x2B; videoPath &#x2B;&#xA;            " -i " &#x2B; watermarkImagePath &#x2B;&#xA;            " -i " &#x2B; userID &#x2B;&#xA;            " -filter_complex " &#x2B;&#xA;            "\"[0:v][1:v]overlay=x=&#x27;if(lt(mod(t,10),5),10,W-w-10)&#x27;:y=&#x27;if(lt(mod(t,10),5),10,H-h-35)&#x27;,\"" &#x2B;&#xA;            "\"overlay=x=&#x27;if(lt(mod(t,10),5),7,W-w-7)&#x27;:y=&#x27;if(lt(mod(t,10),5),165,H-h-15)&#x27;[out]\"" &#x2B;&#xA;            " -map [out] -map 0:a -c:v libx264 -crf 18 -preset slow -c:a aac " &#x2B; outputPath;&#xA;

    &#xA;

    But for videos that are longer than 20 seconds, the results don't match the original video, sometimes the videos are only <20 seconds and at random times.

    &#xA;

    but i got this error, do you guys know how to fix it ?

    &#xA;

    W/ffmpeg-kit: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007c5c1243f0] Packet corrupt (stream = 1, dts = 366976)&#xA;W/ffmpeg-kit: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007c5c1243f0] .&#xA;E/ffmpeg-kit: [NULL @ 0xb400007c6c179400] Invalid NAL unit size (63547 > 20190).&#xA;E/ffmpeg-kit: [NULL @ 0xb400007c6c179400] missing picture in access unit with size 20194&#xA;W/ffmpeg-kit: /storage/emulated/0/DCIM/android_100394_20230807_162805_5465009.mp4: corrupt input packet in stream 1&#xA;E/ffmpeg-kit: [h264 @ 0xb400007c6c210750] Invalid NAL unit size (63547 > 20190).&#xA;E/ffmpeg-kit: [h264 @ 0xb400007c6c210750] Error splitting the input into NAL units.&#xA;E/ffmpeg-kit: Error while decoding stream #0:1: Invalid data found when processing input&#xA;

    &#xA;

    I've tried to use this -fflags &#x2B;discardcorrupt, but the result is still the same. the duration of the video that has been watermarked does not match the original video

    &#xA;