files_name.bat

来自「ZPAV (H265) PC(X86) demo ZPAV (H26」· Batch 代码 · 共 34 行

BAT
34
字号

rem @echo off


rem set files_name2=pcm3
rem set files_name1=pcm2

rem set files_name0=pcm1
set files_name0=pcm0


if defined files_name2  ( set files_name=%files_name2%
                          set audio_param1=-a_sps 44100 -a_ch 2 )

if defined files_name1  ( set files_name=%files_name1%
                          set audio_param1=-a_sps 22050 -a_ch 1 )

if defined files_name0  ( set files_name=%files_name0%
                          set audio_param1=-a_sps 8000 -a_ch 1 )


set files_path_in=..\..\..\av_data
set files_path_out=%files_path_in%\codec_out


if not exist %files_path_out%\nul (
        echo directory '%files_path_out%' does not exist.  creating it now.
        mkdir %files_path_out% )


rem @echo on


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?