
Recherche avancée
Autres articles (111)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (10244)
-
ffmpeg and uscreencapture not taking full screen
27 mai 2022, par The Mr. TotardoI want to record my screen full screen with modest command below. My screen resolution is 1920x1080


C :\Users\Totzfreelance\ffmpeg.exe -f dshow -i video="UScreenCapture":audio="Microphone (Realtek High Definition Audio)" -offset_x 0 -offset_y 0 -video_size 1920x1080 -pix_fmt yuv420p c :\Users\Totzfreelance\testing3.mp4


but the video result dimension always 1280x720. There is part of screen not captured. I want it to be 1920x1080.


-
Streaming windows desktop to Youtube with ffmpeg [closed]
23 mai 2021, par rarahimI've been spending days trying to stream my live desktop to Youtube using ffmpeg. There are too many questions and answers on SO about this topic but none really works for me, or perhaps because working with ffmpeg is non-trivial task with it's never ending list of available options.


So far, what sort of works for me is using the following (which is a mixture of what was gathered from various sources) :




ffmpeg -threads:v 2 -threads:a 8 -filter_threads 2 -thread_queue_size
5096 -f dshow -i video="screen-capture-recorder" -f dshow -i
audio="Stereo Mix (Realtek High Definition Audio)" -pix_fmt yuv420p
-c:v libx264 -qp:v 19 -profile:v high -rc:v cbr_ld_hq -level:v 4.2 -r:v 60 -g:v 120 -bf:v 3 -refs:v 16 -f flv rtmp ://a.rtmp.youtube.com/live2/KEY




My questions are :


- 

-
how do i only stream video ? i do not want to stream audio, simply removing '-f dshow -i audio="Stereo Mix (Realtek High Definition Audio)"' causes it to fail


-
after a while, ffmpeg starts to hog my memory causing my system to slow down terribly, what causes this and how can i fix it ?


-
my video feed when viewed from Youtube keeps buffering rather frequently, how can this be fixed/improved ?










Thanks.


UPDATE :
I've managed to somewhat figure out a workaround for these issues. Not sure if these are the right solutions but they work for now.


- 

-
Youtube apparently requires streams to have audio component. So instead of just removing the audio device form the options, i had to put in "-f lavfi -i anullsrc" to use null audio device.


-
The memory hog issue was improved by adding "-framerate 10" and "-r 10" to the input and output options, this reduces target frame rate to 10fps.


-
The overall stream performance seem to be indirectly improved by doing the above actions.










So finally the working simplified version of my ffmpeg command is :




ffmpeg -framerate 10 -f dshow -i video="screen-capture-recorder" -f
lavfi -i anullsrc -vcodec libx264 -preset:v ultrafast -pix_fmt yuv420p
-f flv -r 10 rtmp ://a.rtmp.youtube.com/live2/KEY




I'm updating here in case it might be useful to someone at some point in the future.


-
-
libx264 not found FFmpeg ?
23 avril 2020, par pabolo12I am trying to make a build of ffmpeg with libx264 enabled. However when I run the following command in MSYS



./configure --prefix=ffmpeg/ --enable-gpl --enable-libx264




I get an error saying



ERROR: libx264 not found




I am using MSYS on windows 10. I also have installed NASM. Here is the config.log file



BEGIN /tmp/ffconf.TRVJWfGe/test.c
 1 #include 
 2 #include 
 3 #include 
 4 long check_x264_encoder_encode(void) { return (long) x264_encoder_encode; }
 5 int main(void) { int ret = 0;
 6 ret |= ((intptr_t)check_x264_encoder_encode) & 0xFFFF;
 7 return ret; }
END /tmp/ffconf.TRVJWfGe/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 -D__MSVCRT_VERSION__=0x0700 -D_WIN32_WINNT=0x0600 -D__printf__=__gnu_printf__ -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c11 -fomit-frame-pointer -c -o /tmp/ffconf.TRVJWfGe/test.o /tmp/ffconf.TRVJWfGe/test.c
In file included from c:\mingw\include\stdint.h:46,
 from c:\mingw\lib\gcc\mingw32\9.2.0\include\stdint.h:9,
 from C:/Users/pawel/AppData/Local/Temp/ffconf.TRVJWfGe/test.c:1:
c:\mingw\include\_mingw.h:413:3: warning: #warning "Direct definition of __USE_MINGW_ANSI_STDIO is deprecated." [-Wcpp]
 413 | # warning "Direct definition of __USE_MINGW_ANSI_STDIO is deprecated."
 | ^~~~~~~
c:\mingw\include\_mingw.h:414:10: note: #pragma message: See <_mingw.h> for preferred feature activation methods.
 414 | # pragma message "See <_mingw.h> for preferred feature activation methods."
 | ^~~~~~~
C:/Users/pawel/AppData/Local/Temp/ffconf.TRVJWfGe/test.c:2:10: fatal error: x264.h: No such file or directory
 2 | #include 
 | ^~~~~~~~
compilation terminated.
ERROR: libx264 not found




Could you tell me how to fix the error, or is there a prebuilt package with libx264 already inside ?