
Recherche avancée
Autres articles (50)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
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 (...) -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)
Sur d’autres sites (7449)
-
pydub returning zero byte file when I try to export part of an Mp3
24 juin 2015, par tom fI’m sharing this for posterity, since I already figured out the answer. I’m trying to create preview snippets of MP3 files with pydub in Python, but when I ran the export the files were always zero bytes in size.
example :
from pydub import AudioSegment
sound = AudioSegment.from_mp3("preview_temp/n/1/mp3/01_Beyond_and_Into_the_Ultimate.mp3")
# len() and slicing are in milliseconds
halfway_point = len(sound) / 2
second_half = sound[halfway_point:]
print second_half
second_half.export("preview_temp/n/1/prev/prev_test.mp3", format="mp3", bitrate="192k")I verified the source file existed and was accessible. My inkling was this had something to do with ffmpeg. It was installed properly, but then I came across this on the pydub github :
You may use libav or ffmpeg. libav is recommended.
The pydub developer runs through installation on several platforms on the github wiki. I’m sharing it here to make it easier for folks to find, though.
-
Ffmpeg converts video of double size of original video with second part without audio
21 janvier 2020, par mridul4cI am converting some videos with below command in ffmpeg
ffmpeg -y -i source.mp4 -c:a libfdk_aac -ac 2 -ab 128k -c:v libx264 -x264opts keyint=24:min-keyint=24:no-scenecut -crf 18 -b:v 4000k -maxrate 4000k -bufsize 4000k -vf "scale=-1:1080" destination_1080.mp4
But in some cases the output video is exactly double size of the original and the second part is without audio. Please help.
-
FFMpeg : Create gif from video of specific dimensions, gif part already working
24 septembre 2018, par We are BorgI am working on creating a GIF from video. Currently, with ffmpeg, I am able to create a GIF, but I want to create it with specific dimensions. How can I do that ?
COmmands I am using as of now :
ffprobe -v error -select_streams v:0 -show_entries stream=duration -of default=noprint_wrappers=1:nokey=1 "+filePath
ffmpeg -i " + filePath + " -ss 00 -t 05 -vcodec libx264 -an " + gifLocation + videoName
ffmpeg -i " + gifLocation + fastForwardName + " -vf scale=320:-1 -r 10 -f image2pipe -vcodec ppm - | convert -loop 0 - " + gifLocation + gifNameThank you.