Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (58)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

Sur d’autres sites (9037)

  • What is the "Error initializing filter 'drawtext' with args..." error in using of ffmpeg at c# process class ?

    7 novembre 2016, par parsa

    I used this below code for create a resolution of a video and write text on it.

       var proc = new System.Diagnostics.Process();
       strin OrginalResolution="nhd";
       proc.EnableRaisingEvents = false;
       proc.StartInfo.FileName = ffmpegPath;
       proc.StartInfo.Arguments = "-i \"" + fileIn +
                                  "\" -f mp4 -s " + OrginalResolution + " -vf drawtext=fontfile=/OtherProjects/ConvertProj/ff‌​mpeg/OpenSans-Reg‌​ular.ttf:text=Parsa" \"" + fileOut.Split('.')[0] +
                                  ".mp4";
       proc.StartInfo.UseShellExecute = false;
       proc.StartInfo.CreateNoWindow = false;
       proc.StartInfo.RedirectStandardOutput = true;
       proc.StartInfo.RedirectStandardError = true;

       proc.Start();
       proc.WaitForExit();
       string sdsd = proc.StandardError.ReadToEnd();
       proc.Close();

    I faced with this problem(some string output of StandardError is in below) :

    Fontconfig error: Cannot load default config file\r\n[Parsed_drawtext_0      
    @0000000002fd8c20] Cannot find a valid font for the family
    Sans\r\n[AVFilterGraph @ 0000000000511660] Error initializing
    filter'drawtext' with args
    'fontfile=/OtherProjects/ConvertProj/ffmpeg/OpenSans-
    Regular.ttf:text=parsa'\r\nError opening
    filters!\r\n

    In cmd the same argument value of process works fine.
    I read that this issue related to how to using quotation mark at using
    of text property of drawtext in ffmpeg.but I can’t find any
    solution for solving this issue.
    Can anyone help me ?

    Can anyone help me still ?Is this a bug ?
    I used any solutions for escape from : in my code,but can’t solve this problem.
    It can’t find font.I delete other filters of drawtext to findout that any of filters don’t mistake, but still error exists yet.

    expansion=none property of drawtext doesn’t influence on this case, for escape :.

  • Converting .webm to mp4 produces "incorrect parameters" error [duplicate]

    23 mars 2020, par Chognificent

    I am attempting to convert a particular video from webm to mp4 using :
    ffmpeg -fflags +genpts -i $input -r 24 $output, but I am getting an error :

    [libx264 @ 0x55c8801feb00] width not divisible by 2 (1025x525)
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    [aac @ 0x55c880283340] Qavg: 110.549
    [aac @ 0x55c880283340] 2 frames left in the queue on closing

    Is there a solution I can use that will be generic for all videos including this video file.

  • c++ ffmpeg "Starting new cluster" error

    9 novembre 2016, par R2-D2

    I want to encode a live stream into webm, but ffmpeg gets stuck in a live lock after 5 seconds stating

    [webm @ 0x1d81940] Starting new cluster at offset 0 bytes, pts 5040dts 5040

    I tried increasing the related AVFormatContext params

    av_opt_set_int(oc->priv_data, "chunk_duration", INT_MAX, 0);
    av_opt_set_int(oc->priv_data, "cluster_time_limit", INT_MAX, 0);
    av_opt_set_int(oc->priv_data, "cluster_size_limit", INT_MAX, 0);

    which avoids the error for about 30 seconds, but then again ffmpeg hangs

    [webm @ 0xbc9940] Starting new cluster due to timestamp
    [webm @ 0xbc9940] Starting new cluster at offset 0 bytes, pts 32800dts 32800

    The error can be reproduced with the official example doc/examples/muxing.c just by writing into a buffer instead of a file like this

    oc = avformat_alloc_context();
    oc->oformat = av_guess_format("webm", NULL, NULL);
    oc->oformat->flags |= AVFMT_NOFILE;

    and for actual writing

    uint8_t *output_buf;
    avio_open_dyn_buf(&oc->pb);

    avformat_write_header(oc, &opt);
    /* or */
    av_interleaved_write_frame(fmt_ctx, pkt);

    avio_close_dyn_buf(oc->pb, &output_buf);
    av_free(output_buf);

    How can I encode webm into a buffer ?
    (And why does it work for files ?)