Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (32)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (6778)

  • Try to execute ffmpeg in python - subtitles error

    3 septembre 2022, par user103162

    I try to exectute :
./ffmpeg.exe -i "video.mkv" -vf subtitles="video.mkv" "video.mp4"
This command works fine

    


    But not in my python code

    


    
from pathlib import Path
import subprocess
import os


ffmpeg = r"D:\Archives\ffmpeg.exe"
os.chdir(r"D:\temp\video")
videos = Path(".")

for file_mkv in videos.glob("*.mkv"):
    file_mp4 = file_mkv.with_suffix(".mp4")
    subprocess.run([ffmpeg, "-i", file_mkv, "-vf", f'subtitles="{file_mkv}"', file_mp4])



    


    Error :
[Parsed_subtitles_0 @ 0000020cb26222c0] Unable to open "video.mkv"
[AVFilterGraph @ 0000020cb715a380] Error initializing filter 'subtitles' with args '"video.mkv"'
Error reinitializing filters !
Failed to inject frame into filter network : Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed !

    


  • Using FFMPEG , Can I extract subtitles from any type of container ?

    30 juin 2020, par Reshma Walhekar

    I have tried extracting subtitles from MKV , I would like to know can I extract it from any Container like MP4 or any other video file container.

    


  • How to animate harcoded subtitles (.ass) or drawtext in ffmpeg ?

    25 avril 2023, par AbsoluteSith

    I'm trying to add hardcoded text or subtitles to a video.
I've used .ass file to easily add subtitles with custom background color, font color, font size and placement and fade animation.

    


    But now I want to add slide animation to the text.
Also, note that if this is not possible in .ass (Advanced Substation Alpha) how would one go about trying to add this using DrawText ?

    


    Also not sure how I can split the text into multiple lines. (Wouldn't this involve knowing the size of the text and splitting)

    


    Sample of what I'm trying to achieve