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 )
Virtualdub Output File Doesn't Play Anything, newbie setup/config problems
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
labboypro
Posted: Nov 25 2013, 01:20 AM


Member


Group: Members
Posts: 15
Member No.: 37490
Joined: 24-November 13



QUOTE (dloneranger @ Nov 24 2013, 07:36 PM)
click the video first, then change the files of type

when the videos opened , you can go to the file information dialog and it should look different, you can click on it's config button to add any file types you want displayed in the open video dialog

Thanks, but I don't get it. When I change the File type pulldown, regardless of whether I've already highlighted the avi file or not, it disappears... because whatever "DirectShow input driver" file type is, it does NOT believe .avi is valid. I can either OPEN the avi file, or I can select the DirectShow, at which point I cannot select an avi file. The behavior is no different than if I were in MS Word wanting to open a Word .doc file, but first selecting Word Perfect .wpd from the File type pulldown. Once I chose Word Perfect .wpd, it would take away any Word .doc files to open... because they are not .wpd files.

Or... I guess I just don't understand what you're instructing me to do unsure.gif

user posted image


user posted image
 
     Top
raffriff42
Posted: Nov 25 2013, 01:23 AM


Advanced Member


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



QUOTE (meowmeow @ Nov 24 2013, 06:39 PM)
If you accidentally MASKED selected frames before saving - it produces this same effect.
smile.gif Sounds plausible ... the Mask feature (located on the Edit menu, under "Set selection end") holds a still frame for the duration of the selection.

Also, when moving around in a compressed source file, visual updates can take some time. The status bar will have a message like "Decoding frame XXX..."
 
     Top
labboypro
Posted: Nov 25 2013, 01:40 AM


Member


Group: Members
Posts: 15
Member No.: 37490
Joined: 24-November 13



QUOTE (raffriff42 @ Nov 25 2013, 01:23 AM)
smile.gif Sounds plausible ... the Mask feature (located on the Edit menu, under "Set selection end") holds a still frame for the duration of the selection.

Also, when moving around in a compressed source file, visual updates can take some time. The status bar will have a message like "Decoding frame XXX..."

I did exactly as steps I described in previous posts. I didn't mask anything... unless using the Mark In/Mark Out buttons somehow also masks something (they shouldn't if they are the least bit intuitively named).

Also, while I get "lag" issues... that's not the case here... unless the lag time is forever. Before I started this thread, I tried figuring out why it wasn't working on my own (and got nowhere sad.gif ), and on several occasions, walked away in frustration, only to return literally hours later and no frame progression had taken place. I could have recreated the video scenes with a live improv troupe in my living room in less time wink.gif

To all, I genuinely appreciate everyone's patience. The fact that I'm still messing with this is amazing, and it's in large part because of your input. This has become insanely frustrating that something so "simple" as cropping down a video would take an act of congress to perform. If this were a still image, I would have used MS Paint and been done in 15 seconds. I realize video is more complex, but really??? I'll try to hang in there, if you guys are willing to keep replying.





 
     Top
dloneranger
Posted: Nov 25 2013, 07:01 AM


Moderator


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



Well, this is as simple as i can describe it :-)

in the open video dialog
click the video - just once, to select it
the file name will now be in the 'file name' box
now change the files of type to directshow'
(the file name should still be in the 'file name' box)
click ok
done

--------------------
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: Nov 25 2013, 12:48 PM


Advanced Member


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



QUOTE (labboypro @ Nov 25 2013, 01:40 AM)
cropping down a video

No DirectStreamCopy for MS Paint works. Need real H.264 encoder
http://forums.virtualdub.org/index.php?act...=ST&f=4&t=21157

which can also decompress H.264 in AVI
"Decompressor: x264vfw - H.264/MPEG-4 AVC ... (H264)"

After, in VD menu
Video/Compression/x264vfw - H.264/MPEG-4 AVC codec/Configure
Check VD hack functionality switch.
Then ok, ok - its ready!

If you disable decoder there, it comes back to system default decoder for AVI
"Decompressor: ffdshow Video Codec (H264)"
Normally, don't need to disable even if vfw might be a little slower than ffdshow decoding frames.

Or, to configure file types in DShowInputDriver, In VD menu
Options/Plug-ins.../DShow.../configure
add types ("avi", etc)
ok, ok - restart VD to reload plug-ins.

Or use tool to configure system decoders as such (can affect VD, players, games, everything)
user posted image
 
     Top
labboypro
Posted: Nov 25 2013, 03:12 PM


Member


Group: Members
Posts: 15
Member No.: 37490
Joined: 24-November 13



QUOTE (dloneranger @ Nov 25 2013, 07:01 AM)
Well, this is as simple as i can describe it :-)

in the open video dialog
click the video - just once, to select it
the file name will now be in the 'file name' box
now change the files of type to directshow'
(the file name should still be in the 'file name' box)
click ok
done

And that is what I am describing above. These instructions do not work. When I click it once, it is selected. The instant I change the File Type, the selection disappears. The file name is gone. The OK button does not function because there is nothing selected any more. The two screenshots I posted above are exactly what happens when I do the above.
 
     Top
labboypro
Posted: Nov 25 2013, 03:14 PM


Member


Group: Members
Posts: 15
Member No.: 37490
Joined: 24-November 13



.
 
     Top
labboypro
Posted: Nov 25 2013, 03:17 PM


Member


Group: Members
Posts: 15
Member No.: 37490
Joined: 24-November 13



QUOTE (meowmeow @ Nov 25 2013, 12:48 PM)
QUOTE (labboypro @ Nov 25 2013, 01:40 AM)
cropping down a video

No DirectStreamCopy for MS Paint works. Need real H.264 encoder[/IMG]

MS Paint was an analogy. Please read it again. Paint is what I could use to crop a STILL IMAGE, and it would take me a few seconds. This "simple" exercise in cropping a video is going on 3 days, 30 posts, 4 installations of "stuff to make it work," and still it doesn't work.

 
     Top
labboypro
Posted: Nov 25 2013, 03:40 PM


Member


Group: Members
Posts: 15
Member No.: 37490
Joined: 24-November 13



QUOTE (labboypro @ Nov 25 2013, 03:12 PM)
QUOTE (dloneranger @ Nov 25 2013, 07:01 AM)
Well, this is as simple as i can describe it :-)

in the open video dialog
click the video - just once, to select it
the file name will now be in the 'file name' box
now change the files of type to directshow'
(the file name should still be in the 'file name' box)
click ok
done

And that is what I am describing above. These instructions do not work. When I click it once, it is selected. The instant I change the File Type, the selection disappears. The file name is gone. The OK button does not function because there is nothing selected any more. The two screenshots I posted above are exactly what happens when I do the above.

I decided to check this behavior on another computer and it doesn't work quite the same way. I didn't have VirtualDub and all that other stuff, but I just tried my MS Word example... and when I highlight a file, then change the File Type pulldown, the filename stayed in place (as opposed to what I show you in my screenshots above when I tried this on my computer with VirtualDub). So, I visited visited Microsoft support and found a blurb on some kind of File Association bug/problem that required a registry edit. I did the edit, and now it works as you are describing (and the same as I found with MS Word on the other computer), so... the reason I was seeing different than you appears to have been something wrong with my specific computer. In any case, I can now open the file as you describe.

So... I did a quick crop using steps as described in my original and subsequent posts, and it cropped and even allowed playback. See https://dl.dropboxusercontent.com/u/4742164...641/test125.avi for the resulting file. So, my original objective of creating a cropped file is basically done. However, this file represents about 15 SECONDS from the original video which is 15 MINUTES... yet the 15 second video is larger than the original. It's also very choppy, unlike the original. Should I give up? Or are there simple fixes for this???

 
     Top
meowmeow
Posted: Nov 25 2013, 03:51 PM


Advanced Member


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



QUOTE (labboypro @ Nov 25 2013, 03:17 PM)
MS Paint was an analogy.

Mine too. DShow, FFmpeg can only decompress video. Direct stream copy works with unchanged frames only (can cut, but can't crop etc)
After you succeed passing video file into VD functionality, encoding it into another file is another scary troubling problem.
You can't crop video (X) into cropped video (Y) if your system isn't fully set for decoding X and encoding Y.
 
     Top
labboypro
Posted: Nov 25 2013, 04:04 PM


Member


Group: Members
Posts: 15
Member No.: 37490
Joined: 24-November 13



QUOTE (meowmeow @ Nov 25 2013, 03:51 PM)
QUOTE (labboypro @ Nov 25 2013, 03:17 PM)
MS Paint was an analogy.

Mine too. DShow, FFmpeg can only decompress video. Direct stream copy works with unchanged frames only (can cut, but can't crop etc)
After you succeed passing video file into VD functionality, encoding it into another file is another scary troubling problem.
You can't crop video (X) into cropped video (Y) if your system isn't fully set for decoding X and encoding Y.

So, is there a way that someone not interested in becoming a video expert can crop an avi file without so many hoops? With all the garbage video clips being posted on the Internet in 2013 by every pimply-faced kid with a phone, I couldn't have imagined this would have been so incredibly difficult. Or is this because I'm trying to use a GPL solution instead of shucking out money for a retail boxed product? This is insane.

 
     Top
dloneranger
Posted: Nov 25 2013, 04:11 PM


Moderator


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



I'm glad it was a problem with your pc :-) (in a well we're both not going crazy then way)

Well your problem with a HUGE file is that the default codec for virtualdub to use is none at all
It will just save the file with uncompressed video - and that's enormous + as you've seen your hard drive has trouble playing it back

So, what you need to do is to pick a codec to compress with before you save the video

I'll suggest x264vfw and you can get it here http://sourceforge.net/projects/x264vfw/

Install that and then start virtualdub
Do everything like normal until you get to the save part
Before saving, on the video menu, pick 'compression'
In the new dialog you'll see a list of codecs you can compress with
Select x264vfw and then click 'configure'
Copy the screenshot here http://forums.virtualdub.org/index.php?act...1157&hl=x264vfw and make your settings the same
Click ok to close the settings, and ok to close the compression chooser
On the audio menu select 'direct stream copy'

Optional part -> on the file menu, click 'save processing settings' and save your settings with a name like MyX264
-> that's just so the next time you can do a 'load processing settings' and all your codec settings are set how you just saved them

Now you can save and it'll be smaller

Because we used direct stream copy for the audio, we didn't have to pick a compressor as we're just copying the original one over
But you can do the same thing with that as well if you need to make the audio mono mp3 or something

If there wasn't something really odd about your source video you can use direct stream copy mode for video as well
It has a few restrictions though
1) plugins like the directshow one uncompress the video them self so virtualdub will give a huge file - which takes you back to the top of this post
2) (without directshow plugin) you have to start a mark in point (or delete everything before) at what is called a keyframe, which are the only places in the video where there is a complete picture. Down at the bottom, where the frame number is shown, keyframes are shown with a (K) after the number. You can use the two buttons that have images of keys on them to move back/forward by keyframes - or hold the shift (or ctrl key?) down as you move the timeline slider around
Then with audio and video in direct stream copy mode, virtualdub will just copy the selected part out of the original video into a new one. It's much faster like that, but only if you can get a start point you like

If this is something you feel like playing around with more often, I'd suggest installing some stuff that's shown in my sig
SetupAC3acm_X86_X64.zip
SetupLameMp3acm_X86_X64.zip
SetupAACacm_X86_X64.zip
from http://sourceforge.net/projects/fcchandler/files/
They'll just let virtualdub decode aac, ac3 audio and compress mp3 audio

If you want to get fancy and do fade-in/outs there's plenty of tutorials on youtube
eg https://www.youtube.com/watch?v=hVLsDW5nQso...eature=youtu.be


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
labboypro
Posted: Nov 25 2013, 06:14 PM


Member


Group: Members
Posts: 15
Member No.: 37490
Joined: 24-November 13



QUOTE (dloneranger @ Nov 25 2013, 04:11 PM)
I'll suggest x264vfw and you can get it here http://sourceforge.net/projects/x264vfw/


From 1GB to 9MB... that's the ticket! See https://dl.dropboxusercontent.com/u/4742164...641/test126.avi

I installed the x264vfw, set it as you describe in the other thread, and then followed your steps below before saving. Thank you very much!

Now... are these the steps I will need to take every time I want to do this? Or can I save the entire "configuration" so I can just open an AVI file and click the Go button and be done? And do I have to open the raw avi in that odd way every time? I already created the 'save processing settings' script as you described.


QUOTE (dloneranger @ Nov 25 2013, 04:11 PM)
If there wasn't something really odd about your source video you can use direct stream copy mode for video as well


Regarding my source video oddness, it's coming from a cheap offshore dashcam. I have read several dashcam articles and discussion boards (like this one-- http://dashcamtalk.com/dash-cam-comparison/), and have seen some comments about making sure you get the "good" H264 unit, not the "fake" one. I followed the recommendation on one site (http://dashcamtalk.com/dvr-027-720p/#Original_vs_Fake_Models) on exactly how to get the right one, and actually bought one from one of the ebay sellers that were recommended, to "make sure" I was getting the good unit. So, maybe I either got the bad unit, or the good unit is still not very good ??? I got the DVR-007 version without the IR emitters for night filming...

[img]http://dashcamtalk.com/wp-content/uploads/2012/08/DVR-007.jpg[/omg]

QUOTE (dloneranger @ Nov 25 2013, 04:11 PM)
If this is something you feel like playing around with more often, I'd suggest installing some stuff that's shown in my sig


Thanks for the pointer to your sig and links. I may peruse those after I recover from this first experience wink.gif ... but I'm pretty sure you won't be seeing any of my movies with fades, titles, or scene changes any time soon!






 
     Top
dloneranger
Posted: Nov 25 2013, 07:01 PM


Moderator


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



QUOTE
Now... are these the steps I will need to take every time I want to do this? Or can I save the entire "configuration" so I can just open an AVI file and click the Go button and be done? And do I have to open the raw avi in that odd way every time? I already created the 'save processing settings' script as you described.


To load all your settings you can either
1) simple
use the file menus load processing settings to load the x264 codec and all the other settingss
2) bit more complicated
make a shortcut to virtualdub eg on the desktop
find your settings file - for example I'll use this c:\users\labboypro\my documents\x264.vdscript
right click the virtualdub shortcut, and select properties
in the target box go to the end of the line and add a space then /s followed by another space and then the full path of your saved settings (surrounded by quotes)
eg on mine it would change from
CODE
"C:\Program Files (x86)\Common Files\Dlone\VirtualDub\VirtualDub.exe"

to
CODE
"C:\Program Files (x86)\Common Files\Dlone\VirtualDub\VirtualDub.exe" /s "c:\users\labboypro\my documents\x264.vdscript"

click ok

From now on, that shortcut will automatically load those settings

You'll still have to do the directshow thing to load those files in though
They're seriously weird ;-)
The dashcam's producing avi's with h264 as the video codec (so it's not the fake one), but it's an odd one that doesn't like seeking through the file with VFW codecs (VFW is the kind of codec virtualdub usually uses without an input plugin being used)
You could convert those odd avi's to mp4 or mkv but it's probably more trouble than just picking directshow from that dropdown

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
dloneranger
Posted: Nov 25 2013, 07:18 PM


Moderator


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



Actually there's a trick you can try that might make loading them a bit simpler - no promise about it working though

When you've opened a file with the directshow plugin, go to the file menu and pick file information
In that dialog box, click on config
On this new dialog you should be on the file types tab
Type mkv into the box to the left of 'add' then click the add button
Click ok , then ok again and then close virtualdub

Now, if you change the file extension of your odd vids to from avi to mkv they should automatically use the directshow plugin in virtualdub..... in theory anyhow. You could use any extension apart from avi if you want

Depends on if renaming a files easier than picking something off a list?

If it does work properly, it's easy to write a small .bat file to rename any .avi dragged onto it into a .mkv




--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
29 replies since Nov 24 2013, 12:12 AM Track this topic | Email this topic | Print this topic
Pages: (2) 1 [2] 
<< Back to Newbie Questions