Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (25)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • 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" ;

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (4384)

  • Chrome "stalling" when streaming mp3 file from nodejs windows only

    8 octobre 2015, par Alan Hollis

    We’ve got a really annoying bug when trying to send mp3 data. We’ve got the following set up.

    Web cam producing aac -> ffmpeg convert to adts -> send to nodejs server -> ffmpeg on server converts adts to mp3 -> mp3 then streamed to browser.

    This works *perfectly" on Linux ( chrome with HTML5 and flash, firefox flash only )

    However on windows the sound just "stalls", no matter what combination we use ( browser/html5/flash ). If however we shutdown the server the sound then immediately starts to play as we expect.

    For some reason on windows based machines it’s as if the sound is being buffered "waiting" for something but we don’t know what that is.

    Any help would be greatly appreciated.

    Relevant code in node

       res.setHeader('Connection', 'Transfer-Encoding');
       res.setHeader('Content-Type', 'audio/mpeg');
       res.setHeader('Transfer-Encoding', 'chunked');
       res.writeHeader('206');

       that.eventEmitter.on('soundData', function (data) {
           debug("Got sound data" + data.cameraId + " " + req.params.camera_id);
           if (req.params.camera_id == data.cameraId) {
               debug("Sending data direct to browser");
               res.write(data.sound);
           }
       });

    Code on browser

          soundManager.setup({
                               url: 'http://dashboard.agricamera.co.uk/themes/agricamv2/swf/soundmanager2.swf',
                               useHTML5Audio: false,
                               onready: function () {
                                   that.log("Sound manager is now ready")
                                   var mySound = soundManager.createSound({
                                       url: src,
                                       autoLoad: true,
                                       autoPlay: true,
                                       stream: true,
                                   });
                               }
                           });
  • how to ignore or fix false 'unmet dependencies' error ?

    31 août 2014, par yy502
    OS: LMDE 201403

    I previously installed OpenShot (a video editing software), which depends on libmlt6, and libmlt6 depends on ffmpeg. The chain of dependencies auto-installed just fine.

    Today I compiled and installed the latest ffmpeg v2.3.3 and apt-get starts to complain :

    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    libmlt6 : Depends: ffmpeg (>= 5:0.6.2~) but 2.3.3-1 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    Well, I’m sure my compiled version of ffmpeg is newer than whatever version libmlt6 requires, but the package manager does not seem to understand the new version number. How can I ignore or fix false ’unmet dependencies’ error, please ?

    Thanks for your time !

    Edit :

    Executing apt-get -f install would install the ffmpeg from repository to /usr/bin/ and uninstall/overwrite my compiled version of ffmpeg in /usr/local/bin/... not really the solution I’m after...

    Edit2 :

    the auto fix of apt-get will remove my compiled version of ffmpeg as prompted below :

    sudo apt-get install -f
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
     ffmpeg
    Suggested packages:
     nvidia-libvdpau1
    The following packages will be upgraded:
     ffmpeg
    1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
    Need to get 0 B/1,307 kB of archives.
    After this operation, 242 MB disk space will be freed.
    Do you want to continue? [Y/n] n
    Abort.
  • Burn subtitles with emojis on a video in android java

    19 mars 2024, par Maor Cohen

    video.mp4, subtitles.ass

    


    the ass file contains emojis. how to burn it on a video ? I tried ffmpeg.

    


    ffmpeg -i video.mp4 -vf "ass=subtitles.ass" -c:a copy -c:v h264 -crf 23 -preset veryfast output.mp4

    


    but the emojis are not showing. instead, rectangles are showing. it happens in every font I choose.

    


    subtitles.ass :
Format : Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding

    


    Style : Default,opensans_bold,59,&Hffb3b4,&HF0000000,&H000000,&HF0000000,-1,0,0,0,100,100,0,0,1,5,0,2,64,64,604,1

    


    [Events]

    


    Format : Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text

    


    Dialogue : 0,0:00:00.00,0:00:00.68,Default,,0,0,0,,yes 😍😄💙