Recherche avancée

Médias (1)

Mot : - Tags -/publishing

Autres articles (49)

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (8616)

  • avconv (ffmpeg) : correct audio codec

    1er juin 2015, par DmitryR

    I have an error when tryying to convert video from flash recorder to mp4 :

    ubuntu@media:/data/media/failed$ avconv -i videoStream_1356794393712_805.flv -acodec aac  videoStream_1356794393712_805.mp4
    avconv version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
     built on Nov  6 2012 16:51:33 with gcc 4.6.3
    [libspeex @ 0x1091500] Missing Speex header, assuming defaults.
    [flv @ 0x108d7a0] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from 'videoStream_1356794393712_805.flv':
     Metadata:
       creationdate    : Sat Dec 29 15:20:12
     Duration: 00:00:04.39, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: h264 (Main), yuv420p, 640x480 [PAR 1:1 DAR 4:3], 30 tbr, 1k tbn, 60 tbc
       Stream #0.1: Audio: libspeex, 16000 Hz, 1 channels, s16
    [buffer @ 0x1093a00] w:640 h:480 pixfmt:yuv420p
    [mpeg4 @ 0x1094ce0] removing common factors from framerate
    [aac @ 0x108d120] Too many bits per frame requested
    Output #0, mp4, to 'videoStream_1356794393712_805.mp4':
     Metadata:
       creationdate    : Sat Dec 29 15:20:12
       Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 30 tbc
       Stream #0.1: Audio: aac, 16000 Hz, 1 channels, s16, 200 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> mpeg4)
     Stream #0:1 -> #0:1 (libspeex -> aac)
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
    ubuntu@media:/data/media/failed$

    Ubuntu 12.04 LTS, default ffmpeg/avconv.
    How can I solve this problem ?

    ffprobe log :

    ubuntu@media:/data/media/failed$ ffprobe videoStream_1356794393712_805.flv
    avprobe version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2007-2012 the Libav developers
     built on Nov  6 2012 16:51:33 with gcc 4.6.3
    [libspeex @ 0x1c27500] Missing Speex header, assuming defaults.
    [flv @ 0x1c237a0] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from 'videoStream_1356794393712_805.flv':
     Metadata:
       creationdate    : Sat Dec 29 15:20:12
     Duration: 00:00:04.39, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: h264 (Main), yuv420p, 640x480 [PAR 1:1 DAR 4:3], 30 tbr, 1k tbn, 60 tbc
       Stream #0.1: Audio: libspeex, 16000 Hz, 1 channels, s16
    [libspeex @ 0x1c27500] Missing Speex header, assuming defaults.
    ubuntu@media:/data/media/failed$
  • getruntime() exec() with double quotes in command

    29 décembre 2012, par brux

    I want to execute an ffmpeg command, the method I am using works with every command on my list except the following one which contains double quotes to set a filter (-vf) parameter

    ffmpeg -i 2012-12-27.mp4 -vf "movie=bb.png [movie]; [in] [movie] overlay=0:0 [out]" -vcodec libx264 -acodec copy out.mp4

    I have tried changing the quotes for single quotes with no luck. The command works at the android terminal with both single and double quotes.

    The app I'm developing uses about 5 ffmpeg commands, all work except this one, is this some bug ?

    I can't find a concrete solution to this problem, breaking the args into an array and then passing this to runtime().exec() as suggested elsewhere doesn't seem to work, or simply trying to escape the quotes with \" won't work.

    Both of the files referenced in the above command are located in the sdcard, I removed the concatenation of the command out so that things don't get messy, rest assured these commands work in a terminal when referencing the full paths to the files.
    I contatenate the string passed to getRuntime().exec() using a stringbuilder and`getexternalstorageDirectory().getabsolutepath() to get the path to each file like I have been doing with previous commands when using the process class.

    I am using Jelly Bean 4.2 in case that is of any significance.

  • ubuntu ffmpeg filters

    29 décembre 2012, par DmitryR

    I'm converting video using ffmpeg on ubuntu.
    Console output is :

    ffmpeg version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
     built on Nov  6 2012 16:51:33 with gcc 4.6.3
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [libspeex @ 0x1ed9560] Missing Speex header, assuming defaults.
    [flv @ 0x1ed57a0] decoding for stream 0 failed
    [flv @ 0x1ed57a0] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from '/data/media/hdfvr_temp/videoStream_1355078401768_654.flv':
     Metadata:
       creationdate    : Sun Dec 9 18:40:13
     Duration: 00:00:03.00, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: [0][0][0][0] / 0x0000, 1k tbr, 1k tbn, 1k tbc
       Stream #0.1: Audio: libspeex, 16000 Hz, 1 channels, s16
    [buffer @ 0x1ed94a0] Invalid pixel format string '-1'
    Error opening filters!

    What filters does it want ?
    It was installed by sudo apt-get install ffmpeg, LTS 12.04

    Update : command is ffmpeg -i input.flv output.mp4