-
-
Save pdemanget/4467150 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem tested on Windows Vista | |
setlocal enabledelayedexpansion | |
:: conerti totues les videos du dossier et le concaténe en all.mpg | |
:: | |
:: | |
echo ceci va concertir tout les fichiers videos du dossier . | |
set /p rep=Etes vous sur? (y/n) | |
if not "%rep%"=="y" exit /b | |
set folder=%* | |
set ffmpeg=c:\programs\ffmpeg\bin\ffmpeg | |
echo convert folder:%* %DATE% %TIME% >> C:\tmp\log\conv_vid.log | |
cd /d "%folder%" | |
for %%i in ( *.mts ) do ( | |
echo process %%i >> C:\tmp\log\conv_vid.log | |
set OUT=!OUT!%%i+ | |
) | |
title > end | |
set OUT=%OUT%end | |
echo %OUT% >> %BATSH%\tmp\log\conv_vid.log | |
copy /b %OUT% "%folder%.mts" | |
%ffmpeg% -i "%folder%.mts" -target pal-dvd "%folder%.mpg" | |
echo done:%1 %DATE% %TIME% >> C:\tmp\log\conv_vid.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Folder\shell\Conversion video V2\command] | |
@="c:\\opt\bin\\encodeMPG.bat %1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment