
Recherche avancée
Autres articles (8)
-
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 (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (2233)
-
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.


-
I want FFMPEG generate the m3u8 file with the oldest segments instead of the newest
4 juin 2021, par SandiI have an FFmpeg command like this :


ffmpeg -i test.mp4 -f hls -hls_time 2 -hls_wrap 10 -hls_list_size 5 test.m3u8



Afaik, hls_wrap is the number of segments we want to store locally and hls_list_size is the segment listed in the m3u8 output file. The command above will generate 10 files of the video segment.


[seg 0][seg 1][seg 2][seg 3][seg 4][seg 5][seg 6][seg 7][seg 8][seg 9]



And inside the test.m3u8, of course, there are 5 newest segments listed.


[seg 5][seg 6][seg 7][seg 8][seg 9]



I want the test.m3u8 lists the oldest available segment instead of the newest. So it should contain :


[seg 0][seg 1][seg 2][seg 3][seg 4]



In another word, I want to preload the segments before it listed in test.m3u8.


The idea is I want to rsync the output of that FFmpeg command to a different folder on the network. I want to avoid test.m3u8 contains a segment that not completely copied because of the large segment size.


Please help me and pardon my English. Thank you very much !