Recherche avancée

Médias (0)

Mot : - Tags -/content

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (59)

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (7130)

  • avcodec/mpeg12dec : Don't initialize unused parts of ScanTable

    24 février, par Andreas Rheinhardt
    avcodec/mpeg12dec : Don't initialize unused parts of ScanTable
    

    The MPEG-1/2 decoders don't need ScanTable.raster_end
    (as the coefficients are unquantized as they are parsed).

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/mpeg12dec.c
  • Revision 33331 : simplifier les petitions : le tableau des signatures utilise les classe ...

    27 novembre 2009, par cedric@… — Log

    simplifier les petitions : le tableau des signatures utilise les classe generiques table.spip et autre qui lui permet d’etre par defaut dans le theme. Les class specifiques sur chaque element restent utilisables pour affiner si (...)

  • How to automate ffmpeg to split and merge parts of video, and keep the audio in sync ?

    9 décembre 2024, par Tree

    I have a Python script that automates trimming a large video (2 hours) into smaller segments and then concatenating them without re-encoding, to keep the process fast. The script runs these ffmpeg commands :

    &#xA;

    import subprocess&#xA;&#xA;# Extract chunks&#xA;segments = [(0, 300), (300, 600), (600, 900)]  # example segments in seconds&#xA;for i, (start, length) in enumerate(segments):&#xA;    subprocess.run([&#xA;        "ffmpeg", "-i", "input.mp4", "-ss", str(start), "-t", str(length),&#xA;        "-c", "copy", "-reset_timestamps", "1", "-y", f"chunk_{i}.mp4"&#xA;    ], check=True)&#xA;&#xA;# Create concat list&#xA;with open("list.txt", "w") as f:&#xA;    for i in range(len(segments)):&#xA;        f.write(f"file &#x27;chunk_{i}.mp4&#x27;\n")&#xA;&#xA;# Concatenate&#xA;subprocess.run([&#xA;    "ffmpeg", "-f", "concat", "-safe", "0",&#xA;    "-i", "list.txt", "-c", "copy", "-y", "merged_output.mp4"&#xA;], check=True)&#xA;

    &#xA;

    All chunks come from the same source video, with identical codecs, resolution, and bitrate. Despite this, the final merged_output.mp4 sometimes has audio out of sync—especially after the first chunk.

    &#xA;

    I’ve tried using -ss before -i to cut on keyframes, but the issue persists.

    &#xA;

    Question : How can I ensure correct A/V sync in the final concatenated video when programmatically segmenting and merging via ffmpeg without fully re-encoding ? Is there a way to adjust the ffmpeg commands or process to avoid audio desynchronization ?

    &#xA;