Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (61)

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

  • ffmpeg - Can't stably save rtsp stream to file

    20 août 2022, par André Luís

    I'm trying to save the RTSP stream of this camera to file. However, at some point I'll get the following errors, which will stop the process.

    


    


    video:331639kB audio:5199kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead : unknown

    


    


    And a bunch of these, before the previous one :

    


    


    Non-monotonous DTS in output stream 0:1 ; previous : 5439375, current :
5439283 ; changing to 5439376. This may result in incorrect timestamps
in the output file.

    


    


    Here is the command I'm running :

    


    ffmpeg "rtsp://192.168.0.100:554/cam/realmonitor?channel=1&subtype=0" -c copy -f segment -segment_time 00:01:00 -reset_timestamps 1 -segment_format mkv -strftime 1 /home/user/.camera/recordings/2022/8/19/%H_%M_%S.mkv


    


    I've tried adding each of these parameters and they all together :

    


    -fflags +autobsf+genpts -y -threads 1 -use_wallclock_as_timestamps 1 -dts_delta_threshold 0 -rtsp_transport tcp -i


    


    ffprobe :

    


    {
    "streams": [
        {
            "index": 0,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "Main",
            "codec_type": "video",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "width": 1920,
            "height": 1080,
            "coded_width": 1920,
            "coded_height": 1080,
            "closed_captions": 0,
            "film_grain": 0,
            "has_b_frames": 0,
            "pix_fmt": "yuvj420p",
            "level": 40,
            "color_range": "pc",
            "chroma_location": "left",
            "field_order": "progressive",
            "refs": 1,
            "is_avc": "false",
            "nal_length_size": "0",
            "r_frame_rate": "100/1",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 9000,
            "start_time": "0.100000",
            "bits_per_raw_sample": "8",
            "extradata_size": 27,
            "disposition": {
                "default": 0,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            }
        },
        {
            "index": 1,
            "codec_name": "aac",
            "codec_long_name": "AAC (Advanced Audio Coding)",
            "profile": "LC",
            "codec_type": "audio",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "sample_fmt": "fltp",
            "sample_rate": "16000",
            "channels": 1,
            "channel_layout": "mono",
            "bits_per_sample": 0,
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/16000",
            "start_pts": 0,
            "start_time": "0.000000",
            "extradata_size": 2,
            "disposition": {
                "default": 0,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            }
        }
    ]
}


    


    I honestly don't know what else to do.

    


  • Detect duplicate frames to create seamless loops in FFMPEG

    19 septembre 2017, par Yasath Dias

    I feel like this should be possible, after I saw a method created with MoviePy for Python (this article). Essentially, I want to import an MP4 at 1920x1080 with say 12000kbps bitrate and have FFMPEG detect when there are duplicate frames that aren’t consecutive and export each one of these small sequences to small individual MP4 files that loop seamlessly (the first frame is almost the same as the last frame like this one).

    A 1920x1080 file may be far too large (in resolution) to process, so I would be fine with downscaling that to around 120px wide. Also, I know that FFMPEG can detect duplicate frames because I’ve often used mpdecimate previously.

    I hope I described the issue well enough, but will be willing to clarify, of course :)

  • Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_concat_0

    13 septembre 2022, par user310291

    I first converted 2 gifs of same width and height to mp4 using ffmpeg options

    


    ffmpeg -i video1.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video1.mp4
ffmpeg -i video2.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video2.mp4


    


    afterwards I joined with

    


    ffmpeg -i video1.mp4 -i video2.mp4 -filter_complex "concat=n=2:v=1:a=1" -f MP4 -y video.mp4


    


    But I got error

    


    Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_concat_0


    


    with other mp4 in the past joining works so I don't understand why.