Recherche avancée

Médias (91)

Autres articles (64)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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, par

    Pré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 ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

Sur d’autres sites (12010)

  • Merge commit ’c0d973c41b4568d5bad1295879e35cfa611bdcf2’

    12 juillet 2013, par Michael Niedermayer
    Merge commit ’c0d973c41b4568d5bad1295879e35cfa611bdcf2’
    

    * commit ’c0d973c41b4568d5bad1295879e35cfa611bdcf2’ :
    vdpau : use the correct namespace for the union

    Conflicts :
    libavcodec/vdpau.h

    See : 68dfe530e0fb03b4d21dfe37f8a572b95c68485e

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/vdpau.h
  • j2k/jpeg2000 : split data pointer in int & float.

    30 mai 2013, par Michael Niedermayer
    j2k/jpeg2000 : split data pointer in int & float.
    

    This fixes a TODO item and unifies both decoders structures
    It also fixes undefined behavior due to aliasing violations

    I choose 2 fields instead of a union because mistakely using the
    wrong type with a union will lead to hard to debug "wrong output"
    while with 2 fields mistakely using the wrong type will crash
    with a null pointer derefernce which is much easier to debug

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/j2k.c
    • [DH] libavcodec/j2k.h
    • [DH] libavcodec/j2kdec.c
    • [DH] libavcodec/j2kenc.c
    • [DH] libavcodec/jpeg2000.c
    • [DH] libavcodec/jpeg2000.h
    • [DH] libavcodec/jpeg2000dec.c
  • How to optimize FFMPEG with pipe and memory reuse in Tide SDK

    7 janvier 2014, par Vincent Duprez

    Im running into an speed optimization issue. Im building a video cut tool in web technologies on desktop with TideSDK. On of the tools has a timeline with a position slider

    basically, whenever the slider moves, (using jquery UI), I get the position, translate this into a timecode and asks FFMPEG to encode to a file, when a get the finished event, I simply update the background-image attribute of the 'viewer' to this file. The file is located in some temporary folder.

    The thing is, it is just a bit too slow. Usable, but slow (approx 2 fps on a High end Computer)
    I think there are 2 bottlenecks on this strategy :
    - Writing ffmpeg output to a file & reading back in css
    - repeatedly loading the same movie file in ffmpeg

    This is the code executed on each move (var timecode is the calculated timecode based on the pointer position)

    var cmd = [FFMPEG];
    cmd.push(&#39;-y&#39;); //overwrite existing files
    cmd.push(&#39;-ss&#39;,timecode); //CUE position
    cmd.push(&#39;-i&#39;,input); //input file
    cmd.push(&#39;-f&#39;,&#39;image2&#39;); //output format
    cmd.push(&#39;-vframes&#39;,&#39;1&#39;); //number of images to render
    cmd.push(Ti.API.Application.getDataPath( )+"/encoderframe.jpg"); //output file

    var makeframe = Ti.Process.createProcess(cmd);
    makeframe.setOnReadLine(function(data){ /*console.log(data);*/ });
    var time = new Date().getTime();
    makeframe.setOnExit(function(){ ffmpegrunning = false;  $(&#39;#videoframe&#39;).css(&#39;background-image&#39;,&#39;url(file://&#39;+Ti.API.Application.getDataPath( ).replace(" ","%20")+&#39;/encoderframe.jpg?&#39;+time+&#39;)&#39;);     });
    makeframe.launch();

    Basically, this repeatedly asks the same Command :

    ffmpeg -y -ss 00:00:01.04 -i /somepath/somevideo.mov -f image2 -vframes 1 /path/to/output/encoderframe204.jpg

    How can I optimize this code, Pipe to output straight to css background with Base64 data, or reuse loaded memory file in ffmpeg. ?

    Thanks !