Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (71)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (9700)

  • rtpdec : fix issue with conversion from unsigned to signed

    20 février 2015, par Gilles Chanteperdrix
    rtpdec : fix issue with conversion from unsigned to signed
    

    When receiving an RTCP packet, the difference between the last RTCP
    timestamp and the base timestamp may be negative. As these timestamps
    are of the uint32_t type, the result becomes a large integer. Cast
    the difference to int32_t to avoid this issue.

    The result of this issue is very large start times for RTSP
    streams, and difficulty to restart correctly after a pause.

    Signed-off-by : Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/rtpdec.c
  • ffv1 : Drop unnecessary casts and const qualifiers to match function signatures

    18 décembre 2014, par Diego Biurrun
    ffv1 : Drop unnecessary casts and const qualifiers to match function signatures
    

    libavcodec/ffv1dec.c:898:36 : warning : cast discards ‘const’ qualifier from pointer target type

    • [DBH] libavcodec/ffv1dec.c
  • Some videos fail to chromecast with error MEDIA_UNKNOWN

    1er juin 2020, par JonasVautherin

    Using mkchromecast to cast local mp4 files, some videos work, and some don't (as in : the screen hangs on the blue chromecast logo, suggesting that the initial connection worked). I can reproduce exactly the issue described here.

    &#xA;&#xA;

    So I decided to go one level lower, with pychromecast, and try to see what actually happens when it hangs on the blue logo. I converted two videos to HLS format, and exposed them through an http server. The video that works with mkchromecast also works with my setup, but the one that fails, well... fails on both. With pychromecast, I don't get much more information than :

    &#xA;&#xA;

    &#xA;

    ERROR, code 100 : MEDIA_UNKNOWN.

    &#xA;

    &#xA;&#xA;

    From the Cast documentation, this error means :

    &#xA;&#xA;

    &#xA;

    The media element encountered an unknown error fired from platform. The media element encountered an error that did not indicate it's one of MediaError.MEDIA_ERR_*. This should be rare.

    &#xA;

    &#xA;&#xA;

    It is not rare for me at all, though. I thought that maybe the failing video was in an unsupported format, as described in the documentation. So I tried to compare both videos with the following command :

    &#xA;&#xA;

    ffprobe -v quiet -print_format json -show_streams &#xA;

    &#xA;&#xA;

    Video that works :

    &#xA;&#xA;

    {&#xA;    "streams": [&#xA;        {&#xA;            "index": 0,&#xA;            "codec_name": "h264",&#xA;            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",&#xA;            "profile": "High",&#xA;            "codec_type": "video",&#xA;            "codec_time_base": "1001/48000",&#xA;            "codec_tag_string": "avc1",&#xA;            "codec_tag": "0x31637661",&#xA;            "width": 1920,&#xA;            "height": 1080,&#xA;            "coded_width": 1920,&#xA;            "coded_height": 1088,&#xA;            "has_b_frames": 2,&#xA;            "sample_aspect_ratio": "1:1",&#xA;            "display_aspect_ratio": "16:9",&#xA;            "pix_fmt": "yuv420p",&#xA;            "level": 50,&#xA;            "chroma_location": "left",&#xA;            "refs": 1,&#xA;            "is_avc": "true",&#xA;            "nal_length_size": "4",&#xA;            "r_frame_rate": "24000/1001",&#xA;            "avg_frame_rate": "24000/1001",&#xA;            "time_base": "1/24000",&#xA;            "start_pts": 0,&#xA;            "start_time": "0.000000",&#xA;            "duration_ts": 47127080,&#xA;            "duration": "1963.628333",&#xA;            "bit_rate": "5527977",&#xA;            "bits_per_raw_sample": "8",&#xA;            "nb_frames": "47080",&#xA;            "disposition": {&#xA;                "default": 1,&#xA;                "dub": 0,&#xA;                "original": 0,&#xA;                "comment": 0,&#xA;                "lyrics": 0,&#xA;                "karaoke": 0,&#xA;                "forced": 0,&#xA;                "hearing_impaired": 0,&#xA;                "visual_impaired": 0,&#xA;                "clean_effects": 0,&#xA;                "attached_pic": 0,&#xA;                "timed_thumbnails": 0&#xA;            },&#xA;            "tags": {&#xA;                "language": "und",&#xA;                "handler_name": "VideoHandler"&#xA;            }&#xA;        },&#xA;        {&#xA;            "index": 1,&#xA;            "codec_name": "aac",&#xA;            "codec_long_name": "AAC (Advanced Audio Coding)",&#xA;            "profile": "LC",&#xA;            "codec_type": "audio",&#xA;            "codec_time_base": "1/48000",&#xA;            "codec_tag_string": "mp4a",&#xA;            "codec_tag": "0x6134706d",&#xA;            "sample_fmt": "fltp",&#xA;            "sample_rate": "48000",&#xA;            "channels": 2,&#xA;            "channel_layout": "stereo",&#xA;            "bits_per_sample": 0,&#xA;            "r_frame_rate": "0/0",&#xA;            "avg_frame_rate": "0/0",&#xA;            "time_base": "1/48000",&#xA;            "start_pts": 0,&#xA;            "start_time": "0.000000",&#xA;            "duration_ts": 94254528,&#xA;            "duration": "1963.636000",&#xA;            "bit_rate": "125776",&#xA;            "max_bit_rate": "125776",&#xA;            "nb_frames": "92048",&#xA;            "disposition": {&#xA;                "default": 1,&#xA;                "dub": 0,&#xA;                "original": 0,&#xA;                "comment": 0,&#xA;                "lyrics": 0,&#xA;                "karaoke": 0,&#xA;                "forced": 0,&#xA;                "hearing_impaired": 0,&#xA;                "visual_impaired": 0,&#xA;                "clean_effects": 0,&#xA;                "attached_pic": 0,&#xA;                "timed_thumbnails": 0&#xA;            },&#xA;            "tags": {&#xA;                "language": "und",&#xA;                "handler_name": "SoundHandler"&#xA;            }&#xA;        }&#xA;    ]&#xA;}&#xA;

    &#xA;&#xA;

    Video that does NOT work :

    &#xA;&#xA;

    {                                               &#xA;    "streams": [&#xA;        {&#xA;            "index": 0,&#xA;            "codec_name": "h264",&#xA;            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",&#xA;            "profile": "High",&#xA;            "codec_type": "video",&#xA;            "codec_time_base": "125/5994",&#xA;            "codec_tag_string": "avc1",&#xA;            "codec_tag": "0x31637661",&#xA;            "width": 1920,&#xA;            "height": 1040,&#xA;            "coded_width": 1920,&#xA;            "coded_height": 1040,&#xA;            "has_b_frames": 2,&#xA;            "sample_aspect_ratio": "1:1",&#xA;            "display_aspect_ratio": "24:13",&#xA;            "pix_fmt": "yuv420p",&#xA;            "level": 41,&#xA;            "chroma_location": "left",&#xA;            "refs": 1,&#xA;            "is_avc": "true",&#xA;            "nal_length_size": "4",&#xA;            "r_frame_rate": "2997/125",&#xA;            "avg_frame_rate": "2997/125",&#xA;            "time_base": "1/11988",&#xA;            "start_pts": 0,&#xA;            "start_time": "0.000000",&#xA;            "duration_ts": 97032000,&#xA;            "duration": "8094.094094",&#xA;            "bit_rate": "2499644",&#xA;            "bits_per_raw_sample": "8",&#xA;            "nb_frames": "194064",&#xA;            "disposition": {&#xA;                "default": 1,&#xA;                "dub": 0,&#xA;                "original": 0,&#xA;                "comment": 0,&#xA;                "lyrics": 0,&#xA;                "karaoke": 0,&#xA;                "forced": 0,&#xA;                "hearing_impaired": 0,&#xA;                "visual_impaired": 0,&#xA;                "clean_effects": 0,&#xA;                "attached_pic": 0,&#xA;                "timed_thumbnails": 0&#xA;            },&#xA;            "tags": {&#xA;                "creation_time": "2020-03-27T09:56:39.000000Z",&#xA;                "language": "und",&#xA;                "handler_name": "L-SMASH Video Media Handler"&#xA;            }&#xA;        },&#xA;        {&#xA;            "index": 1,&#xA;            "codec_name": "aac",&#xA;            "codec_long_name": "AAC (Advanced Audio Coding)",&#xA;            "profile": "LC",&#xA;            "codec_type": "audio",&#xA;            "codec_time_base": "1/48000",&#xA;            "codec_tag_string": "mp4a",&#xA;            "codec_tag": "0x6134706d",&#xA;            "sample_fmt": "fltp",&#xA;            "sample_rate": "48000",&#xA;            "channels": 6,&#xA;            "channel_layout": "5.1",&#xA;            "bits_per_sample": 0,&#xA;            "r_frame_rate": "0/0",&#xA;            "avg_frame_rate": "0/0",&#xA;            "time_base": "1/48000",&#xA;            "start_pts": 0,&#xA;            "start_time": "0.000000",&#xA;            "duration_ts": 388516320,&#xA;            "duration": "8094.090000",&#xA;            "bit_rate": "224000",&#xA;            "max_bit_rate": "224000",&#xA;            "nb_frames": "379413",&#xA;            "disposition": {&#xA;                "default": 1,&#xA;                "dub": 0,&#xA;                "original": 0,&#xA;                "comment": 0,&#xA;                "lyrics": 0,&#xA;                "karaoke": 0,&#xA;                "forced": 0,&#xA;                "hearing_impaired": 0,&#xA;                "visual_impaired": 0,&#xA;                "clean_effects": 0,&#xA;                "attached_pic": 0,&#xA;                "timed_thumbnails": 0&#xA;            },&#xA;            "tags": {&#xA;                "creation_time": "2020-03-27T09:56:39.000000Z",&#xA;                "language": "eng",&#xA;                "handler_name": "SoundHandler"&#xA;            }&#xA;        }&#xA;    ]&#xA;}&#xA;

    &#xA;&#xA;

    For what I can see, the codecs are the same, and the only difference I can make is in the aspect ratio.

    &#xA;&#xA;

    What could be the reason for this "MEDIA_UNKNOWN" error on the chromecast side ? Is there something more I could compare between those two videos ? Could it be that the chromecast fails because of the aspect ratio ?

    &#xA;