Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (70)

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

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (12966)

  • How to remove hoax subtitles from mp4 files by ffmpeg ?

    22 février 2020, par hamidi

    Sometimes I get some mp4 files which include a stream of type data. When I play such files by vlc I see an additional subtitle which is not really a subtitle stream. For example it just includes "Chapter 03" ! Indeed the original mp4 file should include a video and an audio stream, while ffmpeg shows an additional data stream. This is the same stream vlc shows as an additional subtitle stream. Sometimes the file includes four streams, a video, an audio and a real subtitle stream. I don’t want to use -sn to remove this real subtitle. I just want to remove what to claim to be a subtitle stream and it’s not. They’re usually introduced to be a data stream, but vlc shows them as subtitle stream. I also don’t want to use -dn or -map_metadata -1 to remove data from mp4, because sometimes the mp4 includes chapters data which I don’t want to be removed. I just want to remove these hoax subtitles which are introduced as data.

    How it’s possible to be done by ffmpeg ?

  • What ffmpeg command line will force the last frame to be a key frame ?

    21 décembre 2019, par ChrisJJ

    When converting .JPGs to .MP4 with the default encoder, What ffmpeg command line will force the last frame to be a key frame, regardless of the duration ?

    I’ve seen the ffmpg option for controlling key frames -force_key_frames (below) but cannot see how it can deliver this result.

    -force_key_frames[:stream_specifier] time[,time...] (output,per-stream)
    -force_key_frames[:stream_specifier] expr:expr (output,per-stream)
    Force key frames at the specified timestamps, more precisely at the first frames after each specified time.

    If the argument is prefixed with expr:, the string expr is interpreted like an expression and is evaluated for each frame. A key frame is forced in case the evaluation is non-zero.

    If one of the times is "chapters[delta]", it is expanded into the time of the beginning of all chapters in the file, shifted by delta, expressed as a time in seconds. This option can be useful to ensure that a seek point is present at a chapter mark or any other designated place in the output file.

    For example, to insert a key frame at 5 minutes, plus key frames 0.1 second before the beginning of every chapter:

    -force_key_frames 0:05:00,chapters-0.1
    The expression in expr can contain the following constants:

    n
    the number of current processed frame, starting from 0

    n_forced
    the number of forced frames

    prev_forced_n
    the number of the previous forced frame, it is NAN when no keyframe was forced yet

    prev_forced_t
    the time of the previous forced frame, it is NAN when no keyframe was forced yet

    t
    the time of the current processed frame

    For example to force a key frame every 5 seconds, you can specify:

    -force_key_frames expr:gte(t,n_forced*5)
    To force a key frame 5 seconds after the time of the last forced one, starting from second 13:

    -force_key_frames expr:if(isnan(prev_forced_t),gte(t,13),gte(t,prev_forced_t+5))
    Note that forcing too many keyframes is very harmful for the lookahead algorithms of certain encoders: using fixed-GOP options or similar would be more efficient.
  • Convert chapters from xml to ffmetadata ?

    3 février 2021, par Soul Spark

    I wanted to add chapters to my encoded mkvs, but I get *.xml files when I download it from online. So is there any way to convert it to FFMETADATAFILE so that when I encode it using ffmpeg I can add chapters to my mkv ??

    



    Sample Input

    



    &lt;?xml version="1.0"?>&#xA;&#xA;&#xA;&#xA;-<chapters>&#xA;&#xA;&#xA;-<editionentry>&#xA;&#xA;<editionflagdefault>1</editionflagdefault>&#xA;&#xA;<editionflaghidden>0</editionflaghidden>&#xA;&#xA;&#xA;-<chapteratom>&#xA;&#xA;<chapteruid>95534594</chapteruid>&#xA;&#xA;<chaptertimestart>00:00:00.000000000</chaptertimestart>&#xA;&#xA;<chaptertimeend>00:01:30.000000000</chaptertimeend>&#xA;&#xA;<chapterflaghidden>0</chapterflaghidden>&#xA;&#xA;<chapterflagenabled>1</chapterflagenabled>&#xA;&#xA;&#xA;-<chapterdisplay>&#xA;&#xA;<chapterstring>Chapter 1</chapterstring>&#xA;&#xA;<chapterlanguage>und</chapterlanguage>&#xA;&#xA;</chapterdisplay>&#xA;&#xA;</chapteratom>&#xA;&#xA;&#xA;&#xA;</editionentry>&#xA;&#xA;</chapters>&#xA;

    &#xA;&#xA;

    Sample Output

    &#xA;&#xA;

    ;FFMETADATA1&#xA;title=bike\\shed&#xA;;this is a comment&#xA;artist=FFmpeg troll team&#xA;&#xA;[CHAPTER]&#xA;TIMEBASE=1/1000&#xA;START=0&#xA;#chapter ends at 0:01:00&#xA;END=60000&#xA;title=chapter \#1&#xA;[STREAM]&#xA;title=multi\&#xA;line&#xA;

    &#xA;&#xA;

    By the way I use ffmpeg in cli mode only.

    &#xA;