I am trying to use TSMuxer on Windows 10 to remove the AD audio track from a large number of .ts files on a HDD which has been salvaged from a Humax Foxsat HDR. The HDD is mounted in a Linux file server, and I am running TSMuxer from a command prompt in Windows 10, processing the .ts files via a samba share on the Linux file server.

The bat file that I'm using is designed to be run once in each folder that contains recordings:

Code:
for %%i in (*.ts) do (
echo %%i
echo MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr  --vbv-len=500 >> thisvid.meta
echo V_MPEG4/ISO/AVC, "%%i", insertSEI, contSPS, track=5400 >> thisvid.meta
echo A_AC3, "%%i", timeshift=-730ms, track=5401, lang=eng >> thisvid.meta
echo #A_MP3, "%%i", timeshift=-458ms, track=5402, lang=NAR >> thisvid.meta
d:\temp\tsMuxeR.exe thisvid.meta "%%~ni-fixed.ts"
del "%%i"
del thisvid.meta
)
If I do a test run, using a folder on the Windows 10 machine which I have copied some sample .ts files to, it works fine, producing output files without the AD track. If I run the same bat file from a command prompt against a folder on the Linux file server it produces a zero length output file every time. Here's an example of the output from one of the folders:
Code:
W:\Video\Program_Name - Part___>(
echo Program_Name - Part____20131101_0222.ts
 echo MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr  --vbv-len=500  1>>thisvid.meta
 echo V_MPEG4/ISO/AVC, "Program_Name - Part____20131101_0222.ts", insertSEI, contSPS, track=5400  1>>thisvid.meta
 echo A_AC3, "Program_Name - Part____20131101_0222.ts", timeshift=-730ms, track=5401, lang=eng  1>>thisvid.meta
 echo #A_MP3, "Program_Name - Part____20131101_0222.ts", timeshift=-458ms, track=5402, lang=NAR  1>>thisvid.meta
 d:\temp\tsMuxeR.exe thisvid.meta "Program_Name - Part____20131101_0222-fixed.ts"
 del "Program_Name - Part____20131101_0222.ts"
 del thisvid.meta
)
Program_Name - Part____20131101_0222.ts
Network Optix tsMuxeR.  Version 2.6.12. www.networkoptix.com
Warning! The file Program_Name - Part____20131101_0222.ts has a M2TS format.
100.0% complete
Processed 0 video frames
100.0% complete
Flushing write buffer
Mux successful complete
Muxing time: 26 sec
Does anyone have any idea why I get empty files when executed on the network share, but it works correctly on a local folder? I have write permissions to the network share (e.g. I can copy files to it from Windows)