Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (99)

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

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

Sur d’autres sites (15421)

  • 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 ?

    


  • Start service with start-stop-daemon on Ubuntu 16.04 with timeout

    26 février 2018, par Topper

    I have /etc/init.d/stream proces with start/stop/restart options.
    It’s run ffmpeg with daemon options taken from /etc/default/stream DAEMON_OPTIONS.
    Start at background (-b) crate pid (/var/run/stream/stream.pid) etc.

    How could I add timeout 60 seconds to be sure that stream will be forcebly stopped if exceed 60 sek. timeout ?

    Can’t run "—exec timeout 60 ffmpeg" because service runs only timeout command.

    I’m I missing something or try to use wrong command ?

  • how to overlay 2 videos to main video and also set delay for the videos ? [duplicate]

    23 février 2021, par Siva Kumar

    i'm new to ffmpeg and still learning. I want to add a overlay of 2 videos to my main video. one is a logo/text animation video and the other is a like,subscribe etc button video. And i want them to show on a specific time i set them but have no idea how to do this.

    


    Also i want to position them to where i want them to appear and size as well. Can someone guide me on this. I read some articles but not sure how to get it done or what number i should change etc.
ffmpeg. One link showed something like this but i don't think this will work for my situation and on what i want to do like i can't set the time delay whwen to start and add another video. In total there is 3 videos. main and 2 videos or option to add another one. Thanks alot

    


    ffmpeg -i bg.avi -itsoffset 2 -i over.avi -filter_complex overlay out.avi