
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (42)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
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 (...)
Sur d’autres sites (4967)
-
Evolution #2209 : Préciser le poids des documents DANS le lien
31 octobre 2014, par tetue tetue(Je mets à jour, parce que l’eau à coulé sous les ponts entre temps…)
Le code généré serait :
Télécharger nom_du_fichier.pdf (PDF - 32Ko)
- Apposer une class générique permet de cibler ces liens au besoin (moins radical que de reposer sur le ciblage par attribut)
- Oublier « spip-doc » parce que risque de confusion avec d’autres notions (les modèles de documents de SPIP ou les fichiers Word)
- « download » est le terme générique le plus convenu
- L’apposition d’une class par extension, homonyme (.doc, .pdf, etc.) est facultative, puisqu’un ciblage par attribut couplé au sélecteur générique suffit
- Ajouter les informations pertinentes pour chaque fichier dans l’élément small
- Éviter d’expliciter l’abbr (dont seule la première occurrence dans la page doit être explicitée ; de plus, abbr relève d’un confort superflu)
- Se passer d’attribut title, facultatif dans ce cas (sauf en cas, vicieux, de masquage via CSS des infos de poids et formats — si attribut title, celui-ci doit reprendre le libellé à l’identique, au moins — mais faisons simple : n’en mettons point). -
find the timestamp of a sound sample of an mp3 with linux or python
23 juin 2020, par cardamomI am slowly working on a project which where it would be very useful if the computer could find where in an mp3 file a certain sample occurs. I would restrict this problem to meaning a fairly exact snippet of the audio, not just for example the chorus in a song on a different recording by the same band where it would become more some kind of machine learning problem. Am thinking if it has no noise added and comes from the same file, it should somehow be possible to locate the time at which it occurs without machine learning, just like grep can find the lines in a textfile where a word occurs.


In case you don't have an mp3 lying around, can set up the problem with some music available on the net which is in the public domain, so nobody complains :


curl https://web.archive.org/web/20041019004300/http://www.navyband.navy.mil/anthems/ANTHEMS/United%20Kingdom.mp3 --output godsavethequeen.mp3



It's a minute long :


exiftool godsavethequeen.mp3 | grep Duration
Duration : 0:01:03 (approx)



Now cut out a bit between 30 and 33 seconds (the bit which goes la la la la..) :


ffmpeg -ss 30 -to 33 -i godsavethequeen.mp3 gstq_sample.mp3



both files in the folder :


$ ls -la
-rw-r--r-- 1 cardamom cardamom 48736 Jun 23 00:08 gstq_sample.mp3
-rw-r--r-- 1 cardamom cardamom 1007055 Jun 22 23:57 godsavethequeen.mp3



This is what am after :


$ findsoundsample gstq_sample.mp3 godsavethequeen.mp3
start 30 end 33



Am happy if it is a bash script or a python solution, even using some kind of python library. Sometimes if you use the wrong tool, the solution might work but look horrible, so whichever tool is more suitable. This is a one minute mp3, have not thought yet about performance just about getting it done at all, but would like some scalability, eg find ten seconds somewhere in half an hour.


-
Audio File conversion format, bitrate- from wav to aac
28 novembre 2019, par Teja8484I have an audio file with the following properties.
File Name : A.wav
Format : WAV
Type : PCM 32 bit floating little endian
Bitrate : 2048 kbps
Frequency:32000 Khz
Channels : 2
I want to convert the above file to this format.
Format : AAC
Type : Advance audio encoding
Bitrate : 384 kbps
Frequency:32000 Khz
Channels : 2
I have been experimenting with ffmpeg but unsuccessful.
ffmpeg -i A.wav -acodec aac -ab 384k B.aac
How do I do this ?