Code:
"G:\Hybrid\mplayer.exe" "H:\Output\input.m2ts" -vf ass -fps 25 -vo direct3d -lavdopts threads=8 -subcp UCS-2 -sub "H:\Output\sampleTest.srt" -ass -ass-font-scale 1 -ass-force-style Fontname="Arial",Outline=1,Shadow=1,MarginV=10,Fontsize=20 -mc 0 -nosound
or
Code:
"G:\Hybrid\mplayer.exe" "H:\Output\input.m2ts" -fps 25 -vo direct3d -lavdopts threads=8 -subcp UCS-2 -sub "H:\Output\sampleTest.srt" -mc 0 -nosound
no subtitles are shown,.. (same happens with mplayer2 btw.)

If I use input.mp4 instead of input.m2ts everything looks fine.

If I call (mp4 input):
Code:
mencoder -lavdopts threads=8 -really-quiet -subcp UCS-2 -sub "sampleTest.srt" -ass -ass-force-style Fontname="Arial",Outline=1,Shadow=1,MarginV=10,Alignment=2,Fontsize=20 -of rawvideo -o - -ovc raw -noskip -demuxer lavf -vfm ffmpeg -vf scale,format=i420,ass,scale,format=i420 -nosound -mc 0 "input.mp4" | x264 --preset ultrafast --tune fastdecode --crf 24 --fps 25 --input-res 640x352 --output "mp4SourceOutput.mp4" -
subtitles get embedded, but if I use (m2ts input):
Code:
mencoder -lavdopts threads=8 -really-quiet -subcp UCS-2 -sub "sampleTest.srt" -ass -ass-force-style Fontname="Arial",Outline=1,Shadow=1,MarginV=10,Alignment=2,Fontsize=20 -of rawvideo -o - -ovc raw -noskip -demuxer lavf -vfm ffmpeg -vf scale,format=i420,ass,scale,format=i420 -nosound -mc 0 "input.m2ts" | x264 --preset ultrafast --tune fastdecode --crf 24 --fps 25 --input-res 640x352 --output "m2tsSourceOutput.mp4" -
subtitles are not embedded.


Uploaded sample files: http://www.embedupload.com/?d=6TIYHBQVMR

converting the .srt to .ass and using i.e.:
Code:
"G:\Hybrid\mplayer.exe" "H:\Output\input.m2ts" -vf ass -fps 25 -vo  direct3d -lavdopts threads=8 -sub "H:\Output\sampleTest.ass" -ass -mc 0  -nosound
does not help either, neither does converting the srt file to utf-8 or ANSI.

Anyone has a clue if this is a bug or if I'm missing something?


Cu Selur