Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- REM FF Prompt 1.2
- REM Open a command prompt to run ffmpeg/ffplay/ffprobe
- REM Copyright (C) 2013-2015 Kyle Schwarz
- TITLE FF Prompt
- IF NOT EXIST bin\ffmpeg.exe (
- CLS
- ECHO bin\ffmpeg.exe could not be found.
- GOTO:error
- )
- CD bin || GOTO:error
- PROMPT $P$_$G
- SET PATH=%CD%;%PATH%
- SET FC_CONFIG_DIR=G:\ffmpeg\bin\fonts
- SET FONTCONFIG_FILE=fonts.conf
- SET FONTCONFIG_PATH=G:\ffmpeg\bin\fonts
- CLS
- ffmpeg -version
- ECHO.
- ECHO For help run: ffmpeg -h
- ECHO For formats run: ffmpeg -formats ^| more
- ECHO For codecs run: ffmpeg -codecs ^| more
- ECHO.
- ECHO Current directory is now: "%CD%"
- ECHO The bin directory has been added to PATH
- ECHO.
- CMD /Q /K
- GOTO:EOF
- :error
- ECHO.
- ECHO Press any key to exit.
- PAUSE >nul
- GOTO:EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement