
Recherche avancée
Autres articles (68)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
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 (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (7971)
-
Flutter (Dart) : Record two videos, merge them and then view new video in gallery
14 juin 2020, par Ittai BarkaiI am aware that there already exists a solution to a very similar question, which can be found on the following link : Flutter/Dart : Find two video segments and merge them into a single valid video file ? However, being relatively new to Flutter (and programming in general) I cannot seem to replicate the desired result.



My app is very simple and currently looks like this :






I click on the button "Record Video" to record two videos, which are both successfully stored into the device's gallery. Using the Flutter image_picker and gallery_saver packages and the following piece of code :



void _recordVideo() async {
 ImagePicker.pickVideo(source: ImageSource.camera)
 .then((File recordedVideo) {
 if (recordedVideo != null && recordedVideo.path != null) {
 setState(() {
 _buttonText = 'Saving in Progress...';
 });
 GallerySaver.saveVideo(recordedVideo.path).then((_) {
 setState(() {
 _buttonText = 'Video Saved!\n\nClick to Record New Video';
 if (_storedVideoOne == null) {
 _storedVideoOne = recordedVideo;
 print('video 1 stored');
 } else {
 _storedVideoTwo = recordedVideo;
 print('video 2 stored');
 _videoMerger();
 }
 });
 });
 }
 });
 }




I can view these videos when I click on the button at the bottom "View Video From Gallery".



Next I try to merge these two stored video files, using the flutter_ffmpeg package, as well as following the solution provided in the stack overflow question mentioned above. I try and do this using the following function I wrote :



void _videoMerger() async {


 final appDir = await syspaths.getApplicationDocumentsDirectory();
 String rawDocumentPath = appDir.path;
 final outputPath = '$rawDocumentPath/output.mp4';

 final FlutterFFmpeg _flutterFFmpeg = new FlutterFFmpeg();

 String commandToExecute = '-i ${_storedVideoOne.path} -i ${_storedVideoTwo.path} -filter_complex \'[0:0][1:0]concat=n=2:v=0:a=1[out]\' -map \'[out]\' outputPath';
 _flutterFFmpeg.execute(commandToExecute).then((rc) => print("FFmpeg process exited with rc $rc"));

 }




But after running the function I do not seem to get a new combined video, which should be stored in outputPath and ideally also viewable in the gallery. Uploaded the Flutter project onto GitHub here :



https://github.com/IttaiBarkai/Flutter-Video-Merger



Any help would be greatly appreciated :)


-
ffmpeg-how to add text to video without encoding [on hold]
27 décembre 2013, par user3139491I want to add text to video without encoding.how to do this.
I create this codeffmpeg -i file.mov -vf drawtext="fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf:text='Text to write':fontsize=20:fontcolor=black:x=100:y=100" final.mov
this code word well but the cpu hit the peak.
so only want to do this without encoding.
is -vcodec copy map can be used ???? -
Anomalie #4187 : Connecté en Anglais (langue principale français) pas de bouton pour ajouter les p...
5 octobre 2018, par jluc -Je propose un patch général pour extraire_multi :
#4189