Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (84)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette 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.

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (12984)

  • FFmpeg : Live streaming using RSTP C++

    22 mars 2018, par Mapet

    I 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

  • Set Target-duration ffmpeg for hls webcam live streaming

    18 décembre 2013, par ShoxSpartan

    I 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

  • 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