
Recherche avancée
Autres articles (52)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (11358)
-
ffmpeg timelapse discard garbage jpg [duplicate]
12 mai 2021, par pieknI'm successfully creating timelapse video (jpg->mp4) using command line
$ffmpeg -r $fps -f concat -safe 0 -i $concat_file -c:v libx264 -vf 'format=yuv420p' $thumbnail 2>&1 &


But some of source jpg are 'garbage' (look picture below what I mean) - part of the picture is lost.
part of picture is lost


As result, final clip contains damaged frames (see below)
final clip


As I see, the best for me is to discard these jpg. But I have no ideas how to define them ? - file system don't see them as 'broken', etc.


Any ideas ?


-
ffmpeg with Flutter - Error in my code - Video not created
30 juillet 2020, par csslerI try to create a video from images with flutter and
ffmpeg
. I think the logic of my code is correct, but I always get the return value1
which says that the execute was not successfull.

Do you find the error in my code ?


Future<void> _onCreateVideoFromImages() async {
 Directory tempDir = await getTemporaryDirectory();
 String tempPath = tempDir.path;

 final allPictures = await picturesData.getPicturesFromAlbum(albumID);

 List textFileMap = [];

 for (var i = 0; i < allPictures.length; i++) {
 var file = File(allPictures[i].path);

 final newFile = await file
 .copySync("$tempPath/img${i.toString().padLeft(4, '0')}.jpg");

 print("File has been moved successfully to temporary folder: $newFile");

 textFileMap.add("file '" + newFile.path + "'");
 }

 print("Final list:");
 print(textFileMap);

 print("Create txt file for ffmpeg");
 final File file = File('${tempPath}/images.txt');
 final textFile = await file.writeAsString(textFileMap.join("\n"));
 print("txt file created successfully: $textFile");

 await _flutterFFmpeg.execute(
 "ffmpeg -f concat -safe 0 -i $textFile -c copy $tempPath/output.mp4")
 .then((rc) {
 if (rc == 0) {
 print("Video completed");
 } else {
 print(rc); // Returns 1
 }
 });
 }
</void>


And here the console log


flutter: File has been moved successfully to temporary folder: File: '/var/mobile/Containers/Data/Application/C28A04D5-76DF-450B-8F63-75CD39BC927F/Library/Caches/img0001.jpg'
flutter: Final list::
flutter: [file '/var/mobile/Containers/Data/Application/C28A04D5-76DF-450B-8F63-75CD39BC927F/Library/Caches/img0000.jpg', file '/var/mobile/Containers/Data/Application/C28A04D5-76DF-450B-8F63-75CD39BC927F/Library/Caches/img0001.jpg']
flutter: Create txt file for ffmpeg"
flutter: txt file created successfully: '/var/mobile/Containers/Data/Application/C28A04D5-76DF-450B-8F63-75CD39BC927F/Library/Caches/images.txt'
flutter: Code: 1



I appreciate your help !


-
Join videos command line debian [on hold]
2 avril 2014, par RomanGood evening
I'm looking for a solution for the following problem :
I have to join multiple video files (webM-format) with different settings (resolution, fps, ...) into one final file. I should also add an additional audio-track who's exactly as long as all video files together (wav-format).I've tried it with ffmpeg and concat like this :
ffmpeg -i "concat:file1.webm|file2.webm|file3.webm" -vcodec libvpx -s 1280x720 -i track.wav -acodec libfaac -ab 128k -async 10 final.webm
Result : Worked fine, but just with the first video file. All the others were ignored by ffmpeg.
Have you any other solution for this problem ?
Best Regards,
Roman Ackermann