Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (61)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (9425)

  • ffmpeg add a watermark programmatically (overlay filter)

    30 septembre 2014, par Alberto Martín

    I am trying to implement a watermark, a png over a video while the video is playing.

    I configure three filters, as i saw in some examples :

    1. Input video (INPUT 1)

      avfilter_graph_create_filter(&filt_src,avfilter_get_by_name("buffer"),"in", buffersrc_args, NULL,graph);
    2. Png to overlay (INPUT 2)

      avfilter_graph_create_filter(&bufferovrlay_ctx,bufferovrlay, "overlay", argsStrOvrlay, NULL,graph);
    3. Output video (Output)

      avfilter_graph_create_filter(&filt_out, avfilter_get_by_name("ffbuffersink"),"out", NULL, buffersink_params, graph)

    At this point iḿ not sure if i am setting correctly the parameters of the overlay filter, because i did not found any example but the function returns ok.

    After creating the filters i call avfilter_graph_parse2(graph, "overlay", inputs, &outputs)
    also with no error returned.

    Finally i call avfilter_graph_config(graph, NULL); and i get the following error :

    -22 (AVERROR_INVALIDDATA)

    I found a lot of examples but always using the command line. What do you think i am doing wrong ? Someone has an programmatically example ?

  • an error occurred while processing this directive error got after watermark create on video using ffmpeg

    21 avril 2017, par sajin R

    This is my code for create water mark on video using ffmpeg :

    $cmd = "ffmpeg -filter_complex 'overlay=10:10' -i $video_dir -i thumbnail/watermark.png  input/test2.mp4";
    $return = `$cmd`;

    After that result got error :

    an error occurred while processing this directive

    How to solve this ?

  • watermark image get rotated on video using ffmpeg- android

    24 avril 2017, par Pratik Deogade

    I am trying to add water mark on my video in android, i am successfull in adding it but the problem is water image get rotated by 90 degree clock wise

    here is my command

    String[] complexCommand = "ffmpeg","-y" ,"-i", "/sdcard/Vid.mp4","-strict","experimental", "-vf", "movie=/sdcard/watermarka.png [watermark] ; [in][watermark] overlay=main_w-overlay_w-10:10 [out]","-s", "320x2400","-r", "30", "-b", "15496k", "-vcodec", "mpeg4","-ab", "48000", "-ac", "2", "-ar", "22050", "/sdcard/out.mp4" ;

    the output i am getting is :
    enter image description here