
Recherche avancée
Autres articles (24)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...) -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)
Sur d’autres sites (5614)
-
Add Filters to Video like Instagram
16 janvier 2017, par G SinghI am coding for an app and need to apply filters to videos like Instagram.
I tried with FFMPEG library, but it doesn’t work well and does not provide all filters.
What I tried so far is,
String commandStr1 = "ffmpeg -y -i /sdcard/vids.mp4 -strict experimental -vf hue=s=0 -vcodec mpeg4 -b 2097152 -s 320x240 -r 30 /sdcard/vid_out.mp4";
String[] complexCommand3 = {"ffmpeg","-y", "-i", "/sdcard/videokit/out1.mp4",
"-i", "/sdcard/videokit/out2.mp4", "-strict", "experimental",
"-filter_complex",
"[0:v]scale=640x480,setsar=1:1[v0];[1:v]scale=640x480,setsar=1:1[v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1",
"-ab", "48000", "-ac", "2", "-ar", "22050", "-s", "640x480", "-r", "30", "-vcodec", "mpeg4", "-b", "2097k", "/sdcard/videokit/out3.mp4"};Is there any other open source or paid library to apply filters to videos ? Any kind of help to achieve this functionality will be appreciated.
or How can I make my own video filters ?
Thanks.
-
How to scale mouse cursor when recording display with ffmpeg ?
16 mai 2022, par rkhI'm recording the whole Windows 10 Desktop on a 4K laptop screen with a native resolution of 3840x2160. The windows desktop is scaled to 200% (so it behaves like 1920x1080).


Here's the
ffmpeg
command line I'm using to record the desktop :

"C:\ffmpeg\ffmpeg.exe" -rtbufsize 1500M -f gdigrab -framerate 10 -i desktop -vf crop="3840:2160:0:0" -pix_fmt yuv420p -preset ultrafast -tune fastdecode -y "C:\ffmpeg\test1.mp4"



I'm using
crop
to be able to record only a portion of the screen as well as the whole screen.

The issue is that the mouse cursor is way to small on the resulting video file. It looks like that
ffmpeg
is not respecting the scaling factor from the windows desktop settings (200%).

I could change the high-dpi settings of the
ffmpeg.exe
file (https://stackoverflow.com/a/67679516/19128336) but I need to find a way to solve this issue programmatically.

This issue occurs only on screens with desktop scaling factor higher than 100%.


Is there a way to tell
ffmpeg
about the desktop scaling factor ?

Thanks in advance.


-
g2meet : Allocate cursor buffers large enough to fit the aligned width
11 septembre 2013, par Martin Storsjö