
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (75)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (5107)
-
I want to use image as a background of a drawtext video using ffmpeg
8 janvier 2018, par FemzyCurrently i am able to create video with ffmpeg using the drawtext filters to draw text on a black background Now Remain one thing that seems difficult to me, I thought it would be easy until i come to discover i don’t got it right. I want to use an image as background for the drawtext filters. I.e I want to use image as background of the video instead of using the background color or video background. Please someone should take me through on this this is my code `
echo shell_exec('ffmpeg -f lavfi -i color=color=black -vf drawtext="textfile=text.txt:expansion=normal:fontfile=FreeSerif.otf: y=h-line_h-20:x=-100*t: fontcolor=white: fontsize=50" -t '.$words_count.' textover09.mp4 -report'); `
ffmpeg started on 2018-01-07 at 22:53:03
Report written to "ffmpeg-20180107-225303.log"
Command line:
ffmpeg -loop 1 -i elena.jpg -vf "drawtext=textfile=text.txt:expansion=normal:fontfile=FreeSerif.otf: y=h-line_h-20:x=-100*t: fontcolor=white: fontsize=50" -t 46.2 textover09.mp4 -report
ffmpeg version git-2017-12-28-be4dfbf Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)
configuration: --prefix=/usr/local/ffmpeg --extra-cflags=-I/usr/local/ffmpeg/include --extra-ldflags=-L/usr/local/ffmpeg/lib --bindir=/usr/local/bin --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libx264 --enable-libtheora --enable-filter=drawtext --enable-libfreetype
libavutil 56. 7.100 / 56. 7.100
libavcodec 58. 9.100 / 58. 9.100
libavformat 58. 3.100 / 58. 3.100
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 8.100 / 7. 8.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Splitting the commandline.
Reading option '-loop' ... matched as AVOption 'loop' with argument '1'.
Reading option '-i' ... matched as input url with argument 'elena.jpg'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'drawtext=textfile=text.txt:expansion=normal:fontfile=FreeSerif.otf: y=h-line_h-20:x=-100*t: fontcolor=white: fontsize=50'.
Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '46.2'.
Reading option 'textover09.mp4' ... matched as output url.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url elena.jpg.
Successfully parsed a group of options.
Opening an input file: elena.jpg.
[NULL @ 0x2c1fe80] Opening 'elena.jpg' for reading
[file @ 0x2c207c0] Setting default whitelist 'file,crypto'
[image2 @ 0x2c1fe80] Format image2 probed with size=2048 and score=50
[image2 @ 0x2c1fe80] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:1
[image2 @ 0x2c1fe80] Opening 'elena.jpg' for reading
[AVIOContext @ 0x2c21f80] Statistics: 3871771 bytes read, 0 seeks
[mjpeg @ 0x2c21940] marker=d8 avail_size_in_buf=3871769
[mjpeg @ 0x2c21940] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x2c21940] marker=e0 avail_size_in_buf=3871767
[mjpeg @ 0x2c21940] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x2c21940] marker=e2 avail_size_in_buf=3871749
[mjpeg @ 0x2c21940] marker parser used 3160 bytes (25280 bits)
[mjpeg @ 0x2c21940] marker=db avail_size_in_buf=3868587
[mjpeg @ 0x2c21940] index=0
[mjpeg @ 0x2c21940] qscale[0]: 2
[mjpeg @ 0x2c21940] index=1
[mjpeg @ 0x2c21940] qscale[1]: 2
[mjpeg @ 0x2c21940] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x2c21940] marker=c0 avail_size_in_buf=3868453
[mjpeg @ 0x2c21940] Changing bps from 0 to 8
[mjpeg @ 0x2c21940] sof0: picture: 5616x3744
[mjpeg @ 0x2c21940] component 0 2:2 id: 0 quant:0
[mjpeg @ 0x2c21940] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x2c21940] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x2c21940] pix fmt id 22111100
[mjpeg @ 0x2c21940] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x2c21940] marker=c4 avail_size_in_buf=3868434
[mjpeg @ 0x2c21940] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x2c21940] escaping removed 6222 bytes
[mjpeg @ 0x2c21940] marker=da avail_size_in_buf=3868014
[mjpeg @ 0x2c21940] marker parser used 3861792 bytes (30894336 bits)
[mjpeg @ 0x2c21940] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x2c22540] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x2c22540] marker=c0 avail_size_in_buf=3868453
[mjpeg @ 0x2c22540] sof0: picture: 5616x3744
[mjpeg @ 0x2c22540] component 0 2:2 id: 0 quant:0
[mjpeg @ 0x2c22540] component 1 1:1 id: 1 quant:1
[libx264 @ 0x2c24c40] i16 v,h,dc,p: 40% 53% 4% 3%
[libx264 @ 0x2c24c40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 10% 27% 7% 9% 8% 8% 9% 11%
[libx264 @ 0x2c24c40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 12% 11% 6% 9% 11% 7% 9% 6%
[libx264 @ 0x2c24c40] i8c dc,h,v,p: 53% 17% 21% 8%
[libx264 @ 0x2c24c40] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x2c24c40] ref P L0: 56.3% 9.9% 21.1% 12.8%
[libx264 @ 0x2c24c40] ref B L0: 74.5% 22.4% 3.1%
[libx264 @ 0x2c24c40] ref B L1: 98.3% 1.7%
[libx264 @ 0x2c24c40] kb/s:4673.55
[AVIOContext @ 0x2c28ac0] Statistics: 32768 bytes read, 0 seeks -
FFmpeg Repeat/loop video two times
23 juin 2018, par Praveen TamilHi I would like to repeat the source video n times.
For example,
If the input source file duration is 5 seconds and repeat 4 times then final video should 20 seconds.Please specify the command for this
ffmpeg -i D:\21-03-2018\15271618235b06a3df9d5cb.mp4 -loop 4 D:\21-03-2018\output.mp4
-
ffmpeg : trsfer a h264 video to a series of jpg failed
21 juin 2018, par 徐立派me and a partner are trying to transfer a h264 video to a series of images using ffmpeg with the following command line :
ffmpeg -i input.h264 -qscale:v 2 output_%03d.jpg
The input.h264 can be played perfectly on vlc, but the images generated by ffmpeg are just all black. The message in the console are below :
ffmpeg version 3.4.2-2 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu2)
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
[h264 @ 0x562ab2afd9e0] error while decoding MB 54 2, bytestream -16
[h264 @ 0x562ab2afd9e0] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2afd9e0] error while decoding MB 2 9, bytestream 6907
[h264 @ 0x562ab2afd9e0] concealing 1275 DC, 1275 AC, 1275 MV errors in P frame
[h264 @ 0x562ab2afd9e0] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2afd9e0] error while decoding MB 27 0, bytestream 5564
[h264 @ 0x562ab2afd9e0] deblocking filter parameters 7 13 out of range
[h264 @ 0x562ab2afd9e0] decode_slice_header error
[h264 @ 0x562ab2afd9e0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
[h264 @ 0x562ab2afd9e0] deblocking filter parameters 7 -14 out of range
[h264 @ 0x562ab2afd9e0] decode_slice_header error
[h264 @ 0x562ab2afd9e0] concealing 1387 DC, 1387 AC, 1387 MV errors in P frame
[h264 @ 0x562ab2afd9e0] deblocking filter parameters -7 0 out of range
[h264 @ 0x562ab2afd9e0] decode_slice_header error
[h264 @ 0x562ab2afd9e0] concealing 1413 DC, 1413 AC, 1413 MV errors in P frame
[h264 @ 0x562ab2afd9e0] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2afd9e0] error while decoding MB 9 0, bytestream 6647
[h264 @ 0x562ab2afd9e0] concealing 1186 DC, 1186 AC, 1186 MV errors in P frame
[h264 @ 0x562ab2afd9e0] top block unavailable for requested intra mode
[h264 @ 0x562ab2afd9e0] error while decoding MB 16 9, bytestream 6182
[h264 @ 0x562ab2afd9e0] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2afd9e0] error while decoding MB 6 18, bytestream 7043
[h264 @ 0x562ab2afd9e0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
[h264 @ 0x562ab2afc8c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, h264, from 'temp_file.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuvj420p(pc, progressive), 1280x720, 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[h264 @ 0x562ab2b2f900] error while decoding MB 54 2, bytestream -16
[h264 @ 0x562ab2b2f900] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2b2f900] error while decoding MB 2 9, bytestream 6907
[h264 @ 0x562ab2b2f900] concealing 1275 DC, 1275 AC, 1275 MV errors in P frame
[h264 @ 0x562ab2b01080] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2b01080] error while decoding MB 27 0, bytestream 5564
[h264 @ 0x562ab2b01080] deblocking filter parameters 7 13 out of range
[h264 @ 0x562ab2b01080] decode_slice_header error
[h264 @ 0x562ab2b01080] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
[h264 @ 0x562ab2c49240] deblocking filter parameters 7 -14 out of range
[h264 @ 0x562ab2c49240] decode_slice_header error
[h264 @ 0x562ab2c49240] concealing 1387 DC, 1387 AC, 1387 MV errors in P frame
Output #0, image2, to 'output_%03d.jpg':
Metadata:
encoder : Lavf57.83.100
Stream #0:0: Video: mjpeg, yuvj420p(pc), 1280x720, q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
Metadata:
encoder : Lavc57.107.100 mjpeg
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
[h264 @ 0x562ab2b7fec0] deblocking filter parameters -7 0 out of range
[h264 @ 0x562ab2b7fec0] decode_slice_header error
[h264 @ 0x562ab2b7fec0] concealing 1413 DC, 1413 AC, 1413 MV errors in P frame
[h264 @ 0x562ab2c15240] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2c15240] error while decoding MB 9 0, bytestream 6647
[h264 @ 0x562ab2c15240] concealing 1186 DC, 1186 AC, 1186 MV errors in P frame
[h264 @ 0x562ab2c315a0] top block unavailable for requested intra mode
[h264 @ 0x562ab2c315a0] error while decoding MB 16 9, bytestream 6182
[h264 @ 0x562ab2c315a0] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2c315a0] error while decoding MB 6 18, bytestream 7043
[h264 @ 0x562ab2c315a0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
[h264 @ 0x562ab2c447a0] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2c447a0] error while decoding MB 12 9, bytestream 6863
[h264 @ 0x562ab2c447a0] concealing 1342 DC, 1342 AC, 1342 MV errors in P frame
[h264 @ 0x562ab2bb9180] top block unavailable for requested intra mode
[h264 @ 0x562ab2bb9180] error while decoding MB 29 18, bytestream 6611
[h264 @ 0x562ab2bb9180] concealing 1405 DC, 1405 AC, 1405 MV errors in P frame
[h264 @ 0x562ab2bd54e0] top block unavailable for requested intra mode
[h264 @ 0x562ab2bd54e0] error while decoding MB 25 9, bytestream 6051
[h264 @ 0x562ab2bd54e0] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2bd54e0] error while decoding MB 70 18, bytestream 5088
[h264 @ 0x562ab2bd54e0] concealing 1419 DC, 1419 AC, 1419 MV errors in P frame
[h264 @ 0x562ab2bf1840] top block unavailable for requested intra mode
[h264 @ 0x562ab2bf1840] error while decoding MB 14 9, bytestream 6071
[h264 @ 0x562ab2bf1840] deblocking filter parameters -9 0 out of range
[h264 @ 0x562ab2bf1840] decode_slice_header error
[h264 @ 0x562ab2bf1840] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
[h264 @ 0x562ab318e0a0] top block unavailable for requested intra mode -1
[h264 @ 0x562ab318e0a0] error while decoding MB 54 9, bytestream 4422
[h264 @ 0x562ab318e0a0] concealing 1256 DC, 1256 AC, 1256 MV errors in P frame
[h264 @ 0x562ab31aa020] top block unavailable for requested intra mode -1
[h264 @ 0x562ab31aa020] error while decoding MB 22 9, bytestream 5862
[h264 @ 0x562ab31aa020] concealing 1335 DC, 1335 AC, 1335 MV errors in P frame
[h264 @ 0x562ab2d5a8c0] deblocking filter parameters 7 -4 out of range
[h264 @ 0x562ab2d5a8c0] decode_slice_header error
[h264 @ 0x562ab2d5a8c0] concealing 1430 DC, 1430 AC, 1430 MV errors in P frame
[h264 @ 0x562ab2b2f900] concealing 1319 DC, 1319 AC, 1319 MV errors in P frame
[h264 @ 0x562ab2b01080] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2b01080] error while decoding MB 16 9, bytestream 6218
[h264 @ 0x562ab2b01080] concealing 1416 DC, 1416 AC, 1416 MV errors in P frame
[h264 @ 0x562ab2c49240] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2c49240] error while decoding MB 12 0, bytestream 6854
[h264 @ 0x562ab2c49240] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2c49240] error while decoding MB 2 9, bytestream 7092
[h264 @ 0x562ab2c49240] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
[h264 @ 0x562ab2b7fec0] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2b7fec0] error while decoding MB 59 0, bytestream 4955
[h264 @ 0x562ab2b7fec0] deblocking filter parameters 7 15 out of range
[h264 @ 0x562ab2b7fec0] decode_slice_header error
[h264 @ 0x562ab2b7fec0] concealing 1430 DC, 1430 AC, 1430 MV errors in P frame
[h264 @ 0x562ab2c15240] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2c15240] error while decoding MB 34 0, bytestream 5338
[h264 @ 0x562ab2c15240] deblocking filter parameters 7 13 out of range
[h264 @ 0x562ab2c15240] decode_slice_header error
[h264 @ 0x562ab2c15240] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
[h264 @ 0x562ab2c315a0] concealing 1344 DC, 1344 AC, 1344 MV errors in P frame
[h264 @ 0x562ab2c447a0] top block unavailable for requested intra mode -1
[h264 @ 0x562ab2c447a0] error while decoding MB 49 9, bytestream 4992
[h264 @ 0x562ab2c447a0] concealing 1228 DC, 1228 AC, 1228 MV errors in P frame
frame= 21 fps=0.0 q=2.0 Lsize=N/A time=00:00:00.70 bitrate=N/A speed=1.31x
video:601kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknownHowever, this command works perfectly fine on random h264 videoes on the internet, so I guess there may be something wrong with our h264 video, but the weird thing is that it can be played by vlc player just fine...
Any idea what the problem can be ? Any help will be appreciated !