Quote:
Originally Posted by sneaker_ger
Are you encoding to mp4 or to mkv? Can you put on the log files? What happens if you manually add "--fps 24000/1001" to the x264 command line?
|
I am encoding directly to MKV so that I can remux with audio from the original file using MKVmerge. My AVS looks something like this for all files (I have also tried using .AssumeFPS(), which made no difference):
Code:
LoadPlugin("C:\Program Files (x86)\Haali\MatroskaSplitter\avss.dll")
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("C:\Path\to\720p.mkv", fpsnum=24000, fpsden=1001)
#deinterlace
#crop
LanczosResize(800,450) # Lanczos (Sharp)
#denoise
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\VSFilter.dll")
TextSub("C:\Path\to\720p_track3.ass", 1)
My encoder settings look like this:
Code:
program --preset slow --tune animation --crf 18.0 --output "output" "input"
I'm running a job as a test right now, I'll post the log when it's done.
Edit: Logs
Code:
-[Information] Log for job1 (video, 720p.mkv.avs -> 450p_noaudio.mkv)
--[Information] [5/5/2011 2:15:56 AM] Started handling job
--[Information] [5/5/2011 2:15:56 AM] Preprocessing
--[Information] [5/5/2011 2:15:56 AM] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files (x86)\Haali\MatroskaSplitter\avss.dll")
---[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\ffms\ffms2.dll")
---[NoImage] FFVideoSource("C:\Path\to\720p.mkv", fpsnum=24000, fpsden=1001)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] LanczosResize(800,450) # Lanczos (Sharp)
---[NoImage] #denoise
---[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\VSFilter.dll")
---[NoImage] TextSub("C:\Path\to\720p_track3.ass", 1)
--[Information] [5/5/2011 2:15:57 AM] Job commandline: "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe" --preset slow --tune animation --crf 18.0 --sar 1:1 --output "C:\Path\to\450p_noaudio.mkv" "C:\Path\to\720p.mkv.avs"
--[Information] [5/5/2011 2:15:57 AM] Encoding started
--[Information] [5/5/2011 2:31:28 AM] Standard output stream
--[Information] [5/5/2011 2:31:28 AM] Standard error stream
---[NoImage] raw [info]: 800x450p 1:1 @ 24000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
---[NoImage] x264 [info]: profile High, level 3.1
---[NoImage]
---[NoImage] x264 [info]: frame I:296 Avg QP:13.97 size: 60828
---[NoImage] x264 [info]: frame P:7961 Avg QP:16.36 size: 9204
---[NoImage] x264 [info]: frame B:26268 Avg QP:21.52 size: 1145
---[NoImage] x264 [info]: consecutive B-frames: 2.7% 4.0% 6.3% 25.5% 15.3% 46.2%
---[NoImage] x264 [info]: mb I I16..4: 20.6% 37.0% 42.4%
---[NoImage] x264 [info]: mb P I16..4: 3.4% 3.4% 2.2% P16..4: 32.0% 10.4% 7.6% 0.0% 0.0% skip:41.0%
---[NoImage] x264 [info]: mb B I16..4: 0.2% 0.3% 0.1% B16..8: 15.1% 1.8% 0.7% direct: 1.2% skip:80.7% L0:38.6% L1:55.9% BI: 5.5%
---[NoImage] x264 [info]: 8x8 transform intra:38.1% inter:64.6%
---[NoImage] x264 [info]: direct mvs spatial:99.8% temporal:0.2%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 49.0% 70.7% 51.2% inter: 6.3% 9.7% 3.2%
---[NoImage] x264 [info]: i16 v,h,dc,p: 44% 23% 11% 21%
---[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 11% 21% 7% 8% 8% 8% 8% 10%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 12% 14% 7% 9% 9% 7% 8% 8%
---[NoImage] x264 [info]: i8c dc,h,v,p: 44% 23% 22% 10%
---[NoImage] x264 [info]: Weighted P-Frames: Y:3.8% UV:3.2%
---[NoImage] x264 [info]: ref P L0: 55.1% 5.2% 15.5% 6.5% 4.6% 4.2% 3.2% 1.9% 1.8% 1.8% 0.2% 0.0%
---[NoImage] x264 [info]: ref B L0: 78.0% 9.2% 5.4% 2.1% 1.7% 1.4% 1.2% 0.6% 0.4%
---[NoImage] x264 [info]: ref B L1: 93.8% 6.2%
---[NoImage] x264 [info]: kb/s:674.18
---[NoImage] encoded 34525 frames, 37.09 fps, 674.18 kb/s
--[Information] Final statistics
---[Information] [5/5/2011 2:31:29 AM] Constant Quality Mode: Quality 18 computed...
---[Information] [5/5/2011 2:31:29 AM] Video Bitrate Obtained (approximate): 675 kbit/s
--[Information] [5/5/2011 2:31:29 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [5/5/2011 2:31:29 AM] Job completed
If it helps, here is a log from a video I encoded that has no problems seeking on my phone:
Code:
---[NoImage] x264 [info]: frame I:298 Avg QP:14.04 size: 61201
---[NoImage] x264 [info]: frame P:9780 Avg QP:17.51 size: 10412
---[NoImage] x264 [info]: frame B:24038 Avg QP:22.27 size: 2788
---[NoImage] x264 [info]: consecutive B-frames: 4.8% 7.7% 9.4% 52.7% 10.0% 15.4%
---[NoImage] x264 [info]: mb I I16..4: 22.5% 38.4% 39.1%
---[NoImage] x264 [info]: mb P I16..4: 3.6% 6.0% 2.8% P16..4: 31.0% 11.3% 7.9% 0.0% 0.0% skip:37.5%
---[NoImage] x264 [info]: mb B I16..4: 0.5% 1.2% 0.4% B16..8: 20.5% 4.8% 1.8% direct: 2.0% skip:68.8% L0:46.8% L1:46.2% BI: 7.0%
---[NoImage] x264 [info]: 8x8 transform intra:48.9% inter:65.4%
---[NoImage] x264 [info]: direct mvs spatial:99.9% temporal:0.1%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 58.3% 67.9% 38.7% inter: 11.4% 12.4% 3.0%
---[NoImage] x264 [info]: i16 v,h,dc,p: 30% 26% 9% 36%
---[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 14% 13% 6% 10% 8% 10% 8% 12%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 13% 13% 7% 11% 9% 9% 8% 9%
---[NoImage] x264 [info]: i8c dc,h,v,p: 42% 27% 19% 12%
---[NoImage] x264 [info]: Weighted P-Frames: Y:2.3% UV:1.7%
---[NoImage] x264 [info]: ref P L0: 48.5% 5.7% 14.4% 7.2% 5.3% 5.0% 4.7% 3.5% 2.6% 2.5% 0.6% 0.0%
---[NoImage] x264 [info]: ref B L0: 62.2% 12.7% 7.7% 4.5% 3.6% 3.8% 3.0% 1.7% 0.9%
---[NoImage] x264 [info]: ref B L1: 92.2% 7.8%
---[NoImage] x264 [info]: kb/s:1051.87
---[NoImage] encoded 34116 frames, 27.83 fps, 1051.87 kb/s
--[Information] Final statistics
---[Information] [4/9/2011 7:20:31 AM] Constant Quality Mode: Quality 18 computed...
---[Information] [4/9/2011 7:20:31 AM] Video Bitrate Obtained (approximate): 1053 kbit/s