
Recherche avancée
Autres articles (96)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (10165)
-
how can i set Path of ffmpeg output in vb.net
28 avril 2015, par TOMI am Writing a code in vb.net to Create thumbnails of Video . But I want to set the output path or the storage path of the thumbnails
enter code here
TextBox2.Text = InputBox("Enter your Desired Name")
Dim fileName As String = TextBox1.Text
Dim result As String = Path.GetFileName(fileName)
proc.StartInfo.Arguments = " -i " + result + " -r 1 " + TextBox2.Text + "%4d.jpg "
proc.Start()When i run this The output is stored elsewhere. So i want to store the output manually
-
How to use bytes instead of file path in ffmpeg ?
3 mai 2021, par Julio S.I have a function that currently receives bytes, saves it to an audio WEBM file on disk, then converts it to another audio WAV file on disk.


I am looking for a way to make the above conversion without saving the WEBM files to disk, using FFMPEG.


Can FFMPEG handle such conversions using bytes in memory instead of a path to a file in disk ?


What I am doing right now (Python 3.8.8 64Bit) :


# audio_data = bytes received

def save_to_webm(audio_data, username):
 mainDir = os.path.dirname(__file__)
 tempDir = os.path.join(mainDir, 'temp')
 webm_path = os.path.join(tempDir, f'{username}.webm')
 with open(webm_path, 'wb') as f:
 f.write(audio_data)
 return webm_path

# webm_path = input path in FFMPEG

def convert_webm_to_wav(webm_path, username):
 mainDir = os.path.dirname(__file__)
 tempDir = os.path.join(mainDir, 'temp')
 outputPath = os.path.join(tempDir, f'{username}.wav')

 if platform == 'win32':
 ffmpeg_path = os.path.join(mainDir, 'ffmpeg.exe')
 else:
 os.chdir("/ffmpeg")
 ffmpeg_path = './ffmpeg'

 command = [ffmpeg_path, '-i', webm_path, '-acodec', 'pcm_s16le', '-ar', '11025', '-ac', '1', '-y', outputPath]
 subprocess.run(command,stdout=subprocess.PIPE,stdin=subprocess.PIPE)
 return outputPath



-
How to specify a path for output file in ffmpeg ?
29 janvier 2020, par Karthikeya VaidyaI am trying to give a path for the output file, but ffmpeg is giving an error stating
Unable to find a suitable output format for ’/kcs/eng/ : Invalid argument.
Whereas it is accepting the full path of the input file.
$in_path = "D:/kcs/kan/video.vob";
$out_path = "E:/kcs/eng/video.mp4";
ffmpeg -i $in_path -loglevel error -c:v libx264 -c:a aac -strict experimental $out_PathHow to specify the path of the output file ?