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: (20) « First ... 13 14 [15] 16 17 ... Last » ( Go to first unread post )
Directshow Input Driver, 0.1
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
dloneranger
Posted: Jan 22 2011, 01:53 PM


Moderator


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



You'd probably be better off starting a new thread for that problem, with step by step descriptions of what happens etc, if the graphedit you use is 32 or 64 bit etc

Oh, just remembered (doh) some filters like ffdshow have an 'only use this filter in these programs' setting, so they'll work in media player, but not virtualdub for example
Also win7 media player uses a different system to directshow as well
There's codec chooser for win7's system at http://fileforum.betanews.com/detail/Win7D...er/1262732488/1


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


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



The DirectShow input driver and Avisynth's DirectShowSource code bases aren't related, so the difference in behavior is likely more related to format matching issues. In particular, GraphEdit and Media Player Classic will both be trying to bolt the VMR9 or EVR filters to a decoder, whereas VirtualDub and Avisynth will be trying to attach a sample grabber or rendering filter. If the desired filter is one that is trying to negotiate a DXVA or compressed format connection, then that would explain why the editors are switching to an alternate decoder.

Examining the formats exposed by the output pin of the desired decoder in GraphEdit would be the first place to start. The DirectShow input driver accepts either VideoInfo or VideoInfo2 format types and subtypes RGB24, RGB32, YUY2, UYVY, YV12, YVU9, RGB555, and RGB565.
 
    Top
levicki
Posted: Jan 25 2011, 03:57 PM


Advanced Member


Group: Members
Posts: 167
Member No.: 22605
Joined: 13-December 07



QUOTE (phaeron @ Jan 24 2011, 03:51 AM)
The DirectShow input driver and Avisynth's DirectShowSource code bases aren't related, so the difference in behavior is likely more related to format matching issues. In particular, GraphEdit and Media Player Classic will both be trying to bolt the VMR9 or EVR filters to a decoder, whereas VirtualDub and Avisynth will be trying to attach a sample grabber or rendering filter. If the desired filter is one that is trying to negotiate a DXVA or compressed format connection, then that would explain why the editors are switching to an alternate decoder.

Examining the formats exposed by the output pin of the desired decoder in GraphEdit would be the first place to start. The DirectShow input driver accepts either VideoInfo or VideoInfo2 format types and subtypes RGB24, RGB32, YUY2, UYVY, YV12, YVU9, RGB555, and RGB565.

Thanks for the explanation Avery, I will check the formats later when I get home and let you know here.

However, before I installed TV card software DirectShow input driver was picking CoreAVC decoder (the one I want) without issues so I know its output is compatible and CoreAVC is set as preferred decoder anyway.

This is a problem for me because CoreAVC decoder I want to use can decode .MOV files from my Canon 5D MkII camera flawlessly, and the other decoder that DirectShow input driver is picking just produces a green screen.

What is worse, I don't know which decoder it is picking so I cannot block or uninstall it.
 
      Top
ale5000
Posted: Jan 25 2011, 04:28 PM


Advanced Member


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



Try increasing the merit of the "CoreAVC Video Decoder" to 0xFF800003 with Codec Toolbox RS

--------------------
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
VoLTE
Posted: Feb 19 2011, 07:37 PM


Newbie


Group: Members
Posts: 2
Member No.: 29968
Joined: 19-February 11



Hi!

I've got a ten minute 3GPP (GSM) video I recorded with my phone (desire Z) and while I can successfully decode it using the input driver and Haali, it's both very slow to decode *and* it runs the CPU ragged. Phenom X4 9600... and 90% usage for 2.5fps, even though it plays back fine both in Premiere and in MPC. dry.gif

Is there something I should be doing? Sorry if I should have stuck this in its new thread; I couldn't quite decide... unsure.gif

Thanks!
 
     Top
ale5000
Posted: Feb 19 2011, 07:45 PM


Advanced Member


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



Try with the MPEG-4 / 3GPP input plugin by SEt: http://forums.virtualdub.org/index.php?act...=ST&f=7&t=12664

--------------------
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
VoLTE
Posted: Feb 24 2011, 03:10 PM


Newbie


Group: Members
Posts: 2
Member No.: 29968
Joined: 19-February 11



No luck! Black video with virtualdub 1.8.7 and 1.9.11.

I'll post over there, too.
 
     Top
mikew
Posted: Apr 11 2011, 04:09 AM


Newbie


Group: Members
Posts: 9
Member No.: 30719
Joined: 10-April 11



virtualdub 1.9.11
cccp codec pack

ok,

originally my mp4 file wouldnt open in virtualdub, getting the audio error in the first reply in this thread. then i opened my mp4 with media player classic. then re-tried in virtualdub and it worked.

however, i cannot view File -> File Information

this is the popup i get:

user posted image

and i have no clue what to do, clicking 'ok' gives me nothing
 
     Top
ale5000
Posted: Apr 11 2011, 12:41 PM


Advanced Member


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



If the file is opened by the DirectShow input plugin you cannot see info in File -> File Information.

--------------------
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
mikew
Posted: Apr 11 2011, 02:26 PM


Newbie


Group: Members
Posts: 9
Member No.: 30719
Joined: 10-April 11



ok thanks
 
     Top
sanmy77
Posted: May 11 2011, 10:18 PM


Newbie


Group: Members
Posts: 1
Member No.: 31283
Joined: 11-May 11



QUOTE (phaeron @ Jan 10 2008, 05:09 AM)
Been sick this past week with a cold, and when I'm sick, I do things that I wouldn't ordinarily do. Therefore:

http://www.virtualdub.org/beta/DShowInputD...tDriver-0.8.zip
http://www.virtualdub.org/beta/DShowInputD...ver-0.8-src.zip

Place in plugins32 folder under VirtualDub program directory.

A few notes about this:

  • DirectShow sucks. You would think that for a primary video API on Windows that the task "extract frames and audio from a file" would be slightly easier than "a complete pain in the &#*($."
  • This input driver plugin works with both VirtualDub 1.7.6+ and 1.7.X test releases.
  • Direct stream copy is not possible. Both video and audio are always decompressed.
  • Video format switching does work (RGB24/RGB32/UYVY/YUY2/YV12/YVU9).
  • The plugin never auto-detects a file, so you will need to choose "DirectShow input driver" from the file type drop-down in the Open File dialog. I'm thinking about ways to solve this.
  • It's pretty raw, so it may hang or glitch sometimes. I have gotten it to work on AVI, MPEG-1, WMV, and MKV files. The error reporting sucks.
  • If the file does not natively have a frames per second associated with its video stream, it currently assumes 30 fps.
  • Only one audio stream is currently extracted. Haven't figured out how to reliably get access to alternate audio streams when building the DirectShow graph yet.


Update:
v0.3 is posted. This now scans the DirectShow file type extension list, so it'll automatically pick up extensions that VirtualDub wouldn't otherwise support. You'll still have to override the driver selection for a file format that's already supported, like AVI.

Update (2):
v0.4 is posted. This fixes a bug with the video stream read() call that caused filter preview to break in 1.8.0.

Update by stephanV
v0.5 can be found on this page.

64 bit version is on this page.

Yet another update:
0.6 fixes a problem with file opens taking a long time.

Update^N:
0.7 adds a configuration dialog via File > File Information to manually add file extensions.

Version 0.8:
Fixes detection bug.

I have Windows / 64bit on my pc. Then I downloaded the input drivers from here
http://forums.virtualdub.org/index.php?act...7&t=15093&st=75

but where I should copy this driver, given that the latest version of virtualdub for 64bit is a program that does not need to be installed and does not create in C:/Programs.. etc.. any folder called Virtualdub/plugins?

I apologize in advance since I am quite inexperienced about this kind of stuff.. therefore I kindly ask you to try your best to keep simple your replies to me! thanksss! smile.gif

Am I completely on the wrong way?? Please help!
My problem is that I need to edit a .mp4 video.. (it's h.264 version).. cutting the useless parts.. and then I need to convert it in a divx file..
but Virtualdub always tells me that my .mp4 files are in a unknown or not supported format..

Please take note that I have not any problems to watch those videos using windows media player or vlc...

Please guide me to end of this nightmare! wacko.gif
 
     Top
dloneranger
Posted: May 12 2011, 04:12 PM


Moderator


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



I use this quite a lot as it works fairly well with a lot of formats that are problematic

Apart from 1 issue - WMV's with WMA audio
Some of these can have strange audio distortions and glitches

It seems to be due to Win7's preferred decoder - WMAudio Decoder DMO

I had a quick play, and added FFDShow's audio decoder to the graph (if it exists on the system) in
void DSAudioSource::InitLocal(void *pvFn)

The audio quality of the previously distorted clips was greatly improved, and you can also use it's processing features from the system tray as a bonus

You might want to try it, it all seems to work nicely and I can't find a drawback smile.gif

[edit]
I've put a version with prefer ffdshow options here in case anyone wants to test
http://dl.dropbox.com/u/17024916/MyUploade...ce_Modified.zip


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
ale5000
Posted: May 12 2011, 10:58 PM


Advanced Member


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



@sanmy77: Don't download the old 64-bit version from your link, but download it from the first post here => http://forums.virtualdub.org/index.php?act...=7&t=15093&st=0 (it contain both the 32 and 64-bit version)

Put the 32-bit version in the plugins32 folder instead the 64-bit version in the plugins64 folder (inside the VirtualDub folder).

You can use Preferred Filter Tweaker to set preferred codecs on Windows 7.

--------------------
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
Dstruct
Posted: Jun 12 2011, 09:46 AM


Advanced Member


Group: Members
Posts: 257
Member No.: 24005
Joined: 8-August 08



Can't load this file:

CODE
General
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 354 MiB
Duration                         : 16mn 4s
Overall bit rate                 : 3 081 Kbps
Writing application              : Lavf52.61.0

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L3.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 4 frames
Format settings, GOP             : M=4, N=60
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 16mn 4s
Bit rate mode                    : Variable
Bit rate                         : 3 000 Kbps
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Constant
Frame rate                       : 29.970 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.109
Stream size                      : 345 MiB (97%)
Writing library                  : x264 core 85
Encoding settings                : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x133 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=2 / wpredb=1 / wpredp=0 / keyint=60 / keyint_min=1 / scenecut=1 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=3000 / ratetol=1.3 / qcomp=0.50 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.41 / aq=1:1.00
Language                         : English

Audio
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : 40
Duration                         : 16mn 4s
Bit rate mode                    : Variable
Bit rate                         : 76.4 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 44.1 KHz
Compression mode                 : Lossy
Stream size                      : 8.79 MiB (2%)
Language                         : English



Unable to render video stream: hr=80040217



VirtualDub 1.10.1-test7 + DShowInputDriver 0.8 + Haali Media Splitter 1.11.96.14 + ffdshow tryouts 1.1.3871 Windows XP SP3
 
    Top
phaeron
Posted: Aug 10 2011, 12:24 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



I uploaded version 0.9, which should behave a bit better for people who are using the default decoder in Windows 7.
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
291 replies since Jan 10 2008, 05:09 AM Track this topic | Email this topic | Print this topic
Pages: (20) « First ... 13 14 [15] 16 17 ... Last »
<< Back to VirtualDub Filters and Filter Development