Advanced search

Medias (91)

Other articles (96)

  • MediaSPIP 0.1 Beta version

    25 April 2011, by

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 February 2011, by

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Les tâches Cron régulières de la ferme

    1 December 2010, by

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

On other websites (12683)

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

    13 March 2014, by 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 August 2023, by 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 August 2023, by 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;