Andrew Taran wrote:The best solution for me so far is a .bat file with this :
DO (
md mts
md mp4
)
for %%f IN (*.mts) DO (
"C:\Program Files\ffmbc\ffmbc.exe" -i %%f -vcodec copy -acodec aac -strict experimental -ab 512k %%~nf.mp4
)
DO (
move *.mp4 "mp4\"
move *.mts "mts\"
Just put it in your folder with .mts files and it converts all of them to .mp4 and sorts them in 2 subfolders : mp4 and mts. Super handy!
Hello
Thank you all for this topic.
That is just what I'm looking for to grade my gh2 files in resolve 10.
I just started using and understand how ffmpeg does work.
But there is still a little problem.
I have put the ffmpeg.exe file in my Program Files folder and created the .bat file in the same folder as my .mts files.
- ffmpeg 03.jpg (211.43 KiB) Viewed 20761 times
- ffmpeg 02.jpg (49.39 KiB) Viewed 20761 times
When I start the command, I have a message from windows and a white on black command message as you can see on the screenshot.
- ffmpeg.jpg (360.12 KiB) Viewed 20761 times
It's wroten in french on the first line that : the "DO" is not recognize as a internal or external command, an executable program or command file.
The windows message explain that ffmpeg crashed.
The mp4 and mts folders ares well created anyway but with nothing inside of them.
I hope it just need a little code modification in the bat file.
Thank you for helping me and sorry for my bad english.
Vincent