
Recherche avancée
Autres articles (74)
-
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 (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (6619)
-
Révision 22556 : Suppression de la fonction filtre_valeur_tableau() qui n’est plus utilisée depuis
16 novembre 2015, par marcimat@rezo.netr15042 et n’a effectivement aucune utilisation dans spip ou la zone.
Elle servait auparavant aux filtres |reset et |end. -
Youtube dl for python : set mp3 last modif date date
24 janvier 2021, par Vladimir TarasovI'm using Youtube-dl (and ffmpeg) in a python project.


The problem I have is that, on download, the downloaded file takes as default the youtube's release date of the video instead of the download date.


My youtube-dl options


ydl_opts = {
 'format': 'bestaudio/best',
 'outtmpl': path + urlToTitleYT(link) + '.mp3',
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '320',
 }],
}



Which opt could i use in order to change the file last modification date to the download date ?
(Or do i have to edit it manually ?)


-
ffmpeg - Overlay a text over an image
1er mai 2020, par ark1974The following command line for encoding audio with an image works fine.



ffmpeg -y -loop 1 -framerate 15 -i "/storage/emulated/0/Download/Kites.jpg" -i "/storage/emulated/0/Download/myaudio.mp3" -c:v libx264 -vf format=yuv420p -c:a aac -shortest "/storage/emulated/0/Download/Out.mp4"




I want to overlay text over an image in the video frame. Based on this link, I added an overlay text like so. Since I want to use the default font, I skip the
drawtext="fontfile="
command deliberately like so. But now no video frames are visible, not even the background image. How can I do it ? Thanks.


ffmpeg -y -loop 1 -framerate 15 -i "/storage/emulated/0/Download/Kites.jpg" -i "/storage/emulated/0/Download/myaudio.mp3" -c:v libx264 -vf format=yuv420p -vf drawtext="text='Hello World': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2" -c:a aac -shortest "/storage/emulated/0/Download/Out.mp4"