Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (52)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

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

Sur d’autres sites (6956)

  • 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(&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++)

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

  • FFmpeg INPUT over HTTPS with peer certificate verification

    16 janvier 2020, par Pistacio

    Is there a way to verify the INPUT certificate in case of a HTTPS schema with FFmpeg ?
    The tls options in FFmpeg use parameters such as tls_verify or listen appended to the OUTPUT URL but I need INPUT HTTPS verification. I’d need a way to verify the SSL/TLS server like libcurl or mysql do.

    ffmpeg -i tls://INPUT?cert_file=PATH_TO_CERT&amp;tls_verify=1

    returns

    Invalid data found when processing input

    Right now I verify the peer with curl/wget and I pipe the output to FFmpeg like this :

    curl -sv --cacert PATH_TO_CERT https://INPUT | ffmpeg -i pipe:

    but it’s not an elegant solution. Could this be done with FFmpeg only ?