
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (7)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (2177)
-
QuTip Example 'bloch-sphere-animation' - video renders blank
15 juillet 2018, par damien murphy.On MacOSX Using Python3 running the following example code provided without modification : https://github.com/qutip/qutip-notebooks/blob/master/examples/bloch-sphere-animation.ipynb
I get a blank video and no errors.
I have installed libav and ffmpeg so I am not sure what else is missing with any error.
What codec did you install on mac when running these samples ?
Looking at the source of qutip I can see what it is using to render the video : https://github.com/qutip/qutip/blob/master/qutip/ipynbtools.py#L392
anim.save(name + '.mp4', fps=10, writer="avconv", codec="libx264")
I have avconv on the command line working without errors
This is the debug outout of matploylib.animation
INFO:matplotlib.animation:Animation.save using DEBUG:matplotlib.animation:frame
size in pixels is 576 x 576 INFO:matplotlib.animation:MovieWriter.run :
running command : [’avconv’, ’-f’, ’rawvideo’, ’-vcodec’, ’rawvideo’,
’-s’, ’576x576’, ’-pix_fmt’, ’rgba’, ’-r’, ’10’, ’-i’, ’pipe :’,
’-vcodec’, ’libx264’, ’-y’, ’movie.mp4’]
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter.grab_frame : Grabbing frame.
DEBUG:matplotlib.animation:MovieWriter — Command stdout : b’’
DEBUG:matplotlib.animation:MovieWriter — Command stderr : b"avconv
version 12.3, Copyright (c) 2000-2018 the Libav developers\n built on
Feb 13 2018 11:17:07 with Apple LLVM version 9.0.0
(clang-900.0.39.2)\n[rawvideo @ 0x7f963c000000] Estimating duration
from bitrate, this may be inaccurate\nInput #0, rawvideo, from
’pipe :’ :\n Duration : N/A, start : 0.000000, bitrate : N/A\n Stream0:0 : Video : rawvideo\n rgba, 576x576\n 10 fps, 10 tbn\nStream mapping :\n Stream #0:0 -> #0:0 (rawvideo (native) -> h264
(libx264))\nPress ctrl-c to stop encoding\n[libx264 @ 0x7f963e001800]
using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX\n[libx264 @
0x7f963e001800] profile High, level 2.2\n[libx264 @ 0x7f963e001800]
264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft
2003-2017 - http://www.videolan.org/x264.html - options : cabac=1 ref=3
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0
deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12
lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=10 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
aq=1:1.00\nOutput #0, mp4, to ’movie.mp4’ :\n Metadata :\n encoder
: Lavf57.7.2\n Stream #0:0 : Video : h264 [[33][0][0][0] / 0x0021]\n
yuv420p, 576x576, q=2-31\n 10 fps, 10 tbn\n Metadata :\n
encoder : Lavc57.25.0 libx264\n Side data :\n cpb :
bitrate max/min/avg : 0/0/0 buffer size : 0 vbv_delay : -1\nframe= 6
fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate=
0.0kbits/s \rframe= 10 fps= 8 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s \rframe= 13 fps= 7
q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
\rframe= 16 fps= 7 q=0.0 size= 0kB time=10000000000.00
bitrate= 0.0kbits/s \rframe= 19 fps= 6 q=0.0 size= 0kB
time=10000000000.00 bitrate= 0.0kbits/s \rframe= 22 fps= 6
q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
\rframe= 26 fps= 6 q=0.0 size= 0kB time=10000000000.00
bitrate= 0.0kbits/s \rframe= 30 fps= 6 q=0.0 size= 0kB
time=10000000000.00 bitrate= 0.0kbits/s \rframe= 33 fps= 6
q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
\rframe= 36 fps= 6 q=0.0 size= 0kB time=10000000000.00
bitrate= 0.0kbits/s \rframe= 39 fps= 6 q=0.0 size= 0kB
time=10000000000.00 bitrate= 0.0kbits/s \rframe= 42 fps= 6
q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
\rframe= 45 fps= 6 q=0.0 size= 0kB time=10000000000.00
bitrate= 0.0kbits/s \rframe= 48 fps= 6 q=0.0 size= 0kB
time=10000000000.00 bitrate= 0.0kbits/s \rframe= 51 fps= 6
q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
\rframe= 55 fps= 6 q=0.0 size= 0kB time=10000000000.00
bitrate= 0.0kbits/s \rframe= 59 fps= 6 q=25.0 size= 1kB
time=10000000000.00 bitrate= 0.0kbits/s \rframe= 63 fps= 6
q=25.0 size= 1kB time=0.40 bitrate= 19.8kbits/s \rframe=
67 fps= 6 q=25.0 size= 1kB time=0.80 bitrate= 10.9kbits/s
\rframe= 71 fps= 6 q=25.0 size= 1kB time=1.20 bitrate=
7.9kbits/s \rframe= 75 fps= 6 q=25.0 size= 1kB time=1.60 bitrate= 6.4kbits/s \rframe= 79 fps= 6 q=25.0 size= 1kB
time=2.00 bitrate= 5.5kbits/s \rframe= 82 fps= 6 q=25.0 size=
1kB time=2.30 bitrate= 5.0kbits/s \rframe= 86 fps= 6 q=25.0
size= 2kB time=2.70 bitrate= 4.6kbits/s \rframe= 90 fps=
6 q=25.0 size= 2kB time=3.10 bitrate= 4.2kbits/s \rframe=
93 fps= 6 q=25.0 size= 2kB time=3.40 bitrate= 4.0kbits/s
\rframe= 97 fps= 6 q=25.0 size= 2kB time=3.80 bitrate=
3.8kbits/s \rframe= 101 fps= 6 q=25.0 size= 2kB time=4.20 bitrate= 3.6kbits/s \rframe= 105 fps= 6 q=25.0 size= 2kB
time=4.60 bitrate= 3.4kbits/s \rframe= 109 fps= 6 q=25.0 size=
2kB time=5.00 bitrate= 3.3kbits/s \rframe= 112 fps= 6 q=25.0
size= 2kB time=5.30 bitrate= 3.2kbits/s \rframe= 116 fps=
6 q=25.0 size= 2kB time=5.70 bitrate= 3.2kbits/s \rframe=
120 fps= 6 q=25.0 size= 2kB time=6.10 bitrate= 3.1kbits/s
\rframe= 123 fps= 6 q=25.0 size= 2kB time=6.40 bitrate=
3.0kbits/s \rframe= 126 fps= 6 q=25.0 size= 2kB time=6.70 bitrate= 3.0kbits/s \rframe= 129 fps= 6 q=25.0 size= 2kB
time=7.00 bitrate= 2.9kbits/s \rframe= 132 fps= 6 q=25.0 size=
3kB time=7.30 bitrate= 2.9kbits/s \rframe= 135 fps= 6 q=25.0
size= 3kB time=7.60 bitrate= 2.8kbits/s \rframe= 138 fps=
6 q=25.0 size= 3kB time=7.90 bitrate= 2.8kbits/s \rframe=
141 fps= 6 q=25.0 size= 3kB time=8.20 bitrate= 2.8kbits/s
\rframe= 144 fps= 6 q=25.0 size= 3kB time=8.50 bitrate=
2.7kbits/s \rframe= 148 fps= 6 q=25.0 size= 3kB time=8.90 bitrate= 2.7kbits/s \rframe= 150 fps= 6 q=-1.0 Lsize= 7kB
time=14.70 bitrate= 4.1kbits/s \r\nvideo:4kB audio:0kB other
streams:0kB global headers:0kB muxing overhead : 74.948143%\n[libx264 @
0x7f963e001800] frame I:1 Avg QP : 6.00 size : 112\n[libx264 @
0x7f963e001800] frame P:38 Avg QP : 6.21 size : 30\n[libx264 @
0x7f963e001800] frame B:111 Avg QP : 9.67 size : 22\n[libx264 @
0x7f963e001800] consecutive B-frames : 1.3% 0.0% 0.0%
98.7%\n[libx264 @ 0x7f963e001800] mb I I16..4 : 100.0% 0.0% 0.0%\n[libx264 @ 0x7f963e001800] mb P I16..4 : 0.0% 0.0% 0.0% P16..4 : 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0%\n[libx264 @
0x7f963e001800] mb B I16..4 : 0.0% 0.0% 0.0% B16..8 : 0.0% 0.0%
0.0% direct : 0.0% skip:100.0%\n[libx264 @ 0x7f963e001800] 8x8 transform intra:0.0%\n[libx264 @ 0x7f963e001800] coded y,uvDC,uvAC
intra : 0.0% 0.0% 0.0% inter : 0.0% 0.0% 0.0%\n[libx264 @
0x7f963e001800] i16 v,h,dc,p : 97% 0% 3% 0%\n[libx264 @
0x7f963e001800] i8c dc,h,v,p : 100% 0% 0% 0%\n[libx264 @
0x7f963e001800] Weighted P-Frames : Y:0.0% UV:0.0%\n[libx264 @
0x7f963e001800] kb/s:1.95\n" -
Anomalie #4159 (Nouveau) : empêcher l’upgrade en 3.1 si le code n’est plus compatible avec la vers...
11 juillet 2018, par touti toutiConcernant la version PHP, il reste encore 49% des sites SPIP en PHP5.3 …
Il faudrait peut-être comme sur la 3.2 empêcher l’upgrade en 3.1 si il y a incompatibilité avec la version PHP ?
voir https://blog.spip.net/Statistiques-Mars-2018.html
et notamment https://blog.spip.net/local/cache-vignettes/L672xH398/repartition_php_2018-03-22-19445.png?153004875...
-
FFMpeg drawtext not working in my code
10 juillet 2018, par DevI am trying to overlay a text on existing movie using
FFMpeg
. Overlaying of an image works perfectly, but failed to drawtext. My code is as below.GeneralUtils.checkForPermissionsMAndAbove(RecordVideo.this, true);
LoadJNI vk = new LoadJNI();
String[] complexCommand = {
"ffmpeg", "-i", FilePath, "-vf",
"drawtext=text='Hello Dev..':"
+ "fontsize=24:fontfile=/system/fonts/DroidSans.ttf:box=1:boxcolor=black@0.5:x=w-tw:y=h-th",
FilePath1};
vk.run(complexCommand , StorageDIR , getApplicationContext());I am getting error as follows
ffmpeg version git-2016-10-26-efa89a8 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.9 (GCC) 20140827 (prerelease)
ffmpeg4android 3.22_00_full_LM322
libavutil 55. 35.100 / 55. 35.100
libavcodec 57. 65.100 / 57. 65.100
libavformat 57. 57.100 / 57. 57.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 66.100 / 6. 66.100
libswscale 4. 3.100 / 4. 3.100
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Splitting the commandline.
Reading option '-i' ... matched as input file with argument '/storage/emulated/0/Pictures/ReporterLive/VID_10072018141402.avi'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'drawtext=text='Hello Dev..':fontsize=24:fontfile=/system/fonts/DroidSans.ttf:box=1:boxcolor=black@0.5:x=w-tw:y=h-th'.
Reading option '/storage/emulated/0/Pictures/ReporterLive/VID_10072018141402_1.avi' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Successfully parsed a group of options.
Parsing a group of options: input file /storage/emulated/0/Pictures/ReporterLive/VID_10072018141402.avi.
Successfully parsed a group of options.
Opening an input file: /storage/emulated/0/Pictures/ReporterLive/VID_10072018141402.avi.
Setting default whitelist 'file,crypto'
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048
Probing mp3 score:1 size:2048
Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
type: 70797466 'ftyp' parent:'root' sz: 24 8 3096055
ISO: File Type Major Brand: mp42
type: 7461646d 'mdat' parent:'root' sz: 3093790 32 3096055
type: 766f6f6d 'moov' parent:'root' sz: 2241 3093822 3096055
type: 6468766d 'mvhd' parent:'moov' sz: 108 8 2233
time scale = 1000
type: 61746475 'udta' parent:'moov' sz: 52 116 2233
type: 4e4c4453 'SDLN' parent:'udta' sz: 16 8 44
type: 64726d73 'smrd' parent:'udta' sz: 16 24 44
type: 61746d73 'smta' parent:'udta' sz: 12 40 44
type: 6174656d 'meta' parent:'moov' sz: 119 168 2233
type: 726c6468 'hdlr' parent:'meta' sz: 33 8 111
ctype= (0x00000000)
stype= mdta
type: 7379656b 'keys' parent:'meta' sz: 43 41 111
type: 74736c69 'ilst' parent:'meta' sz: 35 84 111
type: 01000000 '' parent:'ilst' sz: 27 8 27
lang " " tag "com.android.version" value "7.0" atom "" 7 3
type: 6b617274 'trak' parent:'moov' sz: 1023 287 2233
type: 64686b74 'tkhd' parent:'trak' sz: 92 8 1015
type: 6169646d 'mdia' parent:'trak' sz: 923 100 1015
type: 6468646d 'mdhd' parent:'mdia' sz: 32 8 915
type: 726c6468 'hdlr' parent:'mdia' sz: 44 40 915
ctype= (0x00000000)
stype= vide
type: 666e696d 'minf' parent:'mdia' sz: 839 84 915
type: 64686d76 'vmhd' parent:'minf' sz: 20 8 831
type: 666e6964 'dinf' parent:'minf' sz: 36 28 831
type: 66657264 'dref' parent:'dinf' sz: 28 8 28
type url size 12
Unknown dref type 0x08206c7275 size 12
type: 6c627473 'stbl' parent:'minf' sz: 775 64 831
type: 64737473 'stsd' parent:'stbl' sz: 171 8 767
size=155 4CC= avc1/0x31637661 codec_type=0
type: 43637661 'avcC' parent:'stsd' sz: 34 8 69
type: 70736170 'pasp' parent:'stsd' sz: 16 42 69
type: 726c6f63 'colr' parent:'stsd' sz: 19 58 69
nclx: pri 1 trc 1 matrix 1 full 0
type: 73747473 'stts' parent:'stbl' sz: 304 179 767
track[0].stts.entries = 36
sample_count=1, sample_duration=5942
.
sample_count=2, sample_duration=5401
type: 73737473 'stss' parent:'stbl' sz: 24 483 767
keyframe_count = 2
type: 7a737473 'stsz' parent:'stbl' sz: 188 507 767
sample_size = 0 sample_count = 42
type: 63737473 'stsc' parent:'stbl' sz: 52 695 767
track[0].stsc.entries = 3
type: 6f637473 'stco' parent:'stbl' sz: 28 747 767
AVIndex stream 0, sample 0, offset 831f, dts 0, size 212746, distance 0, keyframe 1
.
AVIndex stream 0, sample 41, offset 2e28a5, dts 221935, size 68753, distance 11, keyframe 0
type: 6b617274 'trak' parent:'moov' sz: 931 1310 2233
type: 64686b74 'tkhd' parent:'trak' sz: 92 8 923
type: 6169646d 'mdia' parent:'trak' sz: 831 100 923
type: 6468646d 'mdhd' parent:'mdia' sz: 32 8 823
type: 726c6468 'hdlr' parent:'mdia' sz: 44 40 823
ctype= (0x00000000)
stype= soun
type: 666e696d 'minf' parent:'mdia' sz: 747 84 823
type: 64686d73 'smhd' parent:'minf' sz: 16 8 739
type: 666e6964 'dinf' parent:'minf' sz: 36 24 739
type: 66657264 'dref' parent:'dinf' sz: 28 8 28
type url size 12
Unknown dref type 0x08206c7275 size 12
type: 6c627473 'stbl' parent:'minf' sz: 687 60 739
type: 64737473 'stsd' parent:'stbl' sz: 91 8 679
size=75 4CC= mp4a/0x6134706d codec_type=1
audio channels 2
version =0, isom =1
type: 73647365 'esds' parent:'stsd' sz: 39 8 39
MPEG-4 description: tag=0x03 len=25
MPEG-4 description: tag=0x04 len=17
esds object type id 0x40
MPEG-4 description: tag=0x05 len=2
Specific MPEG-4 header len=2
mp4a config channels 2 obj 2 ext obj 0 sample rate 48000 ext sample rate 0
type: 73747473 'stts' parent:'stbl' sz: 32 99 679
track[1].stts.entries = 2
sample_count=1, sample_duration=1024
sample_count=113, sample_duration=1024
type: 7a737473 'stsz' parent:'stbl' sz: 476 131 679
sample_size = 0 sample_count = 114
type: 63737473 'stsc' parent:'stbl' sz: 52 607 679
track[1].stsc.entries = 3
type: 6f637473 'stco' parent:'stbl' sz: 28 659 679
AVIndex stream 1, sample 0, offset 20, dts 0, size 682, distance 0, keyframe 1
AVIndex stream 1, sample 1, offset 2ca, dts 1024, size 683, distance 0, keyframe 1
.
AVIndex stream 1, sample 99, offset 28939d, dts 101376, size 682, distance 0, keyframe 1
.
AVIndex stream 1, sample 113, offset 28b8f2, dts 115712, size 683, distance 0, keyframe 1
on_parse_exit_offset=3096055
rfps: 16.500000 0.014060
rfps: 16.583333 0.003530
rfps: 16.666667 0.000000
rfps: 16.666667 0.000000
rfps: 16.750000 0.003470
rfps: 16.750000 0.003470
rfps: 16.833333 0.013939
rfps: 50.000000 0.000001
rfps: 50.000000 0.000001
Before avformat_find_stream_info() pos: 3096055 bytes read:35009 seeks:1 nb_streams:2
nal_unit_type: 7, nal_ref_idc: 3
nal_unit_type: 8, nal_ref_idc: 3
stream 0, sample 0, dts 0
.
stream 1, sample 47, dts 1002667
nal_unit_type: 5, nal_ref_idc: 3
Reinit context to 1920x1088, pix_fmt: yuv420p
All info found
stream 0: start_time: 0.000 duration: 2.526
stream 1: start_time: 0.000 duration: 2.432
format: start_time: 0.000 duration: 2.520 bitrate=9828 kb/s
After avformat_find_stream_info() pos: 246313 bytes read:281290 seeks:2 frames:48
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Pictures/ReporterLive/VID_10072018141402.avi':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2018-07-10T08:44:06.000000Z
com.android.version: 7.0
Duration: 00:00:02.52, start: 0.000000, bitrate: 9828 kb/s
Stream #0:0(eng), 1, 1/90000: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 9551 kb/s, SAR 1:1 DAR 16:9, 16.63 fps, 16.67 tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2018-07-10T08:44:06.000000Z
handler_name : VideoHandle
Stream #0:1(eng), 47, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 256 kb/s (default)
Metadata:
creation_time : 2018-07-10T08:44:06.000000Z
handler_name : SoundHandle
Successfully opened the file.
Parsing a group of options: output file /storage/emulated/0/Pictures/ReporterLive/VID_10072018141402_1.avi.
Applying option vf (set video filters) with argument drawtext=text='Hello Dev..':fontsize=24:fontfile=/system/fonts/DroidSans.ttf:box=1:boxcolor=black@0.5:x=w-tw:y=h-th.
Successfully parsed a group of options.
Opening an output file: /storage/emulated/0/Pictures/ReporterLive/VID_10072018141402_1.avi.
Setting default whitelist 'file,crypto'
Successfully opened the file.
No such filter: 'drawtext'
Error opening filters!
Statistics: 0 seeks, 0 writeouts
Statistics: 281290 bytes read, 2 seeksCan anyone tell what I am doing wrong ? I want to do it in the simplest form.