
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (65)
-
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 -
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 (...) -
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 (7905)
-
FFMPEG video concatenation returning error : `Error reinitializing filters !`, `Invalid argument`, `Conversion failed !`
2 février 2020, par PureStressI am attempting to concatenate
.mp4
files. I am usingfluent-ffmpeg
and@ffmpeg-installer/ffmpeg
Here is the pseudocode :let mergeClips = ffmpeg();
for (let i = 0; i < 5; i++) {
await downloadVideo(newUrl, './testVideos/0/' + i + '.mp4');
mergeClips = mergeClips.mergeAdd('./testVideos/0/' + i + '.mp4');
}
mergeClips.mergeToFile('compilation.mp4', './temp');This results in errors. The following is the command sent by
fluent-ffmpeg
:ffmpeg -i ./testVideos/0/0.mp4 -i ./testVideos/0/6.mp4 -i ./testVideos/0/14.mp4 -i ./testVideos/0/15.mp4 -y -filter_complex concat=n=4:v=1:a=0 ./testVideos/0/compilation.mp4
When I run the command manually, I receive the following :
PS C:\path> ffmpeg -i ./testVideos/0/0.mp4 -i ./testVideos/0/6.mp4 -i ./testVideos/0/14.mp4 -i ./testVideos/0/15.mp4 -y -filter_complex concat=n=4:v=1:a=0 ./testVideos/0/compilation.mp4
ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.1.1 (GCC) 20190807
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --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-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './testVideos/0/0.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.12.100
Duration: 00:00:04.49, start: 0.000000, bitrate: 257 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 460x460, 254 kb/s, 22.05 fps, 100 tbr, 12800 tbn, 200 tbc (default)
Metadata:
handler_name : VideoHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from './testVideos/0/6.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.12.100
Duration: 00:00:05.04, start: 0.000000, bitrate: 1088 kb/s
Stream #1:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x404, 1086 kb/s, 24.01 fps, 100 tbr, 12800 tbn, 200 tbc (default)
Metadata:
handler_name : VideoHandler
Input #2, mov,mp4,m4a,3gp,3g2,mj2, from './testVideos/0/14.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.12.100
Duration: 00:00:26.99, start: 0.000000, bitrate: 52 kb/s
Stream #2:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 250x444, 52 kb/s, 6 fps, 100 tbr, 12800 tbn, 200 tbc (default)
Metadata:
handler_name : VideoHandler
Input #3, mov,mp4,m4a,3gp,3g2,mj2, from './testVideos/0/15.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.12.100
Duration: 00:00:00.19, start: 0.000000, bitrate: 17599 kb/s
Stream #3:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080, 17564 kb/s, 36.84 fps, 33.33 tbr, 12800 tbn, 200 tbc (default)
Metadata:
handler_name : VideoHandler
Stream mapping:
Stream #0:0 (h264) -> concat:in0:v0
Stream #1:0 (h264) -> concat:in1:v0
Stream #2:0 (h264) -> concat:in2:v0
Stream #3:0 (h264) -> concat:in3:v0
concat -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
[Parsed_concat_0 @ 000001768445cf40] Input link in1:v0 parameters (size 720x404, SAR 0:1) do not match the corresponding output link in0:v0 parameters (460x460, SAR 0:1)
[Parsed_concat_0 @ 000001768445cf40] Failed to configure output pad on Parsed_concat_0
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #3:0
Conversion failed!The videos are downloading correctly.
Does anybody know what’s going on here ?
-
ffmpeg 4.2.2 gives segmentation fault after a while
2 février 2020, par Eric FeillantI have compiled ffmpeg 4.2.2 and it gives me a segmatation fault after a while and i don’t knw why, i put it the request and a part of the debug log file.
My ffmpeg request :
/usr/local/bin/ffmpeg -loglevel debug -use_wallclock_as_timestamps 1 -rtsp_transport tcp -i "rtsp ://root:My_PW@My_IP_Address:5541/live.sdp" -f image2 -loop 1 -i ./overlay_score_160.png -i ./partenaire.png -filter_complex ’overlay=x=2:y=1,overlay=(main_w-overlay_w)/2:y=1’ -framerate 25 -crf 18 -preset veryfast -g 50 -vcodec libx264 -acodec copy -f flv rtmp ://localhost/hls/stream1 -async 1 -vsync 1 2> debug.txtffmpeg version 4.2.2-eric-01022020-FF422 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configuration: --prefix=/usr/local --enable-gpl --enable-version3 --enable-nonfree --disable-static --enable-shared --disable-debug --enable-avresample --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-pthreads --enable-libfreetype --enable-filters --enable-openssl --enable-runtime-cpudetect --enable-libxvid --enable-libfontconfig --enable-libspeex --extra-version=eric-01022020-FF422 --docdir=/usr/share/doc/ffmpeg-4.2.2
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-use_wallclock_as_timestamps' ... matched as AVOption 'use_wallclock_as_timestamps' with argument '1'.
Reading option '-rtsp_transport' ... matched as AVOption 'rtsp_transport' with argument 'tcp'.
Reading option '-i' ... matched as input url with argument 'rtsp://root:MyPW@My_IP_Address:5541/live.sdp'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'image2'.
Reading option '-loop' ... matched as AVOption 'loop' with argument '1'.
Reading option '-i' ... matched as input url with argument './overlay_score_160.png'.
Reading option '-i' ... matched as input url with argument './partenaire.png'.
Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument 'overlay=x=2:y=1,overlay=(main_w-overlay_w)/2:y=1'.
Reading option '-framerate' ... matched as AVOption 'framerate' with argument '25'.
Reading option '-crf' ... matched as AVOption 'crf' with argument '18'.
Reading option '-preset' ... matched as AVOption 'preset' with argument 'veryfast'.
Reading option '-g' ... matched as AVOption 'g' with argument '50'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'copy'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'flv'.
Reading option 'rtmp://localhost/hls/stream1' ... matched as output url.
Reading option '-async' ... matched as option 'async' (audio sync method) with argument '1'.
Reading option '-vsync' ... matched as option 'vsync' (video sync method) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option filter_complex (create a complex filtergraph) with argument overlay=x=2:y=1,overlay=(main_w-overlay_w)/2:y=1.
Applying option async (audio sync method) with argument 1.
Applying option vsync (video sync method) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url rtsp://root:MyPW@My_IP_Address:5541/live.sdp.
Successfully parsed a group of options.
........
[libx264 @ 0x55819256fc00] frame=24887 QP=17.51 NAL=2 Slice:P Poc:80 I:53 P:783 SKIP:38 size=8835 bytes
[libx264 @ 0x55819256fc00] frame=24888 QP=21.08 NAL=2 Slice:B Poc:76 I:0 P:219 SKIP:655 size=254 bytes
[h264 @ 0x5581925ca200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[image2 @ 0x558192485380] Opening './overlay_score_160.png' for reading
[file @ 0x7f32640080c0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x7f3264008140] Statistics: 1988 bytes read, 0 seeks
[Parsed_overlay_0 @ 0x5581927cbf00] n:20781.000000 t:831.281311 pos:nan x:2.000000 xi:2 y:1.000000 yi:0
[Parsed_overlay_1 @ 0x5581927cdf00] n:20781.000000 t:831.281311 pos:nan x:258.000000 xi:258 y:1.000000 yi:0
Clipping frame in rate conversion by 0.474174
[libx264 @ 0x55819256fc00] frame=24889 QP=22.84 NAL=0 Slice:B Poc:74 I:0 P:7 SKIP:867 size=36 bytes
[h264 @ 0x5581925e68c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[Parsed_overlay_0 @ 0x5581927cbf00] n:20782.000000 t:831.311122 pos:nan x:2.000000 xi:2 y:1.000000 yi:0
[Parsed_overlay_1 @ 0x5581927cdf00] n:20782.000000 t:831.311122 pos:nan x:258.000000 xi:258 y:1.000000 yi:0
Clipping frame in rate conversion by 0.580742
[libx264 @ 0x55819256fc00] frame=24890 QP=22.80 NAL=0 Slice:B Poc:78 I:0 P:190 SKIP:684 size=167 bytes
[h264 @ 0x558192603080] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[image2 @ 0x558192485380] Opening './overlay_score_160.png' for reading
[file @ 0x7f3264007f80] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x7f3264008300] Statistics: 1988 bytes read, 0 seeks
[Parsed_overlay_0 @ 0x5581927cbf00] n:20783.000000 t:831.351278 pos:nan x:2.000000 xi:2 y:1.000000 yi:0
[Parsed_overlay_1 @ 0x5581927cdf00] n:20783.000000 t:831.351278 pos:nan x:258.000000 xi:258 y:1.000000 yi:0
Clipping frame in rate conversion by 0.377281
[libx264 @ 0x55819256fc00] frame=24891 QP=17.17 NAL=2 Slice:P Poc:88 I:1 P:230 SKIP:643 size=806 bytes
frame=24917 fps= 30 q=24.0 size= 25410kB time=00:13:51.90 bitrate= 250.2kbits/s dup=6033 drop=1899 speed= 1x ^M[h264 @ 0x55819261f840] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[image2 @ 0x558192485380] Opening './overlay_score_160.png' for reading
[file @ 0x7f3264006d80] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x7f32640080c0] Statistics: 1988 bytes read, 0 seeks
[Parsed_overlay_0 @ 0x5581927cbf00] n:20784.000000 t:831.372222 pos:nan x:2.000000 xi:2 y:1.000000 yi:0
[Parsed_overlay_1 @ 0x5581927cdf00] n:20784.000000 t:831.372222 pos:nan x:258.000000 xi:258 y:1.000000 yi:0
Past duration 0.749565 too large
[libx264 @ 0x55819256fc00] frame=24892 QP=18.73 NAL=2 Slice:B Poc:84 I:0 P:29 SKIP:845 size=80 bytes
[h264 @ 0x55819263c000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[image2 @ 0x558192485380] Opening './overlay_score_160.png' for reading
[file @ 0x7f3264007f80] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x7f32640080c0] Statistics: 1988 bytes read, 0 seeks
[image2 @ 0x558192485380] Opening './overlay_score_160.png' for reading
[file @ 0x7f3264006d80] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x7f32640080c0] Statistics: 1988 bytes read, 0 seeksThen i get "Segmentation fault" and ffmpeg exits
-
MovieWriter ffmpeg unavailable ; trying to use instead
28 janvier 2021, par user6882757Is there any way to use moving plot without ffmpeg ?



import matplotlib.animation as animation
from IPython.display import HTML

fig, ax = plt.subplots(figsize=(15, 8))
animator = animation.FuncAnimation(fig, draw_barchart, frames=range(1968, 2019))
HTML(animator.to_jshtml()) 
animator.save('dynamic_images.mp4')




My code is above, I am getting the key error
.mp4'
,ValueError: unknown file extension: .mp4



I tried installing
conda install -c conda-forge ffmpeg
end up with SSL issue


- 

-
Is there any way to use moving plot without ffmpeg
-
As like error throwing is there any way to use 'matplotlib.animation.PillowWriter'







Disclaimer : I went through the link
https://www.wikihow.com/Install-FFmpeg-on-Windows
but the URL is blocked by the IT team

-