
Recherche avancée
Autres articles (57)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (4749)
-
How to extract Geolocation metadata from an Apple Live Photo ?
18 mars 2020, par P'P'I’m trying to organize my photo collection and convert .mov files to .jpeg files while retaining all of the meta data that has been stored. I’m running into a problem with Apple’s "Live Photos" though...
I recently downloaded all of the photos from my iCloud account and found that many have been stored as .mov files as "Live Photos". As I only want to include photos in this collection, I’d like to convert all of these .mov files to .jpg files.
So... I’m trying to use python and shell commands to do this. Here’s an extract of my code :
# Convert the .mov file into a series of jpegs using ffmpeg
os.system(f'ffmpeg -i {movie} -r {numFrames} -map_metadata 0 -movflags use_metadata_tags {imageRoot}_%0004d.jpg')
# ... some code to find the best slice of the movie to keep as an image ...
# Add any meta tags that may have been missed
os.system(f'exiftool -tagsFromFile {movie} {image}"Unfortunately, the Geolocation metadata isn’t being copied from the .mov file to the .jpg files. exiftool movie.mov doesn’t list any GPS or Geolocation tags either, but I know that this data is included somewhere within the file as Apple is able to map the location that the 2 second video was taken. Any thoughts as to how I can extract this meta data from Apple’s Live Photo .mov clips ?
Thanks in advance.
PP
-
Set Target-duration ffmpeg for hls webcam live streaming
18 décembre 2013, par ShoxSpartanI want to do a hls webcam live streaming with ffmpeg.
But when i try to use -hls_time, the target duration is always set at 17.I have to get a 5s target duration, how to set this item with ffmpeg ?
My command is : ./ffmpeg -f v4l2 -i /dev/video0 -c:v libx264 -c:a libvo_aacenc -flags -global_header -hls_time 5 -hls_list_size 2 /video/result/path.m3u8
-
FFmpeg : Live streaming using RSTP C++
22 mars 2018, par MapetI want to receive video stream from camera, process it using openCV (for tests - draw red rectangle) and live stream result.
I already can read camera frames, convert to openCV Mat and change them back to AVFrame.
From console im starting rtsp server using : ffplay -rtsp_flags listen -i rtsp ://127.0.0.1:8765/live.sdp
Problem shows when im trying call avio_open() ;av_register_all();
avformat_network_init();
avcodec_register_all();
(...)
avformat_alloc_output_context2(&outputContext, NULL, "rtsp", outputPath.c_str());
outputFormat = outputContext->oformat;
cout << "Codec = " << avcodec_get_name(outputFormat->video_codec) << endl;
if (outputFormat->video_codec != AV_CODEC_ID_NONE) {
videoStream = add_stream(outputContext, &outputVideoCodec, outputFormat->video_codec);
}
char errorBuff[80];
int k = avio_open(&outputContext->pb, outputPath.c_str(), AVIO_FLAG_WRITE);
if (k < 0) {
cout << "code: " << k << endl;
fprintf(stderr, "%s \n", av_make_error_string(errorBuff, 80, k));
}
if (avformat_write_header(outputContext, NULL) < 0) {
fprintf(stderr, "Error occurred when writing header");
}}
Where outputPath = "rtsp ://127.0.0.1:8765/live.sdp"
avformat_alloc_output_context2 returns 0, but avio_open < 0 so app prints :code : -1330794744
Protocol not found
I have no idea what is wrong. I am using ffmpeg build from https://ffmpeg.zeranoe.com/builds/ 64-bit Dev