Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (76)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

  • change output order of FFprobe

    28 avril 2023, par summerrain

    How can I change the output order of FFprobe ?

    


    ffprobe -hide_banner -show_streams -show_format space.mkv -of json=c=0 -o output.json creates a json output file with the streams sections first and the format section last.

    


    I need the reverse order (format section first, streams section last).

    


    But reordering the parameters (i.e. -show_format -show_streams) has no effect unfortunately.

    


    This is the output of the command above :

    


    {
    "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": 256,
            "height": 144,
            "coded_width": 256,
            "coded_height": 144,
            "closed_captions": 0,
            "film_grain": 0,
            "has_b_frames": 1,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "16:9",
            "pix_fmt": "yuv420p",
            "level": 11,
            "color_range": "tv",
            "color_space": "bt709",
            "color_transfer": "bt709",
            "color_primaries": "bt709",
            "chroma_location": "left",
            "field_order": "progressive",
            "refs": 1,
            "is_avc": "true",
            "nal_length_size": "4",
            "r_frame_rate": "3737/250",
            "avg_frame_rate": "3737/250",
            "time_base": "1/1000",
            "start_pts": 0,
            "start_time": "0.000000",
            "bits_per_raw_sample": "8",
            "extradata_size": 41,
            "disposition": {
                "default": 1,
                "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
            },
            "tags": {
                "HANDLER_NAME": "ISO Media file produced by Google Inc.",
                "VENDOR_ID": "[0][0][0][0]",
                "DURATION": "00:10:53.276000000"
            }
        },
        {
            "index": 1,
            "codec_name": "aac",
            "codec_long_name": "AAC (Advanced Audio Coding)",
            "profile": "HE-AAC",
            "codec_type": "audio",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "sample_fmt": "fltp",
            "sample_rate": "44100",
            "channels": 2,
            "channel_layout": "stereo",
            "bits_per_sample": 0,
            "initial_padding": 0,
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/1000",
            "start_pts": 0,
            "start_time": "0.000000",
            "extradata_size": 25,
            "disposition": {
                "default": 1,
                "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
            },
            "tags": {
                "HANDLER_NAME": "ISO Media file produced by Google Inc.",
                "VENDOR_ID": "[0][0][0][0]",
                "DURATION": "00:10:53.409000000"
            }
        }
    ],
    "format": {
        "filename": "space.mkv",
        "nb_streams": 2,
        "nb_programs": 0,
        "format_name": "matroska,webm",
        "format_long_name": "Matroska / WebM",
        "start_time": "0.000000",
        "duration": "653.409000",
        "size": "5252652",
        "bit_rate": "64310",
        "probe_score": 100,
        "tags": {
            "title": "SpaceX Starship explodes on first launch attempt",
            "COMMENT": "https://www.youtube.com/watch?v=gk1BViilFFk",
            "COMPATIBLE_BRANDS": "iso6avc1mp41",
            "MAJOR_BRAND": "dash",
            "MINOR_VERSION": "0",
            "ARTIST": "CNN",
            "DATE": "20230420",
            "DESCRIPTION": "SpaceX’s Starship, the most powerful rocket ever built, took off from a launch pad on the coast of South Texas, but exploded midair before stage separation. #CNN #News",
            "SYNOPSIS": "SpaceX’s Starship, the most powerful rocket ever built, took off from a launch pad on the coast of South Texas, but exploded midair before stage separation. #CNN #News",
            "PURL": "https://www.youtube.com/watch?v=gk1BViilFFk",
            "ENCODER": "Lavf60.4.101"
        }
    }
}


    


  • ffmpeg for video transcription [closed]

    22 juin 2023, par TSz

    Does ffmpeg have capabilities to generate a transcription from a video or an audio file in .srt format or other ? Task is to create subtitles for YT videos (30-60min long). Timestamps and duration would be important so the text is synchronized to the audio. Languages english and hungarian

    


    no code was tried yet

    


  • Play mpeg-2 file with 608/708 embedded captions out Decklink SDI

    29 octobre 2022, par asperi

    I have built ffmpeg with decklink support, it plays my mpg file fine out the SDI but not seeing any captions on my works broadcast monitor (JVC DT-V17G1Z). This monitor shows captions on SDI from my Mojito card but trying to get it to work with a BlackMagic 4k extreme. The mpg file has embedded 608 and 708 captions. Using the to play-

    


    ffmpeg -i C:\video\RD2838_720p.mpg -f decklink -pix_fmt uyvy422 "DeckLink 4K Extreme"


    


    MediaInfo on captinos :

    


    Text #1


    


    ID : 4096 (0x1000)-CC1
Menu ID : 1 (0x1)
Format : EIA-608
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 28 min 30 s
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)
Language : English
CaptionServiceName : CC1

    


    Text #2
ID : 4096 (0x1000)-1
Menu ID : 1 (0x1)
Format : EIA-708
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 28 min 30 s
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)
Language : English

    


    How do I get the Decklink 4k to pass the captions ? Thanks !