Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (97)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9649)

  • ffmpeg extract first subtitle for given language or fix missmaped tracks

    11 mars 2023, par iarwain8a

    I'm using developing a server to encode any given video and I need to extract its' subtitles.

    


    I've tried something like this which worked :

    


    ffmpeg -i pipe:0 -map 0:s:1 -c:s webvtt -f segment -segment_list_flags +live -segment_time 60 -segment_list subs_eng.m3u8 -segment_format webvtt subs_eng.vtt -loglevel debug


    


    This encodes from srt, into webvtt, the second track which happens to be in this video an english subtitle. But very quickly I ran into a problem in which the tracks mappings are not numbered correctly for this video, for example, the (eng) track should be "-map 0:s:2", but it's "-map 0:s:1" as I've said before, and the (bul) track, wich should be "-map 0:s:4" is actually "-map 0:s:2".

    


    Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
  Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 768 kb/s (default)
  Stream #0:2(eng): Subtitle: subrip
    Metadata:
      title           : English
  Stream #0:3(eng): Subtitle: subrip
    Metadata:
      title           : English [SDH]
  Stream #0:4(bul): Subtitle: subrip
    Metadata:
      title           : Bulgarian (Bulgaria)


    


    Given said problem I tried something like this :

    


    ffmpeg -i pipe:0 -map 0:s:m:language:eng -c:s webvtt -f segment -segment_list_flags +live -segment_time 60 -segment_list subs_eng.m3u8 -segment_format webvtt subs_eng.vtt -loglevel debug


    


    Which didn't work because I can't or don't know how, to actually select the first result of this "-map 0:s:m:language:eng" if there is more than 1 "eng" sub track. Is there a way to do this ?
Or the alternative should be : Is there a reason why the metadata of this file is missmapped ? If so is there a way to detect it, to then do something about it ? or have it fixed ?

    


  • examples : rename muxing to mux

    15 janvier 2023, par Stefano Sabatini
    examples : rename muxing to mux
    
    • [DH] configure
    • [DH] doc/examples/Makefile
    • [DH] doc/examples/Makefile.example
    • [DH] doc/examples/encode_video.c
    • [DH] doc/examples/mux.c
    • [DH] doc/examples/muxing.c
  • examples : rename qsvdec to qsv_decode

    15 janvier 2023, par Stefano Sabatini
    examples : rename qsvdec to qsv_decode
    
    • [DH] configure
    • [DH] doc/examples/Makefile
    • [DH] doc/examples/qsv_decode.c
    • [DH] doc/examples/qsvdec.c