
Recherche avancée
Autres articles (34)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (7101)
-
Ffmpeg gdigrab records black window when capturing graphics-intensive flight simulator
23 mars 2021, par iterI am trying to capture video from XPlane, a popular flight simulator. I'm running on Windows.



Normally, I can capture individual windows using
gdigrab
, but when I use it on an XPlane window like so...


ffmpeg -f gdigrab -framerate 30 -i "X-System" -b:v 300K capture.mp4




...I get a video file that's the right dimensions but is all black. I imagine this may have something to do with how XPlane talks directly to the GPU. I should add that if I capture the entire desktop like so...



ffmpeg -f gdigrab -framerate 30 -i desktop -b:v 300K capture.mp4




...I get everything including the simulator window, but naturally with unrelated windows in the capture, including windows sitting on top of the simulator window.



Is there a way for
gdigrab
to capture video this GPU-intensive window alone ? Is there a different tool I can use ?

-
Every 27 seconds immediately appear around 3 seconds black
23 juin 2018, par MonsoI want every 27 seconds. appears a black space of 3 seconds and it repeats to the end. Example 0:27 0:54 1:21 until the end of the video .... here are 2 code I used but the second code does not work. The 1st code it automatically blurs the population, I want it not to fade itself. that i want it immediately black
.please help me finish itCode 1
ffmpeg -i input.mp4 -loop 1 -i logo.png -filter_complex "[1]trim=0:24,fade=in:st=0:d=1:alpha=1,fade=out:st=4:d=1:alpha=1,loop=999:750:0,setpts=N/25/TB[w];[0][w]overlay=shortest=1" output.mp4
Code 2
ffmpeg -i input.mp4 -vf "select='lt(mod(t,30),27)',setpts=N/FRAME_RATE/TB" output.mp4 -
Suppress black margins on the sides of an animation
26 avril 2018, par Clinton WinantI need to make an animation out of a collection of jpeg images. The image size, as given by display, is 1200x900. I can control the size of the jpg images with convert, but not sure what a good size would be. I use the following ffmpeg call :
ffmpeg -f image2 -i img%04d.jpg -r 24 sound.avi
In spite of a long string of warnings like
Past duration 0.879997 too large
sound.avi is produced, however the animation includes black right and left margins (see attached screen shot of the first frame)
that I need to suppress. I am under the impression that the 4x3 format of the jpg images is standard ? I view the animation with
mplayer sound.avi
The OS is Debian buster
Further experiments suggest that the black margins disappear if the jpg files have an aspect ratio 16:9. Is that the only AR possible ?
The output of
ffmpeg -f image2 -i img%04d.jpg -vf cropdetect -vframes 5 -f null
requested by @Gyan is
ffmpeg version 3.4.2-2 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Debian 7.3.0-15)
configuration: --prefix=/usr --extra-version=2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Trailing options were found on the commandline.
Input #0, image2, from 'img%04d.jpg':
Duration: 00:00:00.40, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1200x900 [SAR 150:150 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 25 tbc