Selur
27th July 2012, 13:54
If I call (mp4 input):
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):
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. :(
I uploaded sample files and calls to: http://www.embedupload.com/?d=6TIYHBQVMR
The mp4 and the m2ts file both contain the same video stream (it's just a remux).
Does any one know what's going wrong here?
Is there an additional option I should be using with m2ts input?
Cu Selur
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):
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. :(
I uploaded sample files and calls to: http://www.embedupload.com/?d=6TIYHBQVMR
The mp4 and the m2ts file both contain the same video stream (it's just a remux).
Does any one know what's going wrong here?
Is there an additional option I should be using with m2ts input?
Cu Selur