
Recherche avancée
Autres articles (83)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 ) (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (7543)
-
FFMPEG use -strict -2
21 août 2020, par GILOHi I've been recently using the command below


Ffmpeg -i song.mp3 -loop 1 -i image.jpg -filter_complex \
"[0:a]showfreqs=mode=line:ascale=log:fscale=log:s=1280x518[sf]; \
 [0:a]showwaves=s=1280x202:mode=p2p[sw]; \
 [sf][sw]vstack[fg]; \
 [1:v]scale=1280:-1,crop=iw:720[bg]; \
 [bg][fg]overlay=shortest=1:format=auto,format=yuv420p,drawtext=fontfile=/usr/share/fonts/TTF/Vera.ttf:fontcolor=white:x=10:y=10:text='\"Rated80s Prophets Prey\" by Comics On Film'[out]" \
-map "[out]" -map 0:a -c:v libx264 -preset fast -crf 18 -c:a libopus output.mp4 



from this post Showfreqs and showwaves over background image ?.




However I changed the output file to from output.mkv to output.mp4 as I would prefer to use mp4




I get the below error


[mp4 @ 0x7f962b816800] opus in MP4 support is experimental, add '-strict -2' if you want to use it.
Could not write header for output file #0 (incorrect codec parameters ?) : Experimental feature
Error initializing output stream 0:0 —
[libopus @ 0x7f962b819800] 1 frames left in the queue on closing


The main information from that error is




opus in MP4 support is experimental, add '-strict -2' if you want to use it.




but where do I use -strict -2 within the command to make the command possible


-
How to Convert WAV to MP3 in Pure Python without using External Binaries
7 novembre 2023, par mrfakenameIs there any way to convert a WAV file to MP3 in pure Python without using any external binaries (ie FFMPEG), but to have the conversion done in pure Python ?


I looked into using PyDub but it uses FFMPEG.


Thanks in advance !


-
How can I make ffmpeg stop when it encounters a corrupt packet ?
26 juillet 2022, par As12419how can I make ffmpeg stop when it encounters a corrupt packet ? Thanks in advance


Example : [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1805890264)