
Recherche avancée
Autres articles (101)
-
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 (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (13640)
-
ffplay / ffmpeg with audio and video filters
20 juillet 2018, par user10104150i tried to modify a already existing code for ffplay for hours, but I could not get it.
I could not find a manual for vertical and horizontal stacking parameters. I’m always getting invalid argument errors when I try to adopt it to my needs.
So I’m asking here for help.My idea is based on that : ffplay / ffmpeg setup table with audio and video filters
The working code that I modified a little but want to modify further without luck is :
ffplay -f lavfi \
"amovie=in.mp4,asplit=3[sv][eb][av]; \
[sv]showvolume=b=4:f=0:ds=log:c=VOLUME:w=720:h=68[sv-v]; \
[eb]ebur128=video=1:size=720x540:meter=18[eb-v][out1]; \
[av]avectorscope=s=720x540:zoom=1.3:rc=2:gc=200:bc=10:rf=1:gf=8:bf=7[av-v]; \
[sv-v][eb-v][av-v]vstack=3[1c]; \
movie=in.mp4,split=4[v][wf][wfc][vs]; \
[wf]waveform=m=1:d=0:r=0:c=7[wf-vus]; \
[wf-vus][v]scale2ref=iw:1220-ih[wf-va][sig]; \
[wf-va]setsar=1[wf-v]; \
[wfc]waveform=m=0:d=0:r=0:c=7,scale=610x610,setsar=1[wfc-v]; \
[vs]vectorscope=m=color3:g=color,scale=610x610,setsar=1[vs-v]; \
[sig][wf-v]vstack[2c]; \
[wfc-v][vs-v]vstack[3c]; \
[1c][2c][3c]hstack=3,scale=1920:-1[out0]"I’d like to change it to that style - I’m not yet allowed to post images directly in this question, so I need to link it :
Link to image how I’d like the layout to be
I’d like to have the video shown in 1920x1080 (keeping aspect ratio, downscale if necessary).
-
ffmpeg, HLS options, ffmpeg components for dummies ? [closed]
10 juin 2013, par VetalI am trying to make some HLS encoding with ffmpeg
After playing a lot (in Ubuntu 12.04) with ffmpeg I realized I do not understand basic questions.
How to make a ffmpeg "by the book" ?
I've started a "sudo apt-get install ffmpeg"
I finished with a manual install :
Latter needed a following command to get rid of build error, where I spent quite some time with :
sudo apt-get remove ffmpeg x264 libx264-dev
So, now I've got to the documentation for HLS : http://ffmpeg.org/ffmpeg-all.html#hls-2
Trying to run some stuff :
ffmpeg -i 3.mp4 hls.m3u8
Error : Unable to find a suitable output format for 'hls.m3u8'
ffmpeg -i 3.mp4 -hls_time 10 hls.m3u8
Error :
Unrecognized option 'hls_time'
Failed to set value '10' for option 'hls_time'Anyway, looks like an options specified in different formats, e.g. 'vbsf' vs 'v:bsf', -vcodec and -v:c, etc. etc. Like there are few alternative versions
After starting with it some time ago, I feel more pessimistic now like I missed some fundametals. Any Ideas for the things above ?
Thank you
-
Fill patterns
My work life has been quite busy lately and I haven’t had a chance to sit down and blog. I have been touring around London and some parts of the northern England consulting and organizing some training here and there. Luckily I have had the chance to do some work on Imagick and the 2.2.0 beta release is getting closer. The internal structure was completely restructured and broken down into several smaller files. During this time Imagick was adapted to follow the PHP Coding Standards more closely. Still a work in progress
I committed slightly modified version of this example to PHP Manual http://uk.php.net/manual/en/imagick.examples.php page a few days ago. The example illustrates using an image as a part of a named fill pattern. The fill pattern is used to annotate text but the named pattern could also be used to fill any shapes that allow fill to be specified (include circles, ellipses, rectangles, polygons etc etc). The code itself is pretty straight forward : Read the image, create the pattern and use the pattern as a fill.
The ice formations image is from http://www.photoeverywhere.co.uk/west/winterholiday/slides/iceformations5679.htm.
-
< ?php
-
-
/* Create a new imagick object */
-
$im = new Imagick( ’iceformations5679.JPG’ ) ;
-
-
/* Create imagickdraw object */
-
$draw = new ImagickDraw() ;
-
-
/* Start a new pattern called "ice" */
-
$draw->pushPattern( ’ice’ , 0 , 0 , 50 , 50 ) ;
-
-
/* Composite the image on the pattern */
-
$draw->composite( Imagick: :COMPOSITE_OVER, 0, 0, 50, 50, $im ) ;
-
-
/* Close the pattern */
-
$draw->popPattern() ;
-
-
/* Use the pattern called "ice" as the fill */
-
$draw->setFillPatternURL( ’#ice’ ) ;
-
-
/* Set font size to 52 */
-
$draw->setFontSize( 52 ) ;
-
-
/* Annotate some text */
-
$draw->annotation( 5, 50, "Hello World !" ) ;
-
-
/* Create a new canvas and white image */
-
$canvas = new Imagick() ;
-
$canvas->newImage( 310, 70, "white" ) ;
-
-
/* Add black border around the resulting image */
-
$canvas->borderImage( ’black’, 1, 1 ) ;
-
-
/* Draw the ImagickDraw on to the canvas */
-
$canvas->drawImage( $draw ) ;
-
-
/* Set the format to PNG */
-
$canvas->setImageFormat( ’png’ ) ;
-
-
/* Output the image */
-
header( "Content-Type : image/png" ) ;
-
echo $canvas ;
-
?>
And the result is here :
-