
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (76)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (4961)
-
ffmpeg python error when adding subtitles
13 mai 2024, par Clara OgallaWhen I run it I think there is an error with the subtitle path, but I can't solve it.


The error in terminal :




[Parsed_subtitles_0 @ 0000019bcc509780] Unable to parse option value
"UsersclaraDocumentsProyectosSubtitulossubtitulosDoctor Who - 1x05 The
Keys Of Marinus - Part 6 The Keys Of Marinus_track4_spa.srt" as image
size Error applying option 'original_size' to filter 'subtitles' :
Invalid argument [vost#0:0/libx264 @ 0000019bce220480] Error
initializing a simple filtergraph Error opening output file
C :\Users\clara\Documents\Proyectos\Subtitulos\videos_con_subtitulos\Doctor
Who - 01x05f - The Keys of Marinus (The Keys of Marinus).mkv. Error
opening output files : Invalid argument




My code :


import os
from fuzzywuzzy import fuzz
import ffmpeg

for video_file, (video, subtitle) in video_subtitle_mapping.items():
 print(f"Video: {video_file}, Subtitle: {subtitle}")

 folder_path = r"C:\Users\clara\Documents\Proyectos\Subtitulos\subtitulos"
 subtitulo_file = os.path.join(folder_path, subtitle)

 folder_path = r"C:\Users\clara\Documents\Proyectos\Subtitulos\videos"
 video_path = os.path.join(folder_path, video_file)

 folder_path = r"C:\Users\clara\Documents\Proyectos\Subtitulos\videos_con_subtitulos"
 output_video_file = os.path.join(folder_path, video_file) # Output video file should have the same name as the input video

 try:
 ffmpeg.input(video_path).output(output_video_file, vf=f"subtitles='{subtitulo_file}'").run()
 except ffmpeg.Error as e:
 print(f"Error processing video {video_file}: {e.stderr}")



Add subtitles to MKVs


-
FFMPEG - When I execute the bat file, it does not render and upscale the video. And it generates a VIDEO.mp4 file but with 0 bytes [closed]
12 septembre 2020, par user14266881This is the bat file I created


cd D:\sexy renders\Upscaling
ffmpeg -i CONVERT.mp4 -vf scale=3840:2160:flags=neighbor -c:v h264_nvenc -profile high -preset slow -rc vbr_2pass -qmin 17 -qmax 22 -2pass 1 -c:a:0 copy -b:a 384k VIDEO.mp4



Also to add, I've went to Advanced System Settings -> Advanced -> Environment Variables -> Path -> New -> D :\sexy renders\ffmpeg\bin


-
Using FFmpeg in ios10, xcode8
21 novembre 2016, par Juvia.XinI downloaded kxmovie in github and use it in my project as a component. I can successfully build the kxMovieExample. But in my project, I encounter one error, that is ’libavformat/avformat.h’ file not found, although I have put all ffmpeg headers in header search path and all libs in library search path.
One thing to mention is that I have deleted libavutil/time.h because xcode can’t link the system time.h and I have not found any usage of libavutil/time.h in the project. Is it possible that the deletion cause the error above ? Or any other possiblities ?
Thanks for any help.