Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (50)

Sur d’autres sites (7672)

  • "Droplet" batch script - filenames containing ampersands

    16 août 2014, par stephenwade

    I’m trying to create a batch file that can have other files dropped onto it. Specifically, I’m using ffmpeg to edit audio files produced by a handheld voice recorder. The problem is when using filenames with ampersands (&). Even when quoting the input, anything after the & is dropped off, but only when files are dropped onto it ; if the filename input is typed on the command line, the script works fine. Before the cmd window closes, I briefly see the rest of the filename with an error saying it is not recognized as a valid command.

    Here’s my script :

    rem Change to drive and directory of input file
    % d1
    cd % p1
    

    rem ffmpeg : mix to one channel, double the volume
    %HOMEDRIVE%%HOMEPATH%\ffmpeg.exe -i "% nx1" -ac 1 -vol 1024 "% n1 fixed% x1"

    pause

    Here’s what appears on the command line, after dropping "ch17&18.mp3" :

    C :\Users\computergeeksjw\Desktop>C :\Users\computergeeksjw\ffmpeg.exe -i "ch17" -ac 1 -vol 1024 "ch17 fixed"
    [...]
    ch17 : No such file or directory
    

    In case it matters : I’m using the Windows 8 Developer Preview. Is this causing my problem ? Does the same error occur on Windows 7 or earlier ?

  • Revision bbc7b6a86a : Merge "Remove unused file" into experimental

    27 février 2013, par Yunqing Wang

    Merge "Remove unused file" into experimental

  • Revert "lavf/utils : add support for special characters encoding in URL"

    28 février 2013, par Michael Niedermayer

    Revert "lavf/utils : add support for special characters encoding in URL"