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.

Pages: (2) [1] 2  ( Go to first unread post )
Vdub Can't See X264vfw, Well I think that is my problem!
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
mbur
Posted: Mar 4 2011, 11:59 PM


Member


Group: Members
Posts: 18
Member No.: 29826
Joined: 3-February 11



I've just downloaded and run the new installer for Bugmasters x264vfw: (x264vfw_30_1867bm_26400_fix.exe at
http://www.mediafire.com/?pn2j9hspsihs7ie)
I can't get Vdub to use it. I enabled the virtualdub 'hack' in the x264vfw config
My h264 encoded videos load and 'run' but the screen is blank.
I can find key frames and 'direct stream copy' but I can't see what I am doing.
The original and cut up bits display OK in videolan.
File info says Vdub is using the ffdshow (avc1) codec.
I've tried forcing the video handler FOURCC code to H264
Did I install x264vfw in the wrong place?
I'm using vdub 1.10.0.
 
     Top
mbur
Posted: Mar 5 2011, 01:39 AM


Member


Group: Members
Posts: 18
Member No.: 29826
Joined: 3-February 11



Update. I just found the x264vfw codec in my encode options. Used it to re-encode some xvid stuff I had and all seems well with that.

When I checked the file info of my newly re-encoded videos I see that the decompresser used depends on what version of virtualdub I am Using.
Vdub 1.9.10 says it used the 'x264vfw - H264/MPEG-4 AVC codec'.
Vdub 1.10.0 says 'ffdshow video codec (H264)' on the same video.

Both versions will direct stream copy and re-re-encode the video compressed with virtualdub/x264vfw.

Some explanation:
I am trying to cut up some MOV videos without re-encoding. Vdub 1.10.0 with the plugin will read and display but can't repackage these MOV files to AVI. The error message says the codec isn't compatible with AVI.

BUT I managed to direct stream copy these files to an AVI container with ffmpeg.exe. Vdub is happy to process these files with some limitations.
1) you can't see anything.
2) you can direct stream copy and view your efforts with videolan.
3) if you re-encode (with a format compatible codec;) the result is a black video.


 
     Top
ale5000
Posted: Mar 5 2011, 01:54 AM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



First, why don't you use the latest version of x264vfw? Currently it is x264vfw_32_1913bm_27769

Second, go in the vfw configuration of ffdshow-tryout and disable H.264/AVC so x264vfw will always be used.

PS: Can you post a video "direct stream copied to an AVI container with ffmpeg.exe"?

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
mbur
Posted: Mar 5 2011, 10:44 AM


Member


Group: Members
Posts: 18
Member No.: 29826
Joined: 3-February 11



1/ Latest version of x264vfw acquired.

2/ Ah ha! We are now returning x264vfw in the file info in vdub 1.9.10 and 1.10.0

But sadly the blackness continues.

I actually did step 2/ first and when that didn't solve the blackout problem I updated x264vfw to x264vfw_32_1913bm_27769. I then checked and unchecked the 'virtualdub hack' checkbox.

The test file is here: http://www.mikesmusic.biz/vdub/h263blanktest01.avi

It's 20MB so I won't keep it there forever :-(
 
     Top
ale5000
Posted: Mar 5 2011, 11:35 AM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



I cannot download the file, it say 403 forbidden.
The "virtualdub hack" isn't related to your problem and I suggest to keep it enabled.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
mbur
Posted: Mar 5 2011, 01:15 PM


Member


Group: Members
Posts: 18
Member No.: 29826
Joined: 3-February 11



That's odd
try this one.
http://www.mikesmusic.biz/vdub/h264test02.avi
It's 491208 bytes, only 20 frames.
 
     Top
ale5000
Posted: Mar 5 2011, 01:25 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



Same problem.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
mbur
Posted: Mar 5 2011, 01:34 PM


Member


Group: Members
Posts: 18
Member No.: 29826
Joined: 3-February 11



Here is the short one. May it please the digital gods!

http://www.mediafire.com/?iedz6jbqtaih4na
 
     Top
ale5000
Posted: Mar 5 2011, 02:22 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



It is a bit too short, it doesn't even play in MPC-HC.
Do you have one with duration of about 5 seconds?

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
mbur
Posted: Mar 5 2011, 02:46 PM


Member


Group: Members
Posts: 18
Member No.: 29826
Joined: 3-February 11



Here we go. three test files:

http://www.mediafire.com/?xpv6hzl8t40w1

The last one is about 5 seconds.
 
     Top
BugMaster
Posted: Mar 6 2011, 12:07 AM


Advanced Member


Group: Members
Posts: 50
Member No.: 23001
Joined: 6-February 08



mbur
The problem was non-standard format of this AVI-s (more like as H.264 in MP4). They used not Annex B format and global params (SPS/PPS) in extradata of BITMAPINFOHEADER structure.

Try this version x264vfw_32_1913bm_27769_test.exe. It must decode such streams.

By the way did you get this AVI-s directly from camera or muxed them with ffmpeg (because they have finger prints of libavfilter)?

P.S. Smart rendering (while encoding with x264vfw) wouldn't work correctly on such streams.
 
     Top
ale5000
Posted: Mar 6 2011, 01:33 AM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



@BugMaster: Thanks, the problem of black video is completely fixed.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
mbur
Posted: Mar 6 2011, 03:04 PM


Member


Group: Members
Posts: 18
Member No.: 29826
Joined: 3-February 11



Oh joy! it works!!
@BugMaster: the original off the camera is an MOV. I repackaged with ffmpeg.exe
in a batch file like so:

CODE
echo off
echo hello
IF EXIST %1 GOTO DOJOB

ECHO No Job
PAUSE
GOTO JOBDONE

:DOJOB

C:\drivers\ffmpeg2\bin\ffmpeg.exe -vcodec copy -s 848x480 -acodec pcm_s16le %1.newercopy.avi -i %1

IF ERRORLEVEL 1 ECHO.  Error 1
IF NOT ERRORLEVEL 1 ECHO. no error
pause

:JOBDONE
EXit

The -s 848x480 thing is needed but is ultimately ignored!

@ale5000: I get bad stuttering audio and 'slow-motion' video viewing "h263blanktest01.avi" in virtualdub. Same with "h264test03.avi" but not nearly as bad. 01 is 1280x720 frame-size and 03 is 848x480. My processor is maxed out in both cases so no surprise there.

VLC displays both videos and derivative videos (cut up by virtualdub) with no problem. The CPU workload is about halved in my estimation.


 
     Top
mbur
Posted: Mar 6 2011, 06:01 PM


Member


Group: Members
Posts: 18
Member No.: 29826
Joined: 3-February 11



I'll put the original MOV of "h263blanktest01.avi" in here

http://www.mediafire.com/?xpv6hzl8t40w1

It's called 966_0308.MOV

When I load it into Virtualdub (with input filter installed) and try to direct stream copy I still get the error message but I'm good to go with the AVI's now.

Thank you.
 
     Top
ale5000
Posted: Mar 6 2011, 08:03 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



There isn't someone that is really working on the Quicktime plug-in, so there aren't so much hopes for the .mov

Edit: It is possible that the author will update the input plugin in the future.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
22 replies since Mar 4 2011, 11:59 PM Track this topic | Email this topic | Print this topic
Pages: (2) [1] 2 
<< Back to Codec Discussion