
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (105)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (5361)
-
How to scan a folder recursively in ffmpeg to check for presence of subtitles ?
22 décembre 2022, par frostyI have a folder (with subfolders) of videos on my Raspberry Pi, some containing soft-embedded subtitles and some without.


I want to use ffmpeg to check for the presence of the soft-embedded subtitle, and return a result against each filename so that I can locate.


The videos may be mp4, mkv or avi.


I have been using this command successfully but in a limited way as it only works for .mp4 files and doesn't check recursively. The output is a nice list with either a 0 or 1 at the beginning of the line, where 1 means that there is no subtitle.


for f in *.mp4; do ffmpeg -i "$f" -c copy -map 0:s:0 -frames:s 1 -f null - -v 0 -hide_banner; echo $? "$f" ; done



I have tried all manner of ways like find and -exec, read, xargs, all to no avail. The below is the closest I've got, but it doesn't deal with whitespaces properly so filenames including spaces are split over two lines and the command seems to run only one word at a time, so it fails and shows 1 for everything.


for f in `find /mnt/SSD/ | grep -E '(.mp4|.mkv|.avi)'`; do ffmpeg -i "$f" -c copy -map 0:s:0 -frames:s 1 -f null - -v 0 -hide_banner; echo $? "$f" ; done



Any ideas what I'm doing wrong ?


-
How to supply mufti filter_complex values using ffmpeg
11 octobre 2022, par Mohammed Hamdanfor single image being merged to video i use the following command to supply values for
-filter_complex


String comand = '-y -i $videoPath -i $imagePath -filter_complex "[1:v]scale=300:300[ovrl];[0:v][ovrl]overlay=100:100" $outPutPath';



but what if i want merge more than one image (input) ?


How do we make a certain distinction for each input except
$videoPath
?

String comand = '-y -i $videoPath -i $imagePath1 i $imagePath2 i $imagePath3 $outPutPath4';



How could i supply difference
scale
overlay
rotate
values for each input which is for$imagePath1
$imagePath2
$imagePath3
$imagePath4


in other word : evry input has it's own filter values ?


to be honest i have no idea what does
[1:v]
means but After several attempts, I was able to get successful command (my first command in my qwestion) to give values for one entry, and this was successful , but couldn't do it for many inputs

-
How to transcode discord opus bytes wav ?
13 décembre 2022, par TacokeetI am trying to convert discords opus audio bytes to wav bytes. I'm using the discord python library Pycord to receive opus audio. This receives opus aduio from a socket. This audio is 2 channel, 48khz.


I want transcode these bytes into 1 channel 16khz wav. So that I can pass it into Pico voice their porcupine (pvporcupine) wake word detection.


I tried convert the decoced data with audioop but this doesn't work.


converted = audioop.ratecv(data.decoded_data, 2, 2, 48000, 16000, None)
converted = audioop.tomono(converted[0], 2, 1, 0)



Pycord has a feature that it writes the bytes into a wav file. I can use ffmpeg to then transcode it into an 1 channel 16khz wav file. I can then feed this file into pvporcupine. It then detects the desired wake words.


But I want to transcode the decoded bytes and then pass them into pvpvporcupine.


Any help towards an answer would be appreciated.