Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (66)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (7767)

  • VLC huge buffering times over rtp for local H264 stream

    15 mars 2022, par mike

    I'm outputting an H264 stream, encoded by my application using ffmpeg. I can display it using ffplay, but when trying to view the stream in VLC, I only get the first frame, or it looks like that's the case.

    


    The messages output shows that it is "buffering", taking around a minute to get to 100% when the frame updates.
When using ffplay, the latency is about 50-100ms at worst.

    


    I am sending to rtp://127.0.0.1:6666?pkt_size=1316 with the format rtp_mpegts.
I am new to this and it's highly likely I haven't set the frame up completely correctly. The process is (minus declarations and error checking)

    


    codec_name = "libx264";&#xA;codec = avcodec_find_encoder_by_name(codec_name.c_str());&#xA;context = avcodec_alloc_context3(codec);&#xA;pkt = av_packet_alloc();&#xA;context->bit_rate = 5 * Mega;&#xA;context->width = info.DisplayWidth;&#xA;context->height = info.DisplayHeight;&#xA;context->time_base = { 1, FPS };&#xA;context->framerate = { FPS, 1 };&#xA;context->gop_size = 100;&#xA;context->max_b_frames = 1;            &#xA;context->pix_fmt = AV_PIX_FMT_YUV420P;&#xA;if (codec->id == AV_CODEC_ID_H264)&#xA;            {&#xA;                check_ret("set option: preset", av_opt_set(context->priv_data, "preset", "fast", 0));&#xA;                check_ret("set option: tune", av_opt_set(context->priv_data, "tune", "zerolatency", 0));&#xA;                check_ret("set option: profile", av_opt_set(context->priv_data, "profile", "baseline", 0));                &#xA;            }&#xA;check_ret("open codec", avcodec_open2(context, codec, NULL));&#xA;&#xA;// setup the stream &#xA;fmt = (AVOutputFormat*)av_guess_format("rtp_mpegts", NULL, NULL);&#xA;&#xA;avformat_alloc_output_context2(&amp;avfctx, fmt, fmt->name,&#xA;            "rtp://127.0.0.1:6666?pkt_size=1316"); &#xA;        &#xA;avio_open(&amp;avfctx->pb, avfctx->url, AVIO_FLAG_WRITE);&#xA;AVStream* stream = avformat_new_stream(avfctx, codec);&#xA;avcodec_parameters_from_context(stream->codecpar, context);&#xA;stream->time_base.num = 1;&#xA;stream->time_base.den = FPS;&#xA;avformat_write_header(avfctx, NULL);&#xA;&#xA;// then the encoding (in an output loop)&#xA;<not get="get" frame="frame" from="from" rgba="rgba" to="to" yuv="yuv">&#xA;yuvFrame->pts = i&#x2B;&#x2B;; // i is incremented every frame&#xA;avcodec_send_frame(enc_ctx, yuvFrame);&#xA; while (ret >= 0) {&#xA;  ret = avcodec_receive_packet(enc_ctx, pkt);          &#xA;  //ret = av_interleaved_write_frame(avfctx, pkt); was using this, don&#x27;t seem to need it&#xA;  ret = av_write_frame(avfctx, pkt);&#xA;  av_packet_unref(pkt);&#xA;}&#xA;</not>

    &#xA;

    The VLC output looks like this :

    &#xA;

    main debug: using hw decoder module "d3d11va"&#xA;avcodec info: Using D3D11VA (NVIDIA GeForce RTX 2080 Super with Max-Q Design, vendor 10de(NVIDIA), device 1e93, revision a1) for hardware decoding&#xA;qt debug: Logical video size: 1280x720&#xA;main debug: resized to 1280x720&#xA;main debug: VoutDisplayEvent &#x27;resize&#x27; 1280x720&#xA;main debug: Received first picture&#xA;main debug: Buffering 1%&#xA;main debug: Buffering 2%&#xA;main debug: Buffering 3%&#xA;main debug: auto hiding mouse cursor&#xA;main debug: Buffering 4%&#xA;main debug: Buffering 5%&#xA;main debug: Buffering 6%&#xA;main debug: Buffering 7%&#xA;main debug: Buffering 8%&#xA;main debug: Buffering 9%&#xA;main debug: Buffering 10%&#xA;main debug: auto hiding mouse cursor&#xA;main debug: Buffering 11%&#xA;rtp warning: 1 packet(s) lost&#xA;rtp warning: 1 packet(s) lost&#xA;rtp warning: 1 packet(s) lost&#xA;ts warning: discontinuity received 0x3 instead of 0xd (pid=256)&#xA;ts warning: discontinuity received 0x5 instead of 0xf (pid=256)&#xA;ts warning: discontinuity received 0x1 instead of 0xb (pid=256)&#xA;main debug: Buffering 12%&#xA;main debug: Buffering 13%&#xA;main debug: Buffering 14%&#xA;main debug: Buffering 15%&#xA;main debug: Buffering 16%&#xA;main debug: Buffering 17%&#xA;main debug: Buffering 18%&#xA;main debug: auto hiding mouse cursor&#xA;main debug: Buffering 19%&#xA;main debug: Buffering 20%&#xA;

    &#xA;

  • FFMPEG parametrs for iphone web video

    20 novembre 2015, par Serg Randin

    I am looking for the parameters for FFMPEG to encode the video in mp4 format which will be supported by computers and mobile devices, such as IPhone.

  • Capturing Clear Stills from H264 Stream

    22 octobre 2013, par David Findlay

    I'm trying to capture still images from a H264 wireless IP camera using FFMPEG. I found a similar question here : How can I extract a good quality JPEG image from an H264 video file with ffmpeg ?

    ffmpeg -y -i rtsp://10.2.69.201:554/ch0_0.h264 -r 10 -f image2 /var/www/camera.jpg

    I've implemented it as shown in that example. You can see a sample of the image I'm getting here : http://storm.woodypointcomms.com.au/camera.jpg. Basically the issue is the bottom part of the image is always blocky. If the sky has more detail and clouds the whole bottom half of the image may be blocky or blurry.

    My camera has limited stream options. One of which is I-Frame interval, you can vary it between 25-100 kbps.

    Does anyone have some suggestions about how I can get a better image ?