Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (14)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

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

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (4424)

  • ffmpeg rtsp over http not working

    17 novembre 2017, par kooli

    I put this conf on ffserver

    HTTPPort 1234
    RTSPPort 1235
    <stream>
    Format rtp

    Feed feed1.ffm
    VideoCodec libx264
    VideoFrameRate 24
    VideoBitRate 100
    VideoSize 480x272
    AVOptionVideo flags +global_header
    </stream>

    I stream with this command

    ffmpeg -i file.h264 http://127.0.0.1:1234/feed1.ffm

    When I watch this stream I can watch via udp and tcp on this url :

    rtsp://127.0.0.1:1235/live.h264

    but i want to stream with rtsp over http(http tunneling).

    How can I do it please ??

  • avformat : AviSynth demuxer rewrite

    27 novembre 2013, par d s
    avformat : AviSynth demuxer rewrite
    

    Directly loads AviSynth through LoadLibrary instead of relying on
    Video for Windows, and supports using AvxSynth (via dlopen) to
    open scripts on Linux and OS X.

    Error messages from AviSynth/AvxSynth are now reported through
    av_log and exit, rather than the traditional behavior of generating
    an error video that the user would need to watch to diagnose.

    The main rewrite was authored by d s <avxsynth.testing@gmail.com>
    from the AvxSynth team, with additional contributions by

    Oka Motofumi <chikuzen.mo@gmail.com>
    Stephen Hutchinson <qyot27@gmail.com>
    Diego Biurrun <diego@biurrun.de>
    Anton Khirnov <anton@khirnov.net>

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DH] configure
    • [DH] libavformat/avisynth.c
  • Saving frames from a network camera (RTSP) to a mp4 file

    24 novembre 2015, par Dídac Pérez

    I am quite confused about how to save a video stream into a mp4 file. I am using ffmpeg. Let me explain the problem :

    1. I connect to a network camera via RTSP (H.264 stream) with avformat_open_input(), avformat_find_stream_info(), av_read_play(), and I get frames with av_read_frame().
    2. Each time I get a frame with av_read_frame(), I store the corresponding AVPacket in a circular buffer.
    3. In some points in my application, a range of this circular buffer is selected. I find a key frame used to start from.
    4. Once I have a list of AVPacket’s starting from a key frame, I write header, frames, and tail, as I described below in the code.

    The problem is that the resulting mp4 video has artifacts if I try to watch it using VLC, Windows Media Player, or another one.

    I have also realized that the pts of that packets are not continuous, while dts are continuous. I know about B frames, but is this a problem in my case ?

    // Prepare the output
    AVFormatContext* oc = avformat_alloc_context();
    oc->oformat = av_guess_format(NULL, "video.mp4", NULL);

    // Must write header, packets, and trailing
    avio_open2(&amp;oc->pb, "video.mp4", AVIO_FLAG_WRITE, NULL, NULL);

    // Write header
    AVStream* stream = avformat_new_stream(oc, (AVCodec*) context->streams[video_stream_index]->codec->codec);
    avcodec_copy_context(stream->codec, context->streams[video_stream_index]->codec);
    stream->sample_aspect_ratio = context->streams[video_stream_index]->codec->sample_aspect_ratio;
    avformat_write_header(oc, NULL);

    // FOR EACH FRAME...
    ... av_write_frame(oc, circular[k]); ...

    // Write trailer and close the file
    av_write_trailer(oc);
    avcodec_close(stream->codec);
    avio_close(oc->pb);
    avformat_free_context(oc);

    Thank you so much,