Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (61)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • 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 (11701)

  • ffmpeg showing "Error initializing output stream 0:0"

    31 juillet 2017, par user2565010

    I am running the following command

    ffmpeg -i DJI_0001.MOV DJI_0001.mp4

    in order to convert the video to mp4 from MOV with no other property changes.

    The issue is that I am getting :

    ffmpeg version N-86863-g2ba20d799a-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 6.4.0 (Debian 6.4.0-2) 20170724
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
     libavutil      55. 69.100 / 55. 69.100
     libavcodec     57.102.100 / 57.102.100
     libavformat    57. 76.100 / 57. 76.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 95.100 /  6. 95.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'DJI_0001.MOV':
     Metadata:
       major_brand     : qt  
       minor_version   : 538182144
       compatible_brands: qt  
       creation_time   : 2017-07-23T17:04:58.000000Z
       location        :
       location-{    :
       comment         : 0.9.142
     Duration: 00:00:17.89, start: 0.000000, bitrate: 60017 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 4096x2160 [SAR 1:1 DAR 256:135], 60014 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
       Metadata:
         creation_time   : 2017-07-23T17:04:58.000000Z
         handler_name    : DJI.AVC
         encoder         : Dji AVC encoder
    File 'DJI_0001.mp4' already exists. Overwrite ? [y/N] y
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    [libx264 @ 0x3ed56a0] using SAR=1/1
    [libx264 @ 0x3ed56a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    Conversion failed!

    I see no other error message that would indicate an underlying problem. Could anybody please give me some info on how should I fix it ?

  • ffmpeg with libsoxr resolve dependecies

    15 février 2014, par Jelly

    I'm trying to compile ffmpeg with libsoxr, so I use the flag --enable-libsoxr when calling ./configure. I have installed libsoxr, and the location of the headers added to PATH. However when I try to compile it I get an error : ERROR: libsoxr not found, and in config.log it says :

    fatal error: soxr.h: No such file or directory
    #include

    I think ./configure doesn't make use of PATH or something...Is there another way to specify dependencies for ffmpeg ?

  • How can I resize an image then centralize it with a white background ? Can it be done using php-Imagine library ?

    6 février 2017, par BOBO

    The effect I would like to generate is exactly like the example in
    this StackOverflow thread : (Related Question)

    1.Resize image
    2.Keep proportion
    3.Add or Fill none-image areas with white background

    Here are three examples of this process below :
    1. If original is square no matter 640*640 or 1024*1024, just resize it to target dimension e.g. 480*480 will work.
    enter image description here

    1. If the original input is vertical rectangular,the output should not be cropped
      and still be centerlized as below (the red dash edge marker is just make it easier to see the background is white and the proportion is kept after image resized to 480*480 px)
      enter image description here

    2. if the original input is horizontal rectangular, output like below, white background, keeps proportion and image uncroped , thus without losing anything after the image processing.
      enter image description here

    So after I’ve clarified such a question,
    I would like to know :

    1. Is there a general name of such Custom Image Resize mentioned above ?
    2. would like to know how to achieve it using php image library Imagine ?
      is it doable using php-imagine, or have to switch to another library, e.g imagemagick ?

    P.S. If you would like to achieve the effect either in image-resizing or video resizing, you can use below FFMPEG single-line command.
    (thanks to @Mulvya, yes below code applies both to videos and image formats)

    [run below built-in code in ffmpeg console to achieve the mentioned resize effect]

    [video resize]

    ffmpeg -i "[raw video url or videofile location.mp4]"  -vf "scale=iw*min(480/iw\,480/ih):ih*min(480/iw\,480/ih),pad=480:480:(480-iw)/2:(480-ih)/2:color=white" [save_path_and_filename].mp4  

    [image resize]

    ffmpeg -i "[raw image url or imagefile location.jpg]"  -vf "scale=iw*min(480/iw\,480/ih):ih*min(480/iw\,480/ih),pad=480:480:(480-iw)/2:(480-ih)/2:color=white" [save_path_and_filename].jpg