
Recherche avancée
Autres articles (84)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (10882)
-
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
-
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 ?
-
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 ?