Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (106)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

Sur d’autres sites (13726)

  • Android FFMPEG + SDL2 Full screen issue (Video)

    15 janvier 2018, par byungkyu

    I make video player, use ffmpeg, SDL2.
    when I compile ffmpeg, I add —disable-filters, and I scale video using SDL.

    VideoPicture *vp;

    vp = &is->pictq[is->pictq_windex];
    Uint32 flags(SDL_GetWindowFlags(vp->screen));
    flags ^= SDL_WINDOW_FULLSCREEN_DESKTOP;
    SDL_SetWindowFullscreen(vp->screen, flags);
    int w = 640, h = 480; // TODO: UPDATE ME! ;)
    if ((flags & SDL_WINDOW_FULLSCREEN_DESKTOP) != 0)
    {
       LOGI("toggleFullscreen 1189");
       SDL_SetHint(SDL_HINT_RENDER_LOGICAL_SIZE_MODE, "overscan");
       SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear");
       SDL_RenderSetLogicalSize(vp->renderer, w, h);
    }
    else
    {
       LOGI("toggleFullscreen 1195");
       SDL_SetWindowSize(vp->screen, w, h);
    }

    but this code show black bar, upper side and down side.
    how to make full screen, no black, and expand video height ?

    enter image description here

  • ffmpeg text overlay both ${frame_num} and :timecode values ?

    2 novembre 2022, par Whome

    Text overlay does not work if framenum 1..n and timecode hh:mm:ss:frame attributes are used together, how do overlay both running values ?

    


    Does not work, only timecode is incrementing and framenum is a as a text:
ffmpeg.exe -hide_banner -nostats ^
  -i "video_25fps.mp4" -threads 4 -preset fast ^
  -c:v libx264 -profile:v main -level 4.0 -s:v 640x360 -b:v 512k -pix_fmt yuv420p ^
  -refs 3 -bf 3 -g 50 -keyint_min 25 -b_strategy 1 -flags +cgop -sc_threshold 0 ^
  -movflags "negative_cts_offsets+faststart" ^
  -vf "drawtext=fontfile=/fonts/Roboto-Regular.ttf:fontcolor=White:fontsize=38:box=1:boxcolor=black:x=(w-text_w)/2:y=text_h-line_h+60:text='H264\ 640x360\ 512k\ frame\: %{frame_num}\ ':start_number=1:timecode=00\\:00\\:00\\:00:rate=25" ^
  -an -sn -t 30 -y output.mp4

Works if framenum only:
  -vf "drawtext=fontfile=/fonts/Roboto-Regular.ttf:fontcolor=White:fontsize=38:box=1:boxcolor=black:x=(w-text_w)/2:y=text_h-line_h+60:text='H264\ 640x360\ 512k\ frame\: %{frame_num}':start_number=1"

Works if timecode only:
  -vf "drawtext=fontfile=/fonts/Roboto-Regular.ttf:fontcolor=White:fontsize=38:box=1:boxcolor=black:x=(w-text_w)/2:y=text_h-line_h+60:text='H264\ 640x360\ 512k\ ':timecode='00\:00\:00\:00':rate=25"


    


  • FFMPEG : using video filter with complex filter

    4 septembre 2019, par Sebastien

    I’m using the fluent-ffmpeg Node.js library to perform batch manipulations on video files. The video filter which crops a 16:9 input, adds padding and burns subtitles into the padding.

    In the next step, I would like to use a complex filter to overlay an image as a watermark.

    ff.input(video.mp4)
    ff.input(watermark.png)
    ff.videoFilter([
     'crop=in_w-2*150:in_h',
     'pad=980:980:x=0:y=0:color=black',
     'subtitles=subtitles.ass'
    ])
    ff.complexFilter([
     'overlay=0:0'
    ])
    ff.output(output.mp4)

    However, running this, I get the following error :

    Filtergraph 'crop=in_w-2*150:in_h,pad=980:980:x=0:y=0:color=black,subtitles=subtitles.ass' was specified through the -vf/-af/-filter option for output stream 0:0, which is fed from a comple.
    -vf/-af/-filter and -filter_complex cannot be used together for the same stream.

    From what I understand the video filter and complex filter options can’t be used together. How does one get around this ?