Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (26)

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (4479)

  • Opencv 3.1 compiled with FFMPEG, but won't open https urls

    2 mars 2018, par stalagmite7

    I work on a 16.04 system, and have successfully installed opencv 3.1 with FFMPEG flags enabled. I double checked this was actually the case by cv2.getBuildInformation() and I got FFMPEG = YES.

    I am trying to open a video that is hostel on a private server by my workplace (I am logged in to the VPN, in case thats a concern) and I can access this video over the browser. But videocapture with cv2 fails.

    >>> cap = cv2.VideoCapture("https://xxx.mp4", cv2.CAP_ANY) #dummy url
    >>> cap
    <videocapture 0x7f63300fa4b0="0x7f63300fa4b0">
    >>> cap.isOpened()
    False
    </videocapture>

    This is always the case for https urls. It seems to be able to work with local videos just fine. I have tried a bunch of different thing : initially thought it was a gstreamer problem so I checked my plugins, had some gst-bad versions (ref : https://github.com/GStreamer/gst-plugins-ugly), removed those and replaced with good versions, no joy. Also tried to explicitly tell videoCapture to use cv2.CAP_ANY and cv2.CAP_FFMPEG flags while reading the video, still no luck.

    I disabled the Gstreamer flag while compiling opencv, but even with it set to ON, there was no difference in my problem.

    I haven’t been able to find a solution to this issue and have been looking and trying different things for days now ! Any ideas ?

  • c++ ffmpeg api get video stream from https link

    16 avril 2014, par Chabloz

    I'm trying to read https video link using the function av_format_open_input() but the function return a negative value.
    Here is my code :

    av_register_all();
    avcodec_register_all();
    avformat_network_init();
    const char * url = "https://r1---sn ...";

    AVFormatContext * pFormatCtx = avformat_alloc_context();

    int ret = avformat_open_input(&amp;pFormatCtx, url, NULL, NULL);

    This code worked with a local file as url but as soon as I give a https url it doesnt work anymore.
    thanks
    [edit]
    I found only this : ffserver.c
    But it uses a .ffm file as input. Any exemple or help on how to implement HttpContext (if HttpContext is needed here) would be great.
    [update]
    I ended using libvlc which seems to be much easier but the way to do it using ffmpeg could still be interesting. See my other post if interested : Get frame from video with libvlc smem and convert it to opencv Mat. (c++)

  • Revision 684eb07ec94d593557da51ab82369e7adc209038 : traiter les url https dans recuperer_page git-svn-id : ...

    25 janvier 2008, par Cerdic — Log

    traiter les url https dans recuperer_page git-svn-id : svn ://trac.rezo.net/spip/branches/spip-1.9.2@11120 caf5f3e8-d4fe-0310-bb3e-c32d5e47d55d