
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 (14)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (4391)
-
FFmpeg creates empty palette, for better quality GIF conversion
16 mars 2018, par 1234567FFmpeg creates empty palette, for better quality GIF conversion
I have referred to
https://ffmpeg.org/ffmpeg-filters.html#palettegen-1
https://superuser.com/a/556031/724432
but it creates an empty pallete file
I am trying it on android
the command used is
{"-y", "-i", j, "-ss", 10, "-t",3,"-vf","fps=15,scale=300:-1:flags=lanczos,palettegen", palette};
and the error that is shown is
ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/sdcard0/try/Videos/2018-03-13-15-47-29.mp4.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2018-03-13 15:47:33
Duration: 00:00:03.39, start: 0.000000, bitrate: 615 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x540, 637 kb/s, SAR 1:1 DAR 16:9, 22.95 fps, 60 tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2018-03-13 15:47:33
handler_name : VideoHandle
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 12 kb/s (default)
Metadata:
creation_time : 2018-03-13 15:47:33
handler_name : SoundHandle
Output #0, image2, to '/storage/sdcard0/try/Gifs//2018-03-16-11-36-48.png':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
encoder : Lavf57.25.100
Stream #0:0(eng): Video: png, rgba, 16x16 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 10 fps, 10 tbn, 10 tbc (default)
Metadata:
creation_time : 2018-03-13 15:47:33
handler_name : VideoHandle
encoder : Lavc57.24.102 png
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed= 0x
frame= 0 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed= 0x
[Parsed_palettegen_2 @ 0xac96ed80] 255(+1) colors generated out of 3594 colors; ratio=0.070952
[Parsed_palettegen_2 @ 0xac96ed80] Dupped color: FF5F5F5F
frame= 0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)any help would be useful
-
Create a video with timestamp from multiple images with "picture taken date/time" in the meta data with ffmpeg or similar ?
16 mars 2018, par m4D_guYI have two time lapse videos with a rate of 1 fps. The camera took 1 Image every minute. Unfortunately it was missed to set the camera to burn/print on every image the time and date. I am trying to burn the time and date afterwards into the video.
I decoded with
ffmpeg
the two .avi files into 7000 single images each and wrote aR
script that renamed the files into their "creation" date (the time and date the pictures where taken). Then i usedexiftool
to write those information "into" the file, into their exif data or meta data or whatever this is called.The final images in the folder are looking like this :
2018-03-12 17_36_40.png
2018-03-12 17_35_40.png
2018-03-12 17_34_40.png
...
Is it possible to create a Video from these images again with
ffmpeg
or similiar with a "timestamp" in the video so you can see while watching a time and date stamp in the video ? -
FFMPEG can't find audio device for webcam on one computer
13 mars 2018, par DavidI am building a webcam recording app. I am using FFMPEG to capture the audio and video. I have a Logitech C930 webcam.
>ffmpeg -list_devices true -f dshow -i dummy ffmpeg version N-90155-g28924f4b48 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 7.3.0 (GCC) configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-bzlib —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libmfx —enable-amf —enable-cuda —enable-cuvid —enable-d3d11va —enable-nvenc —enable-dxva2 —enable-avisynth libavutil 56. 7.101 / 56. 7.101 libavcodec 58. 12.102 / 58. 12.102 libavformat 58. 9.100 / 58. 9.100 libavdevice 58. 2.100 / 58. 2.100 libavfilter 7. 12.100 / 7. 12.100 libswscale 5. 0.101 / 5. 0.101 libswresample 3. 0.101 / 3. 0.101 libpostproc 55. 0.100 / 55. 0.100 [dshow @ 0000024786c38680] DirectShow video devices (some may be both video and audio devices) [dshow @ 0000024786c38680] "Microsoft Camera Front" [dshow @ 0000024786c38680] Alternative name "@device_pnp_~?\display#int3470#4&1835d135&0&uid13424#65e8773d-8f56-11d0-a3b9-00a0c9223196bf89b5a5-61f7-4127-a279-e187013d7caf" [dshow @ 0000024786c38680] "Microsoft Camera Rear" [dshow @ 0000024786c38680] Alternative name "@device_pnp_~?\display#int3470#4&1835d135&0&uid13424#65e8773d-8f56-11d0-a3b9-00a0c92231967c9bbcea-909c-47b3-8cf9-2aa8237e1d4b" [dshow @ 0000024786c38680] "Logitech Webcam C930e" [dshow @ 0000024786c38680] Alternative name "@device_pnp_~?\usb#vid_046d&pid_0843&mi_00#8&dd2d9e1&0&0000#65e8773d-8f56-11d0-a3b9-00a0c9223196\global" [dshow @ 0000024786c38680] "ChromaCam" [dshow @ 0000024786c38680] Alternative name "@device_sw_860BB310-5D01-11D0-BD3B-00A0C911CE863403512D-FE5D-4D68-B053-E86D662E4D58" [dshow @ 0000024786c38680] DirectShow audio devices [dshow @ 0000024786c38680] "Microphone (2- Logitech Webcam C930e)" [dshow @ 0000024786c38680] Alternative name "@device_cm_33D9A762-90C8-11D0-BD43-00A0C911CE86\wave_1AF7CBFB-477F-44D9-B8C4-E178F036B5D1" dummy : Immediate exit requested
Notice the "Microphone (2- Logitech Webcam C930e)" audio device. I can capture from it using FFMPEG.
Now, I move the same camera to a different computer (Intel Compute Stick) running nearly the same build of windows (16299.251 on the stick, 16299.248 on the laptop). Stick is 32-bit home and laptop is 64-bit Pro (shouldn’t matter, should it ?).
I run the same command with the exact same camera and same drivers installed :>ffmpeg -list_devices true -f dshow -i dummy ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 7.3.0 (GCC) configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-bzlib —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libmfx —enable-cuda —enable-cuvid —enable-d3d11va —enable-nvenc —enable-dxva2 —enable-avisynth 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 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 [dshow @ 00797be0] DirectShow video devices (some may be both video and audio devices) [dshow @ 00797be0] "Logitech Webcam C930e" [dshow @ 00797be0] Alternative name "@device_pnp_~?\usb#vid_046d&pid_0843&mi_00#6&dd2d9e1&0&0000#65e8773d-8f56-11d0-a3b9-00a0c9223196\global" [dshow @ 00797be0] DirectShow audio devices [dshow @ 00797be0] Could not enumerate audio only devices (or none found). dummy : Immediate exit requested
No Audio device listed ? What ? If I use python’s sounddevice module, it sees the audio device :
> python -m sounddevice 0 Microsoft Sound Mapper - Output, MME (0 in, 2 out) 1 Remote Audio, MME (0 in, 2 out) 2 Primary Sound Driver, Windows DirectSound (0 in, 2 out) 3 Remote Audio, Windows DirectSound (0 in, 2 out) 4 Remote Audio, Windows WASAPI (0 in, 2 out) 5 Microphone (Logitech Webcam C930e), Windows WDM-KS (2 in, 0 out)
I can capture from that audio device with sounddevice, but I can’t get FFMPEG to capture from it.
>ffmpeg -report -rtbufsize 50000k-f dshow -i video="Logitech Webcam C930e":audio="Microphone (Logitech Webcam C930e)" -t 120 -y -s 1920x1080 -q 2 -video_pin_name 1 -audio_pin_name 5 -filter:v setpts=1*PTS Watchmen_20180312095119_c.avi ffmpeg started on 2018-03-12 at 17:07:08 Report written to "ffmpeg-20180312-170708.log" ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 7.3.0 (GCC) configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-bzlib —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libmfx —enable-cuda —enable-cuvid —enable-d3d11va —enable-nvenc —enable-dxva2 —enable-avisynth 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 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 video=Logitech Webcam C930e:audio=Microphone (Logitech Webcam C930e) : No such file or directory
I have been trying to debug by removing and reinstalling drivers, etc, but to no avail. I also grabbed a Microsoft Lifecam webcam and got similar results. I can see the lifecam’s audio on the laptop but not the stick in just the same manner as the logitech camera.
How can I get the audio device to show up on the stick so I can capture from it ?