Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (56)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • 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

Sur d’autres sites (6328)

  • WebRTC predictions for 2016

    17 février 2016, par silvia

    I wrote these predictions in the first week of January and meant to publish them as encouragement to think about where WebRTC still needs some work. I’d like to be able to compare the state of WebRTC in the browser a year from now. Therefore, without further ado, here are my thoughts.

    WebRTC Browser support

    I’m quite optimistic when it comes to browser support for WebRTC. We have seen Edge bring in initial support last year and Apple looking to hire engineers to implement WebRTC. My prediction is that we will see the following developments in 2016 :

    • Edge will become interoperable with Chrome and Firefox, i.e. it will publish VP8/VP9 and H.264/H.265 support
    • Firefox of course continues to support both VP8/VP9 and H.264/H.265
    • Chrome will follow the spec and implement H.264/H.265 support (to add to their already existing VP8/VP9 support)
    • Safari will enter the WebRTC space but only with H.264/H.265 support

    Codec Observations

    With Edge and Safari entering the WebRTC space, there will be a larger focus on H.264/H.265. It will help with creating interoperability between the browsers.

    However, since there are so many flavours of H.264/H.265, I expect that when different browsers are used at different endpoints, we will get poor quality video calls because of having to negotiate a common denominator. Certainly, baseline will work interoperably, but better encoding quality and lower bandwidth will only be achieved if all endpoints use the same browser.

    Thus, we will get to the funny situation where we buy ourselves interoperability at the cost of video quality and bandwidth. I’d call that a “degree of interoperability” and not the best possible outcome.

    I’m going to go out on a limb and say that at this stage, Google is going to consider strongly to improve the case of VP8/VP9 by improving its bandwidth adaptability : I think they will buy themselves some SVC capability and make VP9 the best quality codec for live video conferencing. Thus, when Safari eventually follows the standard and also implements VP8/VP9 support, the interoperability win of H.264/H.265 will become only temporary overshadowed by a vastly better video quality when using VP9.

    The Enterprise Boundary

    Like all video conferencing technology, WebRTC is having a hard time dealing with the corporate boundary : firewalls and proxies get in the way of setting up video connections from within an enterprise to people outside.

    The telco world has come up with the concept of SBCs (session border controller). SBCs come packed with functionality to deal with security, signalling protocol translation, Quality of Service policing, regulatory requirements, statistics, billing, and even media service like transcoding.

    SBCs are a total overkill for a world where a large number of Web applications simply want to add a WebRTC feature – probably mostly to provide a video or audio customer support service, but it could be a live training session with call-in, or an interest group conference all.

    We cannot install a custom SBC solution for every WebRTC service provider in every enterprise. That’s like saying we need a custom Web proxy for every Web server. It doesn’t scale.

    Cloud services thrive on their ability to sell directly to an individual in an organisation on their credit card without that individual having to ask their IT department to put special rules in place. WebRTC will not make progress in the corporate environment unless this is fixed.

    We need a solution that allows all WebRTC services to get through an enterprise firewall and enterprise proxy. I think the WebRTC standards have done pretty well with firewalls and connecting to a TURN server on port 443 will do the trick most of the time. But enterprise proxies are the next frontier.

    What it takes is some kind of media packet forwarding service that sits on the firewall or in a proxy and allows WebRTC media packets through – maybe with some configuration that is necessary in the browsers or the Web app to add this service as another type of TURN server.

    I don’t have a full understanding of the problems involved, but I think such a solution is vital before WebRTC can go mainstream. I expect that this year we will see some clever people coming up with a solution for this and a new type of product will be born and rolled out to enterprises around the world.

    Summary

    So these are my predictions. In summary, they address the key areas where I think WebRTC still has to make progress : interoperability between browsers, video quality at low bitrates, and the enterprise boundary. I’m really curious to see where we stand with these a year from now.

    It’s worth mentioning Philipp Hancke’s tweet reply to my post :

    — we saw some clever people come up with a solution already. Now it needs to be implemented 🙂

    The post WebRTC predictions for 2016 first appeared on ginger’s thoughts.

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

    


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

    


    auto pFormatCtx = avformat_alloc_context();

av_dict_set_int(&opts, "rw_timeout", 5000000, 0);
av_dict_set_int(&opts, "tcp_nodelay", 1, 0);
av_dict_set_int(&opts, "stimeout", 10000000, 0);
av_dict_set(&opts, "user_agent", "Mozilla/5.0", 0);
av_dict_set(&opts, "rtsp_transport", "tcp", 0);
av_dict_set(&opts, "rtsp_flags", "prefer_tcp", 0);
av_dict_set_int(&opts, "buffer_size", BUFSIZE, 0);

int err = avformat_open_input(&pFormatCtx, fullRtspUri, NULL, &opts);
if(err < 0)
    return;
    
err = avformat_find_stream_info(pFormatCtx, NULL);
if (err < 0)
    return;
pFormatCtx->flags |= AVFMT_FLAG_NONBLOCK;
pFormatCtx->flags |= AVFMT_FLAG_DISCARD_CORRUPT;
pFormatCtx->flags |= AVFMT_FLAG_NOBUFFER;       
av_dump_format(pFormatCtx, 0, fullRtspUri, 0);
    
int videoStreamInd = -1;
for (int i = 0; i < pFormatCtx->nb_streams; i++)
{
    AVStream* stream = pFormatCtx->streams[i];
    if (stream->codecpar->codec_type == AVMEDIA_TYPE_VIDEO)
    {
        if (videoStreamInd == -1)
        {
            videoStreamInd = i;
            break;
        }
    }   
}

if (videoStreamInd == -1)
    return; 
auto videoStream = pFormatCtx->streams[videoStreamInd];

isRunning = true;
while(isRunning)
{
    ret = av_read_frame(pFormatCtx, avPacket);
    if (ret < 0)
        return; 

    if (avPacket->stream_index != videoStreamInd)
        continue;
    
    //Code for render process here............
}


    


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

    


    Play in 2× Speed:
PLAY rtsp://10.17.133.46:554/ISAPI/streaming/tracks/101?starttime=20170313T230652Z&endtime=20170314T025706Z RTSP/1.0
CSeq:6
Authorization: Digest username="admin", 
realm="4419b66d2485", 
nonce="a0ecd9b1586ff9461f02f910035d0486", 
uri="rtsp://10.17.133.46:554/ISAPI/streaming/tracks/101?starttime=20170313T230652Z&endtime=20170314T025706Z", 
response="fb986d385a7d839052ec4f0b2b70c631"
Session:2049381566;timeout=60
Scale:2.000
User-Agent:NKPlayer-1.00.00.081112

RTSP/1.0 200 OK
CSeq: 6
Session: 2049381566
Scale: 2.000
RTP-Info: url=trackID=1;seq=1,url=trackID=2;seq=1
Date: Tue, Mar 14 2017 10:57:24 GMT


    


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

    


  • sudo checkinstall - installation failed

    12 janvier 2017, par Mathiem

    I’m trying to install ffmpeg on Raspbian by following these steps :

    cd ffmpeg
    ./configure --prefix=/usr
    time make -j 8
    cat RELEASE
    sudo checkinstall

    but when I do the sudo checkinstall step, it gave me an error :

    pi@raspberrypi ~/ffmpeg $ sudo checkinstall -y

    checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
              This software is released under the GNU GPL.



    *****************************************
    **** Debian package creation selected ***
    *****************************************

    This package will be built according to these values:

    0 -  Maintainer: [ root@raspberrypi ]
    1 -  Summary: [ Package created with checkinstall 1.6.2 ]
    2 -  Name:    [ ffmpeg ]
    3 -  Version: [  ]
    4 -  Release: [ 1 ]
    5 -  License: [ GPL ]
    6 -  Group:   [ checkinstall ]
    7 -  Architecture: [ armhf ]
    8 -  Source location: [ ffmpeg ]
    9 -  Alternate source location: [  ]
    10 - Requires: [  ]
    11 - Provides: [ ffmpeg ]
    12 - Conflicts: [  ]
    13 - Replaces: [  ]

    Enter a number to change any of them or press ENTER to continue:

    Installing with make install...

    ========================= Installation results ===========================
    INSTALL doc/ffmpeg.1
    INSTALL doc/ffprobe.1
    INSTALL doc/ffserver.1
    INSTALL doc/ffmpeg-all.1
    INSTALL doc/ffprobe-all.1
    INSTALL doc/ffserver-all.1
    INSTALL doc/ffmpeg-utils.1
    INSTALL doc/ffmpeg-scaler.1
    INSTALL doc/ffmpeg-resampler.1
    INSTALL doc/ffmpeg-codecs.1
    INSTALL doc/ffmpeg-bitstream-filters.1
    INSTALL doc/ffmpeg-formats.1
    INSTALL doc/ffmpeg-protocols.1
    INSTALL doc/ffmpeg-devices.1
    INSTALL doc/ffmpeg-filters.1
    INSTALL doc/libavutil.3
    INSTALL doc/libswscale.3
    INSTALL doc/libswresample.3
    INSTALL doc/libavcodec.3
    INSTALL doc/libavformat.3
    INSTALL doc/libavdevice.3
    INSTALL doc/libavfilter.3
    INSTALL doc/ffmpeg.1
    INSTALL doc/ffprobe.1
    INSTALL doc/ffserver.1
    INSTALL doc/ffmpeg-all.1
    INSTALL doc/ffprobe-all.1
    INSTALL doc/ffserver-all.1
    INSTALL doc/ffmpeg-utils.1
    INSTALL doc/ffmpeg-scaler.1
    INSTALL doc/ffmpeg-resampler.1
    INSTALL doc/ffmpeg-codecs.1
    INSTALL doc/ffmpeg-bitstream-filters.1
    INSTALL doc/ffmpeg-formats.1
    INSTALL doc/ffmpeg-protocols.1
    INSTALL doc/ffmpeg-devices.1
    INSTALL doc/ffmpeg-filters.1
    INSTALL doc/libavutil.3
    INSTALL doc/libswscale.3
    INSTALL doc/libswresample.3
    INSTALL doc/libavcodec.3
    INSTALL doc/libavformat.3
    INSTALL doc/libavdevice.3
    INSTALL doc/libavfilter.3
    INSTALL install-progs-yes
    INSTALL ffmpeg
    INSTALL ffprobe
    INSTALL ffserver
    mkdir: cannot create directory ‘/usr/share/ffmpeg’: No such file or directory
    Makefile:161: recipe for target 'install-data' failed
    make: *** [install-data] Error 1

    ****  Installation failed. Aborting package creation.

    Cleaning up...OK

    Bye.

    Can anyone help me ? What can I do ? I’m not gonna lie, I’m a noob and I don’t really know where to start, I tried 3-4 things but it didn’t work.

    Thanks !