
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (70)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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, parMediaSPIP 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 2013Jolie 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)
-
avformat/subtitles : make sure we don’t drop "duplicated" events from different streams
10 septembre 2015, par Clément Bœsch -
Merge .mkv files with already included subtitles using ffmpeg-python
9 mars 2023, par EesheI'm trying to merge two (and more in the future) .mkv files that already have subtitles included in them, this means I DO NOT have .srt files that need to be encoded. Let's call the .mkv files
intro.mkv
andepisode.mkv
.

However, the way I want to merge them is so a portion of the
episode.mkv
file is played until a specified timestamp, thenintro.mkv
plays completely, and after that the rest ofepisode.mkv
.

I've managed to get close with the following code.


import ffmpeg

initial_episode_video = ffmpeg.input('episode.mkv', to='00:00:34.033', hwaccel='cuvid')
intro_video = ffmpeg.input('intro.mkv', hwaccel='cuvid')
remaining_episode_video = ffmpeg.input('episode.mkv', ss='00:00:34.033', hwaccel='cuvid')

full_episode_video = ffmpeg.concat(initial_episode_video, intro_video, remaining_episode_video)

output_video = ffmpeg.output(
 full_episode_video,
 filter_complex='[0:v][0:a][1:v][1:a][2:v][2:a]concat=n=3:v=1:a=1',
 vprofile='main', 
 vcodec='h264_nvenc',
 pix_fmt='yuv420p',
 crf=22,
 map="0:s",
 filename=f'Output/{episode_path}')
ffmpeg.run(output_video)



With this code, the videos are correctly trimmed. The problem is that once
intro.mkv
starts playing, it doesn't show the subtitles corresponding to it, instead it shows theepisode.mkv
subtitles corresponding to the '00:00:34.033' timestamp.

My objective is to display the subtitles of
intro.mkv
, and then, once the full intro is played, continue with the subtitles fromepisode.mkv
.

NOTE : I am aware that I am re-encoding both the
episode.mkv
andintro.mkv
files. If possible, I'd prefer if it only re-encodesepisode.mkv
, sinceintro.mkv
only needs to be re-encoded once (I can do that individually). I am re-encoding to go from H.264 Hi 10 to H.264 main profile.

-
lavfi/movie : Use filter thread count for decoding threads.
25 août 2019, par Carl Eugen Hoyos