Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (45)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (9474)

  • avfilter/avfilter : Move AVFilterGraph private fields to FFFilterGraph

    10 février 2024, par Andreas Rheinhardt
    avfilter/avfilter : Move AVFilterGraph private fields to FFFilterGraph
    

    (These fields were in AVFilterGraph although AVFilterGraphInternal
    existed for years.)

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavfilter/avfilter.h
    • [DH] libavfilter/avfilter_internal.h
    • [DH] libavfilter/avfiltergraph.c
  • 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
  • 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;