Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Dub: I/o Thread Has Not Cycled For Thirty Seconds, Quicktime plugin issue?
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
pbisson
Posted: Jan 1 2014, 08:33 AM


Member


Group: Members
Posts: 12
Member No.: 37600
Joined: 29-December 13



I just resolved opening an MP4 using fccHandler's Quicktime plugin on another machine. It worked great on that machine (a laptop), but it's got pretty low video performance. When I try the same thing on my 'main' video editing desktop, the MP4 file opens, then locks up after a couple of frames. Both machines are Win7 x64 and with I7 CPU's with 12GB ram. But the desktop runs at 3GHz and has a better video card. I'm using the latest VD (1.10.4)

If I look at the log file, I see things like:

CODE

Beginning preview operation.

[i] Dub: Input (decompression) format is: YUV420.

[i] Dub: Output (compression) format is: RGB888.

[i] Dub: I/O thread has not cycled for thirty seconds -- possible livelock.
   (Thread action: stalled due to full pipe to processing thread) (Current
   address: 773F015D)

[i] Dub: Processing thread has not cycled for thirty seconds -- possible
   livelock. (Thread action: reading video frame) (Current address: 773EF8D1)



This only occurs with fccHandler's "QuickTime.vdplugin"

If I use an older QuickTime.vdplugin (the one that uses an INI file) VD works A-OK. But, I have to have the QuickTime application installed to make that one work.

If I use "MP4InputDriver.vdplugin", I get video ok, but it doesn't recognize the audio track. It also doesn't lock up.

I can re-post over in the bug forum if that's appropriate. But I thought I'd start out here.

Any suggestions?
 
     Top
Abrazo
Posted: Jan 1 2014, 09:19 AM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



It would be interesting to look into the File-menu, at File information...

1) The title bar of this window indicates the QuickTime plugin version
Do you have the most recent version 2.6 of this plugin

2) The QuickTime plugin offers you the possibility to open MOV and MP4 container formats, but after that it depends on the codecs that you have installed.
For MP4, most of the time you will need a H.264 video-decoder and an AAC audio-decoder.
Which ones that are used actually by your VirtualDub are also indicated in the File information dialogbox.

> x264vfw codec : http://sourceforge.net/projects/x264vfw/files/
> AAC acm codec : http://sourceforge.net/projects/fcchandler.../?source=navbar
> QuickTime plugin : http://sourceforge.net/projects/fcchandler.../?source=navbar

 
     Top
dloneranger
Posted: Jan 1 2014, 02:30 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



It's locked up reading a frame, and then virtualdub's stalled

'Glitchy' videos can cause different codecs/plugins to behave in strange ways
Fortunately you can use different plugins to try and get around that problem

You should also be able to use the FFMPeg plugin or the DirectShow one to decode this video

FFMPeg plugin one does not require any external codecs
DirectShow uses your system's installed codecs

Both are available at
List of input plugins

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
meowmeow
Posted: Jan 1 2014, 02:54 PM


Advanced Member


Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13



QUOTE
It would be interesting to look into the File-menu, at File information...


When VD and filters are same, more information might give Codec Tweak Tool to see system registry on A/V. Generate log and compare on both.

QUOTE
Dub: I/o Thread Has Not Cycled For Thirty Seconds


I get that often encoding x265. Just slow codec; functionality ok.
 
     Top
dloneranger
Posted: Jan 1 2014, 03:25 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



The io thread cycle message just means that virtualdub hasn't read or written to the disk for 30 seconds
That's normally indicated a problem like the encoder or decoder has gotten stuck in a loop
It could also mean that x265 is slow, really... really...... slow..............
Over 30 seconds for 1 frame seems like a bit too long to be normal?

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
pbisson
Posted: Jan 2 2014, 02:14 AM


Member


Group: Members
Posts: 12
Member No.: 37600
Joined: 29-December 13



OK, the video just stops after about 60 frames or so. I can leave it there for an hour and it won't restart. The log (see previous post) clearly indicates something is in a loop, or deadlocked. CPU utilization during this time is just about zero (idle system). If I stop the preview, then jump forward a few seconds, I can then resume the preview and play the video without issue. Something about the plugin when setting up the stream I guess.

The exact same file will play on another machine configured similarly. I'm using fccHandler's QuickTime.vdplugin (version 2.6), VD 1.10.4, ffdshow 1.3.4500, x264vfw codec, fccHandler's AAC/ACM audio codec. I'm using the built-in null transform filter to do a crop, and built-in advanced audio filters to add 6db gain. All newly downloaded from sourceforge and installed fresh. Apple's QuickTime application is not installed for this test. I'm just trying to preview the dub at this point.

Now, if I replace fccHandler's QuickTime.vdplugin with another, older one that does require Apple's QuickTime application, I can preview the dub without issue. With this different QT plugin, I can then properly do a dub via the External Codec option (x264vfw/AAC ACM/MKV).

Point: If I skip forward a bit with fccHandler's QuickTime.vdplugin, VD will preview the dub. This behavior is not sensitive to file, VD does not indicate any bad frames. It just locks up at the beginning of the preview.

I've tried the 'ffInputDriver.vdplugin' suggested by 'dloneranger' ... but it makes VD crash with a warning: "An exception occurred in module 'FFInputDriver'."

At the moment, I'm back to the older QuickTime.vdplugin to keep working.

Any more suggestions?

 
     Top
raffriff42
Posted: Jan 2 2014, 03:10 AM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



Suggestions:
* use fcchandler's ACM codecs, as suggested.
* disable Fraunhofer MP3 codec in Codec Tweak Tool, VFW config.
* do your encoding at higher priority (Preferences, Main, Process Priority)
* disable virus scan etc for the output folder.
Good luck!
 
     Top
meowmeow
Posted: Jan 2 2014, 05:08 AM


Advanced Member


Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13



I found mine output preview also stops at some specific frame.

Enabling audio full processing mode (decompress) fixes preview problem.
 
     Top
pbisson
Posted: Jan 2 2014, 10:08 AM


Member


Group: Members
Posts: 12
Member No.: 37600
Joined: 29-December 13



QUOTE
Enabling audio full processing mode (decompress) fixes preview problem.


Nope, been there, done that ... doesn't resolve this issue.

I'll keep tinkering.

What is this "Tweak Tool" ?
 
     Top
pbisson
Posted: Jan 2 2014, 10:28 AM


Member


Group: Members
Posts: 12
Member No.: 37600
Joined: 29-December 13



OK, I just found the Codec Tweak Tool v5.7.6:


http://www.codecsdownload.com/Codec_Tweak_...ol_download.htm

A VERY nice tool. I've been wrestling with finding out codec info on Win7 for some time. This should help quite a bit. Kudos to the individual/team that developed it.
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
9 replies since Jan 1 2014, 08:33 AM Track this topic | Email this topic | Print this topic

<< Back to General Discussion