Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (10)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

Sur d’autres sites (1018)

  • Live Video Streaming from android device to server [on hold]

    23 octobre 2013, par Android_sp

    hey friends i want your help

    i search a lot and study lots of code available for streaming for android but yet i can't get clear idea for me. i want simple one thing to pass stream from android device to wowza server in H.264 encoding for video and AAC for Audio.

    here some links which i already serf :

    Which not anwser :Link 1

    i also refer this most popular question from our site : Link 2

    but this useful but at some level ..

    1) Native side by using FFmpeg library i can able to send video stream but can't find a way how to encode video in H.264 format : Downloaded from here

    2) SPYdroid demo i found but from this i can send video stream to particular server :
    Downloaded from Here

    so guys if you know some thing please help me so i can find a way.

  • How to extract images from webm video using ffmpeg

    23 octobre 2013, par Angelo N.

    I need to extract a set of images from a webm video using ffmpeg (version 0.9.2).
    I currently use this script :

    ./ffmpeg -i video.webm -r 1 -f image2 image-%04d.jpg

    but I have this error

    ffmpeg version 0.9.2, Copyright (c) 2000-2012 the FFmpeg developers
     built on Oct 23 2013 12:18:47 with gcc 4.6.3
     configuration: --extra-libs=-ldl --disable-shared --enable-static --disable-everything --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avfilter --disable-avdevice --enable-libvpx --enable-protocol=file --enable-encoder=mjpeg --enable-encoder=libvpx --enable-decoder=libvpx --enable-decoder=mjpeg --enable-parser=mjpeg --enable-muxer=webm --enable-muxer=image2 --enable-muxer=mjpeg --enable-muxer=avi --enable-demuxer=image2 --enable-demuxer=mjpeg --enable-demuxer=avi
     libavutil    51. 32. 0 / 51. 32. 0
     libavcodec   53. 42. 4 / 53. 42. 4
     libavformat  53. 24. 2 / 53. 24. 2
     libswscale    2.  1. 0 /  2.  1. 0
    /home/username/Desktop/out.webm: Invalid data found when processing input

    I found that in ffmpeg there isn't a webm demuxer and you can check it typing

    ./configuration --list-demuxers

    So I'm asking why ffmpeg do not support a webm demuxer which is used by libvpx (used for example in youtube by Google) .

    It sounds strange... doesn't it ?

  • PHP and FFmpeg : works on terminal but ffmpeg error when in shell_exec

    25 janvier 2014, par user2128983

    I'm in front of a problem I can't solve !

    I try to convert videos using the ffmpeg tool. When I paste the command on the server terminal (ssh root), it works fine. But, when I try in my PHP script using shell_exec, it returns the error "Error while opening encoder ...".

    Here is the command I use :

    ffmpeg -y -i VIDEOIN.mov -preset medium -strict -2 -c:v libx264 -b:v 1000k -pass 1 -f mp4 VIDEOOUT.mp4 null 1>logfile.txt 2>&amp;1 &amp;

    And my PHP script :

    $dir = &#39;videos/&#39;.$uuid;
    $out = $dir.&#39;video.mp4&#39;;
    $log = $dir.&#39;transcoding_log.txt&#39;;
    $preset = &#39;medium&#39;;
    $bitrate = 1000;

    $cmd = "ffmpeg -y -i ".$in." -preset ".$preset." -strict -2 -c:v libx264 -b:v ".$bitrate."k -pass 1 -f mp4 ".$out." null 1>".$log." 2>&amp;1 &amp;";
    @file_put_contents($dir.&#39;cmd.log&#39;, $cmd); // to debug
    shell_exec($cmd);

    Here is the log file created in the PHP script :

    ffmpeg version 1.0.8 Copyright (c) 2000-2013 the FFmpeg developers
    built on Sep 12 2013 11:57:09 with gcc 4.7 (Debian 4.7.2-5)
    configuration: --prefix=/usr --extra-cflags=&#39;-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security &#39; --extra-ldflags=&#39;-Wl,-z,relro&#39; --cc=&#39;ccache cc&#39; --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libfdk-aac --enable-libdc1394 --disable-altivec --dis  libavutil      51. 73.101 / 51. 73.101
     libavcodec     54. 59.100 / 54. 59.100
     libavformat    54. 29.104 / 54. 29.104
     libavdevice    54.  2.101 / 54.  2.101
     libavfilter     3. 17.100 /  3. 17.100
     libswscale      2.  1.101 /  2.  1.101
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    Input #0, matroska,webm, from &#39;videos/18352678af96ecb5/origin.webm&#39;:
     Metadata:
       creation_time   : 2010-05-20 08:21:12
     Duration: 00:00:32.48, start: 0.000000, bitrate: 533 kb/s
       Stream #0:0(eng): Video: vp8, yuv420p, 640x360, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
       Stream #0:1(eng): Audio: vorbis, 44100 Hz, mono, s16 (default)
    [libx264 @ 0x19c05a0] using SAR=1/1
    [libx264 @ 0x19c05a0] using cpu capabilities: MMX2 SSE2Fast SSEMisalign LZCNT
    [libx264 @ 0x19c05a0] ratecontrol_init: can&#39;t open stats file
    Output #0, mp4, to &#39;videos/18352678af96ecb5/video.mp4&#39;:
       Stream #0:0(eng): Video: h264, yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, pass 1,     90k tbn, 25 tbc (default)
       Stream #0:1(eng): Audio: none, 44100 Hz, mono, s16, 128 kb/s (default)
    Stream mapping:
     Stream #0:0 -> #0:0 (vp8 -> libx264)
     Stream #0:1 -> #0:1 (vorbis -> libfaac)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as     bit_rate, rate, width or height

    EDIT 1 :

    I compiled ffmpeg with the latest revision but the problem still occurs.