Recherche avancée

Médias (91)

Autres articles (68)

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

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

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

  • src/flac/utils.c : Make sure get_console_width() returns value > 0.

    8 juillet 2014, par Erik de Castro Lopo
    src/flac/utils.c : Make sure get_console_width() returns value > 0.
    

    Previous version of get_console_width() may return 0 which will result in
    a division by 0 in stats_print_name() :

    console_width = get_console_width() ;
    len = strlen_console(name)+2 ;
    console_chars_left = console_width - (len % console_width) ;

    Bug-report : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739613
    Patch-from : lvqcl <lvqcl.mail@gmail.com>

    • [DH] src/flac/utils.c
  • PHP ffmpeg exec returns null

    19 mars 2012, par benedict_w

    I'm trying to run ffmpeg through a PHP exec call, I've been debugging for a while and looked at lot of responses on here, but still not found any answers...

    My simplified call is :

    $cmd = &#39;ffmpeg 2>&amp;1&#39;;

    exec(escapeshellcmd($cmd), $stdout, $stderr);

    var_dump($stderr);
    var_dump($stdout);
    var_dump($cmd);
    exit;

    My output is $stderr = int(1) and $stdout = array(0)

    Also I tried shell_exec($cmd) which returns NULL.

    cmd.exe has permissions set for the IUSR account - e.g. I can run $cmd = &#39;dir&#39; and see a directory listing output.

    PHP is not running in safe mode.

    The ffmpeg.exe is in the same directory as my php file, but I have the same response giving an absolute path to the ffmpeg.exe file in $cmd.

    ffmpeg is executing fine from the command line.

    I'm running Windows XP, IIS and PHP 5.3.

    EDIT :

    If I run 'ffmpeg -h' I get the help commands, which must indicated that ffmpeg is recognised

    I've increased the PHP memory limit to 1024 - no luck.

  • How to write v4l2 application with vivid (virtual video driver) for capturing video ?

    8 janvier 2016, par ransh

    I am trying to understand how to write v4l2 application.
    There is very well example in http://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html , so I wanted to try to use it for capturing video with vivid (virtual device driver).

    I tried several resolution, pixelformat, different inputs,
    but on trying to display the captured file, it always has a sync problems ( the test bars of the video are keep moving in the horizontal axis).
    I tried to change resolution, pixelformat, in both capture application or player , but nothing helps.

    I compiled the v4l2 API example AS-IS from :
    http://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html
    with minor modification in the —force part of the example (I also tried the example as is without modifications but it did not help), so that I choose hd input , and 1920x1080 resolution, V4L2_PIX_FMT_YUV420 (also tried V4L2_PIX_FMT_YUV422P) , progressive.

     if (force_format) {
               input = 3;  // &lt;&lt;-- HD input device
               if (-1==xioctl(fd,VIDIOC_S_INPUT,&amp;input))
               {
                errno_exit("VIDIOC_S_INPUT");
               }
               fmt.fmt.pix.width       = 1920;
               fmt.fmt.pix.height      = 1080;
               fmt.fmt.pix.pixelformat = V4L2_PIX_FMT_YUV420; // &lt;&lt;- tried also V4L2_PIX_FMT_YUV422P
               fmt.fmt.pix.field       = V4L2_FIELD_NONE; // &lt;- trying to capture progressive

               if (-1 == xioctl(fd, VIDIOC_S_FMT, &amp;fmt))
                       errno_exit("VIDIOC_S_FMT");

       } else {

    I run the application with (the compiled code using pixelformat = V4L2_PIX_FMT_YUV420 trial ) :

    ./v4l2_example -f -o -c 10  > cap_yuv420p.yuv

    And (the compiled code using pixelformat = V4L2_PIX_FMT_YUV422P trial )

    ./v4l2_example -f -o -c 10  > cap_yuv422p.yuv

    I’ve tried to play them with :

    ffplay -f rawvideo -pixel_format yuv420p -video_size 1920x1080 -i cap_yuv420p.yuv

    And

    ffplay -f rawvideo -pixel_format yuv422p -video_size 1920x1080 -i cap_yuv422p.yuv

    These are the captured video files from my above trials :

    https://drive.google.com/folderview?id=0B22GsWueReZTUS1tSHBraTAyZ00&usp=sharing

    I probably am doing something wrong.
    Is there any idea what’s wrong in my configurations or how I can debug it better ?