Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (87)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (18358)

  • FFMPEG and PHP on mac does`t work

    8 août 2014, par Thomás Marques

    I need your help. Currently I use Mac OS X 10.9.4 and xampp apache 1.8.3-3. I need to use ffmpeg (version 3.2) to convert video files via php exec() but I cannot make it work. I did some testing running the terminal command line and the system operates normally. Only in php it doesn’t work.
    ffmpeg was compiled and installed through the brew.

    I ran the following test :

    exec("/usr/local/Cellar/ffmpeg/2.3/bin/ffmpeg -i /Applications/XAMPP/xamppfiles/htdocs/teste/trailer.mp4 /Applications/XAMPP/xamppfiles/htdocs/teste/trailer2.flv 2>&1", $o, $v);
    var_dump($o);
    var_dump($v);

    and got the following :

    array(4) {
       [0]=> string(51) "dyld: Symbol not found: __cg_jpeg_resync_to_restart"
       [1]=> string(82) "Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO"
       [2]=> string(63) "Expected in: /Applications/XAMPP/xamppfiles/lib/libJPEG.dylib"
       [3]=> string(67) " in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO" } int(133)
  • Save MJPEG video stream to a raw file

    6 septembre 2014, par user824963

    I’ve a cheap IP cam, and i need to save the video stream inside a single file.

    i’ve tried to execute the wget command towards the stream’ url and the result was a file with this syntax :

    --object-ipcamera
    Content-Type:image/jpeg
    Content-Length:8012

    ÿØÿà [JPEG IMAGE CHARACTERS]  ÿÙ
    --object-ipcamera
    Content-Type:image/jpeg
    Content-Length:8012

    ÿØÿàÆÿ [JPEG IMAGE CHARACTERS]  ÿÿÿÙ
    --object-ipcamera
    Content-Type:image/jpeg
    Content-Length:8036

    Since i need to store the video stream, is mp4 a proper format to do that ? What if mp4 file being truncated ?

    I tried with ffmpeg :

    ffmpeg -i http://<auth params="params" local="local" url="url">:99/vieostream.cgi out.mp4
    </auth>

    the output was

    [ingenient @ 0x1f51600] Could not find codec parameters for stream 0 (Video: mjpeg): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [ingenient @ 0x1f51600] Estimating duration from bitrate, this may be inaccurate
    http://aaa@192.168.0.104:99/vieostream.cgi: could not find codec parameters

    and even setting these parameter to the max allowed value there is still the some output.

    I want also say that if i open the video url using VLC GUI, the video stream immediately comes out, so there is a way to auto-detect the video parameters ?

    Note : my server has a small CPU

  • How to save (record) rtsp stream to the disk storage without artifacts and missing seconds ?

    20 septembre 2019, par Bogdan Rudnytskyi

    I need to save (record) rtsp stream to the disk storage.
    I am using nginx-module and ffmpeg for it.
    Here the config for enable recording :

    rtmp {
       live on;
       hls on;
       hls_fragment 5s;
       server {
           listen 1935;
           application cam1 {
               hls_path /tmp/cam1;
           }
           exec_static ffmpeg -rtsp_transport tcp -i rtsp://... -c copy -f flv rtmp://.../cam1/stream;
       }
    }

    Config is creating the flv files, each duration of 5 second.
    Then we need to merge all got files in one file by command :

    ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.flv

    After concated files we are got a problem. When previous 5 seconds end and start next 5 seconds we have artifacts and missing 0.5-1 second.

    Please, get me help with saving rtsp stream without artifacts and missing seconds.