Recherche avancée

Médias (91)

Autres articles (74)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (7740)

  • How to make only words (not sentences) in SRT file by AssemblyAI

    19 avril 2024, par flip

    Okay... So Im trying to create a video making program thing and I'm basically finished but I wanted to change 1 key thing and don't know how to...
Here's the code :

    


    import assemblyai as aai
import colorama
from colorama import *
import time
import os

aai.settings.api_key = "(cant share)"

print('')
print('')
print(Fore.GREEN + 'Process 3: Creating subtitles...')
print('')
time.sleep(1)
print(Fore.YELLOW + '>> Creating subtitles...')
transcript = aai. Transcriber().transcribe("output/output-tts.mp3")

subtitles = transcript.export_subtitles_srt()
print('>> Created subtitles!')

f = open("subtitles.srt","a")
f.write(subtitles)
print('')
print('Program >> You are going to have to manually run the last python file [addsubtitles.py] because \n this program needs to close to write down the subtitles')
print('')
time.sleep(7)
f.close()


    


    when it exports the SRT it exports it something like this :

    


    1
00:00:00,160 --> 00:00:04,238
Put a finger down if you have ever kissed a

2
00:00:04,286 --> 00:00:05,374
goddamn dog.




    


    but i want it to go word by word but still synced with the time frame in the audio and then generate a srt file that has word by word and no sentences.
How could I do this ? because I have no idea how to implement that into the code.

    


    I tried watching or searching the internet for any ways on doing this because I can't figure it out but there are still no results. Would appreciate if anyone could help.

    


  • How to make words in ASS subtitles appear one at a time ?

    21 septembre 2022, par ThaDon

    I am trying to burn subtitles into a video such that they appear in a word-by-word fashion instead of all at once.

    



    What I mean by this is, a word will appear, then another word will appear next to it, and so on. Eventually the line will clear, then repeat.

    



    Example :

    



    A video shows a person speaking about chess. Subtitles at the bottom of the screen say “winning”. Moments later, the subtitles change to “winning a”, then “winning a piece”, later “winning a piece now” and so on. Each consecutive word instantly appears in whole, but each word only appears when the speaker says it.

    



    I thought I could create an Advanced Substation Alpha file where subtitles share the same end-time but differing start times, however FFMPEG doesn't seem to cope very well when rendering the file :

    



    [Script Info]
; Script generated by FFmpeg/Lavc57.107.100
ScriptType: v4.00+
PlayResX: 384
PlayResY: 288

[V4+ Styles]
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,Arial,16,&Hffffff,&Hffffff,&H0,&H0,0,0,0,0,100,100,0,0,1,1,0,2,10,10,10,0

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,0:00:03.46,Default,,0,0,0,,I'm
Dialogue: 0,0:00:01.00,0:00:03.46,Default,,0,0,0,,a
Dialogue: 0,0:00:01.50,0:00:03.46,Default,,0,0,0,,subtitle


    



    The idea being that I'm would appear, then 1 second later a would show up next to it followed by subtitle a half second later

    


  • Error in streaming video over java socket using xuggler

    18 avril 2014, par user3548066

    Although the video is streaming the console is full of repetitive errors and the video freezes after about 20 seconds.

    CLIENTSIDE :

    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 121% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!

    SERVERSIDE :

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
       at com.xuggle.xuggler.demos.VideoImage$ImageComponent$ImageRunnable.run(VideoImage.java:103)
       at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
       at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
       at java.awt.EventQueue.access$200(EventQueue.java:103)
       at java.awt.EventQueue$3.run(EventQueue.java:694)
       at java.awt.EventQueue$3.run(EventQueue.java:692)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
       at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
       at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
       at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
       at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)