Recherche avancée

Médias (0)

Mot : - Tags -/flash

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (81)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (13036)

  • FFMpeg End of file error while reading a live feed

    23 juillet 2020, par Summit

    i am streaming a RTMP feed from obs studio i can watch that feed in VLC player.

    


    When using FFMpeg in visual studio project i get the End of file error.

    


    this is my function and to simplify it i have not included the error handling in this code.

    


    Why do i get End of file error in the RTMP feed and how can i correct it.

    


    bool load_frame()
{

    AVFormatContext *av_format_ctx = avformat_alloc_context();
    avformat_open_input(&av_format_ctx, "rtmp://192.168.1.2/live/sumit", NULL, NULL);
    avformat_find_stream_info(av_format_ctx , NULL);
    
    AVCodecParameters* av_codec_params = nullptr;
    AVCodec* av_codec = nullptr;
    int video_stream_index = -1;
    for (unsigned int i = 0; i < av_format_ctx->nb_streams; i++) {
         auto stream = av_format_ctx->streams[i];
        av_codec_params = av_format_ctx->streams[i]->codecpar;
        av_codec = avcodec_find_decoder(av_codec_params->codec_id);     
        if (av_codec_params->codec_type == AVMEDIA_TYPE_VIDEO)
        {
            video_stream_index = i;
            break;
        }
    }
    // set up codec context for the decoder
    AVCodecContext* av_codec_ctx = avcodec_alloc_context3(av_codec);
    avcodec_parameters_to_context(av_codec_ctx, av_codec_params) ;
    avcodec_open2(av_codec_ctx, av_codec, NULL);
    AVFrame* av_frame = av_frame_alloc();
    AVPacket* av_packet = av_packet_alloc();
    int response;
    while (av_read_frame(av_format_ctx, av_packet) >= 0) {
        if (av_packet->stream_index != video_stream_index) {
            continue;
        }
        response = avcodec_send_packet(av_codec_ctx, av_packet);
        if (response < 0) {
            std::cout << "Failed to decode the packet";
            return false;
        }
        response =  avcodec_receive_frame(av_codec_ctx, av_frame);

        if (response == AVERROR(EAGAIN) || response == AVERROR_EOF) {
            std::cout << "End of file";   // i get this error
            continue;
        }
        else if (response < 0) {
            std::cout << "Failed to decode the packet";
            return false;
        }
        av_packet_unref(av_packet);
        break;
    }
    
    avformat_close_input(&av_format_ctx);
    avformat_free_context(av_format_ctx);
    av_frame_free(&av_frame);
    av_packet_free(&av_packet);
    avcodec_free_context(&av_codec_ctx);
    
    return true;
}


    


  • how to set android's camera as the input of ffmpeg

    5 mai 2017, par Harrison

    I managed to run ffmpeg in Android Studio project, but don’t know how to set the Android’s camera as the input of ffmpeg. Is it possible now ?

    If not, is there some open-sourced projects that can get Android’s camera and turn the phone to a rtsp server ? Then I can use ffmpeg to get that rtsp link.

    Really appreciate it if some suggestions about this, thanks.

  • how to integrate ffmpeg gl-transition project in my existing project

    28 décembre 2019, par p.jadhav

    i want to add trasition effect between images of video so i used https://github.com/transitive-bullshit/ffmpeg-gl-transition for video trasition effect but Building command not work in my android studio.
    1.git clone http://source.ffmpeg.org/git/ffmpeg.git ffmpeg.
    2.cd ffmpeg.

    first two command run successfully in android studio terminal.
    when try to run "ln -s /ffmpeg-gl-transition/vf_gltransition.c libavfilter/"
    get error :

    screen shot1
    enter image description here

    when run command "git apply /ffmpeg-gl-transition/ffmpeg.diff"
    get error :

    screen shot2
    enter image description here
    and run command "./configure —enable-libx264 —enable-gpl —enable-opengl \
    —enable-filter=gltransition —extra-libs=’-lGLEW -lglfw’"
    get error :

    screen shot3
    enter image description here
    i use com.writingminds:FFmpegAndroid:0.3.2 for create normal video.please tell me how to integrate library in my project or any anotherway to do this