
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (75)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (10416)
-
Show video length in HLS player before all TS files are created
14 novembre 2022, par WilliamTacoI have a spring-boot backend which on request (on demand) uses ffmpeg to create a m3u8 playlist with its ts files from a mp4 file. So basically my react frontend requests the index.m3u8 from the backend and if it doesnt already exist it creates it and then start serving it with its ts files. This causes the frontend HLS player to show the length of the video to the combined length of the generated chunks which gets longer as time goes on until its fully there. It totally makes sense but was wondering what the correct way of showing the full length in the player even though its not fully created yet ?


Im using react-hls-player for playing the stream and spring-boot + a java ffmpeg wrapper to transcode the video.


Might be thinking about this the wrong way so feel free to correct me if im in the wrong path !


-
Crop and pinch zoom image with FFMPEG
27 septembre 2022, par huggerI am working on a simple photo editor component for a mobile app which requires the user to be able to pan and scale (zoom) an image to be cropped. S/O to @kesh for the help so far !


With the pinch zoom value which ranges from 1-5, I wish to use this in my FFMPEG execution along with the crop command :


cropSelected() {
 this.setState({ isCropping: true });

 const diff =
 this.props.videoHeight / (this.state.aspectRatio * deviceWidth);
 const offsetDiff = this.state.offsetTopTranslate * diff;

 var filterPathPostCrop =
 this.props.type === 'photo'
 ? RNFS.DocumentDirectoryPath + '/afterCrop.png'
 : this.props.type === 'gif'
 ? RNFS.DocumentDirectoryPath + '/afterCrop.gif'
 : RNFS.DocumentDirectoryPath + '/afterCrop.mp4';
 //hardcoded zoom at 1.2x for example!
 FFmpegKit.execute(
 `-y -i ${this.state.mediaSource} -vf "crop=iw/1.2:ih/1.2:0:${offsetDiff},scale=iw:-1" -qscale 0 -frames:v 1 ${filterPathPostCrop}`
 ).then(async (session) => {
 const returnCode = await session.getReturnCode();
 if (ReturnCode.isSuccess(returnCode)) {
 // SUCCESS

 Animated.spring(this._pinchScale, {
 toValue: 1,
 useNativeDriver: true,
 }).start();

 this.setState(
 {
 mediaSource: filterPathPostCrop,
 videoSourcePreview: `${filterPathPostCrop}?${new Date().getTime()}`,
 ffMPEGinProgress: null,
 aspectRatio: 1080 / 1080,
 videoTime: 0,
 isPlayingVideo: false,
 isCropping: false,
 filterOutputIsAlt: !this.state.filterOutputIsAlt,
 wasCropped: true,
 });
 } else if (ReturnCode.isCancel(returnCode)) {
 // CANCEL
 } else {
 // ERROR
 alert('error');
 }
 });
 }



I drew this to illustrate what I am trying to achieve here.




I hope this helps !


-
Remove Unnecesary Maven Dependencies from Eclipse
18 mai 2021, par ur3kI am working with Spring-Boot 2.3.8 and Eclipse.


I am using these dependencies to work on some videos :



 <dependency>
 <groupid>org.bytedeco</groupid>
 <artifactid>javacv</artifactid>
 <version>1.5.4</version>
 </dependency>

 
 <dependency>
 <groupid>org.bytedeco</groupid>
 <artifactid>opencv-platform</artifactid>
 <version>4.4.0-1.5.4</version>
 </dependency>

 
 <dependency>
 <groupid>org.bytedeco</groupid>
 <artifactid>ffmpeg-platform</artifactid>
 <version>4.3.1-1.5.4</version>
 </dependency>
 



Eclipse is adding all JARs of opencv, javaccp and ffmpeg, including JARs for Androind, MacOs, etc. I just need the ones for Windows and the problem is that these extra dependencies are creating problems for my teams when they try to load the project, build or test it (it is extreamly slow or just doesnt work).


These dependencies are not present in my final WAR when I build with maven form the command line and I use :


mvn -Djavacpp.platform=windows-x86_64 clean install 



Is there a way to tell eclipse to do the same ?


The WAR size goes from 800 MB to around 200 MB when building without and with and the platform flag, these extra 600 MB are what in my opinion is too much for eclipse.


Here is an image of all the JARs being added to the project.