代码拉取完成,页面将自动刷新
同步操作将从 jingcheng/BAT_FFMPEG 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
REM https://trac.ffmpeg.org/wiki/AudioVolume
REM https://superuser.com/questions/323119/how-can-i-normalize-audio-using-ffmpeg
REM http://breakthebit.org/post/53570840966/how-to-increase-volume-in-a-video-without
REM https://superuser.com/questions/31176/increase-volume-of-an-mkv-video-from-linux-terminal
REM https://www.maketecheasier.com/ffmpeg-commands-media-file-conversions/
@echo off
echo %CD%
echo %~dp0
cd /d %~dp0
REM For first file
REM %1
REM For multiple files
echo %*
set COUNTER=0
for %%x in (%*) do (
echo %%x
set /A COUNTER+=1
)
echo COUNTER = %COUNTER%
if %COUNTER% GTR 0 (
if %COUNTER% EQU 1 (
echo _____GET ONE FILE_____
) else (
echo _____GET MULTI FILES: %COUNTER% files_____
)
for %%x in (%*) do (
REM //////////////////// MAIN \\\\\\\\\\\\\\\\\\\\\\\\\
REM ffmpeg.exe -i %%x -vcodec libx264 -acodec aac "%%~nx_output_AAC.mp4"
REM ffmpeg.exe -i %%x -vcodec libx264 -acodec ac3 "%%~nx_output_AC3.mp4"
REM -acodec libfaac -ac 2 -ar 44100 -ab 80k -vcodec libx264 -s 640x480 -b 670k -g 30 -r 15 output.mov
REM ffmpeg.exe -i %%x -an -c:v mjpeg -s 320x240 -f mov "%%~nx_output_AC3.mov"
REM FOR PANASONIC
ffmpeg.exe -i %%x -acodec pcm_u8 -map_channel 0.1.0 -ar 8000 -q:a 30 -r 10 -c:v mjpeg -s 320x240 "%%~nx_output_AC3.mov"
REM ffmpeg -ss 00:30:50 -i %%x -acodec pcm_u8 -map_channel 0.1.0 -ar 8000 -q:a 30 -r 10 -c:v mjpeg -s 320x240 "%%~nx_output_CUT.mov"
REM ffmpeg.exe -i %%x -acodec pcm_u8 -map_channel 0.1.0 -ar 8000 -q:a 30 -r 10 -c:v mjpeg -q:v 30 -s 320x240 "%%~nx_output_AC3.mov"
REM ffmpeg.exe -i %%x -acodec pcm_u8 -map_channel 0.1.0 -ar 8000 -r 10 -c:v mjpeg -s 320x240 -f mov "%%~nx_output_AC3.mov"
REM ffmpeg.exe -i %%x -acodec pcm_u8 -map_channel 0.1.0 -ar 8000 -r 10 -c:v mjpeg -s 320x240 -f mov -metadata creation_time="2018-01-27 19:07:26" "%%~nx_output_AC3.mov"
REM ffmpeg.exe -i %%x -an -pix_fmt yuv420p -c:v mjpeg -q:v 3 -s 320x240 "%%~nx_output_AC3.mov"
REM ffmpeg.exe -i %1 -vcodec libx264 -crf 30 output.mp4
)
) else (
echo _____GET NO ONE FILES_____
)
pause
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。