Recherche avancée

Médias (1)

Mot : - Tags -/book

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

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (10134)

  • How to swtich audio stream with ffmpeg ?

    6 octobre 2022, par Jason

    I have a file which has both english and japanese audio tracks. This is the meta data of the file (using command ffmpeg -i "my_vid.mp4" :

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'my_vid.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf58.76.100
  Duration: 00:27:13.14, start: 0.000000, bitrate: 1699 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 263.012000
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 263.012000, end 353.019000
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 353.019000, end 891.098000
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 891.098000, end 1535.075000
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1535.075000, end 1624.080000
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 1624.080000, end 1633.140000
      Metadata:
        title           : Chapter 06
  Stream #0:0[0x1](und): Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv), 1920x1080 [SAR 1:1 DAR 16:9], 1413 kb/s, 23.98 fps, 23.98 tbr, 16k tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 136 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](jpn): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 137 kb/s
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
  Stream #0:3[0x4](eng): Data: bin_data (text / 0x74786574)
    Metadata:
      handler_name    : SubtitleHandler


    


    Per the ffmpeg documentation I'm trying to switch the video's audio output to japanese. However, the output video is still in english (which it was in before). This is my current ffmpeg cmd :

    


    ffmpeg -i "my_vid.mp4" -c copy -disposition:a:1 default "output.mp4"


    


    what am I doing wrong ? Still pretty new to ffmpeg

    


    Edit :

    


    With one of the suggestions I tried adding the -map 0 option to my command

    


    ffmpeg -i "my_vid.mp4" -map 0 -c copy -disposition:a:2 default "output.mp4"


    


    but still not change. The meta data for the output video is as follows :

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf59.33.100
  Duration: 00:27:13.14, start: 0.000000, bitrate: 1699 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 263.012000
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 263.012000, end 353.019000
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 353.019000, end 891.098000
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 891.098000, end 1535.075000
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1535.075000, end 1624.080000
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 1624.080000, end 1633.140000
      Metadata:
        title           : Chapter 06
  Stream #0:0[0x1](und): Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv), 1920x1080 [SAR 1:1 DAR 16:9], 1413 kb/s, 23.98 fps, 23.98 tbr, 16k tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 136 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](jpn): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 137 kb/s
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
  Stream #0:3[0x4](eng): Data: bin_data (gpmd / 0x646D7067)
    Metadata:
      handler_name    : SubtitleHandler
  Stream #0:4[0x5](eng): Data: bin_data (text / 0x74786574)
    Metadata:
      handler_name    : SubtitleHandler


    


  • fftools/ffmpeg : store forced keyframe pts in AV_TIME_BASE_Q

    17 novembre 2022, par Anton Khirnov
    fftools/ffmpeg : store forced keyframe pts in AV_TIME_BASE_Q
    

    Rather than the encoder timebase. Since the times are parsed as
    microseconds, this will not reduce precision, except possibly when
    chapter times are used and the chapter timebase happens to be better
    aligned with the encoder timebase, which is unlikely.

    This will allow parsing the keyframe times earlier (before encoder
    timebase is known) in future commits.

    • [DH] fftools/ffmpeg.c
    • [DH] fftools/ffmpeg.h
  • doc/developer.texi : refine the "contributing code" section

    9 novembre 2022, par Anton Khirnov
    doc/developer.texi : refine the "contributing code" section
    

    Drop the reference to directly committing code, because
    - it is highly discouraged and very rarely done these days
    - there is no good reason NOT to submit patches for review

    Add a link to the development policy chapter.

    • [DH] doc/developer.texi