forfiles - ffmpeg -Volume Filter not recognised

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

forfiles - ffmpeg -Volume Filter not recognised

Gareth Fakouri
I am trying to run a batch conversion using ffmpeg and for files. It does work except when i include the volume filter. Works fine with the quality filter on it's own.

PS C:\Users\garet\Videos\Cobra> forfiles /c "cmd /c ffmpeg -i @FILE -filter:a "volume=3" -c:v libx264 -preset ultrafast @FNAME.mp4"
ERROR: Invalid argument/option - 'volume=3 -c:v libx264 -preset ultrafast @FNAME.mp4'.
Type "FORFILES /?" for usage.

The bold and underlined section is the offending part. The code runs fine minus this part using for files. Doing the files one at a time works fine using that volume filter syntax.

Maybe quotes within quotes is the problem??????????????

I have no idea really, any help would be appreciated.

Cheers

Gareth

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: forfiles - ffmpeg -Volume Filter not recognised

Gyan Doshi


On 5/9/2018 1:51 PM, Gareth Fakouri wrote:
>
> PS C:\Users\garet\Videos\Cobra> forfiles /c "cmd /c ffmpeg -i @FILE -filter:a "volume=3" -c:v libx264 -preset ultrafast @FNAME.mp4"
> ERROR: Invalid argument/option - 'volume=3 -c:v libx264 -preset ultrafast @FNAME.mp4'.

>
> Maybe quotes within quotes is the problem??????????????

I think so. You can skip the quotes surrounding

     volume=3

Alternatvely, the escape character for PS is ` (grave accent, above Tab
key). So you can also try

     `"volume=3`"


Regards,
Gyan
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".