
Recherche avancée
Médias (3)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (62)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (10110)
-
FFMPEG : how to overlay a moving PNG with multiply blend effect (overlay filter + blend filter) [closed]
22 avril 2024, par user24565885I tried hunting for all existing questions and couldn't find a match :-(


I have a video and a PNG image that I overlay on top of that. The PNG needs to move across the video (this I have working). But I want the PNG to use a "multiply" blend effect vs. a standard alpha overlay. Whenever I try to apply both filters I get an error.


This code works and moves the image (the last one) across as expected :


ffmpeg -i d6b5ec90-8823-41cf-9b81-3086ce83054a.mp4 -loop 1 -i 593e677d-02bb-49c2-a0c6-c3dd8f8c2f72.png -loop 1 -i 32fea58f-ebe1-447e-b079-06f8ebb9df52.png -loop 1 -i cb7435fb-5aff-4eeb-af2a-22b92c900db6.png -filter_complex "[0]fps=30,scale=3840:3840[o1];[1]fps=30,setpts=PTS+0.000/TB[t_1];[o1][t_1]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:enable='between(t,0.000,5.000)':shortest=1[o2];[2]fps=30,setpts=PTS+1.000/TB[t_2];[o2][t_2]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:enable='between(t,1.000,5.000)':shortest=1[o3];[3]fps=30[t_3];[o3][t_3]overlay='main_w*(1.5+(0-1.5)*max(0,1-(n-1.000*30)/(4.5*30)))':0:enable='between(t,1.000,4.500)':shortest=1" -r 30 -pix_fmt yuv420p -c:a aac -b:a 128k -c:v libx264 -b:v 8000k out.mp4



I now want that last effect to use multiply for blending and that's what I can't figure out. Applying both filters with a comma seems reasonable but bonks (NOTE : the MP4 and all PNGs are 3840x3840 so it's not a size issue)


[o3][t_3]overlay='main_w*(1.5+(0-1.5)*max(0,1-(n-1.000*30)/(4.5*30)))':0:enable='between(t,1.000,4.500)':shortest=1,blend=all_mode='multiply':all_opacity=1



The error I get is "Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_blend_10".


I've looked at this one : In FFmpeg, using -filter_complex, how can I overlay and blend at the same time ? but can't quite figure out how I would split, blend, then overlay in my situation where the last input PNG ([3]) needs to blend and move...


Would really appreciate the help if anyone has a solution.


THANKS !


-
Android and FFmpeg. Video is very slow
6 février 2014, par bukka.whI have built ffmpeg library for my Android device from here : https://github.com/appunite/AndroidFFmpeg. But some video files playing very very slow (i find out that very slow are playing videos which my Android device can play by itself). Here is build.sh script
https://github.com/appunite/AndroidFFmpeg/blob/master/FFmpegLibrary/jni/build_android.shMay be this is because of these lines :
--enable-hwaccel=h264_vaapi \
--enable-hwaccel=h264_vaapi \
--enable-hwaccel=h264_dxva2 \
--enable-hwaccel=mpeg4_vaapi \As I have understood these lines are enabling hw acceleration (the author of that code says that this can raise some bugs). The basic idea of the player is to decode video and audio streams in native code, then render video frame into AndroidBitmap and render Audio into Android MediaPlayer.
Does anyone know how to solve problem of slow video decoding (maybe decrease video frame resolution or something else ?) I will be pleased for any help and ideas. -
ffmpeg : how to stream from rtmp to FLS ?
21 juin 2016, par yarekI can create HLS from static MPEG4 using that command :
ffmpeg -i video.mp4 -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts
I am now trying to achieve that :
live RTMP(FME)------->FFMEG-------------->HLS
I tried with :
ffmpeg -i rtmp://127.0.0.1:1935/live/video -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts
But got error :
Closing connection : NetStream.Play.StreamNotFound
rtmp ://127.0.0.1:1935/live/video : Unknown error occurredAny idea how to achieve :
RTMP---->FMPEG----->HLS ?
I also tried :
ffmpeg -i "rtmp://localhost:1935/live/yarek live=1" -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts
Seems better but stucks :
ble-zlib
libavutil 52. 0.100 / 52. 0.100
libavcodec 54. 69.100 / 54. 69.100
libavformat 54. 35.100 / 54. 35.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 20.106 / 3. 20.106
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
rtmp server sent error
Metadata :
videokeyframe_frequency8.00
avclevel 31.00
videodevice Microsoft LifeCam Cinema
keywords
width 320.00
videodatarate 350.00
presetname Custom
copyright
creationdate Mon Oct 29 17:51:08 2012
videocodecid avc1
author
avcprofile 66.00
title
height 240.00
description
rating
framerate 20.00Thanks