Recherche avancée

Médias (91)

Autres articles (66)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (4585)

  • connecting with IP camera using opencv

    19 septembre 2022, par Smadar

    I have a proVisionISR IP camera which I am trying to connect through openCV.videoCapture().
I have inserted RTSP URL like this : "rtsp ://user:password@IP:port/", I also tried to add different ending after the port in the URL, such as profile2 which indicate on the sub stream (pic below),
H264 ?ch=1&subtype=0 and more results I found while searching.
The code uses cv2.CAP_FFMPEG, but tried also with GSTREAMER pipeline.

    


    I changed some values in the camera dashboard configuration, such as resolution that fit the code, the encoding also was changed to h264, and disabling the audio as well. (The bitrate type is : CBR)

    


    I open the stream in VLC, and it is work just fine. And 2 more IP cameras with RTSP streaming was able to connect with : cv2.videocapture(RTSP URL, cv2.CAP_FFMPEG)

    


    Python version : 3.8
OpenCV version : 4.6.0-dev (installed from source)
ffmpeg version 4.2.7
ubuntu version (If necessary) 20.04

    


    enter image description here

    


  • FFMPEG fails to run using exec() or shell_exec() in PHP

    17 août 2015, par Richard Kriesman

    So I’ve been working on trying to get FFMPEG to encode videos that are uploaded to my site. The upload script calls the PHP binary using exec() to run a script called encode.php that looks like this :

    include("include/config.inc.php");
    $videoID = $argv[1];
    exec("ffmpeg -i " . $_SERVER['DOCUMENT_ROOT'] . "/processing/" .  $videoID. ".mp4 -vcodec libx264 -vpre normal -s 1280x720 -r 30 -acodec libfaac " . $_SERVER['DOCUMENT_ROOT'] . "/videos/" . $videoID . ".mp4");
    $connect = mysql_connect($dbhost, $dbusername, $dbpassword);
    mysql_select_db($dbname, $connect);
    $query = mysql_query("UPDATE `videos` SET `isProcessing` = 0 WHERE `id` = '$videoID' LIMIT 1");

    However, nothing happens to the video at all. I’ve tried using the full path to FFMPEG, but that doesn’t work either. I know the script is being executed as the isProcessing is set to 0 in the database.

    Maybe I’m just clueless, but I can’t seem to figure this out. Any help would be greatly appreciated.

  • Evolution #3674 : Chaine de traitement dans la table des traitements

    27 février 2016, par Fil _

    La bonne syntaxe en l’état actuel des choses serait :

    ```
    ’LOGO_EVENT’ =>
    array (size=1)
    0 => string ’massicoter_logo(logo_par_defaut(%s), $connect, event, $Pile1[’id_event’])’ (length=xx)

    ```

    c’est un `array` mais seulement parce que la valeur pour 0 est le filtre générique, et qu’on peut spécialiser avec d’autres clés comme par exemple ’TEXTE’. Pour le moment on n’"empile" pas les filtres (j’avoue que je n’y avais jamais pensé, c’est peut-être une bonne idée d’évolution).

    En attendant ton plugin peut faire quelque chose comme :
    `filtre = str_replace(’%s’, $filtre, ’’massicoter_logo(%s, $connect, event, $Pile1[’id_event’]" )`