[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: cmatrix -C -b.png (105 KB, 472x220)
105 KB PNG
Free tool:
::
:: God's Audio Injector
::

@echo off
setlocal EnableExtensions DisableDelayedExpansion

if "%~2"=="" (
echo Usage: sound AUDIO VIDEO
echo.
echo Example:
echo sound sound.m4a video.mp4
exit /b 2
)

where ffmpeg.exe >nul 2>&1
if errorlevel 1 (
echo ERROR: ffmpeg.exe was not found in PATH.
exit /b 127
)

if not exist "%~2" (
echo ERROR: Video file not found:
echo %~2
exit /b 2
)

if not exist "%~1" (
echo ERROR: Sound file not found:
echo %~1
exit /b 2
)

ffmpeg.exe ^
-i "%~2" ^
-i "%~1" ^
-map 0:v:0 ^
-map 1:a:0 ^
-map_metadata -1 ^
-c:v copy ^
-c:a aac ^
-movflags +faststart ^
"%~dpn1_new.mp4"

exit /b %ERRORLEVEL%
>>
wow thanks this cured my boyfriends AIDS
i live in Sydney btw
>>
>>109568797
AIDS has a cure, like any disease, but modern science will not be able to tell you about it.
>>
>>109568801
what is the cure? asking for a friend
>>
>>109568755
babby's first steps in using ffmpeg.
this is called remuxing.
>>
>>109568755
>>109569579
What does it do?
>>
>>109569602
replaces audio track in a video file.
>>
>>109569636
I understood that part, but for what purpose?
>>
>>109569736
for when you want to replace an audio track in a video file.
>>
God I hated using batch and its interpreter.

>>109569736
I do something like this for edits/dubs.
Like I'll pull the audio track out, clean it up, then swap it back in.
Maybe adjust the volume, re-take a line, etc.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.