Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (102)

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

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

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

  • Capture & save MJPG CCTV stream to file w. FFMPEG

    21 juin 2021, par GBano

    I've been trying to record an IP-cam stream (Foscam, mjpg) via http with ffmpeg.
Can't get the rtsp stream for some reason, but the http/mjpg works fine (VLC IDed it as mjpg).

    


    The stream URL looks like this :
http://192.168.1.123:456/videostream.cgi?user=USERNAME&pwd=PWD

    


    So I created the string (w.o line wrap) :
ffmpeg -i -loglevel debug http://192.168.1.123:456/videostream.cgi?user=USERNAME&pwd=PWD /home/user/Videos/camera.mp4

    


    Some examples I saw are using -c copy and map 0 options as well but I left this out since I defined source and destination clearly and this is just a video, no audio.
segment_time and segment_format I also left out for now (I'd like segments later though- when it's working).

    


    FFMPEG returns : "bash: /home/user/Videos/camera.mp4: No such file or directory"

    


    So I tried a random mjpg stream from the net (Insecam is a nice source for this...) : http://58.69.178.54:80/mjpg/video.mjpg

    


    Leading to :
ffmpeg copy -i -loglevel debug -hide_banner http://58.69.178.54:80/mjpg/video.mjpg /home/user/Videos/camera.mp4

    


    Returns : -loglevel: "No such file or directory" (the same with segment options included, copy excluded).

    


    Shouldn't FFMPEG create the destination file ?

    


    One example mixed FFMPEG with CVLC (Save continuous RTSP stream to 5-10 minute long mp4 files) so I just tried with cvlc.
cvlc http://58.69.178.54:80/mjpg/video.mjpg copy /home/user/Videos/camera.mp4
This opens the stream in a VLC window (despite that I use Cvlc) but does not create a destination file.

    


    I suspect I must have missed something simple & silly, but what ?

    


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

  • 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