
Recherche avancée
Autres articles (102)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (13888)
-
Bash : FFmpeg : Automate Album Art Tagging
8 septembre 2021, par Brett SjoholmEvery one of my music folders are set up like Artist > Year Album >


Track 01.flac
Track 02.flac
Track 03.flac
folder.jpg, jpeg, png, etc



And what I need to do is if folder.* is available.


if [ -f folder.* ]; then



Run this command to set smaller size without replacing the original photo.


for small in folder.*
convert $small -resize 1000x1000 temp$small



Then run these commands on every file to automatically add the smaller sized cover to each audio file's tagging.


ffmpeg -i TRACK.flac -i SMALLFOLDER.* -map a -map 1:v -disposition:v attached_pic -metadata:s:v comment="Cover (Front)" -codec copy TRACKWITHART.flac
&& rm TRACK.flac
&& mv TRACKWITHART.flac TRACK.flac
&& rm temp$small



Last little bit there is me cleaning up. I'm having trouble piping commands into one another with this and not the most experienced with that sort of thing.


And also, if it's not available like above, will need to extract it from the first audio file by finding it.


else
find . -name "*.flac" -print -quit 



And extracting it with this command.


ffmpeg -i TRACK.flac -vf scale=1000:1000 -an FOLDER.png



Then run the other commands above.


Now I don't know if anyone is familiar with FFmpeg but it's actually kind of nightmare because it's not necessarily for audio tagging but I don't know anything else to handle this kind of automated album art task in the terminal. If anyone can point me more in the right direction with a better CLI utility, that'd be awesome or just help with this bash scripting. You can see I'm fairly familiar with the terminal and getting some things done by searching the web but putting them altogether in a bash script is very difficult for me to understand, if anyone has some links for specifically this, that would be much appreciated.


-
ffmpeg - extract exact number of frames from video
29 mars 2017, par Michael BI want to create a maximum of 30 images from a video (and tile them for a sprite sheet).
I’ve tried using the ’select’ with ’mod’ but if the total number of frames does not fit neatly into the desired number of images (30) then I sometimes end up with more images, sometimes less.
For example if my video is 72 frames long, my ’mod’ would be 72 / 30, which is 2.4.
I’m running this from a python script so i’m doing something like the following for the filter :
select='not(mod(n\," + str(mod) + "))'
I think the mod has to be an integer (?) so I could either round down and use 2 which gives me 36 images or round up which gives me 24 images
Whats the best way to get exactly 30 ? - obviously the interval wouldn’t be identical but thats fine.
Maybe I could use a for loop to generate a list of the frames closest to the desired interval and then pass that in as the select filter ?
e.g. to get the frames I would do something like this :
nframes = 72 # number of frames in video
outImages = 30 # number of images I want
mod = float(nframes) / outImages # 2.4
frames = []
idx = 1
while i < nframes:
print str(idx) + ": " + str(math.floor(i+0.5))
frames.append(int(math.floor(i+0.5)))
idx += 1
i += modThen am I able to pass that (the frames list) into the ffmpeg command ? Or can I tell ffmpeg to do something similar ?
-
Can't find a good solution to play a MPEG2-TS (no HLS) stream on my iOS App
29 octobre 2019, par Heidan34I’m currently looking for an easy to implement iOS media player library that can cover my needs which are :
-
Being able to play a MPEG2-TS (.ts) without hls.
-
Being able to authenticate the video request with a bearer in the header
I tried some without success, most of the other ones were not maintained anymore :
- AVPlayer (native)
- SGPlayer
- VLCKit (video ok but crashes randomly + not able to give a custom http header)
- ffmpeg-avplayer
Could you please help me ?
Thanks !
-