Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
27th July 2012, 13:54 | #1 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Mencoder + subtitle embedding + m2ts input,...
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" - 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" - 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 |
21st September 2012, 10:51 | #2 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
problem seems to be that the timestamps in the m2ts file start at 600 instead of 0 (http://bugzilla.mplayerhq.hu/show_bug.cgi?id=2081)
-> does anyone know how to tell mencoder to reset these timestamps to 0 ? I tried: -vf scale,format=i420,fixpts=start=0,ass,fixpts,scale,format=i420 -vf scale,format=i420,fixpts=start=0,ass,scale,format=i420,fixpts -vf scale,format=i420,fixpts=start=0,ass,scale,format=i420 -vf fixpts=start=0,ass,fixpts,scale,format=i420 -vf fixpts=start=0,ass,scale,format=i420 nothing seems to help |
Tags |
embed, m2ts, mencoder, subtitle |
|
|