
Recherche avancée
Autres articles (112)
-
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 ;
-
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 -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...)
Sur d’autres sites (13858)
-
How can I use both vaapi acceleration and video overlays with ffmpeg
10 novembre 2019, par nrdxpI am fairly new to ffmpeg and I am trying to capture both my webcam and my screen, all using vaapi acceleration (without it, its too slow). I want to overlay the webcam in the bottom right corner using ffmpeg. I need to use
kmsgrab
, so I can record a Wayland session on Linux.What I am doing to work around this is simply open the webcam in a window using the sdl backend, and then call another instance off ffmpeg to record the screen. This isn’t ideal however, since the window with the webcam gets covered up by other windows on fullscreen or when workspace switching. I would much rather encode the webcam on top of the screencast so it is always visible, no matter what I am doing.
Here is the workaround script I am using right now :
#!/usr/bin/env zsh
# record webcam and open it in sdl window
ffmpeg -v quiet -hide_banner -re -video_size 640X480 -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i /dev/video0 -vf 'format=nv12,hwupload' -c:v hevc_vaapi -f hevc -threads $(nproc) - | ffmpeg -v quiet -i - -f sdl2 - &
# wait for webcam window to open
until swaymsg -t get_tree | grep 'pipe:' &>/dev/null; do
sleep 0.5
done
# position webcam in the bottom right corner of screen using sway
swaymsg floating enable
swaymsg resize set width 320 height 240
swaymsg move position 1580 795
swaymsg focus tiling
#screencast
ffmpeg -format bgra -framerate 60 -f kmsgrab -thread_queue_size 1024 -i - \
-f alsa -ac 2 -thread_queue_size 1024 -i hw:0 \
-vf 'hwmap=derive_device=vaapi,scale_vaapi=w=1920:h=1080:format=nv12' \
-c:v h264_vaapi -g 120 -b:v 3M -maxrate 3M -pix_fmt vaapi_vld -c:a aac -ab 96k -threads $(nproc) \
output.mkv
kill %1So far, I’ve tried adding the webcam as a second input to the screencast and using :
-filter_complex '[1] scale=w=320:h=240,hwupload,format=nv12 [tmp]; \
[0][tmp] overlay=x=1580:y=795,hwmap=derive_device=vaapi,scale_vaapi=w=1920:h=1080:format=nv12' \But I get the error :
Impossible to convert between the formats supported by the filter 'Parsed_hwupload_1' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented -
FATE : fix colorbalance fate test failed on x86_32
1er juillet 2020, par Limin WangFATE : fix colorbalance fate test failed on x86_32
floating point precision will cause rgb*max generate different value on
x86_32 and x86_64. have pass fate test on x86_32 and x86_64 by using
lrintf to get the nearest integral value for rgb * max before av_clip.Reviewed-by : Paul B Mahol <onemda@gmail.com>
Signed-off-by : Limin Wang <lance.lmwang@gmail.com> -
Problems compiling ffmpeg for iOS
19 août 2012, par marchinramI seen a few posts similar to this one but the problem I'm having is slightly different, I downloaded the ffmpeg source and ran configure like below :
./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver \
--enable-cross-compile --arch=arm --target-os=darwin \
--cc=/applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' \
--sysroot=/applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk \
--cpu=cortex-a8 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7 \
-isysroot /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk' --enable-picThe configure appears to work right, it ends with this
License: LGPL version 2.1 or later
Creating config.mak and config.h...
WARNING: Compiler does not indicate floating-point ABI, guessing soft.But when I then run make I get this
AS libavcodec/arm/ac3dsp_armv6.o
./libavutil/arm/asm.S:178:garbage following instruction -- `ldr r4,.Lpicoff\'
./libavutil/arm/asm.S:179:Unknown pseudo-op: .Lpic
./libavutil/arm/asm.S:179:Rest of line ignored. 1st junk character valued 92 (\).
./libavutil/arm/asm.S:181:Unknown pseudo-op: .altmacro
./libavutil/arm/asm.S:182:Unknown pseudo-op: .noaltmacro
./libavutil/arm/asm.S:185:Unknown pseudo-op: .Lpic
./libavutil/arm/asm.S:185:Rest of line ignored. 1st junk character valued 92 (\).
./libavutil/arm/asm.S:178:garbage following instruction -- `ldr lr,.Lpicoff\'
./libavutil/arm/asm.S:179:Unknown pseudo-op: .Lpic
./libavutil/arm/asm.S:179:Rest of line ignored. 1st junk character valued 92 (\).
./libavutil/arm/asm.S:181:Unknown pseudo-op: .altmacro
./libavutil/arm/asm.S:182:Unknown pseudo-op: .noaltmacro
./libavutil/arm/asm.S:185:Unknown pseudo-op: .Lpic
./libavutil/arm/asm.S:185:Rest of line ignored. 1st junk character valued 92 (\).
make: *** [libavcodec/arm/ac3dsp_armv6.o] Error 1Any help would be greatly appreciated