Recherche avancée

Médias (1)

Mot : - Tags -/framasoft

Autres articles (105)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

    18 février 2011, par

    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.

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (14430)

  • Podcast Producer 2 tip - running xgrid jobs as logged in user

    19 octobre 2009

    So I’ve been playing with an interesting "feature" in PCP2 - the "chapterize" command generates different results when it can talk to the window server versus when it can’t. In my case, it generates much better results in the case of the former.

    "But," you say, "my PCP2 xgrid jobs can’t talk to the window server !"

    Very true. However, you can change the user that PCP2 uses to submit Xgrid jobs, and Xgrid will run the job with that user’s permissions if everyone is single signon’d to the same kerberos domain.

    So, now we’ve got PCP2 jobs running as a real user. Next, log into the GUI as that user.

    Now, when PCP2 workflows run, they’ll be able to talk to the window server, and at least in the case of "chapterize," use what appears to be the "Good" code path. Faster, more accurate, more delightful.

    Pcpserveradmin

  • 3 Hours video opens as 3 minutes [ffmpeg][vegas][Windows]

    20 avril 2018, par CrazyFrog

    I have a mp4 video that is 3:55:00 long. However, when I try to edit it with Vegas 13 or ffmpeg, the softwares only find the first 00:03:16 part.

    I tried to search for similar questions, but did not find any answers.

    Video details(Windows explorer) :
    Length : 03:55:00
    Res : 1280x720
    Data rate:1342 kbps
    Total bitrate : 1408 kbps
    Frame rate : 25 f/s

    Audio
    Bit rate:65 kbps
    Channels : 2(stereo)
    Audio sample rate : 44.1 kHz

    Video details(Vegas, ffmpeg) :
    Format : AVC
    ffmpeg compatible_brands : isomiso2avc1mp41

    I tried using ffmpeg to convert it to a regular mp4. Unfortunately it only finds the first 3:16 minutes too.

    UPDATE

    .\ffmpeg.exe -i origin.mp4 -c copy test.mp4

    ffmpeg version N-88514-gd5995c531d Copyright (c) 2000-2017 the FFmpeg developers
    built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
     libavutil      56.  0.100 / 56.  0.100
     libavcodec     58.  1.100 / 58.  1.100
     libavformat    58.  0.102 / 58.  0.102
     libavdevice    58.  0.100 / 58.  0.100
     libavfilter     7.  0.101 /  7.  0.101
     libswscale      5.  0.101 /  5.  0.101
     libswresample   3.  0.101 /  3.  0.101
     libpostproc    55.  0.100 / 55.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'origin.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
     Duration: 03:55:00.64, start: 0.000000, bitrate: 1414 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720, 1343 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 65 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    Output #0, mp4, to 'test.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.0.102
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720, q=2-31, 1343 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 65 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame= 4921 fps=0.0 q=-1.0 Lsize=   26141kB time=00:03:16.72 bitrate=1088.6kbits/s speed=1.68e+003x
    video:24412kB audio:1569kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.619153%
  • Anomalie #4717 (Nouveau) : Erreurs nombre d’argument des filtres

    8 avril 2021, par jluc -

    Depuis PHP 7.1, une fonction appelée avec un mauvais nombre d’argument provoque une Fatal error : Uncaught ArgumentCountError : Too few arguments to function filtre_implode_dist(), 1 passed ... and exactly 2 expected

    Or il n’y a aucune vérification, avant de l’appeler, du nombre d’argument avec lequel est appelée une fonction implémentant un filtre.

    Du coup appeler (#LISTEArbre,Bateau,Chat,Doche fait page blanche avec l’erreur ci dessus dans error.log

    La définition est en effet

    function filtre_implode_dist($a, $b)  return is_array($a) ? implode($b, $a) : $a ; 
    

    C’est assez rude pour du code SPIP où l’erreur est permise.

    Du coup serait il possible de récupérer proprement ces situations d’erreur par gestion d’exception avant l’eval du code compilé ?

    Sinon il faudrait s’assurer que toutes les fonctions php implémentant des filtres puissent accepter de n’avoir qu’un seul argument (la balise sur laquelle elles s’appliquent).

    Ce qui donnerait ici :

    function filtre_implode_dist($a, $b=", ")  return is_array($a) ? implode($b, $a) : $a ;