Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (82)

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

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

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (5319)

  • How to stream non-exhaustive list of clips into rtmp server using ffmpeg ?

    30 octobre 2017, par codedemon

    I have program that generates clips uniform length ( around seconds ) continuously. Clips are named chronologically (DT stamp). Now I need to merge those clip and stream all of them in real time via ffmpeg.

    I prefer FFmpeg, but any other option is also welcomed.

    Thank you.

  • RTSP : shodan can do what I can't do with ffmpeg [closed]

    6 août 2024, par Charlie Bronson

    Good morning, I hope someone can help me, I can't get to the bottom of this situationGood morning, I hope someone can help me, I can't get to the bottom of this situation

    


    Premise 1 : Shodan does not brute force or log in with default credentials

    


    Shodan manages to access and capture the RTSP stream and take a snapshot of an AXIS Q6045-E Mk II camera.

    


    Premise 2 : I didn't perform the installation and I don't know (and I don't want to know) the access credentials for the camera, I'm just checking its security

    


    At the request of the camera owner, I attempted to take a snapshot using ffmpeg :

    


    ffmpeg -hide_banner -loglevel verbose  -y -rtsp_transport tcp -i "rtsp://xxx.xxx.xxx.xxx:554" -an -vframes 1 -q:v 2 image.jpg


    


    and obtain this output :

    


    [tcp @ 0x61b69c5f4400] Starting connection attempt to xxx.xxx.xxx.xxx port 554
[tcp @ 0x61b69c5f4400] Successfully connected to xxx.xxx.xxx.xxx port 554
[in#0 @ 0x61b69c5f16c0] Error opening input: Invalid data found when processing input
Error opening input file rtsp://xxx.xxx.xxx.xxx:554.
Error opening input files: Invalid data found when processing input


    


    On wireshark I can see how the camera requires authentication and ffmpeg responds with a FIN ACK once it receives OK after the DESCRIBE requestOn wireshark I can see how the camera requires authentication and ffmpeg responds with a FIN ACK once it receives OK after the DESCRIBE request :

    


    My OPTION request

    


    Real Time Streaming Protocol
    Request: OPTIONS rtsp://xxx.xxx.xxx.xxx:554 RTSP/1.0\r\n
        Method: OPTIONS
        URL: rtsp://xxx.xxx.xxx.xxx:554
    CSeq: 1\r\n
    User-Agent: Lavf61.1.100\r\n
    \r\n


    


    Camera response :

    


    Real Time Streaming Protocol
    Response: RTSP/1.0 200 OK\r\n
        Status: 200
    Server: H264DVR 1.0\r\n
    Cseq: 1\r\n
    Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, GET_PARAMETER, SET_PARAMETER, PLAY, PAUSE\r\n
    \r\n


    


    My DESCRIBE request :

    


    Real Time Streaming Protocol
    Request: DESCRIBE rtsp://xxx.xxx.xxx.xxx:554 RTSP/1.0\r\n
        Method: DESCRIBE
        URL: rtsp://xxx.xxx.xxx.xxx:554
    Accept: application/sdp\r\n
    CSeq: 2\r\n
    User-Agent: Lavf61.1.100\r\n
    \r\n


    


    Camera response requesting digest authentication :

    


    Real Time Streaming Protocol
    Response: RTSP/1.0 200 OK\r\n
        Status: 200
    Server: H264DVR 1.0\r\n
    Cseq: 2\r\n
    WWW-Authenticate: Digest realm="135axxxxxxxxxxx", nonce="96n0d4Lv626w8vfu8L090B6\r\n
    \r\n


    


    My response at this point is a TCP FIN ACK.

    


    Premise 3 : I am not an RTSP or ffmpeg expert

    


    at this point I told the owner that as he could see, credentials were required for access, and he rightly says that this is not the case as shodan still manages to access.

    


    If I assume premise 1 to be true, then I'm doing something wrong in the ffmpeg request, so how can I modify the ffmpeg request to obtain a snapshot compatible with the shodan one and avoid detecting false negatives ?

    


  • FFMPEG Scene Detection - Trim Blank Background from Video at the Start and End

    10 juin 2014, par user3521682

    Summary :
    Need to programatically trim video when scene is not changing at the beginning & end.

    Example video : http://www.filehosting.co.nz/finished3.mp4
    (Quality is much higher in the real video)

    Background :

    Large number of videos for online store, each video begins with a blank background, then the model walks on (at a random time, few seconds), and then walks off after a random time (around 15 seconds). The end of the video is trimmed seemingly random ; could be up to 15 seconds of ’nothing’ at the end of the video.

    The camera does not move. There is no sound on the videos.
    The videos come from a camera in MOV format, sideways.

    I already have FFMPEG converting from MOV to MP4, rotating the video, adding an audio-track, and trimming the audio at the end of the video.

    Research :
    I understand that I should probably re-encode video with a very high (?) tolerance for i-frames (so that only two are made per video) and then export the times to a text file, and use the text file to cut the video (probably parse it in BASH and use that to build the FFMPEG commands).

    Does anyone have any idea how I could generate just two key-frames per video ?

    Example video : http://www.filehosting.co.nz/finished3.mp4
    (Quality is much higher in the real video)