View Full Version : RIPbot causing drift
ExperimentalAnimations
7th May 2012, 23:20
Im getting audio drift for 1hr+ 352x240 60i uncompressed footage (using high profile, 2pass, 128kbps 2.0fhg aac-lc) . Im going to try other encoders, however since most of them force an arbitrary framesize and screw up the AR i may have to settle for messed up audio. Damn, and i really thought i'd found a working encoder.
ExperimentalAnimations
8th May 2012, 00:16
Just wanted to add im checking lipsync with my source and mkv in mpc-hc and vlc and they're both confirming that ripbot is causing the drift. Still working on finding other encoders.
ExperimentalAnimations
8th May 2012, 00:35
Tried latest staxrip, threw this msg halfway into the encode:
Operation failed!
x264 failed with exit code -1
avs [info]: 352x240p 0:0 @ -200306739/68309529 fps (cfr)
x264 [error]: Effective timebase denominator 4094660557 exceeds H.264 maximum
x264 [error]: x264_encoder_open failed
StaxRip.ErrorAbortException: x264 failed with exit code -1
avs [info]: 352x240p 0:0 @ -200306739/68309529 fps (cfr)
x264 [error]: Effective timebase denominator 4094660557 exceeds H.264 maximum
x264 [error]: x264_encoder_open failed
at StaxRip.H264CmdlEncoder.Encode(String passName, String exe, String args, String[] logValuesToSkip) in C:\Daten\Projekte\StaxMedia\trunk\StaxRip\General\VideoEncoder.vb:line 2015
at StaxRip.x264Encoder.Encode() in C:\Daten\Projekte\StaxMedia\trunk\StaxRip\General\VideoEncoder.vb:line 1550
at StaxRip.MainForm.Encode() in C:\Daten\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:line 2133
at StaxRip.MainForm.RunJobs() in C:\Daten\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:line 3316
Ouch, staxrip fails again.
ExperimentalAnimations
8th May 2012, 00:38
Here's a log:
------------------------------------------------------------
Environment
------------------------------------------------------------
StaxRip version: 1.1.7.2
OS Name : Windows 7 Ultimate
OS Version : 6.1.7600.0
OS Type : 64-bit
OS Culture : English (United States)
------------------------------------------------------------
.NET
------------------------------------------------------------
v2.0.50727 : 2.0.50727.4927
v3.0 : 3.0.30729.4926
v3.5 : 3.5.30729.4926
v4\Client : 4.0.30319
v4\Full : 4.0.30319
------------------------------------------------------------
Source file MediaInfo
------------------------------------------------------------
E:\Encodes\1.avi
General
Complete name : E:\Encodes\1.avi
Format : AVI
Format/Info : Audio Video Interleave
Format profile : OpenDML
File size : 68.6 GiB
Duration : 1h 58mn
Overall bit rate : 82.6 Mbps
Writing library : VirtualDub build 32839/release
Video
ID : 0
Format : YUV
Codec ID : UYVY
Codec ID/Info : Uncompressed 16bpp. YUV 4:2:2 (Y sample at every pixel, U and V sampled at every second pixel horizontally on each line). A macropixel contains 2 pixels in 1 u_int32.
Duration : 1h 58mn
Bit rate : 81.0 Mbps
Width : 352 pixels
Height : 240 pixels
Display aspect ratio : 3:2
Frame rate : 59.940 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:2
Compression mode : Lossless
Bits/(Pixel*Frame) : 16.001
Stream size : 67.3 GiB (98%)
Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 1h 58mn
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 1.28 GiB (2%)
Interleave, duration : 17 ms (1.00 video frame)
Interleave, preload duration : 500 ms
------------------------------------------------------------
Demux AVI using VirtualDubMod
------------------------------------------------------------
Demuxer: Demux AVI
"E:\Programs\Visual\Editors\Staxrip1.1.7.2.7\Applications\VirtualDubMod\VirtualDubMod.exe" /s"E:\Encodes\1 temp files\1_Demux.vcf" /x
------------------------------------------------------------
Source Macros
------------------------------------------------------------
Source Directory: E:\Encodes\
Source Directory Name: Encodes
Source Directory Parent: E:\
Source File Path: E:\Encodes\1.avi
Source Files Blank: "E:\Encodes\1.avi"
Source Files Comma: "E:\Encodes\1.avi"
Source Framerate: 59.94
Source Framerate MediaInfo: 59.940
Source Frames: 427548
Source Image Height: 240
Source File Name: 1
Source Seconds: 7133
Source Image Width: 352
------------------------------------------------------------
Autocrop
------------------------------------------------------------
Autocrop sometimes hangs depending on source file and source filter.
In case it hangs uncheck the crop filter or disable it in the options.
AVISource(%source_files_comma%, audio=false)
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
AutoCrop(mode=2,samples=20)
------------------------------------------------------------
AviSynth Filters
------------------------------------------------------------
AVISource("E:\Encodes\1.avi", audio=false)
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
------------------------------------------------------------
Audio Source File MediaInfo
------------------------------------------------------------
General
Complete name : E:\Encodes\1 temp files\1.wav
Format : Wave
File size : 1.28 GiB
Audio
ID : 0
Format : PCM
Format settings, Endianness : Little
Codec ID : 1
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 1.00 Byte (0%)
------------------------------------------------------------
Audio encoding using BeSweet
------------------------------------------------------------
"E:\Programs\Visual\Editors\Staxrip1.1.7.2.7\Applications\BeSweet\BeSweet.exe" -core( -input "E:\Encodes\1 temp files\1.wav" -output "E:\Encodes\1 temp files\1_Output.m4a" ) -ota( -norm 0.97 ) -bsn( -vbr 0.3 )
[00:00:00:000] Initializing...
[00:00:00:000] -- Initializing...
[01:58:52:606] |
[00:0*************************************************************
* *
* Nero AAC Encoder *
* Copyright 2009 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: Feb 18 2010 *
* Package version: 1.5.4.0 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************
[038 seconds...
[00ed 302 seconds...
[00:cessed 466 seconds...
[00:1
[0s...
[00:21:10:433] transcods...
[00:23:51:105] trans 1274 seconds...
[00:26:27:553..
[00:29589 seconds...
P...
[00:36:57:537] transrocessed 2062 seconds...
[00:39:33:985seconds...
[00:42cessed 2377 seconds...
[00conds...
[00:50:03:969] transnds...
Processcoding ...
[00:52:40:417ed 3007 seconds...
[00:55:21:s...
[00 3322 seconds...
[01:03:10:401] trans637 seconds...
[01:05:51:073] tr
[01:08:27:2 seconds...
[01rocessed 4110 seconds...
seconds...
[01:16:21:057] transcodicessed 4425 seconds...
[01:18:57:505] trconds...
Proceanscoding ...
[01:21:33:ssed 4740 seconds...
[01:24:nds...
ed 5055 seconds...
[01:29:27:489] transcodis...
[01:32:03:937] tr 5370 seconds...
[01:34:44:609]..
[01:37:685 seconds...
[01:42:33:921] transcodi0 seconds...
Png ...
[01:45:14:593] transcrocessed 6158 seconds...
[01:47:51:041]seconds...
[01:50:cessed 6473 seconds...
conds...
[01:58:21:025] transcnds...
Processoding ...
[01:58:50:625] traed 7103 seconds...
nscoding ...
[01:58:52:608] Finalizing...
[01:58:52:608] Conversion Completed !
Visit DSPguru's Homepage at :
http://DSPguru.doom9.net/
Start: 7:30:17 PM
End: 7:33:46 PM
Duration: 00:03:27
Video Bitrate: 1501 -> 1506
General
Complete name : E:\Encodes\1 temp files\1_Output.m4a
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 76.7 MiB
Duration : 1h 58mn
Overall bit rate mode : Variable
Overall bit rate : 90.2 Kbps
Encoded date : UTC 2012-05-07 23:30:18
Tagged date : UTC 2012-05-07 23:33:45
Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : 40
Duration : 1h 58mn
Bit rate mode : Variable
Bit rate : 89.4 Kbps
Maximum bit rate : 123 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Stream size : 76.1 MiB (99%)
Writing library : Nero AAC codec 1.5.4.0
Encoding settings : -q 0.30
Encoded date : UTC 2012-05-07 23:30:18
Tagged date : UTC 2012-05-07 23:33:45
Menu
------------------------------------------------------------
x264
------------------------------------------------------------
"E:\Programs\Visual\Editors\Staxrip1.1.7.2.7\Applications\x264\x264.exe" --tune film --pass 1 --bitrate 1506 --stats "E:\Encodes\1 temp files\1-stax.stats" --output NUL "E:\Encodes\1 temp files\1-stax.avs"
------------------------------------------------------------
Error
------------------------------------------------------------
x264 failed with exit code -1
avs [info]: 352x240p 0:0 @ -200306739/68309529 fps (cfr)
x264 [error]: Effective timebase denominator 4094660557 exceeds H.264 maximum
x264 [error]: x264_encoder_open failed
avs [info]: 352x240p 0:0 @ -200306739/68309529 fps (cfr)
x264 [error]: Effective timebase denominator 4094660557 exceeds H.264 maximum
x264 [error]: x264_encoder_open failed
Start: 7:33:46 PM
End: 7:33:46 PM
Duration: 00:00:00
ExperimentalAnimations
8th May 2012, 00:58
i just went back to the other movies i encoded in the past with ripbot and they're all out of sync.
ExperimentalAnimations
8th May 2012, 02:48
Ok, just finished waiting on hour for automkv to encode the video and it gives me a file with no audio, despite their clearly being an audio track assigned to it. Anyone here know of an encoder?
Stop the profanity and insults, or strikes will follow.
If you want proper help, post a link to a source sample, so people can duplicate your issue.
ExperimentalAnimations
8th May 2012, 04:25
f you want proper help, post a link to a source sample, so people can duplicate your issue.
Clearly you do not understand what audio drift is.
Anyways, ive tried import my file into handbrake as lossless and lagarith and it throws an error both ways, so theres another worthless encoder. Not sure what to do, im running out of encoders here.
poisondeathray
8th May 2012, 04:42
Maybe an issue with your source, as nobody else seems to have any problems with drift with any of the programs you mentioned
(a good reason to provide a sample)
Mediainfo claims the frame rate is 59.94, which is not correct for 60i footage. It should report 29.97 fps
Frame rate : 59.940 fps
Did you check if the audio was at fault, or the video? "Drift" would suggest one is longer than the other
poisondeathray
8th May 2012, 04:45
i just went back to the other movies i encoded in the past with ripbot and they're all out of sync.
If they are ALL out of sync , but were not before, maybe you have problem with playback?
You mentioned VLC and MPCHC, but did you try another computer (maybe at a friend's house)
ExperimentalAnimations
8th May 2012, 05:23
Well if it were my computer then my source files would have drifted, but they are perfect in uncompressed and lagarith. Ive also tried playing everything with wmp as well and am getting the same results. I do agree its strange that its reporting 59.94fps, i dont believe the footage is interlaced, its just reporting it as such, its hi8 capture to (gspot reads) UYVY (packed 4:2:2) 29.971, so the framerate is correct its just vdub reading the file info incorrectly as usual, which may be causing a problem as the edited footage that im outputting from vdub as uncompressed now reads 59.945 as the framerate. Either way that would cause alot more problems than just drift if that were a problem, but seeing as it takes over 90 minutes of footage to detect drift uploading a few minutes isnt going to solve anything.
poisondeathray
8th May 2012, 05:28
Well if it were my computer then my source files would have drifted, but they are perfect in uncompressed and lagarith. Ive also tried playing everything with wmp as well and am getting the same results. I do agree its strange that its reporting 59.94fps, i dont believe the footage is interlaced, its just reporting it as such, its hi8 capture to (gspot reads) UYVY (packed 4:2:2) 29.971, so the framerate is correct its just vdub reading the file info incorrectly as usual, which may be causing a problem as the edited footage that im outputting from vdub as uncompressed now reads 59.945 as the framerate. Either way that would cause alot more problems than just drift if that were a problem, but seeing as it takes over 90 minutes of footage to detect drift uploading a few minutes isnt going to solve anything.
That would explain the drift , wouldn't it? The "off" frame rate
29.971 is off too - the standard frame rate should be 30000/1001 precisely or 29.97003.... not 29.971
If you load the source video with AVISource() in avisynth, what does info() report ? about the frame rate
What is the original source video from? was it hi8 to uncompressed? (what hardware to cap)? and what operations or filters did you use in vdub ?
You originally said :
Im getting audio drift for 1hr+ 352x240 60i uncompressed footage
But then you said:
i dont believe the footage is interlaced, its just reporting it as such
So was that a typo? it' s not interlaced? Or did you deinterlace in vdub? Eitherway the framerate should be unaltered unless you bob-deinterlaced to 59.94p (which mediainfo reports)
It might be as simple as adding AssumeFPS(30000,1001) to the script to force the exact framerate
ExperimentalAnimations
8th May 2012, 22:14
OK let me clarify whats going on here:
Im capturing hi8 using "av grabber pro" which is the only hi8 capture device i could find that would allow me to capture to lossless. This lossless file is reported as being UYVY 29.97 by gspot (the 29.971 is a truncation, its probably the .00003 your saying it should be), and there are absolutely no problems with the capture file. Now if i load up a info() script for the source file vdub says its 59.94, RGB32, and not field based, so not only does avisynth/vdub report the wrong framerate, it contradicts its assumed framerate by (correctly) reporting that its not field based. Also it reports the colorspace as RGB32 whereas gspot reports it as UYVY, so either my capture device converted the colorspace into RGB32 or it didnt and vdub/avisynth is once again a completely unreliable source of information.
Well i framed carefully through the edited footage and vdub does in fact double the framerate, so i set it to decimate by 2 and it removed that little problem. HOWEVER....this is not the cause of the drift. The edit footage i output from vdub is and always has been in sync. The problem is that ripbot is the only encoder that will encode my footage but when it does it gives me drift, even after i have corrected the framerate issue. Ive tried to feed it to other encoders in both uncompressed and lagarith and it will not accept it, handbrake wont accept it, staxrip crashes midway, and automkv gives me a silent film. Now if these programs werent absolute garbage then file input would equal file output, but i guess you get what you pay for. At this point all i can do is look for a commercial solution as these free programs are nothing but a waste of time.
Atak_Snajpera
8th May 2012, 23:22
bye bye :)
ExperimentalAnimations
9th May 2012, 06:38
All you have to say about this is some snide remark? I guess i was wrong, its not the programs that are worthless.
Atak_Snajpera
9th May 2012, 08:46
sorenson squeez 8 for 1000 bucks will make you happy for sure. btw. you get something for free and then you act like some spoiled brat. grow up.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.