
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (96)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...)
Sur d’autres sites (11810)
-
Trim video in Android using ffmpeg, audio and video not in sync
8 novembre 2017, par Nidhin RadhI’m creating an Android application which process video files and I’ve used VideoKit library (https://github.com/inFullMobile/videokit-ffmpeg-android) to integrate ffmpeg with the application.
I used the following snippet to trim a video,Command command= videoKit.createCommand()
.overwriteOutput()
.inputPath(ipfile.getAbsolutePath())
.outputPath(opfile.getAbsolutePath())
.customCommand("-ss 10 -t 30 -vcodec "+
"copy -acodec copy -async 1")
.copyVideoCodec()
.experimentalFlag()
.build();
command.execute();Sometimes the output seems to be okay, but sometimes the video and audio are not in sync, i.e. video ends before audio. Most of the time this happens with videos downloaded from YouTube.
Can someone give me an idea to trim videos in android without any problems ? -
ffmpeg play short video during playing another video
10 mai 2016, par Szymek ŚwiderskiI want put and play scrap of short video during play another video in ffmpeg. I use this :
ffmpeg -i 0.mp4 -i "prawo.mp4" -filter_complex "blend=all_mode='heat':all_opacity=0.3" output.mp4
and i get this :
First input link top parameters (size 1280x720, SAR 0:1) do not match the corresponding second input link bottom parameters (1920x1080, SAR 1:1)
What should i do ? Any help ?
-
Command of FFMPEG to make a video from Image(JPEG) + Audio(.mp3) & Share video in Whatsapp
22 novembre 2018, par Neel MevadaI am trying to create a video .mp4 file from .mp3 audio & .jpeg image.
I am able to make a video and able to play in Video Players in Android devices.
But after creation of file when i tried to Share that Video in Whatsapp, at that time it shows a message "The file format not supported".
I am using below FFMPEG Command :
"-loop 1 -r 1 -i " + imageFilePath + " -i " + audioFilePath + " -c:v libx264 -crf 27 -tune stillimage -c:a copy -pix_fmt yuv420p -preset ultrafast -shortest " + pathOutputVideo(sectionName);
And for Sharing video , i am using below Code :
MediaScannerConnection.scanFile(ShareQuestionAudioActivity.this, new String[]{FfmpegController.pathOutputVideo(qModel.getSectionName().toUpperCase().replaceAll(" ", "_"))},
null, new MediaScannerConnection.OnScanCompletedListener() {
public void onScanCompleted(String path, Uri uri) {
Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);
shareIntent.setType("video/*");
shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(FfmpegController.pathOutputVideo(qModel.getSectionName().toUpperCase().replaceAll(" ", "_"))));
startActivity(Intent.createChooser(shareIntent, "Share Question"));
}
});From this Link I found that i need to use H264 + AAC. but still not able to share video with supported file format