Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • De près ou de loin...

    29 avril 2011, par

    Ils ne le savent pas forcément mais sont indispensables
    MediaSPIP est un logiciel open-source, il se base sur d’autres logiciels, et d’autres logiciels lui sont également nécessaires pour fonctionner ... Les personnes ici listées ne savent pas forcément qu’elles ont un rôle important dans le développement, elles ont apporté leur connaissances dans le cadre de la création d’une partie de ces éléments nécessaires ou ont écrit des articles permettant de comprendre certaines choses... il semble indispensable (...)

  • Liste des distributions compatibles

    26 avril 2011, par

    Le tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)

Sur d’autres sites (8032)

  • FFMPEG : Combine "Create video from images" + scale to x + add audio + overlay logo

    7 janvier 2020, par Thomas Wild

    I´m working on a webcam-project. It is for generating timelapse videos of sunset/sundown.

    I´m using a raspberrypi to generate them with gphoto2 + DSLR.

    At the end of the day the images should get to an video, with audio and an overlay logo.
    And it should be scaled to 1920 pixel.
    I got a nice solution an it worked.

    1. Producing the timelapse video an scale it :

      ffmpeg -y -framerate 25 -start_number 0000001 -i /var/www/html/webcam/2020-01-05_bilder/%7d.jpg -vf scale=1920:-1 -pix_fmt yuv420p /var/www/html/webcam/2020-01-05-tag-output-1920.mp4

    1. Taking the output of (1) and add an overlay-logo, add audio

      ffmpeg -y -i '/var/www/html/webcam/2020-01-05-tag-output-1920.mp4'
      -i '/var/www/html/webcam-scripts/graphics/logo.png'
      -i '/var/www/html/webcam-scripts/sounds/chill_time_5.mp3'
      -shortest -filter_complex '[1][0]scale2ref=h=ow/mdar:w=iw/6[#A logo][liebfrauen]; [#A logo]format=argb,colorchannelmixer=aa=0.95[#B logo transparent]; [liebfrauen][#B logo transparent] overlay=(main_w-w)-(main_w*0.05):(main_h-h)-(main_h*0.01)'
      -c:v libx264 -crf 18 -preset slow -pix_fmt yuv420p -c:a aac -strict -2
      '/var/www/html/webcam/2020-01-05-tag-1920.mp4

    I tried to combine both actions, but I get an error :

    ffmpeg -y -framerate 25 -start_number 0000001 -i '/var/www/html/webcam/2020-01-05_bilder/%7d.jpg' -vf scale=1920:-1 -pix_fmt yuv420p -i '/var/www/html/webcam-scripts/graphics/logo.png' -i '/var/www/html/webcam-scripts/sounds/chill_time_5.mp3' -shortest -filter_complex '[1][0]scale2ref=h=ow/mdar:w=iw/6[#A logo][liebfrauen]; [#A logo]format=argb,colorchannelmixer=aa=0.95[#B logo transparent]; [liebfrauen][#B logo transparent] overlay=(main_w-w)-(main_w*0.05):(main_h-h)-(main_h*0.01)' -c:v libx264 -crf 18 -preset slow -pix_fmt yuv420p -c:a aac -strict -2 '/var/www/html/webcam/2020-01-05-tag-1920.mp4'

    Error : Filtergraph ’scale=720 :-1’ was specified through the -vf/-af/-filter option for output stream 0:0, which is fed from a complex filtergraph.
    - vf/-af/-filter and -filter_complex cannot be used together for the same stream.

    Isn`t it possible to combine these inputs and scale it ? Or ... Where is my misunderstanding ?

  • download video by ffmpeg access denied [closed]

    14 septembre 2021, par Vĩnh Hội
  • Extremely slow ffmpeg/sws_scale() - only on heavy duty

    28 septembre 2020, par user2328447

    I am writing a video player using ffmpeg (Windows only, Visual Studio 2015, 64 bit compile).
With common videos (up to 4K @ 30FPS), it works pretty good. But with my maximum target - 4K @ 60FPS, it fails. Decoding still is fast enough, but when it comes to YUV/BGRA conversion it is simply not fast enough, even though it's done in 16 threads (one thread per frame on a 16/32 core machine).

    



    So as a first countermeasure I skipped the conversion of some frames and got a stable frame rate of 40 that way. Comparing the two versions in Concurrency Visualizer, I found a strange issue I don't know the reason of.

    



    .

    



    Here's an image of the frameskip version :
enter image description here
You see that the conversion is pretty quick (average roughly 35ms)
Thus, as multiple threads are used, it also should be quick enough for 60FPS, but it isn't !

    



    .

    



    The image of the non-frameskip version shows why :
enter image description here
The conversion of a single frame has become ten times slower than before (average roughly 350ms). Now a heavy workload on many cores would of course cause a minor slowdown per core due to reduced turbo - let's say 10 or 20%. But never an extreme slowdown of 1000%.

    



    .

    



    Interesting detail is, that the stack trace of the non-frameskip version shows some system activity I don't really understand - beginning with ntoskrnl.exe!KiPageFault+0x373. There are no exceptions, other error messages or such - it just becomes extremely slow.

    



    Edit : A colleague just told me that this looks like a memory problem with paged-out memory at first glance - but my memory utilization is low (below 1GB, and more than 20GB free)

    



    Can anyone tell me what could be causing this ?