VideoHelp Forum




+ Reply to Thread
Results 1 to 22 of 22
  1. Hi,

    I'm trying to open a mp4 video with Vdub. DirectShowSource does't work. It says:

    Click image for larger version

Name:	DirectShowSource.png
Views:	3301
Size:	12.5 KB
ID:	10742

    Asking Google about this error, I came to:
    "This is a common error that occurs when DirectShow isn't able to deliver any format that is readable to AviSynth. Try creating a filter graph manually. See if you are able to construct a filter graph that delivers any output that AviSynth can open. If not, you might need to download additional DirectShow filters that can deliver correct material. If you can play the graph in GraphEdit, make sure to remove the video and audio renderers, before saving the graph and opening it in AviSynth. Some examples can be found here."

    How to find out wich filter is needed and wich one is behaving bad? GraphEdit says:

    Click image for larger version

Name:	GraphEdit.png
Views:	1889
Size:	9.9 KB
ID:	10743

    I can open AVI and even RMVB files using DirectShowSource in Vdub and in GraphEdit. But none mp4 files...
    Thank you.
    Quote Quote  
  2. You need a DirectShow MP4 reader/splitter and decoders for whatever codecs are used in the file. Try Haali for the reader/splitter. MediaInfo will tell you what decoders you need. But it's likely h.264 and aac. Both of which you can get from ffdshow.

    FYI: using the DirectShow plugin for VirtualDub is asking Windows' DirectShow to open the video and decompress it. So DirectShow filters for the file type and codecs must be installed.
    Last edited by jagabo; 31st Jan 2012 at 12:51.
    Quote Quote  
  3. Jagabo,

    below is a MediaInfo report:

    Code:
    General
    Complete name                    : D:\JDownloader_files\forum\Hello by Matthijs Vlot.mp4
    Format                           : MPEG-4
    Format profile                   : Base Media / Version 2
    Codec ID                         : mp42
    File size                        : 3.82 MiB
    Duration                         : 1mn 17s
    Overall bit rate                 : 412 Kbps
    Encoded date                     : UTC 2012-01-17 00:42:04
    Tagged date                      : UTC 2012-01-17 00:42:04
    gsst                             : 0
    gstd                             : 77878
    gssd                             : B4A7D0982HH1328022002320253
    gshh                             : o-o.preferred.gru03s03.v10.lscache1.c.youtube.com
    
    Video
    ID                               : 1
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : Baseline@L3.0
    Format settings, CABAC           : No
    Format settings, ReFrames        : 1 frame
    Codec ID                         : avc1
    Codec ID/Info                    : Advanced Video Coding
    Duration                         : 1mn 17s
    Bit rate mode                    : Variable
    Bit rate                         : 313 Kbps
    Maximum bit rate                 : 1 028 Kbps
    Width                            : 640 pixels
    Height                           : 360 pixels
    Display aspect ratio             : 16:9
    Frame rate mode                  : Constant
    Frame rate                       : 25.000 fps
    Color space                      : YUV
    Chroma subsampling               : 4:2:0
    Bit depth                        : 8 bits
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.054
    Stream size                      : 2.90 MiB (76%)
    Tagged date                      : UTC 2012-01-17 00:42:04
    
    Audio
    ID                               : 2
    Format                           : AAC
    Format/Info                      : Advanced Audio Codec
    Format version                   : Version 4
    Format profile                   : LC
    Format settings, SBR             : No
    Codec ID                         : 40
    Duration                         : 1mn 17s
    Bit rate mode                    : Variable
    Bit rate                         : 96.0 Kbps
    Maximum bit rate                 : 114 Kbps
    Channel(s)                       : 2 channels
    Channel positions                : Front: L R
    Sampling rate                    : 44.1 KHz
    Stream size                      : 912 KiB (23%)
    Title                            : IsoMedia File Produced by Google, 5-11-2011
    Encoded date                     : UTC 2012-01-17 00:42:04
    Tagged date                      : UTC 2012-01-17 00:42:04
    I have K-Lite codec pack installed. Ffdshow and Haali are available:

    Click image for larger version

Name:	ffdshow.png
Views:	1962
Size:	30.2 KB
ID:	10745Click image for larger version

Name:	Haali.png
Views:	3661
Size:	15.6 KB
ID:	10746

    How to config them properly?
    Thank you.
    Quote Quote  
  4. Another question:
    Why I can open all mp4 videos using Avidemux? And I can play any mp4 using any players.

    Answering my own question, is it because Avidemux don't use DirectShowSource to open files. Maybe it has its own filters. And players has the same, too. (ffdshow?) Is this answer correct?

    And why GraphEdit cannot open? I thought GraphEdit would be able to open any video to show the codecs and filters diagram.

    Also, I cannot convert mp4 videos to RMVB using EasyRealProducer. I guess it is because the same problem with DirectShowSource filters.

    So, question remains:
    1 - How to set ffdshow and Haali?
    2 - Why Avidemux open without problem?
    2 - Why GraphEdit cannot open? (We depends on it to know the diagram)
    Thank you.
    Quote Quote  
  5. Originally Posted by jairovital View Post
    Another question:
    Why I can open all mp4 videos using Avidemux? And I can play any mp4 using any players.

    Answering my own question, is it because Avidemux don't use DirectShowSource to open files. Maybe it has its own filters. And players has the same, too. (ffdshow?) Is this answer correct?
    That is correct.

    Originally Posted by jairovital View Post
    And why GraphEdit cannot open? I thought GraphEdit would be able to open any video to show the codecs and filters diagram.
    GraphEdit uses DirectShow or VFW.

    Originally Posted by jairovital View Post
    Also, I cannot convert mp4 videos to RMVB using EasyRealProducer. I guess it is because the same problem with DirectShowSource filters.
    Maybe.

    Originally Posted by jairovital View Post
    So, question remains:
    1 - How to set ffdshow and Haali?
    Make sure that the AVC (h.264) decoder in ffdshow is enabled (Start -> All Programs -> ffdshow -> Video Decoder Configuration... Codecs in left pane, h.264/AVC in the right pane. Same for the AAC decoder, Start -> All Programs -> Audio Decoder Configuration... Codecs in the left pane, AAC in the right pane.

    If you are using 64 bit Windows be aware that 64 bit programs require 64 bit codecs and filters, 32 bit programs require 32 bit codecs and filters. The two systems can't see each others' components.
    Quote Quote  
  6. Originally Posted by jagabo View Post
    Make sure that the AVC (h.264) decoder in ffdshow is enabled (Start -> All Programs -> ffdshow -> Video Decoder Configuration... Codecs in left pane, h.264/AVC in the right pane. Same for the AAC decoder, Start -> All Programs -> Audio Decoder Configuration... Codecs in the left pane, AAC in the right pane.
    Yes. It already has what you said. Look:

    Click image for larger version

Name:	ffdshowvideo.png
Views:	2399
Size:	37.3 KB
ID:	10747Click image for larger version

Name:	ffdshowaudio.png
Views:	1874
Size:	37.0 KB
ID:	10748

    H.264 decoder has ffmpeg-mt/libavcodec/Disable options. Default is ffmpeg-mt. I tried libavcodec and Vdub return the same error.

    On details: "H264, AVC1, X264, VSSH (incomplete), DAVC, PAVC. ffmpeg-mt is multithreaded. libavcodec (experimental)". Any clues from here?

    AAC decoder has libfaad2/Disable options. Default is libfaad2.

    Originally Posted by jagabo View Post
    If you are using 64 bit Windows be aware that 64 bit programs require 64 bit codecs and filters, 32 bit programs require 32 bit codecs and filters. The two systems can't see each others' components.
    My system is 32 bits, WinXP SP3. K-Lite codec pack.
    Thank you.
    Quote Quote  
  7. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    In the Haali configuration dialog, under 'Interface', set 'Show tray icon' and 'Display error messages' to 'Yes'.
    This will show if Haali is being used and allow you to see any error messages it produces.
    Quote Quote  
  8. Gavino,
    I set 'Show tray icon' and 'Display error messages' for Haali. Trying to open the avs using Vdub I got the Vdub error, but no Haali tray icon nor message. Seems that Haali is out the party.
    Thank you.
    Quote Quote  
  9. I would uninstall KLite (and hope that your system is completely screwed up already) then install just Haali and ffdshow. If you ever need any other codecs download and install them individually.
    Quote Quote  
  10. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    FWIW: not all applications (including Avisynth) attempt to build DS graphs in the same way.

    When Gabest's Matroska and MP4 splitters are registered, Graphstudio often/always prefers them, even when their merit is set to "DO_NOT_USE"

    Haali, in his infinite wisdom , tried to fix that issue by making his splitter exceedingly power-hungry , which at times freezes MPC-HC by means of 100% non-functional graphs

    Over here, LAV Splitter for MP4s and SolveigMM Splitter for MKVs have given me the best results so far.
    Quote Quote  
  11. I found this:
    http://www.afterdawn.com/guides/archive/ffdshow_install_configure.cfm
    and the 4 others pages of that guide.

    And I have some good news: I installed Haali 1.11.96.14 and in its instalation procedures it asks to enable MP4 support, among others. After that, I could open that MP4 inside Vdub using DirectShowSource in an avs script. (good).

    And I also have more questions:
    Trying to convert an avi video to rmvb using EasyRealMediaProducer (ERMP) I got the following error (bad):

    Code:
        Warning    File Reader    2012/02/01 09:46:21    8107    Neither uncompressed audio or video was available in DirectShow Reader
        Error    File Reader    2012/02/01 09:46:21    8406    Failed to load QuickTime libraries.  QuickTime 5 or later is required.
        Error    File Reader    2012/02/01 09:46:21    8322    Unexpected file format, D:\test_files\test.avi may be a flat file.
        Error    SDK Configuration    2012/02/01 09:46:21    0    Failure to load reader for file D:\test_files\test.avi
        Error    SDK Configuration    2012/02/01 09:46:21    0    Unable to initialize input
        2012-02-01 09:46:21 Init Job Failed (D:\test_files\test.avi)!
        Error    SDK Configuration    2012/02/01 09:46:21    14000    Attempted to start encoding with no Input
        Error    SDK Configuration    2012/02/01 09:46:21    14001    Attempted to start encoding with no OutputProfile
        Error    SDK Encoding    2012/02/01 09:46:21    15001    Job failed to start encoding
    MediaInfo report:

    Code:
    General
    Complete name                    : D:\test_files\test.avi
    Format                           : AVI
    Format/Info                      : Audio Video Interleave
    File size                        : 700 MiB
    Duration                         : 1h 46mn
    Overall bit rate                 : 920 Kbps
    Writing application              : Nandub v1.0rc2
    Writing library                  : Nandub build 1853/release
    
    Video
    ID                               : 0
    Format                           : MPEG-4 Visual
    Format profile                   : Advanced Simple@L5
    Format settings, BVOP            : Yes
    Format settings, QPel            : No
    Format settings, GMC             : No warppoints
    Format settings, Matrix          : Default (H.263)
    Muxing mode                      : Packed bitstream
    Codec ID                         : XVID
    Codec ID/Hint                    : XviD
    Duration                         : 1h 46mn
    Bit rate                         : 774 Kbps
    Width                            : 624 pixels
    Height                           : 352 pixels
    Display aspect ratio             : 16:9
    Frame rate                       : 23.976 fps
    Color space                      : YUV
    Chroma subsampling               : 4:2:0
    Bit depth                        : 8 bits
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.147
    Stream size                      : 589 MiB (84%)
    Writing library                  : XviD 64
    
    Audio
    ID                               : 1
    Format                           : MPEG Audio
    Format version                   : Version 1
    Format profile                   : Layer 3
    Mode                             : Joint stereo
    Mode extension                   : MS Stereo
    Codec ID                         : 55
    Codec ID/Hint                    : MP3
    Duration                         : 1h 46mn
    Bit rate mode                    : Variable
    Bit rate                         : 133 Kbps
    Channel(s)                       : 2 channels
    Sampling rate                    : 48.0 KHz
    Video delay                      : 8ms
    Stream size                      : 101 MiB (14%)
    Alignment                        : Aligned on interleaves
    Interleave, duration             : 24 ms (0.58 video frame)
    Interleave, preload duration     : 138 ms
    I never got this error before. It seems a similar error because the log file refers to "Neither uncompressed audio or video was available in DirectShow Reader". And now, the encoder is H.263.

    Any suggestions?
    Thank you.
    Quote Quote  
  12. It looks like the program is using QuickTime to open the AVI file?
    Quote Quote  
  13. Originally Posted by jagabo View Post
    It looks like the program is using QuickTime to open the AVI file?
    I'm afraid, not. I think it try to use first DirectShow. If it isn't available, then it goes to the next step, QuickTime and so on. Several files I use to convert without such problem.

    I also have a very similar file that I convert without problem. The only difference is here:

    File without problem to convert
    Code:
    Video
    ID                               : 0
    Format                           : MPEG-4 Visual
    Format profile                   : Advanced Simple@L5
    Format settings, BVOP            : Yes
    Format settings, QPel            : No
    Format settings, GMC             : No warppoints
    Format settings, Matrix          : Default (MPEG)
    Codec ID                         : XVID
    Codec ID/Hint                    : XviD
    File with problem to convert
    Code:
    Video
    ID                               : 0
    Format                           : MPEG-4 Visual
    Format profile                   : Advanced Simple@L5
    Format settings, BVOP            : Yes
    Format settings, QPel            : No
    Format settings, GMC             : No warppoints
    Format settings, Matrix          : Default (H.263)
    Muxing mode                      : Packed bitstream
    Codec ID                         : XVID
    Codec ID/Hint                    : XviD
    Difference is Default (MPEG) x Default (H.263). Both are AVI container.


    Confused...
    Thank you.
    Quote Quote  
  14. The video codec is xvid and the audio codec is mp3. Make sure those are enabled in ffdshow.
    Quote Quote  
  15. Jagabo,

    you won't believe!

    After your suggestion I checked ffdshow decode configuration once more (I've seen this screen since I left the bed today).
    Of course, Xvid was enabled, using libavcodec.dll. The options are libavcodec and Xvid. I changed to Xvid and tried. Error again...

    But... But... I don't know why, I decided to change this option to Disabled. Nonsense.
    I tried again and, BINGO! It is running right now! No error!


    Is it possible? More confused yet, but very happy!
    Thank you.
    Quote Quote  
  16. On system tray I have ffdshow audio decoder and DirectVobSub icons. Now, I realize that this video has a subtitle with same name. Maybe DirectVobSub is conflicting with ffdshow. Make sense?

    Edited:
    I stopped the conversion before finish. Result video is upside down (!!!).
    I'll remove the subtitle and enable back libavcodec.

    Edited (2):
    It works! Removing subtitle file and bringing back libavcodec, conversion is plain and result video is standing.
    Last edited by jairovital; 1st Feb 2012 at 10:05.
    Thank you.
    Quote Quote  
  17. Maybe you have some other xvid decoder installed?
    Quote Quote  
  18. I think I could solve two problems today:

    1 - Installing new Haali Splitter I could open MP4 video using Vdub. (good)
    2 - Renaming the subtitle file to another name different from the video file I could convert an AVI file to RMVB redirecting DirectVobSub encoder to Xvid from ffdshow, avoiding some kind of conflict. (good)

    But something is lacking on my system, now. Before update ffdshow I did had the following:

    Click image for larger version

Name:	codec4.png
Views:	1764
Size:	27.9 KB
ID:	10758

    After update I have this:

    Click image for larger version

Name:	ffdshowencoders.png
Views:	1779
Size:	19.6 KB
ID:	10759

    Only lossless encoders... Where are MPEG-4, DivX-3 and others encoders?
    How to use ffdshow codec inside Vdub to use MPEG-4 and others VFW encoders? (bad)

    At FOURCC I had XVID, FFDS, FVFW, DX50, DIVX and MP4V. Now I have just MJPEG.

    At left panel I had many options to set Quantization, Masking, Ratecontrol, Two Passes Mode and others.
    Now I have only Quantization.

    The update of ffdshow walked back? Or I miss something?
    Thank you.
    Quote Quote  
  19. Many ffdshow vfw encoders have been removed . Either use old ffdshow build (not recommended), or use another encoder

    If you want more info, you can see the discussion
    http://forum.doom9.org/showthread.php?t=159425
    Quote Quote  
  20. Poisondeathray,

    there is another thread, a huge one, about ffdshow tryouts project: Discussion & Development.
    http://forum.doom9.org/showthread.php?p=1467129#post1467129,
    as you already know. But I didn't know about those changes in ffdshow. Thank you for the tip.

    Reading some posts I could find Xvid, H.264(vfw) and DivX individual encoders. Very nice.
    Bye, bye codec packs.

    One question: this H.264(vfw) that I can use with Vdub has the same (or similar) properties of that H.264 used with Avidemux?
    I can see some differences at the configuration page of each one. But, may the core of work is possible the same?
    Thank you.
    Quote Quote  
  21. Originally Posted by jairovital View Post

    One question: this H.264(vfw) that I can use with Vdub has the same (or similar) properties of that H.264 used with Avidemux?
    I can see some differences at the configuration page of each one. But, may the core of work is possible the same?
    There are 2 versions of x264 vfw, 2 different GUI's. One is from sourceforge , and doesn't have the options laid out, the other one is from komisar, and has options laid out. Both have command line boxes for other settings

    sourceforge
    http://sourceforge.net/projects/x264vfw/

    komisar
    http://komisar.gin.by/
    Quote Quote  
  22. Originally Posted by poisondeathray View Post
    There are 2 versions of x264 vfw, 2 different GUI's.
    Great! Too much learning for one day. Thx!
    Thank you.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!