Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (62)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

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

  • How can I use FFMPEG in my discord bot thats on github

    21 septembre 2019, par Waldre

    I moved my discord bot to GitHub and Heroku today, everything works fine but I get this error that causes the bot to stop working

    I have already tried adding FFmpeg as a submodule by doing this :

    git submodule add git://source.ffmpeg.org/ffmpeg FFmpeg but it still doesn't work

    These are the errors I’m getting

    2019-09-21T14:03:30.753963+00:00 heroku[web.1] : State changed from starting to crashed

    2019-09-21T14:03:30.641312+00:00 heroku[web.1] : Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch

    2019-09-21T14:03:30.641385+00:00 heroku[web.1] : Stopping process with SIGKILL

    2019-09-21T14:03:30.730681+00:00 heroku[web.1] : Process exited with status 137

    2019-09-21T14:10:20.814035+00:00 app[worker.1] : [36m| I : Prefix was used by RoyaleNiteTM. COMMAND USED : join |[0m

    2019-09-21T14:10:20.832129+00:00 app[worker.1] : (node:4) UnhandledPromiseRejectionWarning : Error : FFMPEG not found

    2019-09-21T14:10:20.832138+00:00 app[worker.1] : at Function.selectFfmpegCommand (/app/node_modules/prism-media/src/transcoders/ffmpeg/Ffmpeg.js:46:13)

    2019-09-21T14:10:20.832141+00:00 app[worker.1] : at new FfmpegTranscoder (/app/node_modules/prism-media/src/transcoders/ffmpeg/Ffmpeg.js:7:37)

    2019-09-21T14:10:20.832143+00:00 app[worker.1] : at new MediaTranscoder (/app/node_modules/prism-media/src/transcoders/MediaTranscoder.js:10:19)

    2019-09-21T14:10:20.832145+00:00 app[worker.1] : at new Prism (/app/node_modules/prism-media/src/Prism.js:5:23)

    2019-09-21T14:10:20.832147+00:00 app[worker.1] : at new VoiceConnection (/app/node_modules/discord.js/src/client/voice/VoiceConnection.js:46:18)

    2019-09-21T14:10:20.832150+00:00 app[worker.1] : at Promise (/app/node_modules/discord.js/src/client/voice/ClientVoiceManager.js:63:22)

    2019-09-21T14:10:20.832154+00:00 app[worker.1] : at new Promise ()

    2019-09-21T14:10:20.832156+00:00 app[worker.1] : at ClientVoiceManager.joinChannel (/app/node_modules/discord.js/src/client/voice/ClientVoiceManager.js:45:12)

    2019-09-21T14:10:20.832158+00:00 app[worker.1] : at VoiceChannel.join (/app/node_modules/discord.js/src/structures/VoiceChannel.js:130:30)

    2019-09-21T14:10:20.832160+00:00 app[worker.1] : at Client. (/app/index.js:227:53)

    2019-09-21T14:10:20.832203+00:00 app[worker.1] : (node:4) UnhandledPromiseRejectionWarning : Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id : 1)

    2019-09-21T14:10:20.832279+00:00 app[worker.1] : (node:4) [DEP0018] DeprecationWarning : Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

    2019-09-21T14:25:08.488516+00:00 heroku[worker.1] : State changed from up to crashed

    2019-09-21T14:25:08.464878+00:00 heroku[worker.1] : Process exited with status 1`

  • How to make TIME subtitles(.srt, .smi etc) with frame unit

    3 septembre 2019, par kylesong

    I want to create a Python script that make subtitle (a ticking timecode).

    I have an h.264 binary file that has timestamp in each frame. so I want to parse this timestamp and make the subtitle with it.

    Here’s what I’ve tried with ffmpeg below.

    ffmpeg -y -i video.avi -vf "drawtext=fontfile=C:\Windows\Fonts\consolab.ttf: fontsize=12:fontcolor=yellow: box=1:boxcolor=black@0.4: text='TIME\: %{pts\:gmtime\:1561939200}':x=(w-tw)/2:y=(h-th)/2" test.avi

    Output .avi is okay with the timestamp, but, I needed to re-encode the source video file which takes a lot of time.
    So, I want to use a different way, which is creating subtitles.

    Question is, is there any way to make subtitle with frame time ? or useful info to fill me in ?

    The current result :

    The expected result :

  • Applying same filter_complex many times before output [duplicate]

    19 août 2019, par Fabián

    It’s not a duplicate. This is about using filter_complex, not -vf.

    In my video there’s an object that has shades of yellow (more orange-like) and a solid yellow as background.

    I need to output all frames into a png sequence, using a color key filter to replace the yellow from the background :

    ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.125:0[ckout]" -map "[ckout]" colorkey-%d.png

    This removes the specific color, but leaves some pints behind, and some items are yellow-themed, so blending value is a no-no for this scenario.

    I need to get rid of 4 specific yellow-colors from the frames : 0xfff31b, 0xfae56b, 0xfaec46 and 0xeee2a0, and I plan to run the same filter for specific colors before getting the final result.

    So first I tried this :

    ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.4:0[ckout1];[0:v]colorkey=0xfae56b:0.4:0[ckout2];[0:v]colorkey=0xfaec46:0.4:0[ckout3];[0:v]colorkey=0xeee2a0:0.4:0[ckout4]" -map "[ckout4]" colorkeyrefined-%d.png

    Then this :

    ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xfae56b:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xfaec46:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xeee2a0:0.4:0[ckout]" -map "[ckout]" colorkeyrefined-%d.png

    But both display the same error :

    Filter colorkey has an unconnected output.

    Is there a way to apply the colorkey feature 4 times (with the mentioned values) in one go ?