Hi
I get a JAVA.lang.ArrayIndexOutOfBoundsException: 2
Latest Java is installed under Vista Home Pro.
Your other tip was fine, I extracted the audio streams and the VC-1 stream, and tried to mux the VC-1 stream with audio track 2, but I still get only picture, no sound.
Maybe I'm making a mistake in one of the required steps .....
The finished TS or M2TS files play, but silent.
Oh, and yes, I too have the slight stutter / lag on the picture stream .....
Do you think you could maybe write me a step-by-step walkthrough ?
Would be much appreciated !
Thx
BC55
PS : When I drag & drop just the extracted audio stream to PowerDVD, it plays fine in 5.1 alone, but will not work when combined with a video stream .....
No, I use the provided BATCH file called ToNMT.bat.
It does all this :
@ECHO OFF
REM Demux Temp File Location
SET DEMUX_PREFIX=C:\HDDVD
SET EAC3TO_DIR=".\eac3to"
SET TSMUXER_DIR=".\tsMuxeR"
SET OUTPUT_FILE=D:\VIDEO\movie.ts
SET EAC3TO_OUTPUT_TYPE=ac3
rem If you have the dts encoder this is probably better
rem SET EAC3TO_OUTPUT_TYPE=dts
SET META_FILE=%DEMUX_PREFIX%.meta
SET AUDIO_CONV_NAME=%DEMUX_PREFIX%_conv.txt
SET EAC3TO_OUT=%DEMUX_PREFIX%.%EAC3TO_OUTPUT_TYPE%
IF NOT [%2]==[] (SET OUTPUT_FILE=%2)
IF EXIST %OUTPUT_FILE% (
ECHO %OUTPUT_FILE% exists! Please rename or remove.
PAUSE
GOTO :eof
)
IF NOT EXIST %EAC3TO_DIR% (
ECHO "Could not find eac3to"
GOTO :eof
)
IF NOT EXIST %TSMUXER_DIR% (
ECHO "Could not find TsMuxeR"
GOTO :eof
)
SET AC3_FILE=%DEMUX_PREFIX%.ac3
SET EAC3_FILE=%DEMUX_PREFIX%_c0.eac3
java -cp common.jar;muxer.jar util.ToNMT %1 %DEMUX_PREFIX% %EAC3TO_OUTPUT_TYPE%
IF NOT ERRORLEVEL 0 (
ECHO Demux Failed: %ERRRORLEVEL%
GOTO :eof
)
IF EXIST %AUDIO_CONV_NAME% (
FOR /F "tokens=*" %%G IN ('type %AUDIO_CONV_NAME%') DO CALL :s_convert_audio %%G)
IF NOT ERRORLEVEL 0 (
REM FIXME: This doesn't work
ECHO Audio convertsion failed: %ERRORLEVEL%
GOTO :eof
)
)
IF EXIST %META_FILE% (
ECHO Muxing...
%TSMUXER_DIR%\tsmuxer.exe %META_FILE% %OUTPUT_FILE%
)
ECHO Deleting Work Files
DEL /p %DEMUX_PREFIX%*.*
GOTO :eof
rem ***************************
rem * Audio Conversion Function
rem ***************************
:s_convert_audio
ECHO Converting %1
%EAC3TO_DIR%\eac3to %1 %EAC3TO_OUT%
GOTO :eof
I have all the needed files and directories are correct. I dunno .....