Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (36)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5380)

  • avformat/hlsenc : fix incomplete write of subtitle HLS playlist

    2 septembre 2016, par Franklin Phillips
    avformat/hlsenc : fix incomplete write of subtitle HLS playlist
    

    This patch is a fix for the bug with ticket number 5812
    (https://trac.ffmpeg.org/ticket/5812).

    Basically, the bug is that the last segment and the "#EXT-X-ENDLIST"
    tag are not being written to the subtitle playlist file when
    converting a file with subtitles to the HLS format. The reason for
    this seem to be that the filename for the subtitle file is being freed
    too early. This solution is simply to free that memory after it’s last
    use in the "hls_window" function.

    Signed-off-by : Franklin Phillips <franklinphillips9p8@inbox.lv>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/hlsenc.c
  • ffmpeg doesn't detect the subtitle format (webvtt) and refuses to copy it

    29 novembre 2023, par Thomas

    I am trying to re-encode the audio on some video files.&#xA;I want to copy the video and subtitles without touching them, however, ffmpeg doesn't detect the format of the subtitle (which is webvtt) and refuses to do anything.

    &#xA;&#xA;

    fmpeg -copy_unknown -analyzeduration 2000M -probesize 2000M -i input.mkv -map_metadata 0 -map 0 -c copy -c:a:0 aac -b:a 384k output.mkv

    &#xA;&#xA;

    [matroska,webm @ 0x5597558e4040] Unknown/unsupported AVCodecID S_TEXT/WEBVTT.&#xA;[matroska,webm @ 0x5597558e4040] Could not find codec parameters for stream 2 (Subtitle: none): unknown codec&#xA;Consider increasing the value for the &#x27;analyzeduration&#x27; and &#x27;probesize&#x27; options&#xA;Guessed Channel Layout for Input Stream #0.1 : 5.1&#xA;Input #0, matroska,webm, from &#x27;input.mkv&#x27;:&#xA;  Metadata:&#xA;    encoder         : libebml v1.3.9 &#x2B; libmatroska v1.5.2&#xA;    creation_time   : 2020-03-05T09:03:02.000000Z&#xA;  Duration: 00:56:33.26, start: 0.000000, bitrate: 3597 kb/s&#xA;    Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)&#xA;    Metadata:&#xA;      BPS-eng         : 3340067&#xA;      DURATION-eng    : 00:56:33.140000000&#xA;      NUMBER_OF_FRAMES-eng: 81354&#xA;      NUMBER_OF_BYTES-eng: 1416664616&#xA;      _STATISTICS_WRITING_APP-eng: mkvmerge v38.0.0 (&#x27;The Silent Type&#x27;) 64-bit&#xA;      _STATISTICS_WRITING_DATE_UTC-eng: 2020-03-05 09:03:02&#xA;      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;    Stream #0:1: Audio: eac3, 48000 Hz, 5.1, fltp (default)&#xA;    Metadata:&#xA;      BPS-eng         : 256000&#xA;      DURATION-eng    : 00:56:33.248000000&#xA;      NUMBER_OF_FRAMES-eng: 106039&#xA;      NUMBER_OF_BYTES-eng: 108583936&#xA;      _STATISTICS_WRITING_APP-eng: mkvmerge v38.0.0 (&#x27;The Silent Type&#x27;) 64-bit&#xA;      _STATISTICS_WRITING_DATE_UTC-eng: 2020-03-05 09:03:02&#xA;      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;    Stream #0:2(eng): Subtitle: none (default)&#xA;    Metadata:&#xA;      BPS-eng         : 38&#xA;      DURATION-eng    : 00:54:47.388000000&#xA;      NUMBER_OF_FRAMES-eng: 514&#xA;      NUMBER_OF_BYTES-eng: 15766&#xA;      _STATISTICS_WRITING_APP-eng: mkvmerge v38.0.0 (&#x27;The Silent Type&#x27;) 64-bit&#xA;      _STATISTICS_WRITING_DATE_UTC-eng: 2020-03-05 09:03:02&#xA;      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:1 -> #0:1 (eac3 (native) -> aac (native))&#xA;  Stream #0:2 -> #0:2 (copy)&#xA;&#xA;[aac @ 0x5597b06ae000] Using a PCE to encode channel layout "5.1(side)"&#xA;[matroska @ 0x5597b06ab540] Subtitle codec 0 is not supported.&#xA;Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented&#xA;Error initializing output stream 0:1 -- &#xA;[aac @ 0x5597b06ae000] Qavg: -nan&#xA;Conversion failed!&#xA;

    &#xA;&#xA;

    VLC shows it as WebVTT and displays the subtitles correctly :

    &#xA;&#xA;

    VLC shows as WebVTT

    &#xA;&#xA;

    MediaInfo also detects properly as webvtt :

    &#xA;&#xA;

    Text&#xA;ID                                       : 3&#xA;Format                                   : S_TEXT/WEBVTT&#xA;Codec ID                                 : S_TEXT/WEBVTT&#xA;Duration                                 : 54 min 47 s&#xA;Bit rate                                 : 38 b/s&#xA;Count of elements                        : 514&#xA;Stream size                              : 15.4 KiB (0%)&#xA;Language                                 : English&#xA;Default                                  : Yes&#xA;Forced                                   : No&#xA;

    &#xA;&#xA;

    My ffmpeg was built with webvtt :

    &#xA;&#xA;

    $ ffmpeg -codecs | grep VTT&#xA;ffmpeg version n4.2.2 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with gcc 9.3.0 (Arch Linux 9.3.0-1)&#xA;  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA; DES... webvtt               WebVTT subtitle&#xA;

    &#xA;&#xA;

    How can I tell ffmpeg "this is webvtt, just copy it please !" ?

    &#xA;&#xA;

    EDIT : RESOLVED (thanks @Gyan)

    &#xA;&#xA;

    To force the decoder, -c:s webvtt must be set before the input :&#xA;fmpeg -analyzeduration 50M -probesize 50M -c:s webvtt -i input.mkv ...

    &#xA;

  • Merge subtitle to mkv with ffmpeg cause error

    20 décembre 2015, par Soheil Novinfard

    I need to merge a subtitle to an mkv file. I used the following command :

    ffmpeg -i input.mkv input.srt -map 0 -map 1 -c copy output.mkv

    But is does not work and causes the error below :

    Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented

    How could I resolve it ?