I added support for smb/network shares (although mapping the network drive works fine), keeping the original filename intact, and it also checks the file for a DV layer and if no track is found it prompts you and exits instead of trying anyway with crazy errors.
link: https://bit.ly/2F9tSEN
cheers!
edit: for those who don't trust simple winrar sfx files, here's the source code:
Code: Select all
@echo off
for %%a in ("*.m2ts") do @echo %%~na> filename.txt
ren *.m2ts Movie.m2ts
@echo M2TS file found! Extracting tracks, please wait (approx. 30 mins)...
eac3to.exe Movie.m2ts 1: bl.hevc 2: el.hevc 3: audio.ac3 -core -640
@echo Muxing tracks to MP4, please wait (approx. 45 mins)...
mp4muxer_64bits.exe --dv-profile 7 -i bl.hevc -i el.hevc -i audio.ac3 --media-lang eng -o DV-Movie.mp4
set /p texte=< filename.txt
ren Movie.m2ts %texte%.m2ts
ren DV-Movie.mp4 %texte%.Dolby.Vision.mp4
@echo Cleaning up temp files... Done!
echo y | del avcodec-54.dll del avutil-52.dll del hdcd.dll del HookSurcode.dll del libaften.dll del libdcadec.dll del libFLAC.dll del libMatrix.dll del libSsrc.dll del msvcr100.dll del r8b.dll del mkv.cmd del filename.txt del *log.txt eac3to.exe del mp4muxer_64bits.exe del bl.hevc del el.hevc del audio.ac3
@echo Process Complete! Enjoy :)
pause
del m2ts.cmd
my winrar self-extracting (sfx) file automatically runs the .cmd file as soon as it puts the files needed into your movie folder. but it is an exe file so I guess it sketchy? :p