Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (54)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (7359)

  • spherical : Change types of bounding and pad to uint32_t

    16 mars 2017, par Vittorio Giovara
    spherical : Change types of bounding and pad to uint32_t
    

    These values are defined to be 32bit in the specification,
    so it makes more sense to store them as fixed width.

    Based on a patch by Micahel Niedermayer <michael@niedermayer.cc>.

    Signed-off-by : Vittorio Giovara <vittorio.giovara@gmail.com>

    • [DH] libavformat/dump.c
    • [DH] libavformat/matroskadec.c
    • [DH] libavformat/mov.c
    • [DH] libavutil/spherical.h
  • Add ’audio/mp3’ and related MIME checks for flash, correct edge case where play({type :’audio/mp3’}) would use HTML5 when preferFlash = true due to seeming lack of Flash support for the MIME type.

    24 juin 2012, par Scott Schiller

    m script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js Add ’audio/mp3’ and related MIME checks for flash, correct edge case where play(type :’audio/mp3’) would use HTML5 when preferFlash = true due to seeming lack of (...)

  • FFMPEG Implement RTSP Client, high speed playback

    11 juillet 2021, par TTGroup

    I am writing software to play videos that have been recorded from NVR. I have completed most of the work, but there is one more feature that allows the user to change the play speed such as 0.5x, 2x, 4x, 8x ...

    &#xA;

    I searched the internet all day and still couldn't find any suggestions. Here is my summary code below.

    &#xA;

    auto pFormatCtx = avformat_alloc_context();&#xA;&#xA;av_dict_set_int(&amp;opts, "rw_timeout", 5000000, 0);&#xA;av_dict_set_int(&amp;opts, "tcp_nodelay", 1, 0);&#xA;av_dict_set_int(&amp;opts, "stimeout", 10000000, 0);&#xA;av_dict_set(&amp;opts, "user_agent", "Mozilla/5.0", 0);&#xA;av_dict_set(&amp;opts, "rtsp_transport", "tcp", 0);&#xA;av_dict_set(&amp;opts, "rtsp_flags", "prefer_tcp", 0);&#xA;av_dict_set_int(&amp;opts, "buffer_size", BUFSIZE, 0);&#xA;&#xA;int err = avformat_open_input(&amp;pFormatCtx, fullRtspUri, NULL, &amp;opts);&#xA;if(err &lt; 0)&#xA;    return;&#xA;    &#xA;err = avformat_find_stream_info(pFormatCtx, NULL);&#xA;if (err &lt; 0)&#xA;    return;&#xA;pFormatCtx->flags |= AVFMT_FLAG_NONBLOCK;&#xA;pFormatCtx->flags |= AVFMT_FLAG_DISCARD_CORRUPT;&#xA;pFormatCtx->flags |= AVFMT_FLAG_NOBUFFER;       &#xA;av_dump_format(pFormatCtx, 0, fullRtspUri, 0);&#xA;    &#xA;int videoStreamInd = -1;&#xA;for (int i = 0; i &lt; pFormatCtx->nb_streams; i&#x2B;&#x2B;)&#xA;{&#xA;    AVStream* stream = pFormatCtx->streams[i];&#xA;    if (stream->codecpar->codec_type == AVMEDIA_TYPE_VIDEO)&#xA;    {&#xA;        if (videoStreamInd == -1)&#xA;        {&#xA;            videoStreamInd = i;&#xA;            break;&#xA;        }&#xA;    }   &#xA;}&#xA;&#xA;if (videoStreamInd == -1)&#xA;    return; &#xA;auto videoStream = pFormatCtx->streams[videoStreamInd];&#xA;&#xA;isRunning = true;&#xA;while(isRunning)&#xA;{&#xA;    ret = av_read_frame(pFormatCtx, avPacket);&#xA;    if (ret &lt; 0)&#xA;        return; &#xA;&#xA;    if (avPacket->stream_index != videoStreamInd)&#xA;        continue;&#xA;    &#xA;    //Code for render process here............&#xA;}&#xA;

    &#xA;

    I have read through this NVR API documentation and see support for 2x, 4x speed play as below

    &#xA;

    Play in 2&#xD7; Speed:&#xA;PLAY rtsp://10.17.133.46:554/ISAPI/streaming/tracks/101?starttime=20170313T230652Z&amp;endtime=20170314T025706Z RTSP/1.0&#xA;CSeq:6&#xA;Authorization: Digest username="admin", &#xA;realm="4419b66d2485", &#xA;nonce="a0ecd9b1586ff9461f02f910035d0486", &#xA;uri="rtsp://10.17.133.46:554/ISAPI/streaming/tracks/101?starttime=20170313T230652Z&amp;endtime=20170314T025706Z", &#xA;response="fb986d385a7d839052ec4f0b2b70c631"&#xA;Session:2049381566;timeout=60&#xA;Scale:2.000&#xA;User-Agent:NKPlayer-1.00.00.081112&#xA;&#xA;RTSP/1.0 200 OK&#xA;CSeq: 6&#xA;Session: 2049381566&#xA;Scale: 2.000&#xA;RTP-Info: url=trackID=1;seq=1,url=trackID=2;seq=1&#xA;Date: Tue, Mar 14 2017 10:57:24 GMT&#xA;

    &#xA;

    How to play RTSP video with speeds of 0.5x, 2x, 4x ...?&#xA;Everyone who can assist me in this case, I am very grateful.

    &#xA;