Slogra
14th June 2009, 14:48
I've been encoding several videos to x264 using Automkv. Everything has been working really great and fast. But suddenly the encoding speed dropped from 30fps to a mere 10fps. Now all encodings go at this very slow speed. I've got no clue why, because I'm still using the exact same settings and same kind of video.
Specs:
CPU: Core2duo e6850
Mem: 2GB ram
OS: Windows XP SP3 32bit
x264 takes most CPU power from both cores when encoding, so that doesn't seem to be the problem. Other than that i really don't know where to look to fix this problem.
Here is a log of a slow 10fps encode (unfortunately i don't have a log of a fast encode anymore):
22:11:55 0.98.4 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
22:11:55 OS Version: Windows XP
22:11:55 Selected Input file: F:\Vob\Dierenwinkel\VTS_01_1.VOB
22:11:55 Selected Output dir: F:\Vob\temp\
22:11:55 Selected Final Name: VTS_01_1
22:11:55 Selected Container type: MKV
22:11:55 Selected Encoder: X264
22:11:55 Selected Size: Unlimited File Size
22:11:55 Selected Profile: Constant_Quality_CQ_Optimized.xml
22:11:55 Selected Resizer: LanczosResize / 576
22:11:55 Selected Filters: MipSmooth(preset = "MovieLQ2")
22:11:55 Selected Deinterlacer: Interlaced
22:11:55 Selected Field Order: AUTO
22:11:55 Enabled Constant Quality With Unlimited Size (Q 20)
22:11:55 Track Language 1: 80: AC3 2/0 384
22:11:55 Audio Codec 1: Nero AAC
22:11:55 Audio Quality 1: 0.35
22:11:55 Audio Channel 1: Stereo
22:11:55 Track Language 2: NONE
22:11:55 Audio Codec 2: Nero AAC
22:11:55 Advanced Audio Settings DUMP Track 1
22:11:55 Nero Option Profiles: AUTO --- Encoding Mode: Quality
22:11:55 CCT Option Profiles: AUTO --- Channel Options: AUTO
22:11:55 Lame Settings: ABR
22:11:55 Audio Normalization: 1
22:11:55 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
22:11:55 Selected Unlimited media size
22:11:55 Dgindex CMD: E:\DVDrip\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[F:\Vob\Dierenwinkel\VTS_01_1.VOB] -OF=[F:\Vob\temp\movie] -exit -minimize
22:12:17 D2V file size: 122556 bytes
22:12:17 Audio 1: movie t80 2_0ch 384kbps delay 0ms.ac3
22:12:17 Pre Audio 1' Size: 49130496 bytes
22:12:18 Applying DelayAudio of 0 to audio file: movie t80 2_0ch 384kbps delay 0ms.ac3
22:12:18 Encoding F:\Vob\temp\movie t80 2_0ch 384kbps delay 0ms.ac3 to NeroAAC with 0.35 quality
22:13:07 Encoded 1' Audio Track: movie t80 2_0ch 384kbps delay 0ms.mp4 11272161 bytes
22:13:09 Number of Frames: 25588
22:13:09 Framerate: 25.000000
22:13:09 Movie length in Seconds: 1024
22:13:09 Movie Width/Height: 720/576
22:13:09 DgIndex AR: 4:3
22:13:09 Starting X264
22:13:09 CRF encoding X264: E:\DVDrip\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 20 --stats "F:\Vob\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me hex --no-ssim --level 4.0 --weightb --b-adapt 2 --b-pyramid --no-chroma-me --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.1:0.0 --sar 1:1 --output "F:\Vob\temp\movie.264" "F:\Vob\temp\movie.avs"
23:03:43 X264 Final CRF Encoding Stats:
23:03:43 Accepted values are between 697303040 and 741343232 bytes (movie+audio)
23:03:43 Got a file of size: 152006064 bytes + audio size 11272161 bytes (163278224)
23:03:43 Only Movie Size: 152006064 bytes
23:03:43 "E:\DVDrip\AutoMKV\exe\matroska\mkvmerge.exe" -o "F:\Vob\temp\VTS_01_1.mkv" --default-duration 0:25000/1000fps --track-name -1:"VTS_01_1" --aspect-ratio -1:1.333333 "F:\Vob\temp\movie.264" --language -1:und --default-track -1:yes "F:\Vob\temp\movie t80 2_0ch 384kbps delay 0ms.mp4" --title "Done with AutoMKV 0.98.4 http://forum.doom9.org/showthread.php?t=140178 "
23:03:53 Final Muxed size: 163546976 bytes
23:03:53 Encoding finished: 00:50:44 elapsed time
23:03:53 -----------------------------------------------------------------------
23:03:53 Script AutoCrop.log
23:03:53
23:03:53 Crop(4,6,704,560)
23:03:53 -----------------------------------------------------------------------
23:03:53 Script movie.avs
23:03:53
23:03:53 #loadpluginstart
23:03:53
23:03:53 #test1
23:03:53
23:03:53 #importstart
23:03:53
23:03:53 #test2
23:03:53
23:03:53 movie = mpeg2source("F:\Vob\temp\movie.d2v")
23:03:53 function getOrder(clip c) {
23:03:53 order = GetParity(c) ? 1 : 0
23:03:53 Return order }
23:03:53 #filter1start
23:03:53
23:03:53 #test3
23:03:53
23:03:54 edeintted = movie.SeparateFields().SelectEven().EEDI2(field=-1)
23:03:54 movie = TDeint(movie,edeint=edeintted)
23:03:54 last=movie.Crop(4,6,704,560)
23:03:54 fixed_aspect = 1.340952
23:03:54 out_width = 576
23:03:54 #Aspect_Error = 0.571%
23:03:54 out_height = 432
23:03:54 #resizestart
23:03:54
23:03:54 #test4
23:03:54
23:03:54 LanczosResize(out_width,out_height)
23:03:54 #filter2start
23:03:54
23:03:54 #test5
23:03:54
23:03:54 MipSmooth(preset = "MovieLQ2")
23:03:54 -----------------------------------------------------------------------
23:03:54 Script mkvmaudio.avs
23:03:54
23:03:54 LoadPlugin("E:\DVDrip\AutoMKV\exe\filter\NicAudio.dll")
23:03:54 LoadPlugin("E:\DVDrip\AutoMKV\exe\filter\SoundOut.dll")
23:03:54 LoadPlugin("E:\DVDrip\AutoMKV\exe\BeSweet\BassAudio.dll")
23:03:54 LoadPlugin("E:\DVDrip\AutoMKV\exe\filter\FFMS2.dll")
23:03:54 NicAC3Source("F:\Vob\temp\movie t80 2_0ch 384kbps delay 0ms.ac3")
23:03:54 DelayAudio(0.0000)
23:03:54 #Applying STEREO downmixing routines
23:03:54 function stereo(clip a)
23:03:54 {
23:03:54 flr = GetChannel(a, 1, 2)
23:03:54 fcc = GetChannel(a, 3)
23:03:54 lfe = GetChannel(a, 4)
23:03:54 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
23:03:54 mix = MergeChannels(lfc, lfc)
23:03:54 lrc = MixAudio(flr, mix, 0.2929, 1.0)
23:03:54 blr = GetChannel(a, 5, 6)
23:03:54 Return MixAudio(lrc, blr, 1.0, 0.2929)
23:03:54 }
23:03:54 #
23:03:54 6==Audiochannels() ? stereo() : last
23:03:54 function addvideo(clip c) {
23:03:54 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
23:03:54 Return audiodub(last,c)
23:03:54 }
23:03:54 Normalize()
23:03:54
23:03:54 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="E:\DVDrip\AutoMKV\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.35 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
23:03:54
23:03:54 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
Specs:
CPU: Core2duo e6850
Mem: 2GB ram
OS: Windows XP SP3 32bit
x264 takes most CPU power from both cores when encoding, so that doesn't seem to be the problem. Other than that i really don't know where to look to fix this problem.
Here is a log of a slow 10fps encode (unfortunately i don't have a log of a fast encode anymore):
22:11:55 0.98.4 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
22:11:55 OS Version: Windows XP
22:11:55 Selected Input file: F:\Vob\Dierenwinkel\VTS_01_1.VOB
22:11:55 Selected Output dir: F:\Vob\temp\
22:11:55 Selected Final Name: VTS_01_1
22:11:55 Selected Container type: MKV
22:11:55 Selected Encoder: X264
22:11:55 Selected Size: Unlimited File Size
22:11:55 Selected Profile: Constant_Quality_CQ_Optimized.xml
22:11:55 Selected Resizer: LanczosResize / 576
22:11:55 Selected Filters: MipSmooth(preset = "MovieLQ2")
22:11:55 Selected Deinterlacer: Interlaced
22:11:55 Selected Field Order: AUTO
22:11:55 Enabled Constant Quality With Unlimited Size (Q 20)
22:11:55 Track Language 1: 80: AC3 2/0 384
22:11:55 Audio Codec 1: Nero AAC
22:11:55 Audio Quality 1: 0.35
22:11:55 Audio Channel 1: Stereo
22:11:55 Track Language 2: NONE
22:11:55 Audio Codec 2: Nero AAC
22:11:55 Advanced Audio Settings DUMP Track 1
22:11:55 Nero Option Profiles: AUTO --- Encoding Mode: Quality
22:11:55 CCT Option Profiles: AUTO --- Channel Options: AUTO
22:11:55 Lame Settings: ABR
22:11:55 Audio Normalization: 1
22:11:55 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
22:11:55 Selected Unlimited media size
22:11:55 Dgindex CMD: E:\DVDrip\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[F:\Vob\Dierenwinkel\VTS_01_1.VOB] -OF=[F:\Vob\temp\movie] -exit -minimize
22:12:17 D2V file size: 122556 bytes
22:12:17 Audio 1: movie t80 2_0ch 384kbps delay 0ms.ac3
22:12:17 Pre Audio 1' Size: 49130496 bytes
22:12:18 Applying DelayAudio of 0 to audio file: movie t80 2_0ch 384kbps delay 0ms.ac3
22:12:18 Encoding F:\Vob\temp\movie t80 2_0ch 384kbps delay 0ms.ac3 to NeroAAC with 0.35 quality
22:13:07 Encoded 1' Audio Track: movie t80 2_0ch 384kbps delay 0ms.mp4 11272161 bytes
22:13:09 Number of Frames: 25588
22:13:09 Framerate: 25.000000
22:13:09 Movie length in Seconds: 1024
22:13:09 Movie Width/Height: 720/576
22:13:09 DgIndex AR: 4:3
22:13:09 Starting X264
22:13:09 CRF encoding X264: E:\DVDrip\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 20 --stats "F:\Vob\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me hex --no-ssim --level 4.0 --weightb --b-adapt 2 --b-pyramid --no-chroma-me --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.1:0.0 --sar 1:1 --output "F:\Vob\temp\movie.264" "F:\Vob\temp\movie.avs"
23:03:43 X264 Final CRF Encoding Stats:
23:03:43 Accepted values are between 697303040 and 741343232 bytes (movie+audio)
23:03:43 Got a file of size: 152006064 bytes + audio size 11272161 bytes (163278224)
23:03:43 Only Movie Size: 152006064 bytes
23:03:43 "E:\DVDrip\AutoMKV\exe\matroska\mkvmerge.exe" -o "F:\Vob\temp\VTS_01_1.mkv" --default-duration 0:25000/1000fps --track-name -1:"VTS_01_1" --aspect-ratio -1:1.333333 "F:\Vob\temp\movie.264" --language -1:und --default-track -1:yes "F:\Vob\temp\movie t80 2_0ch 384kbps delay 0ms.mp4" --title "Done with AutoMKV 0.98.4 http://forum.doom9.org/showthread.php?t=140178 "
23:03:53 Final Muxed size: 163546976 bytes
23:03:53 Encoding finished: 00:50:44 elapsed time
23:03:53 -----------------------------------------------------------------------
23:03:53 Script AutoCrop.log
23:03:53
23:03:53 Crop(4,6,704,560)
23:03:53 -----------------------------------------------------------------------
23:03:53 Script movie.avs
23:03:53
23:03:53 #loadpluginstart
23:03:53
23:03:53 #test1
23:03:53
23:03:53 #importstart
23:03:53
23:03:53 #test2
23:03:53
23:03:53 movie = mpeg2source("F:\Vob\temp\movie.d2v")
23:03:53 function getOrder(clip c) {
23:03:53 order = GetParity(c) ? 1 : 0
23:03:53 Return order }
23:03:53 #filter1start
23:03:53
23:03:53 #test3
23:03:53
23:03:54 edeintted = movie.SeparateFields().SelectEven().EEDI2(field=-1)
23:03:54 movie = TDeint(movie,edeint=edeintted)
23:03:54 last=movie.Crop(4,6,704,560)
23:03:54 fixed_aspect = 1.340952
23:03:54 out_width = 576
23:03:54 #Aspect_Error = 0.571%
23:03:54 out_height = 432
23:03:54 #resizestart
23:03:54
23:03:54 #test4
23:03:54
23:03:54 LanczosResize(out_width,out_height)
23:03:54 #filter2start
23:03:54
23:03:54 #test5
23:03:54
23:03:54 MipSmooth(preset = "MovieLQ2")
23:03:54 -----------------------------------------------------------------------
23:03:54 Script mkvmaudio.avs
23:03:54
23:03:54 LoadPlugin("E:\DVDrip\AutoMKV\exe\filter\NicAudio.dll")
23:03:54 LoadPlugin("E:\DVDrip\AutoMKV\exe\filter\SoundOut.dll")
23:03:54 LoadPlugin("E:\DVDrip\AutoMKV\exe\BeSweet\BassAudio.dll")
23:03:54 LoadPlugin("E:\DVDrip\AutoMKV\exe\filter\FFMS2.dll")
23:03:54 NicAC3Source("F:\Vob\temp\movie t80 2_0ch 384kbps delay 0ms.ac3")
23:03:54 DelayAudio(0.0000)
23:03:54 #Applying STEREO downmixing routines
23:03:54 function stereo(clip a)
23:03:54 {
23:03:54 flr = GetChannel(a, 1, 2)
23:03:54 fcc = GetChannel(a, 3)
23:03:54 lfe = GetChannel(a, 4)
23:03:54 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
23:03:54 mix = MergeChannels(lfc, lfc)
23:03:54 lrc = MixAudio(flr, mix, 0.2929, 1.0)
23:03:54 blr = GetChannel(a, 5, 6)
23:03:54 Return MixAudio(lrc, blr, 1.0, 0.2929)
23:03:54 }
23:03:54 #
23:03:54 6==Audiochannels() ? stereo() : last
23:03:54 function addvideo(clip c) {
23:03:54 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
23:03:54 Return audiodub(last,c)
23:03:54 }
23:03:54 Normalize()
23:03:54
23:03:54 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="E:\DVDrip\AutoMKV\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.35 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
23:03:54
23:03:54 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -