Recherche avancée

Médias (91)

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

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

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (10433)

  • avcodec/bsf/mp3_header_decompress : Remove BSF

    28 février 2024, par Andreas Rheinhardt
    avcodec/bsf/mp3_header_decompress : Remove BSF
    

    This BSF is supposed to be used in conjunction with mp3_header_compress,
    which has been removed more than ten years ago in commit
    c6080d89009056530119ab794ad02e4d515c7754. It mangled the headers
    by removing the CRC field as well as fields that are supposed
    to stay constant for the entirety of a stream (which are put into
    extradata). This made these files unplayable ; they need to be
    decompressed with the BSF first (which does not happen automatically).
    Even in this case the CRC does not get restored.

    I am not aware that such compressed files exist at all ; therefore
    this commit removes the BSF completely.

    Reviewed-by : Anton Khirnov <anton@khirnov.net>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] doc/bitstream_filters.texi
    • [DH] libavcodec/Makefile
    • [DH] libavcodec/bitstream_filters.c
    • [DH] libavcodec/bsf/Makefile
    • [DH] libavcodec/bsf/mp3_header_decompress.c
    • [DH] libavcodec/version.h
  • Unable to find replacement for -vol [closed]

    21 février 2024, par Michael Benton

    I'm referring to this thread posted years ago.

    &#xA;

    While I was testing Downmixing without discarding the LFE channel (Dave_750's answer) on ffmpeg, which included the formula

    &#xA;

    ffmpeg -i "sourcetrack.dts" -c dca -vol 425 -af "pan=stereo|c0=0.5*c2&#x2B;0.707*c0&#x2B;0.707*c4&#x2B;0.5*c3|c1=0.5*c2&#x2B;0.707*c1&#x2B;0.707*c5&#x2B;0.5*c3" "outputstereo.dts"&#xA;

    &#xA;

    the cmd raised the following error :

    &#xA;

    Unrecognized option &#x27;vol&#x27;. Error splitting the argument list: Option not found&#xA;

    &#xA;

    The formula I put in cmd wasn't the same as the one in the thread at the beginning, because I replaced in it the attributes of my ac3 track.

    &#xA;

    ffmpeg -i "inputsurround.ac3" -vol 425 -af "pan=stereo|c0=0.5*c2&#x2B;0.707*c0&#x2B;0.707*c4&#x2B;0.5*c3|c1=0.5*c2&#x2B;0.707*c1&#x2B;0.707*c5&#x2B;0.5*c3" -c:a ac3 -b:a 320k -ar 48000 "outputstereo.ac3"&#xA;

    &#xA;

    Through this thread, I discovered that the -vol function was deprecated years ago.

    &#xA;

    I found another thread where the syntax used was

    &#xA;

    -af volume=N&#xA;

    &#xA;

    (where N stands for a percentage or, if N is followed by "dB", a dB value).

    &#xA;

    I'm not sure if -af volume behaves exactly like -vol while downmixing to stereo the ac3.

    &#xA;

    I went back editing the formula :

    &#xA;

    ffmpeg -i "inputsurround.ac3" -af "volume=425" -af "pan=stereo|c0=0.5*c2&#x2B;0.707*c0&#x2B;0.707*c4&#x2B;0.5*c3|c1=0.5*c2&#x2B;0.707*c1&#x2B;0.707*c5&#x2B;0.5*c3" -c:a ac3 -b:a 320k -ar 48000 "outputstereo.ac3"&#xA;

    &#xA;

    It raised the following warning (which didn't stop the file generation) :

    &#xA;

    Multiple -filter/-af/-vf options specified for stream 0, only the last option &#x27;-filter:a pan=stereo|c0=0.5*c2&#x2B;0.707*c0&#x2B;0.707*c4&#x2B;0.5*c3|c1=0.5*c2&#x2B;0.707*c1&#x2B;0.707*c5&#x2B;0.5*c3&#x27; will be used&#xA;

    &#xA;

    As I already suspected, I couldn't use two "-af" in the same command. The generated file is useless, because ffmpeg only applied one of the two commands. I also tried with N defined in dB, with no success.

    &#xA;

    I continued my search and, from another thread, I learned that I could use

    &#xA;

    -filter_complex "[1] formula1;[0] formula2"&#xA;

    &#xA;

    to resolve my issue.

    &#xA;

    My formula then became :

    &#xA;

    ffmpeg -i "inputsurround.ac3" -filter_complex "[1]volume=425;[0]pan=stereo|c0=0.5*c2&#x2B;0.707*c0&#x2B;0.707*c4&#x2B;0.5*c3|c1=0.5*c2&#x2B;0.707*c1&#x2B;0.707*c5&#x2B;0.5*c3" -c:a ac3 -b:a 320k -ar 48000 "outputstereo.ac3"&#xA;

    &#xA;

    And it still raised an error :

    &#xA;

    Invalid file index 1 in filtergraph description [1]volume=425;[0]pan=stereo|c0=0.5*c2&#x2B;0.707*c0&#x2B;0.707*c4&#x2B;0.5*c3|c1=0.5*c2&#x2B;0.707*c1&#x2B;0.707*c5&#x2B;0.5*c3.&#xA;Error initializing complex filters: Invalid argument&#xA;

    &#xA;

    To simplify the formula, I went back using -af with the properties of -filter_complex. And I got :

    &#xA;

    ffmpeg -i "inputsurround.ac3" -af "[1]volume=425;[0]pan=stereo|c0=0.5*c2&#x2B;0.707*c0&#x2B;0.707*c4&#x2B;0.5*c3|c1=0.5*c2&#x2B;0.707*c1&#x2B;0.707*c5&#x2B;0.5*c3" -c:a ac3 -b:a 320k -ar 48000 "outputstereo.ac3"&#xA;

    &#xA;

    Again, another error :

    &#xA;

    Simple filtergraph &#x27;[1]volume=425;[0]pan=stereo|c0=0.5*c2&#x2B;0.707*c0&#x2B;0.707*c4&#x2B;0.5*c3|c1=0.5*c2&#x2B;0.707*c1&#x2B;0.707*c5&#x2B;0.5*c3&#x27; was expected to have exactly 1 input and 1 output. However, it had 2 input(s) and 2 output(s). Please adjust, or use a complex filtergraph (-filter_complex) instead.&#xA;[aost#0:0/ac3 @ 000001d83b4c4200] Error initializing a simple filtergraph&#xA;Error opening output file outputstereo.ac3.&#xA;Error opening output files: Invalid argument&#xA;

    &#xA;

    whether I used a semicolon or comma as a separator.

    &#xA;

    I'm completely lost at this point as I don't have deep knowledge of the topic.

    &#xA;

      &#xA;
    • has -vol been deprecated or I've searched badly/it's a syntax typo ?

      &#xA;

    • &#xA;

    • if -vol has been deprecated, is there a way to rewrite the formula such that it outputs the result intended by the original user ?

      &#xA;

    • &#xA;

    • if I replace c0, c1, c2, c3, c4, c5 to FL, FR, FC, LF, BL, BR in the formula, would I get a different channel layout ? (my file is : L, R, C, LFE, Ls, Rs)

      &#xA;

    • &#xA;

    &#xA;

    I'll try to clear every doubt. Any help is highly appreciated !

    &#xA;

  • avcodec/libaomenc : bump the minimum required version to 2.0.0

    5 avril 2024, par James Almer
    avcodec/libaomenc : bump the minimum required version to 2.0.0
    

    v2.0.0 is already four years old and even newer versions are available on
    stable distro releases.
    With this we stop setting codec capabilities during static data initialization.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] configure
    • [DH] libavcodec/libaomenc.c