
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (77)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (4994)
-
Converting mkv file to mp4 gives me `filenotfounderror`
8 juillet 2022, par JustinHere is the script being used :


import os
import ffmpeg

start_dir =r'C:\Users\Videos_2'

def convert_to_mp4(mkv_file):
 name, ext = os.path.splitext(mkv_file)
 out_name = name + ".mp4"
 #ffmpeg.input(mkv_file).output(out_name, format = 'mp4', acodec ='aac', ar=16000, audio_bitrate=96000 ).run()
 ffmpeg.input(mkv_file).output(out_name, format = 'mp4', acodec ='aac', ar=16000, audio_bitrate=96000 ).run()
 print("Finished converting {}".format(mkv_file))

for path, folder, files in os.walk(start_dir):
 for file in files:
 if file.endswith('.mkv'):
 print("Found file: %s" % file)
 convert_to_mp4(os.path.join(start_dir, file))
 else:
 pass



It is similar to the following : Converting mkv files to mp4 with ffmpeg-python


It gives me the error
FileNotFoundError: [WinError 2] The system cannot find the file specified
on the lineconvert_to_mp4(os.path.join(start_dir, file))
. From the link provided it says to fix the problem "Make sure ffmpeg.exe is in the same directory as the script." However I do not understand exactly what that means. I downloaded ffmpeg through the terminal window in the environment that I am using.

-
Setup FFMpegCore in Visual Studio 2019
27 juillet 2022, par DsiakMondalaI am confused on the basics of using a library. I understand that there is a library called FFMpeg and a wrapper called FFMpegCore so we can use FFMpeg with C#, correct ? I downloaded both FFMpeg and FFMpegCore and I have them in my project's folder. Although I didn't perceive any class named FFMpegOptions in either of the file's folders.
I am stuck on how to actually set it up so I can use it in my little project, I never downloaded someone's library before. Can somebody please walk me though the motions of connecting the three of them together ?


So far I experimented with :


- 

- Add a reference to my project, but there doesn't seem to be any .dll, .tlb, .olb, .ocx or .exe files to add
- Add an existing project to my solution. There is a project called FFMpegCore.csproj but adding it raises a missing SDK error. Weirdly enough, opening the same project as a standalone doesn't raise any issues which makes me thing the operation I am trying is inadequate.






I am sure this is a silly and easy setup to perform but I just don't know enough to find a solution.


-
How can I write a ffmpeg log file with Python on macOS ?
1er septembre 2022, par TobiasI want to write ffmpeg log files for several video input files with a Python script on macOS.
Here is my try :


def create_error_logfile(videoinput):
 cmds = [
 "/applications/ffmpeg",
 "-v", 
 "error",
 "-i",
 videoinput, 
 "-f", 
 "null", 
 "-",
 "2>",
 videoinput + ".log"
 ]
 subprocess.Popen(cmds).wait()

for root, directories, files in os.walk(input_path):
 for video in files:
 videoinput = os.path.join(root, video)
 create_error_logfile(videoinput)



But I get the following ffmpeg error :


Unable to find a suitable output format for '2>'
2>: Invalid argument



What am I doing wrong ?
Thanks in advance !