Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

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

Autres articles (89)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (7912)

  • Error in http dynamic streaming TypeError - Error #1009

    25 octobre 2014, par internetdoping

    I am making mutli-bitrate streaming in FMS and FFMPGE.
    In FFMPEG I create 4 bitrates of source video and publish it on the FMS through RTMP protocol (rtmp://my-server/livepkgr/mystreamName1?adbe-live-event=liveevent).

    Now all configurations are working currently but sometimes I get this error :
    1- TypeError - Error #1009

    This is my FFMPEG syntaxt to create multi-bitrate :

    ffmpeg -re -i j:\movie\warz.mkv
    -preset ultrafast -threads 1 -vcodec libx264 -b:v 720k -r 24 -g 24 -keyint_min 4 -x264opts "keyint=4:min-keyint=48:no-scenecut" -s 856*360 -acodec libmp3lame -b:a 16k -ac 1 -ar 44100 -f flv rtmp://12.11.1.2/livepkgr/relation720p?adbe-live-event=relation
    -preset ultrafast -threads 1 -vcodec libx264 -b:v 600k -r 24 -g 24 -keyint_min 4 -x264opts "keyint=4:min-keyint=48:no-scenecut" -s 856*360 -acodec libmp3lame -b:a 16k -ac 1 -ar 44100 -f flv rtmp://12.11.1.2/livepkgr/relation360p?adbe-live-event=relation
    -preset ultrafast -threads 1 -vcodec libx264 -b:v 350k -r 24 -g 24 -keyint_min 4 -x264opts "keyint=4:min-keyint=48:no-scenecut" -s 570*240 -acodec libmp3lame -b:a 16k -ac 1 -ar 44100 -f flv rtmp://12.11.1.2/livepkgr/relation240p?adbe-live-event=relation
    -preset ultrafast -threads 1 -vcodec libx264 -b:v 98k -r 24 -g 24 -keyint_min 4 -x264opts "keyint=4:min-keyint=48:no-scenecut" -s 342*144 -acodec libmp3lame -b:a 16k -ac 1 -ar 44100 -f flv rtmp://12.11.1.2/livepkgr/relation144p?adbe-live-event=relation
    -preset ultrafast -threads 1 -vcodec libx264 -b:v 98k -r 24 -g 24 -keyint_min 4 -x264opts "keyint=4:min-keyint=48:no-scenecut" -s 342*144 -acodec libmp3lame -b:a 16k -ac 1 -ar 44100 -f flv rtmp://12.11.1.2/livepkgr/relation98p?adbe-live-event=relation

    and this is my F4M file :

    <manifest xmlns="http://ns.adobe.com/f4m/2.0">
    <dvrinfo beginoffset="0" endoffset="1800"></dvrinfo>
    <baseurl>http://12.11.1.2/hds-live/livepkgr/_definst_/relation</baseurl>
    <media href="relation360p.f4m" bitrate="600"></media>
    <media href="relation240p.f4m" bitrate="350"></media>
    <media href="relation144p.f4m" bitrate="128"></media>
    <media href="relation720p.f4m" bitrate="1932"></media>
    <media href="relation98p.f4m" bitrate="98"></media>
    </manifest>

    Please advise me to fix this problem.
    Any help will be appreciated.

  • Dynamic ffmpeg crop, scale & encoding code seems to break when the crop size changes

    28 avril 2024, par Blindy

    The following code works perfectly as long as I only move the crop rectangle, however as soon as I change its size I no longer get frames out of my filter (av_buffersink_get_frame returns -11). It's crazy, even after the size changes, if it eventually changes to the original size that frame will go through, then it will go back to no longer providing frames.

    &#xA;

    Would anyone happen to know what I'm doing wrong ?

    &#xA;

    My filter setup (note the crop & scale combination, it should (I think ?) scale whatever I crop to the output video size) :

    &#xA;

    // buffer source -> buffer sink setup&#xA;auto args = std::format("video_size={}x{}:pix_fmt={}:time_base={}/{}:pixel_aspect={}/{}",&#xA;    inputCodecContext->width, inputCodecContext->height, (int)inputCodecContext->pix_fmt,&#xA;    inputCodecContext->pkt_timebase.num, inputCodecContext->pkt_timebase.den,&#xA;    inputCodecContext->sample_aspect_ratio.num, inputCodecContext->sample_aspect_ratio.den);&#xA;&#xA;AVFilterContext* buffersrc_ctx = nullptr, * buffersink_ctx = nullptr;&#xA;check_av_result(avfilter_graph_create_filter(&amp;buffersrc_ctx, bufferSource, "in",&#xA;    args.c_str(), nullptr, &amp;*filterGraph));&#xA;check_av_result(avfilter_graph_create_filter(&amp;buffersink_ctx, bufferSink, "out",&#xA;    nullptr, nullptr, &amp;*filterGraph));&#xA;check_av_result(av_opt_set_bin(buffersink_ctx, "pix_fmts",&#xA;    (uint8_t*)&amp;outputCodecContext->pix_fmt, sizeof(outputCodecContext->pix_fmt), AV_OPT_SEARCH_CHILDREN));&#xA;&#xA;// filter command setup&#xA;auto filterSpec = std::format("crop,scale={}:{},setsar=1:1", outputCodecContext->width, outputCodecContext->height);&#xA;&#xA;check_av_result(avfilter_graph_parse_ptr(&amp;*filterGraph, filterSpec.c_str(), &amp;filterInputs, &amp;filterOutputs, nullptr));&#xA;check_av_result(avfilter_graph_config(&amp;*filterGraph, nullptr));&#xA;

    &#xA;

    Frame cropping :

    &#xA;

    check_av_result(avfilter_graph_send_command(&amp;*filterGraph, "crop", "x", std::to_string(cropRectangle.CenterX() - cropRectangle.Width() / 2).c_str(), nullptr, 0, 0));&#xA;check_av_result(avfilter_graph_send_command(&amp;*filterGraph, "crop", "y", std::to_string(cropRectangle.CenterY() - cropRectangle.Height() / 2).c_str(), nullptr, 0, 0));&#xA;check_av_result(avfilter_graph_send_command(&amp;*filterGraph, "crop", "w", std::to_string(cropRectangle.Width()).c_str(), nullptr, 0, 0));&#xA;check_av_result(avfilter_graph_send_command(&amp;*filterGraph, "crop", "h", std::to_string(cropRectangle.Height()).c_str(), nullptr, 0, 0));&#xA;&#xA;// push the decoded frame into the filter graph&#xA;check_av_result(av_buffersrc_add_frame_flags(buffersrc_ctx, &amp;*inputFrame, 0));&#xA;&#xA;// pull filtered frames from the filter graph&#xA;while (1)&#xA;{&#xA;    ret = av_buffersink_get_frame(buffersink_ctx, &amp;*filteredFrame);&#xA;    if (ret &lt; 0)&#xA;    {&#xA;        // if no more frames, rewrite the code to 0 to show it as normal completion&#xA;        if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)&#xA;            ret = 0;&#xA;        break;&#xA;    }&#xA;&#xA;    // write the filtered frame to the output file &#xA;    // [...]&#xA;}&#xA;

    &#xA;

    I also set the output video size before creating the file, and it is obeyed as expected :

    &#xA;

    outputCodecContext->width = (int)output.PixelSize().Width;&#xA;outputCodecContext->height = (int)output.PixelSize().Height;&#xA;

    &#xA;

  • Revision 7cc14e598e : Code cleanup. Lower case variable names, code simplification by using already d

    25 mars 2013, par Dmitry Kovalev

    Changed Paths : Modify /vp9/common/vp9_loopfilter.c Modify /vp9/common/vp9_quant_common.c Modify /vp9/common/vp9_quant_common.h Modify /vp9/decoder/vp9_decodframe.c Code cleanup. Lower case variable names, code simplification by using already defined clamp and read_le16 functions. Change-Id : (...)