Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd June 2012, 18:00   #1  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 903
ffinputdriver - ffmpeg based plugin for virtualdub

Just came across this plugin today, and i'm surprised that no one mentioned it before in the forum.


description in here:
http://codecpack.co/download/FFInputDriver.html

I quoted it:

Quote:
VirtualDub, as stand-alone, cannot handle .mkv, .mp4, .flv, .mov or any other files besides .avi. You need a plugin or plugins to load anything else besides .avi. FFmpeg Input Driver will open and edit Matroska Container (MKV), MP4, FLV and other video files in VirtualDub. FFmpeg Input Driver can handle 31 different file formats. The plugin is based, as the name may suggest, of the FFmpeg libraries. - This plugin pack requires VirtualDub. To install FFInputDriver just place the unarchived package under VirtualDub program directory.

Features:
- Supported YUV420P, Y8, UYVY, YUYV, RGB555, RGB565, RGB888 color spaces;
- Simple downmix of multichannel audio stream alg implemented;
- Both video and audio are always decompressed;
- Implemented Media File Information dialog (File->File Information) for the first video / audio stream in the container file;
- Source solution for vs2010 included (but earlier versions of the VS can be used);
- Opening file formats: anm; asf; avi; bik; dts; dxa; flv; fli; flc; flx; h261; h263; h264; m4v; mkv; mjp; mlp; mov; mp4; 3gp; 3g2; mj2; mvi; pmp; rm; rmvb; rpl; smk; swf; vc1; wmv; ts; vob; mts; m2ts; m2t;*.mxf;*.ogm;*.qt;*.tp;*.dvr-ms;*.amv
changelog
Code:
From raythe0n's origional plugin, modified by tateu, later modified by dloneranger

v0.8.0.7 [23 Jan 2014]
Added option, default video decoding format for unusual formats
(There are many formats that virtualdub doesn't handle, now you can choose how they are decoded)
Updated ffdlls to 2.1.3

0.8.0.6
Fixed crash from FFDshow dlls logging
Added more native virtualdub video formats, so less are converted to rgb
-> yuv 410p, 422p, 444p, nv12, nv21
Changed default format to rgb32 from rgb24

0.8.0.5
Added option for FFMPeg autodetecting 709 colorspace - if that info is in the source file
Added option for setting 709 colorspace for source file height>=720
Use the ask for extended options checkbox on opening a video to set them
Disabled by default


0.8.0.4
Fixed so registry works on XP
Includes required ffmpeg dlls

0.8.0.3
Settings saved in registry

0.8.0.2 (a)
The "Adjust Pixel Aspect Ratio" option is disabled by default
0.8.0.2a plugin

0.8.0.2
- Implemented full support for multichannel.
- Fixed a memory leak.
- When opening a file with the plugin, if you select "Ask for extened options after this dialog", you get the following options for audio
-- Downmix Audio - if selected, downmixes multichannel to stereo (off by default).
-- Limit Audio To 16-bit - converts 32-bit audio source to 16-bit samples (off by default).

Note that virtualdub has some limitations when dealing with multichannel or 32-bit source audio:
- Some audio compression codecs do not accept multichannel or 32-bit samples as input.
- Virtualdub menu Audio->Conversion does not know how to mix multichannel down to stereo, or convert 32-bit audio to 16-bit.
- Therefore, above options in "Open video file" were implemented to convert to stereo or 16-bit if necessary.
0.8.0.2 plugin
0.8.0.2 source

0.8.0.0
- Upgraded to current versions of ffmpeg - avcodec-55, avformat-55, avutils-52, swscale-2.
- Minimized usage of deprecated features in ffmpeg.
- Added support for planar audio formats.
- Added support for 32-bit audio samples.
- There's tentative support for multichannel, but Virtualdub hangs when fed multichannel audio by an input plugin. So for now, multichannel is down-mixed to stereo as before. See Below.
- Fixed a bug that caused garbled audio and occasional crashes near the end of playback.
- Split the sources to make them more manageable.
- VS2012 project files.
developer page older:
http://code.google.com/p/ffinputdriver/

newer:
http://sourceforge.net/projects/virt...tplugin/files/

Last edited by lansing; 20th February 2014 at 20:28. Reason: update
lansing is online now   Reply With Quote
Old 22nd June 2012, 19:25   #2  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 319
Works quite nicely. Thanks for posting this.

Might give a "Error seeking in video file" (or something like that, already forgot. UGH) error when trying to play it, but just ignore the error and press the button again; worked for me. (This is surprisingly silly.)
Bloax is offline   Reply With Quote
Old 22nd June 2012, 21:29   #3  |  Link
davidhorman
I'm the Doctor
 
Join Date: Jan 2004
Posts: 1,414
Very useful, thanks for posting!
davidhorman is offline   Reply With Quote
Old 22nd June 2012, 22:27   #4  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,567
Quote:
Originally Posted by lansing View Post
Just came across this plugin today, and i'm surprised that no one mentioned it before in the forum.
I guess because these days there is no much point to open various stuff directly in VirtualDub without avisynth layer.
Keiyakusha is offline   Reply With Quote
Old 23rd June 2012, 18:34   #5  |  Link
tuqueque
Registered User
 
Join Date: Jun 2009
Posts: 26
This is so freakin' awesome!!!... Thank you so much!
tuqueque is offline   Reply With Quote
Old 8th November 2012, 00:49   #6  |  Link
shroomM
Registered User
 
Join Date: Dec 2005
Location: Slovenia
Posts: 46
Any chance of compiling this with the latest ffmpeg?
shroomM is offline   Reply With Quote
Old 8th November 2012, 17:33   #7  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 273
Quote:
Originally Posted by shroomM View Post
Any chance of compiling this with the latest ffmpeg?
You can get one here. I didn't test it much though, but it seems to work fine.
__________________
“Never argue with stupid people, they will drag you down to their level and then beat you with experience.” — Mark Twain
the_weirdo is offline   Reply With Quote
Old 15th October 2013, 19:55   #8  |  Link
juGGaKNot
Registered User
 
juGGaKNot's Avatar
 
Join Date: Feb 2008
Posts: 733
Is using ffms2 + ffinputdriver wrong ? I mean should i only use ffinputdriver ?

I started using ffms2 + virtualdub but i got errors on files with more than 2 audio channels so i added ffinputdriver and now its ok but i see that ffinputdriver also handles the files without ffms2.
__________________
Quote:
Originally Posted by Dark Shikari View Post
If they can beat x264 in visual quality on ordinary test clips without postprocessing, I'll eat my hat.
juGGaKNot is offline   Reply With Quote
Old 4th November 2013, 09:15   #9  |  Link
hlloyge
Registered User
 
Join Date: Dec 2005
Posts: 8
I can't get it to load, or I am doing something wrong. I unpacked latest VirtualDub and unpacked the contents of plugin into plugins32 folder , so in the root of that folder is FFInputDriver.vdplugin and subfolder - but I can't load simple xvid avi video, it says that it misses VFW drivers. I tried 32 and 64 bit versions of VirtualDub, but managed to get nothing. When I opet Plugin configuration, I don't see any plugins listed.
And documentation is unavailable, so... if anyone can try to help me, it would be appreciated.

(EDIT) I found on another forum what I've been doing wrong:

Still to be as clear as possible: when you want to open a *.WMV with the FFMpeg inputdriver:
- click File > Open video file...
- select the wmv-file that you want to open (one single click on the filename)
- than at "Files of type:" select "FFMpeg Supported files" out of the choicelist
- only on that moment, click on "Open"

Last edited by hlloyge; 4th November 2013 at 09:27.
hlloyge is offline   Reply With Quote
Old 28th February 2014, 14:44   #10  |  Link
raffriff42
Retried Guesser
 
raffriff42's Avatar
 
Join Date: Jun 2012
Posts: 1,377
New version 0.8.0.9 (download) (change log)
Quote:
0.8.0.8
Updated to use ffdlls 2.1.4

0.8.0.7
Added option, default video decoding format for unusual formats
(There are many formats that virtualdub doesn't handle, now you can choose how they are decoded)
Updated ffdlls to 2.1.3

0.8.0.6
Fixed crash from FFDshow dlls logging
Added more native virtualdub video formats, so less are converted to rgb
-> yuv 410p, 422p, 444p, nv12, nv21
Changed default format to rgb32 from rgb24

0.8.0.5
Added option for FFMPeg autodetecting 709 colorspace - if that info is in the source file
Added option for setting 709 colorspace for source file height>=720
Use the ask for extended options checkbox on opening a video to set them
Disabled by default
Here's the new Advanced Options dialog.
The "default video decode format" is explained here.

EDIT I'm not the developer; I'm just passing the news along.
EDIT version 0.8.0.9, minor bugfix

Last edited by raffriff42; 18th March 2017 at 01:02. Reason: (fixed image link)
raffriff42 is offline   Reply With Quote
Old 1st March 2014, 15:22   #11  |  Link
detmek
Registered User
 
Join Date: Aug 2009
Posts: 475
Thanks. I didn't know it is still updated. Very usefull plugin.
detmek is offline   Reply With Quote
Old 14th March 2014, 18:07   #12  |  Link
DarrellS
Registered User
 
Join Date: Mar 2013
Posts: 28
Thanks for the update. Opened HEVC and gives details in File Information. I don't believe the last version I had would give details under file info. I also like the fact that you can select not to downmix audio. Was wondering why my ac3 audio kept getting downmixed to stereo.
DarrellS is offline   Reply With Quote
Old 26th April 2014, 16:19   #13  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: UK
Posts: 2,287
Could you add 10bit decoding format (v210?), so V210.MOVs can be read at 10bit.
kolak is offline   Reply With Quote
Old 23rd April 2017, 07:34   #14  |  Link
staygroovy
Registered User
 
Join Date: Mar 2008
Posts: 16
Quote:
Originally Posted by hlloyge View Post
(EDIT) I found on another forum what I've been doing wrong:

Still to be as clear as possible: when you want to open a *.WMV with the FFMpeg inputdriver:
- click File > Open video file...
- select the wmv-file that you want to open (one single click on the filename)
- than at "Files of type:" select "FFMpeg Supported files" out of the choicelist
- only on that moment, click on "Open"


It's much appreciated that you took time to explain the solution.

Was running into the same exact problem.
staygroovy is offline   Reply With Quote
Old 23rd April 2017, 16:12   #15  |  Link
raffriff42
Retried Guesser
 
raffriff42's Avatar
 
Join Date: Jun 2012
Posts: 1,377
I used to love ffinputdriver, but it's 2017, time to try VDFM / VirtualDub FilterMod.
Directly open mp4, mkv, mxf and many others like they were AVIs. Write them as well.
vdfiltermod/caching-input-driver
raffriff42 is offline   Reply With Quote
Old 24th April 2017, 02:26   #16  |  Link
WorBry
Registered User
 
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 923
Thanks for pointing that out raffriff42. Can load Cineform files directly with decode to yuv422p16 instead of RGB888
__________________
Nostalgia's not what it used to be
WorBry is offline   Reply With Quote
Old 24th April 2017, 08:49   #17  |  Link
dipje
Registered User
 
Join Date: Oct 2014
Posts: 260
VDFilterMod started out as 'deep colour' for VirtualDub I believe, but in the meantime added a whole bunch of stuff you always wanted, like built in ffmpeg input and output (including deep colour) but also eccentric stuff like using the VfW codecs to encode but saving as a .MOV. To be honest I don't know how filter-compatibility is, but since I hardly use VirtualDub filters (more encoding, transcoding, cutting that kind of stuff) VDFilterMod is the default 'VirtualDub' I install these days on my systems. Seems stable enough, and if you work with things like prores, dnx, cineform and mov files it can be a godsend (together with deep colour support in avs+ and / or Vapoursynth)
dipje is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:31.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.