
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (29)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation" -
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 (...)
Sur d’autres sites (4594)
-
variable length of segments in HLS
12 août 2019, par shubham vashishtI am using FFmpeg to create a hls streaming manifest from a audio file.
So far i can break the audio file into several segments based on the duration. Let’s say 10. But the requirement is to break audio file in such way that first few segments are of lesser size say 4 seconds and following segments of 10 seconds long.
I am calling ffmpeg from a python script like thisresult = subprocess.Popen(['ffmpeg -y -i {} -acodec copy -f segment -segment_time {} -segment_list {}.m3u8 {}%03d.ts'.format(pathToDownloadedMediaFile, 10, mediaFileName,mediaFileName)],stdout=subprocess.PIPE,stderr=subprocess.STDOUT, shell=True)
is there any way to create first few segments of different duration than the rest ?
-
Getting "Unrecognized option '1'" when using "-map_metadata -1" to erase metadata with ffmpeg [closed]
20 novembre 2024, par Nautilus EraEdit :

As said in the header, this question is not about programing and I will ask it on the appropriate Stack.

My confusion came from the fact that I am using Python to make my calls to the shell, however, it has nothing to do with the problem I am trying to solve.

Thank you for your time and sorry for the bother.


I was trying to erase metadata from a file using ffmpeg using the
following command :


ffmpeg –i $file_path –map_metadata -1 –c copy $stripped_video_output



Where $file_path and $stripped_video_output are variables containing
their respective path.


ffmpeg gave the answer :


Unrecognized option '1'. 
Error splitting the argument list: Option not found



I am using Debian 12.


I tried with both the repository's version as well as a compiled version
of ffmpeg and I tried on two different computers.


If anyone can help with that, I would appreciate it.


Thank you in advance and have a good one.


-
How can I run FFPROBE in a Python script without triggering the Windows Command window ?
1er mars, par fnord12I am using ffmeg/ffprobe to get video durations (in an addon for Kodi). The code :


result = subprocess.run(["ffprobe", "-hide_banner", "-v", "quiet", "-show_entries",
 "format=duration", "-of",
 "default=noprint_wrappers=1:nokey=1", filename], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)



The above code and the file importing that code both have a .pyw extension (after first trying regular .py).


This works fine but in Windows 11 it causes the black Windows Command window to briefly flash for each video, despite the -hide_banner flag and loglevel being set to quiet. In Linux Mint it runs without any such window popping up.


Found the answer : subprocess.run just needed a final shell=True as the last argument.