Recherche avancée

Médias (1)

Mot : - Tags -/publishing

Autres articles (92)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (16754)

  • Does anybody know how to concat on ffmpeg and python ? [closed]

    22 décembre 2023, par Jonas Harker

    I created a code on Python that supposedly concatenates two videos using Python to run an ffmpeg command through subprocess.
I get this error message :

    


    2c0] Could not open encoder before EOF
[vost#0:0/libx264 @ 0000024013bfa480] Task finished with error code: -22 (Invalid argument)
[aost#0:1/aac @ 0000024013bfb2c0] Task finished with error code: -22 (Invalid argument)
[aost#0:1/aac @ 0000024013bfb2c0] Terminating thread with return code -22 (Invalid argument)
[vost#0:0/libx264 @ 0000024013bfa480] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 0000024013b91d80] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=N/A bitrate=N/A speed=N/A    
Conversion failed!
El archivo Batman - Mask of The Phantasm, Open Matte Version (1993 - 1080p BluRay)_segment_11_segment_2.mp4 ha sido procesado.
El archivo temporal output_temp.mp4 ha reemplazado a Batman - Mask of The Phantasm, Open Matte Version (1993 - 1080p BluRay)_segment_11_segment_2.mp4.
Ejecutando: ffmpeg -i "D:\BTO\MemeLaughnClap\Shorted\Batman - Mask of The Phantasm, Open Matte Version (1993 - 1080p BluRay)_segment_11_segment_3.mp4" -i "D:\BTO\MemeLaughnClap\Media\FV.mp4" -filter_complex concat=n=2:v=1:a=1 -c:v libx264 -preset medium -crf 23 -c:a aac -b:a 192k -y "D:\BTO\MemeLaughnClap\Shorted\output_temp.mp4"
ffmpeg version 2023-12-18-git-be8a4f80b9-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)


    


    I hoped they would concat, but they did not.

    


  • With apulsator in ffempeg - How do I make so one side does not completely become silent ?

    3 avril 2022, par corgrath

    I am trying to learn more about signal processing and the apulsator effect in ffmpeg.

    


    http://ffmpeg.org/ffmpeg-filters.html#apulsator

    


    With the most default example :

    


    ffmpeg -y -i input.mp3 -af "apulsator=hz=0.0625:timing=hz:mode=sine" output.mp3

    


    You can clearly hear that the sound travels from left to right and then back to left, as expected.

    


    However, I am trying to understand how/if it is possible that sound volume does not completely becomes silent, but perhaps 10% of the volume, while the other side gets 90%.

    


    What I am trying to achieve is that one side does not completely becomes silent.

    


    If this cannot be achieved solely by the apulsator settings, what other effects or ways can I achieve this using ffmpeg ?

    


    Any advice is appreciated !

    


  • Best way to record a HTML Canvas/WebGL animation server-side into a video ?

    19 novembre 2022, par Abhinav

    I have a set of animations which I can make in Canvas (fabric.js) or WebGL (three.js). I need to record them automatically, server-side, through a script and output a video file.

    



    The animations include :

    



      

    1. Pictures
    2. 


    3. Videos (with audio)
    4. 


    5. Other animations/effects
    6. 


    



    I have researched a lot during last few months on this.

    



    Results
    
1. Use PhantomJS + FFMPEG
    
Run HTML Canvas animations on headless browser(PhantomJS) and record with FFMPEG. Here the issue is PhantomJS supports neither WebGL nor Video element. http://phantomjs.org/supported-web-standards.html

    
2. Use Websockets to send data back to server using DataURL
    
Here again, we will need to run the animations on browser (which we can't because we have to do everything on server).

    
3. Use node-canvas
    
This is a library by TJ Holowaychuk which allows rendering HTML Canvas on Node.js. But it has its own limitations plus I haven't really explored this field much. 
(If someone could shed more light on this library)

    



    If anyone has done it before or can guide me somewhere useful.
    
All we need to do is use some data to create animations and record it into a video, everything on server side.