Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (27)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5624)

  • How to save a vvideo from a RTSP server using Ffmpeg in C++ ?

    20 septembre 2021, par Tolga

    I am using Ffmpeg remuxing example code to save a mp4 file into another file. However my actual goal is saving the video from a RTSP server. The example works fine with the normal .mp4 files but when I try to save the video from RTSP Server I get following error on command prompt.

    


    [mp4 @ 02F9A8C0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 18000 >= 3000


    


    The RTSP server is created on my computer for testing using python gstream. I used the script here.

    


    Ffmpeg code in C++ is below where error occurs.

    


            iCamera->stream = iCamera->fmt->streams[iCamera->pkt->stream_index];
        iCamera->pkt->stream_index = map->stream_map[iCamera->pkt->stream_index];
        oCamera->stream = oCamera->fmt->streams[iCamera->pkt->stream_index];

        iCamera->pkt->pts = av_rescale_q_rnd(iCamera->pkt->pts, iCamera->stream->time_base, oCamera->stream->time_base, AVRounding(AV_ROUND_NEAR_INF | AV_ROUND_PASS_MINMAX));
        iCamera->pkt->dts = av_rescale_q_rnd(iCamera->pkt->dts, iCamera->stream->time_base, oCamera->stream->time_base, AVRounding(AV_ROUND_NEAR_INF | AV_ROUND_PASS_MINMAX));
        iCamera->pkt->duration = av_rescale_q(iCamera->pkt->duration, iCamera->stream->time_base, oCamera->stream->time_base);
        iCamera->pkt->pos = -1;
        
        if (av_interleaved_write_frame(oCamera->fmt, iCamera->pkt)) {
            printf("Error occured while muxing packet.\n"); exit(1);
        }


    


  • How to use gstreamer to save webcam video to file ?

    2 mars 2015, par sav

    I’ve been trying to get emgu to save same webcam video to file

    The problem is opencv only ssupports avi, and avi does not seem to suit a format like X264 very well.

    Could I use Gstreamer to do this for me in C ?

    It would be good if I could choose the file format and container type too. It would be good if I could use a format like schrodinger dirac.

    I’m new to GStreamer so I’m not quite sure if I’m on the right track here.

    EDIT

    I’ve managed to capture the webcam video using

    gst-launch-0.10 ksvideosrc ! autovideosink

    Now how to transcode this to a format like H264 or dirac ...?

    EDIT

    gst-launch-0.10 ksvideosrc num-buffers=10 ! decodebin2 !
    ffmpegcolorspace ! x264enc ! matroskamux ! filesink
    location=video.mkv

    This seems to create a file, but VLC player can’t read it.

  • How to use gstreamer to save webcam video to file ?

    21 juin 2017, par sav

    I’ve been trying to get emgu to save same webcam video to file

    The problem is opencv only ssupports avi, and avi does not seem to suit a format like X264 very well.

    Could I use Gstreamer to do this for me in C ?

    It would be good if I could choose the file format and container type too. It would be good if I could use a format like schrodinger dirac.

    I’m new to GStreamer so I’m not quite sure if I’m on the right track here.

    EDIT

    I’ve managed to capture the webcam video using

    gst-launch-0.10 ksvideosrc ! autovideosink

    Now how to transcode this to a format like H264 or dirac ...?

    EDIT

    gst-launch-0.10 ksvideosrc num-buffers=10 ! decodebin2 !
    ffmpegcolorspace ! x264enc ! matroskamux ! filesink
    location=video.mkv

    This seems to create a file, but VLC player can’t read it.