Recherche avancée

Médias (91)

Autres articles (68)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

Sur d’autres sites (8033)

  • How to efficiently clear ffmpeg buffer

    23 juillet 2020, par KmanOfficial

    I am using Chiaki (https://github.com/thestr4ng3r/chiaki/) - A Open Source Video Streaming Application for the PS4.

    


    I have one issue though. The stream successfully shows the playstation but after about 60 seconds. The stream freezes and gets stuck on the last processed frame until I restart the application. I believe the issue is in the C++ file - (https://github.com/thestr4ng3r/chiaki/blob/master/gui/src/videodecoder.cpp) and the issue is specifically here : `

    


    void VideoDecoder::PushFrame(uint8_t *buf, size_t buf_size)
{
    {
        QMutexLocker locker(&mutex);

    AVPacket packet;
    av_init_packet(&packet);
    packet.data = buf;
    packet.size = buf_size;
    int r;
send_packet:
        r = avcodec_send_packet(codec_context, &packet);
        if(r != 0)
        {
            if(r == AVERROR(EAGAIN))
            {
                CHIAKI_LOGE(log, "AVCodec internal buffer is full removing frames before pushing");
                AVFrame *frame = av_frame_alloc();
                if(!frame)
                {
                    CHIAKI_LOGE(log, "Failed to alloc AVFrame");
                    return;
                }
                r = avcodec_receive_frame(codec_context, frame);
                av_frame_free(&frame);
                if(r != 0)
                {
                    CHIAKI_LOGE(log, "Failed to pull frame");
                    return;
                }
                goto send_packet;
            }
            else
            {
                char errbuf[128];
                av_make_error_string(errbuf, sizeof(errbuf), r);
                CHIAKI_LOGE(log, "Failed to push frame: %s", errbuf);
                return;
            }
        }
    }

    emit FramesAvailable();
}


    


    `

    


    I believe so as the application log constantly prints this logged message : "AVCodec internal buffer is full removing frames before pushing"

    


    I've tried looking at the ffmpeg manual and I am struggling on how to flush the internal buffer to get the stream constantly flowing can anyone point me in the correct direction. Thank you.

    


  • how to convert RTPDUMP video file to mp4

    2 mars 2017, par Asain Kujovic

    Viber recently got "instant video message" option, called also "video push-to-talk" (vptt).

    Inside viber data in directory ".vptt" there are files with vptt extension. Envelope format is classic ZIP file, when extracted gives jpg-thumbnail and ’video’ file.

    Video file says "# !rtpplay1.0" inside first line, so it should be format of rtp-tools, used by wireshark too, and somehow related to actual WebRTC trends...

    So if video content inside this rtpdump file is not encrypted ( ? ), "how to save viber instant message push to talk video" boils down to just : "how to convert rtpdump video to mp4".

    rtpplay can send it to some port, but ffmpeg/ffplay/vlc needs correct sdp file.

    does someone knows something further about this ?

  • how to convert RTPDUMP video file to mp4

    11 novembre 2020, par Asain Kujovic

    Viber recently got "instant video message" option, called also "video push-to-talk" (vptt).

    



    Inside viber data in directory ".vptt" there are files with vptt extension. Envelope format is classic ZIP file, when extracted gives jpg-thumbnail and 'video' file.

    



    Video file says "# !rtpplay1.0" inside first line, so it should be format of rtp-tools, used by wireshark too, and somehow related to actual WebRTC trends...

    



    So if video content inside this rtpdump file is not encrypted ( ? ), "how to save viber instant message push to talk video" boils down to just : "how to convert rtpdump video to mp4".

    



    rtpplay can send it to some port, but ffmpeg/ffplay/vlc needs correct sdp file.

    



    does someone knows something further about this ?