Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (67)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • 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 (7040)

  • 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

  • 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

  • FFmpeg : Live streaming using RSTP C++

    8 août 2016, 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(&amp;outputContext, NULL, "rtsp", outputPath.c_str());
    outputFormat = outputContext->oformat;

    cout &lt;&lt; "Codec = " &lt;&lt; avcodec_get_name(outputFormat->video_codec) &lt;&lt; endl;

    if (outputFormat->video_codec != AV_CODEC_ID_NONE) {
       videoStream = add_stream(outputContext, &amp;outputVideoCodec, outputFormat->video_codec);
    }
    char errorBuff[80];
    int k = avio_open(&amp;outputContext->pb, outputPath.c_str(), AVIO_FLAG_WRITE);
    if (k &lt; 0) {
       cout &lt;&lt; "code: " &lt;&lt; k &lt;&lt; endl;
       fprintf(stderr, "%s \n", av_make_error_string(errorBuff, 80, k));
    }

    if (avformat_write_header(outputContext, NULL) &lt; 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