Recherche avancée

Médias (1)

Mot : - Tags -/ipad

Autres articles (108)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (8261)

  • I want to use image as a background of a drawtext video using ffmpeg

    8 janvier 2018, par Femzy

    Currently 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 on Ubuntu-Linux - compile fails

    3 janvier 2018, par A.b.t.13

    (First of all i would like to sorry for any grammar mistakes, and to mention that I’m pretty much new to Linux :))
    I’m having a really hard time trying to compile all the files related to the ’ffmpeg’ command-line tool in my Ubuntu-16.04 environment.

    I’ve download the ffmpeg files from this link - http://www.ffmpeg.org/
    extracted the files, and installed it by the instruction that supplied in the INSTALL.md file inside the folder.

    The process went well, but when i tried to run by this example :

    ffmpeg -i band_8k8k_3dv_projection.mp4 -filter_complex "[0:v]split=13[pr1][pr2][pr3][pr4][pr5][pr6][pr7][pr8][pr9][pr10][pr11][pr12][pr13] ;[pr1]crop=2048:2048:0:0[crp1] ;[pr2]crop=2048:2048:2048:0[crp2] ;[pr3]crop=2048:2048:4096:0[crp3] ;[pr4]crop=2048:2048:0:2048[crp4] ;[pr5]crop=2048:2048:2048:2048[crp5] ;[pr6]crop=2048:2048:4096:2048[crp6] ;[pr7]crop=2048:2048:0:4096[crp7] ;[pr8]crop=2048:2048:2048:4096[crp8] ;[pr9]crop=2048:2048:4096:4096[crp9] ;[pr10]crop=2048:2048:0:6144[crp10] ;[pr11]crop=2048:2048:2048:6144[crp11] ;[pr12]crop=2048:2048:4096:6144[crp12] ;[pr13]scale=6144:h=8192[pr13s] ;[pr13s][crp1]overlay=4096:0[ov1] ;[ov1][crp2]overlay=0:0[ov2] ;[ov2][crp3]overlay=4096:2048[ov3] ;[ov3][crp4]overlay=2048:2048[ov4] ;[ov4][crp5]overlay=2048:0[ov5] ;[ov5][crp6]overlay=0:2048[ov6] ;[ov6][crp7]overlay=4096:4096[ov7] ;[ov7][crp8]overlay=0:4096[ov8] ;[ov8][crp9]overlay=4096:6144[ov9] ;[ov9][crp10]overlay=2048:6144[ov10] ;[ov10][crp11]overlay=2048:4096[ov11] ;[ov11][crp12]overlay=0:6144[first] ;[first]split=22[prj1][prj2][prj3][prj4][prj5][prj6][prj7][prj8][prj9][prj10][prj11][prj12][prj13][prj14][prj15][prj16][prj17][prj18][prj19][prj20][prj21][prj22] ;[prj1]crop=1034:1034:0:0,pad=iw*2:ih[pd1] ; [prj2]crop=1034:1034:0:0[cp1] ; [pd1][cp1]overlay=w, scale=1504:h=464,setsar=1/1[crop1] ;[prj3]crop=1034:1034:0:0,pad=iw*2:ih[pd2] ; [prj4]crop=1034:1034:0:0[cp2] ; [pd2][cp2]overlay=w, scale=1504:h=464,setsar=1/1[crop2] ;[prj5]crop=1034:1034:0:0,pad=iw*2:ih[pd3] ; [prj6]crop=1034:1034:0:0[cp3] ; [pd3][cp3]overlay=w, scale=1504:h=464,setsar=1/1[crop3] ;[prj7]crop=1034:1034:0:0,pad=iw*2:ih[pd4] ; [prj8]crop=1034:1034:0:4096[cp4] ; [pd4][cp4]overlay=w, scale=1504:h=464,setsar=1/1[crop4] ;[prj9]crop=1034:1034:1014:0,pad=iw*2:ih[pd5] ; [prj10]crop=1034:1034:1014:4096[cp5] ; [pd5][cp5]overlay=w, scale=1504:h=464,setsar=1/1[crop5] ;[prj11]crop=1034:1034:2048:0,pad=iw*2:ih[pd6] ; [prj12]crop=1034:1034:2048:4096[cp6] ; [pd6][cp6]overlay=w, scale=1504:h=464,setsar=1/1[crop6] ;[prj13]crop=1034:1034:3062:0,pad=iw*2:ih[pd7] ; [prj14]crop=1034:1034:3062:4096[cp7] ; [pd7][cp7]overlay=w, scale=1504:h=464,setsar=1/1[crop7] ;[prj15]crop=1034:1034:4096:0,pad=iw*2:ih[pd8] ; [prj16]crop=1034:1034:4096:4096[cp8] ; [pd8][cp8]overlay=w, scale=1504:h=464,setsar=1/1[crop8] ;[prj17]crop=1034:1034:5110:0,pad=iw*2:ih[pd9] ; [prj18]crop=1034:1034:5110:4096[cp9] ; [pd9][cp9]overlay=w, scale=1504:h=464,setsar=1/1[crop9] ;[prj19]crop=1034:1034:0:1014,pad=iw*2:ih[pd10] ; [prj20]crop=1034:1034:0:5110[cp10] ; [pd10][cp10]overlay=w, scale=1504:h=464,setsar=1/1[crop10] ;[prj21]crop=1034:1034:1014:1014,pad=iw*2:ih[pd11] ; [prj22]crop=1034:1034:1014:5110[cp11] ; [pd11][cp11]overlay=w, scale=1504:h=464,setsar=1/1[crop11] ;[crop1]pad=iw:480*11,split=2[paded1][paded1a] ;[paded1][crop2]overlay=0:480*1[paded2] ;[paded2][crop3]overlay=0:480*2[paded3] ;[paded3][crop4]overlay=0:480*3[paded4] ;[paded4][crop5]overlay=0:480*4[paded5] ;[paded5][crop6]overlay=0:480*5[paded6] ;[paded6][crop7]overlay=0:480*6[paded7] ;[paded7][crop8]overlay=0:480*7[paded8] ;[paded8][crop9]overlay=0:480*8[paded9] ;[paded9][crop10]overlay=0:480*9[paded10] ;[paded10][crop11]overlay=0:480*10[out_no_black0] ;[paded1a]crop=1504:480,split=3[black0][black1][black2] ;[out_no_black0][black0]overlay=0:480*0[out_no_black1] ;[out_no_black1][black1]overlay=0:480*1[out_no_black2] ;[out_no_black2][black2]overlay=0:480*2[out_no_black3] ;[out_no_black3]crop=in_w:in_h" -preset slow -r 30 -pix_fmt yuv420p -movflags +faststart -coder 1 -cmp chroma -me_range 48 -me_method umh -subq 9 -refs 6 -b_strategy 2 -bf 16 -flags +loop+mv4+cgop -flags2 +local_header -forced-idr 1 -threads 0 -c:v libx264 -profile:v high -level 5.1 -x264opts "keyint=30:no-scenecut:min-keyint=30:fps=30" -b:v 70000k -maxrate 70000k -bufsize 140000k -slices 11 -c:a copy -f mp4 "band_8k8k_3dv_line_0_70000k.mp4" -y

    I’ve got this error :
    enter image description here

    I’ve looked for this problem, and found out that this unrecognized option may related to the lack of the library called "libx264".
    According to instruction i’ve found in this link - http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

    I configured the ffmpeg again with those flags —enable-gpl —enable-libx264 , installed th libx264 by this command - sudo apt-get install libx264-dev, all of those action went well, but when i try to compile it all together - i do it by running the command of ’make -j 10’ or just ’make’, when i’m inside the folder where all of the ffmpeg files are extracted to, i face this error -
    enter image description here

    Thanks for anyone who could help !

  • ffmpeg on Ubuntu-Linux - compile fails

    3 janvier 2018, par A.b.t.13

    (First of all i would like to sorry for any grammar mistakes, and to mention that I’m pretty much new to Linux :))
    I’m having a really hard time trying to compile all the files related to the ’ffmpeg’ command-line tool in my Ubuntu-16.04 environment.

    I’ve download the ffmpeg files from this link - http://www.ffmpeg.org/
    extracted the files, and installed it by the instruction that supplied in the INSTALL.md file inside the folder.

    The process went well, but when i tried to run by this example :

    ffmpeg -i band_8k8k_3dv_projection.mp4 -filter_complex "[0:v]split=13[pr1][pr2][pr3][pr4][pr5][pr6][pr7][pr8][pr9][pr10][pr11][pr12][pr13] ;[pr1]crop=2048:2048:0:0[crp1] ;[pr2]crop=2048:2048:2048:0[crp2] ;[pr3]crop=2048:2048:4096:0[crp3] ;[pr4]crop=2048:2048:0:2048[crp4] ;[pr5]crop=2048:2048:2048:2048[crp5] ;[pr6]crop=2048:2048:4096:2048[crp6] ;[pr7]crop=2048:2048:0:4096[crp7] ;[pr8]crop=2048:2048:2048:4096[crp8] ;[pr9]crop=2048:2048:4096:4096[crp9] ;[pr10]crop=2048:2048:0:6144[crp10] ;[pr11]crop=2048:2048:2048:6144[crp11] ;[pr12]crop=2048:2048:4096:6144[crp12] ;[pr13]scale=6144:h=8192[pr13s] ;[pr13s][crp1]overlay=4096:0[ov1] ;[ov1][crp2]overlay=0:0[ov2] ;[ov2][crp3]overlay=4096:2048[ov3] ;[ov3][crp4]overlay=2048:2048[ov4] ;[ov4][crp5]overlay=2048:0[ov5] ;[ov5][crp6]overlay=0:2048[ov6] ;[ov6][crp7]overlay=4096:4096[ov7] ;[ov7][crp8]overlay=0:4096[ov8] ;[ov8][crp9]overlay=4096:6144[ov9] ;[ov9][crp10]overlay=2048:6144[ov10] ;[ov10][crp11]overlay=2048:4096[ov11] ;[ov11][crp12]overlay=0:6144[first] ;[first]split=22[prj1][prj2][prj3][prj4][prj5][prj6][prj7][prj8][prj9][prj10][prj11][prj12][prj13][prj14][prj15][prj16][prj17][prj18][prj19][prj20][prj21][prj22] ;[prj1]crop=1034:1034:0:0,pad=iw*2:ih[pd1] ; [prj2]crop=1034:1034:0:0[cp1] ; [pd1][cp1]overlay=w, scale=1504:h=464,setsar=1/1[crop1] ;[prj3]crop=1034:1034:0:0,pad=iw*2:ih[pd2] ; [prj4]crop=1034:1034:0:0[cp2] ; [pd2][cp2]overlay=w, scale=1504:h=464,setsar=1/1[crop2] ;[prj5]crop=1034:1034:0:0,pad=iw*2:ih[pd3] ; [prj6]crop=1034:1034:0:0[cp3] ; [pd3][cp3]overlay=w, scale=1504:h=464,setsar=1/1[crop3] ;[prj7]crop=1034:1034:0:0,pad=iw*2:ih[pd4] ; [prj8]crop=1034:1034:0:4096[cp4] ; [pd4][cp4]overlay=w, scale=1504:h=464,setsar=1/1[crop4] ;[prj9]crop=1034:1034:1014:0,pad=iw*2:ih[pd5] ; [prj10]crop=1034:1034:1014:4096[cp5] ; [pd5][cp5]overlay=w, scale=1504:h=464,setsar=1/1[crop5] ;[prj11]crop=1034:1034:2048:0,pad=iw*2:ih[pd6] ; [prj12]crop=1034:1034:2048:4096[cp6] ; [pd6][cp6]overlay=w, scale=1504:h=464,setsar=1/1[crop6] ;[prj13]crop=1034:1034:3062:0,pad=iw*2:ih[pd7] ; [prj14]crop=1034:1034:3062:4096[cp7] ; [pd7][cp7]overlay=w, scale=1504:h=464,setsar=1/1[crop7] ;[prj15]crop=1034:1034:4096:0,pad=iw*2:ih[pd8] ; [prj16]crop=1034:1034:4096:4096[cp8] ; [pd8][cp8]overlay=w, scale=1504:h=464,setsar=1/1[crop8] ;[prj17]crop=1034:1034:5110:0,pad=iw*2:ih[pd9] ; [prj18]crop=1034:1034:5110:4096[cp9] ; [pd9][cp9]overlay=w, scale=1504:h=464,setsar=1/1[crop9] ;[prj19]crop=1034:1034:0:1014,pad=iw*2:ih[pd10] ; [prj20]crop=1034:1034:0:5110[cp10] ; [pd10][cp10]overlay=w, scale=1504:h=464,setsar=1/1[crop10] ;[prj21]crop=1034:1034:1014:1014,pad=iw*2:ih[pd11] ; [prj22]crop=1034:1034:1014:5110[cp11] ; [pd11][cp11]overlay=w, scale=1504:h=464,setsar=1/1[crop11] ;[crop1]pad=iw:480*11,split=2[paded1][paded1a] ;[paded1][crop2]overlay=0:480*1[paded2] ;[paded2][crop3]overlay=0:480*2[paded3] ;[paded3][crop4]overlay=0:480*3[paded4] ;[paded4][crop5]overlay=0:480*4[paded5] ;[paded5][crop6]overlay=0:480*5[paded6] ;[paded6][crop7]overlay=0:480*6[paded7] ;[paded7][crop8]overlay=0:480*7[paded8] ;[paded8][crop9]overlay=0:480*8[paded9] ;[paded9][crop10]overlay=0:480*9[paded10] ;[paded10][crop11]overlay=0:480*10[out_no_black0] ;[paded1a]crop=1504:480,split=3[black0][black1][black2] ;[out_no_black0][black0]overlay=0:480*0[out_no_black1] ;[out_no_black1][black1]overlay=0:480*1[out_no_black2] ;[out_no_black2][black2]overlay=0:480*2[out_no_black3] ;[out_no_black3]crop=in_w:in_h" -preset slow -r 30 -pix_fmt yuv420p -movflags +faststart -coder 1 -cmp chroma -me_range 48 -me_method umh -subq 9 -refs 6 -b_strategy 2 -bf 16 -flags +loop+mv4+cgop -flags2 +local_header -forced-idr 1 -threads 0 -c:v libx264 -profile:v high -level 5.1 -x264opts "keyint=30:no-scenecut:min-keyint=30:fps=30" -b:v 70000k -maxrate 70000k -bufsize 140000k -slices 11 -c:a copy -f mp4 "band_8k8k_3dv_line_0_70000k.mp4" -y

    I’ve got this error :
    enter image description here

    I’ve looked for this problem, and found out that this unrecognized option may related to the lack of the library called "libx264".
    According to instruction i’ve found in this link - http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

    I configured the ffmpeg again with those flags —enable-gpl —enable-libx264 , installed th libx264 by this command - sudo apt-get install libx264-dev, all of those action went well, but when i try to compile it all together - i do it by running the command of ’make -j 10’ or just ’make’, when i’m inside the folder where all of the ffmpeg files are extracted to, i face this error -
    enter image description here

    Thanks for anyone who could help !