
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (51)
-
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 ) (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (6505)
-
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.