Recherche avancée

Médias (91)

Autres articles (44)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (9622)

  • At least one output file must be specified

    11 mai 2015, par Desipicforu Blogspot

    I am using this command in ffmpeg

      ffmpeg -i test.flv -i /var/www/phpvibe/logo.gif -filter_complex "scale=1200:-1,overlay=0:0" -s 1280x720 -vcodec libx264 -s 640x360 -movflags test.mp4 2>&1

    But i am getting this

    string(42) "At least one output file must be specified"

    updated :-

    php code :-

    $output ='{ffmpeg-cmd} -i {input} -i /var/www/phpvibe/logo.gif -filter_complex "scale=1200:-1,overlay=0:0" -s 1280x720 -vcodec libx264 -s {ffmpeg-vsize} -threads 4 -movflags {output}.mp4 2>&1';

    Complete output :-

     array(33) {
     [0]=>
    string(83) "ffmpeg version git-2015-05-11-94c20de Copyright (c)  2000-2015 the FFmpeg developers"
    [1]=>
    string(51) "  built with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)"
    [2]=>
    string(243) "  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3"
    [3]=>
     string(40) "  libavutil      54. 23.101 / 54. 23.101"
    [4]=>
    string(40) "  libavcodec     56. 38.100 / 56. 38.100"
    [5]=>
    string(40) "  libavformat    56. 32.100 / 56. 32.100"
    [6]=>
    string(40) "  libavdevice    56.  4.100 / 56.  4.100"
    [7]=>
    string(40) "  libavfilter     5. 16.101 /  5. 16.101"
    [8]=>
    string(40) "  libswscale      3.  1.101 /  3.  1.101"
    [9]=>
    string(40) "  libswresample   1.  1.100 /  1.  1.100"
    [10]=>
    string(40) "  libpostproc    53.  3.100 / 53.  3.100"
    [11]=>
    string(47) "Trailing options were found on the commandline."
    [12]=>
    string(31) "Input #0, flv, from 'test.flv':"
    [13]=>
    string(11) "  Metadata:"
    [14]=>
    string(28) "    audiosize       : 150117"
    [15]=>
    string(26) "    canSeekToEnd    : true"
    [16]=>
    string(29) "    datasize        : 1015662"
    [17]=>
    string(26) "    hasAudio        : true"
    [18]=>
    string(27) "    hasCuePoints    : false"
    [19]=>
    string(26) "    hasKeyframes    : true"
    [20]=>
    string(26) "    hasMetadata     : true"
    [21]=>
    string(26) "    hasVideo        : true"
    [22]=>
    string(24) "    lasttimestamp   : 42"
    [23]=>
    string(72) "    metadatacreator : flvtool++ (Facebook, Motion project, dweatherford)"
    [24]=>
    string(25) "    totalframes     : 229"
    [25]=>
    string(28) "    videosize       : 856032"
    [26]=>
    string(59) "  Duration: 00:00:42.27, start: 0.066000, bitrate: 192 kb/s"
    [27]=>
    string(124) "    Stream #0:0: Video: h264 (High), yuv420p, 176x144 [SAR 12:11 DAR 4:3], 165 kb/s, 30.30 fps, 29.97 tbr, 1k tbn, 59.94 tbc"
    [28]=>
    string(64) "    Stream #0:1: Audio: aac (LC), 8000 Hz, stereo, fltp, 29 kb/s"
    [29]=>
    string(48) "Input #1, gif, from '/var/www/phpvibe/logo.gif':"
    [30]=>
    string(29) "  Duration: N/A, bitrate: N/A"
    [31]=>
    string(67) "    Stream #1:0: Video: gif, bgra, 90x55, 100 tbr, 100 tbn, 100 tbc"
    [32]=>
    string(42) "At least one output file must be specified"
    }
    int(1)
  • ffmpeg : no such file or directory

    10 mai 2015, par Tomvkgames

    I just installed ffmpeg correctly and I found out that you need this code to add subtitles :

    ffmpeg -i input.mp4 -f srt -i input.srt -c:v copy -c:a copy -c:s mov_text outfile.mp4

    So I downloaded a video and put it with the subtitles in the same folder on my desktop. Then I changed the code from above to this :

    ffmpeg -i CA.mp4 -f srt -i CA.srt -c:v copy -c:a copy -c:s mov_text outfile.mp4

    Console :

    ffmpeg -i CA.mp4 -f srt -i CA.srt -c:v copy -c:a copy -c:s mov_text outfile.mp4
    ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
     built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.6.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 ' --enable-nonfree --enable-vda
     libavutil      54. 20.100 / 54. 20.100
     libavcodec     56. 26.100 / 56. 26.100
     libavformat    56. 25.101 / 56. 25.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 11.102 /  5. 11.102
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    CA.mp4: No such file or directory

    Do I have to place the file in another directory ?

    I have OS X.

  • Anomalie #3418 : Les tables des plugins ne s’installent pas

    9 mai 2015, par Maïeul Rouquette

    Ma config local

    PHP Version 5.2.17

    System Darwin FTSR22998 12.6.0 Darwin Kernel Version 12.6.0 : Wed Mar 18 16:23:48 PDT 2015 ; root:xnu-2050.48.19 1/RELEASE_X86_64 x86_64
    Build Date Sep 18 2013 13:58:06
    Configure Command ’./configure’ ’—with-mysql=/Applications/MAMP/Library’ ’—with-apxs2=/Applications/MAMP/Library/bin/apxs’ ’—with-gd’ ’—with-jpeg-dir=/Applications/MAMP/Library’ ’—with-png-dir=/Applications/MAMP/Library’ ’—with-zlib’ ’—with-freetype-dir=/Applications/MAMP/Library’ ’—prefix=/Applications/MAMP/bin/php/php5.2.17’ ’—exec-prefix=/Applications/MAMP/bin/php/php5.2.17’ ’—sysconfdir=/Applications/MAMP/bin/php/php5.2.17/conf’ ’—with-soap’ ’—with-config-file-path=/Applications/MAMP/bin/php/php5.2.17/conf’ ’—enable-track-vars’ ’—enable-bcmath’ ’—enable-ftp’ ’—enable-gd-native-ttf’ ’—with-bz2=/usr’ ’—with-ldap’ ’—with-mysqli=/Applications/MAMP/Library/bin/mysql_config’ ’—with-sqlite’ ’—with-ttf’ ’—with-t1lib=/Applications/MAMP/Library’ ’—enable-mbstring=all’ ’—with-curl=/Applications/MAMP/Library’ ’—enable-dbx’ ’—enable-sockets’ ’—enable-bcmath’ ’—with-imap=shared,/Applications/MAMP/Library/lib/imap-2007f’ ’—enable-soap’ ’—with-kerberos’ ’—enable-calendar’ ’—with-pgsql=shared,/Applications/MAMP/Library/pg’ ’—enable-dbase’ ’—enable-exif’ ’—with-libxml-dir=/Applications/MAMP/Library’ ’—with-gettext=shared,/Applications/MAMP/Library’ ’—with-xsl=/Applications/MAMP/Library’ ’—with-pdo-mysql=shared,/Applications/MAMP/Library’ ’—with-pdo-pgsql=shared,/Applications/MAMP/Library/pg’ ’—with-mcrypt=shared,/Applications/MAMP/Library’ ’—with-openssl’ ’—enable-zip’ ’—with-iconv=/Applications/MAMP/Library’
    Server API Apache 2.0 Handler
    Virtual Directory Support disabled
    Configuration File (php.ini) Path /Applications/MAMP/bin/php/php5.2.17/conf
    Loaded Configuration File /Applications/MAMP/bin/php/php5.2.17/conf/php.ini
    Scan this dir for additional .ini files (none)
    additional .ini files parsed (none)
    PHP API 20041225
    PHP Extension 20060613
    Zend Extension 220060519
    Debug Build no
    Thread Safety disabled
    Zend Memory Manager enabled
    IPv6 Support enabled
    Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, data, http, ftp, zip
    Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
    Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed

    Mon test
    1) spip 3.1 svn 22109
    2) pas de plugins/auto mais le flux déclaré
    3) plugin tickets mis manuellement dans plugins
    4) j’active le plugin. Il se "préactive" en entendance les dépendances
    5) lorsque j’installe saisies, le plugin tickets peut bien s’activer
    6) mais les tables n’ont pas été installées