
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (42)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (5583)
-
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