
Recherche avancée
Autres articles (37)
-
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 -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (3202)
-
flutter_ffmpeg concat demuxer | front camera videos are upside-down
18 avril 2021, par GicminosI am currently recording multiple mp4 clips (using Flutter's camera package) and then using ffmpeg concat demuxer to create a single video :


await _flutterFFmpeg.execute('-f concat -safe 0 -i ${txtFile.path} -c copy ${outputClipPath.path}');



This works correctly with any video from the rear camera. When I also concat videos from the front camera, these are upside-down as it seems that ffmpeg does not detect their metadata rotation.


Currently, I have manged to detect if a video is front camera or rear camera in this way :


final FlutterFFprobe flutterFFprobe = FlutterFFprobe();
MediaInformation mediaInformation = await flutterFFprobe.getMediaInformation(this.path);

Map mp = mediaInformation.getAllProperties();

int rotation = mp['streams'][0]['side_data_list'][0]['rotation'];
if (rotation == 90) {
 // Video is upside down and from front-camera
}



The question is, do I need to rotate the video myself prior to concat it ? If yes, what is the best way to do that with flutter_ffmpeg ?


I managed to rotate the video with the following command :


await _flutterFFmpeg.execute('-noautorotate -i ${this.path} -metadata:s:v rotate="0" -vf "transpose=2" ${outputClipPath.path}');



But if I do that then the concat result is corrupted. How do I preserve the encoding and stream after rotation ?


Thank you.


-
Use ffmpeg to move moov atom to front of mp4 file on Google Cloud Platform and Google Cloud Storage
19 avril 2021, par BlueBoyI would like to use
ffmpeg
to move the moov atom of a.mp4
file to the front of the file so that it can then be streamed.

The
.mp4
file is in Google Cloud Storage. I want to take that file and apply the conversion on it (or copy it if needed).

I have successfully run the following command in the terminal and it works. I want to essentially run this command server side on the Google Cloud in a
Java
environment :

ffmpeg -i input_video_file.mp4 -vcodec copy -acodec copy -movflags faststart output_video_file.mp4


I can get my file from Google Cloud Storage like this :


GcsService gcsService = GcsServiceFactory.createGcsService();
GcsFilename file = new GcsFilename("bucket", "folder/filename;



I was able to find a Java library wrapper for ffmpeg (https://github.com/bramp/ffmpeg-cli-wrapper) but it doesn't seem to allow to move the moov atom. Could anyone help me figure this out further ? Is there a


-
flutter_ffmpeg concat demuxer | front camera videos are upside-down or corrupted
27 février 2024, par GicminosI am currently recording multiple mp4 clips (using Flutter's camera package) and then using ffmpeg concat demuxer to create a single video :


await _flutterFFmpeg.execute('-f concat -safe 0 -i ${txtFile.path} -c copy ${outputClipPath.path}');



This works correctly with any video from the rear camera. When I also concat videos from the front camera, these are upside-down as it seems that ffmpeg does not detect their metadata rotation.


Currently, I have manged to detect if a video is front camera or rear camera in this way :


final FlutterFFprobe flutterFFprobe = FlutterFFprobe();
MediaInformation mediaInformation = await flutterFFprobe.getMediaInformation(this.path);

Map mp = mediaInformation.getAllProperties();

int rotation = mp['streams'][0]['side_data_list'][0]['rotation'];
if (rotation == 90) {
 // Video is upside down and from front-camera
}



The question is, do I need to rotate the video myself prior to concat it ? If yes, what is the best way to do that with flutter_ffmpeg ?


I managed to rotate the video with the following command :


await _flutterFFmpeg.execute('-noautorotate -i ${this.path} -metadata:s:v rotate="0" -vf "transpose=2" ${outputClipPath.path}');



But if I do that then the concat result is corrupted. How do I preserve the encoding and stream after rotation ?


Thank you.