
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (9)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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 (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (2422)
-
Twitter API : Invalid Content response while uploading video
17 octobre 2019, par mauriblintI’m uploding videos to Twitter API via
/1.1/media/upload.json
endpoint. I’m dealing with the following error :{"request":"\/1.1\/media\/upload.json","error":"InvalidContent."}
I found the problem/solution in this Twitter Community question that suggest it’s a video codec issue.
These screenshots belongs to 2 videos that i’m trying to upload. But i’m not sure what kind of convertion should i need to apply (using FFmpeg library) to make it work.
Also, i was reading all the Twitter recommendations/restrictions to upload videos, and it seems right
-
Fintech Content Marketing : 10 Best Practices & Growth Strategies
24 juillet 2024, par Erin -
How to not allow upload of HD content (over 1920 x 1080 || 1080 x 1920 files) because of hardware reasons ?
23 juillet 2020, par azaonoHow to not allow upload of HD content ? More than 1920 x 1080 || 1080 x 1920 resolution files are not allowed since hardware reasons


Struggling with making limitation to uploade HD file/content. Intent is to have possibility to rotate content. Limits are required due to hardware reasons.


val ffmpeg = FFmpeg("ffmpeg")
 val ffprobe = FFprobe("ffprobe")
 val probeResult = ffprobe.probe("$targetLocation")
 val stream: FFmpegStream = probeResult.getStreams()[0]
 val aspectRatio = stream.width.toDouble() / stream.height
 
 if (stream.width > 1920) {
 Files.delete(targetLocation)
 throw IncorrectResolutionFileException()
 } else if (stream.height > 1080) {
 Files.delete(targetLocation)
 throw IncorrectResolutionFileException()
 }

 if (type == "image") {
 part.transferTo(thumbnailLocation)
 }

 val builder: FFmpegBuilder = FFmpegBuilder()
 .setInput("$targetLocation")
 .addOutput("$thumbnailLocation")
 .setFrames(1)
 .setVideoFilter("select='gte(n\\,10)',scale=200:-1")
 .done()
 val executor = FFmpegExecutor(ffmpeg)
 executor.createJob(builder).run()

 return aspectRatio
 } catch (ex: Exception) {
 throw FileStorageException("Could not store file $cleanPath. Please try again!", ex)
 }
}