Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Codec Discussion > Error Can Not Determine File Type


Posted by: gondorf Nov 21 2008, 03:24 AM
Using VirtualDub 1.7.7

I have a file that the VirtualDub can not determine what the file type is.

I used GSpot an found it was a

Video codec: mp4v Name : MPEG-4 video
Staus:Codec Status Undetermined

Audio codec: mp4a: MPEG-4 AAC LC
Info: 44100Hz , stereo (2/0)

Can VitualDub work with these type of files?
If so what am I missing?

Or is the file some how corrupt?

The file plays ok using Classic Media Player.

Posted by: Placio74 Nov 21 2008, 06:02 AM
QUOTE (gondorf @ Nov 21 2008, 05:24 AM)

Can VitualDub work with these type of files?

Can open this file used http://www.tateu.net/software/.
(Required installed QuickTime or QuickTime Alternative.)

QUOTE (gondorf @ Nov 21 2008, 05:24 AM)
The file plays ok using Classic Media Player.

Not related.
Media Player Classic use DirectShow filters - VirtualDub not (except - http://forums.virtualdub.org/index.php?act=ST&f=7&t=15093).

BTW
Whay not use latest VirtualDub version?

Posted by: gondorf Nov 21 2008, 01:19 PM
Ok, I got the latest version of VirtualDub and the suggested plugin and placed them in the plugin32 folder.

This time it is telling me that the file is unknown or unsupported file type.

Any other suggestions?

Thanks for the reply.


Posted by: Placio74 Nov 21 2008, 02:35 PM
Which plugin?

If DirectShow input plugin...
...when open, select video file and change file type to DirectShow input driver.

If QuickTime input plugin...
...Quicktime.vdplugin file is in plugins32 subfolder?

BTW
VirtualDub Plugin Pack - input plugins with installer.

Posted by: gondorf Nov 21 2008, 04:42 PM
QUOTE (Placio74 @ Nov 21 2008, 02:35 PM)
Which plugin?

If DirectShow input plugin...
...when open, select video file and change file type to DirectShow input driver.

If QuickTime input plugin...
...Quicktime.vdplugin file is in plugins32 subfolder?

BTW
VirtualDub Plugin Pack - input plugins with installer.

I do not understand what you mean by the DirectShow pluging?

I can not get VirtualDub to even open the the video.
Here is what I am doing.
Start VirtualDub.
Select Open file
Select video
Hit ok

This is when the error about Unkown or Unsupported file popup's up. So you see I can not even open or loaded the video.

Yes, the QuickTime plugin is in the plugin32 folder and the inf file is in the main VirtualDub folder.

About the DShowInputDriver.vdplugin , I have tried it both the plugin32 and plugin folder both yielded the same results, the unknown file or unsupported file type.

One point here is I have nor run the other program auxsetup.exe . Do I need to run this program?


Posted by: chornobyl Nov 21 2008, 05:36 PM
Start VirtualDub
Select File>Open
Select video
Select type>DirectShow input
Hit ok

Posted by: Placio74 Nov 21 2008, 05:56 PM
Watch this video: http://ifile.it/7dewuo5


QUOTE (gondorf @ Nov 21 2008, 06:42 PM)
...
One point here is I have nor run the other program auxsetup.exe .  Do I need to run this program?

Not related. It's for VirdualDub frameserving.


BTW
Unfortunately, when i try...
MOV or MP4 with MP4V > Gabest MP4 Splitter + ffdshow > DirectShow input driver = "File ... does not have a video stream."


Also of course, can use Avisynth script (DirectShowSource or QTSource).

Posted by: gondorf Nov 22 2008, 12:36 AM
Ok , I followed you instruction and the file was open, using the direct plug-in.
Thanks

In the past when I used the program I never had problem opening a video.

I tried using the
Video: Direct copy

But it said "The source use a algorithm that is not compatible with AVI files. Direct stream copy can not be use"

Is there a way that I can keep from re compressing the video and losing more quality.

Thanks for you patience with me.

Posted by: Placio74 Nov 22 2008, 04:48 PM
Direct stream copy audio/video from MOV/MP4 to AVI in VirtualDub?
At this moment - can't.

Try MPEG Streamclip (it use QT) or Avidemux.
(Save to MOV or MP4 container.
To AVI - possible, but only for some A/V.)

Posted by: dub&duber Feb 19 2011, 02:10 PM
QUOTE (Placio74 @ Nov 22 2008, 04:48 PM)
Direct stream copy audio/video from MOV/MP4 to AVI in VirtualDub?
At this moment - can't.

Does it still apply to the latest version ? I tried to open a .mp4 file and the following error message was displayed :
QUOTE
The file […] is of an unknown or unsupported file type.

According to VLC media player the video track is "H.264 / MPEG-4 Part 10, AVC (Advanced Video Coding)" encoded. Installing ffdshow tryouts Beta 7 didn't solve the problem. I just would like to extract a sequence from the video.

Posted by: Placio74 Feb 21 2011, 09:13 AM
QUOTE (dub&duber @ Feb 19 2011, 04:10 PM)
Does it still apply to the latest version ? ...

Yes - Direct Stream Copy mode was planned in QuickTime import plugin, but it seems that plugin is no longer being developed (last version from october 2007).

However, You can change container to MKV (using MKVtoolnix) and then can try fccHandler's Matroska plugin (where Direct Stream Copy is possible).


QUOTE (dub&duber @ Feb 19 2011, 04:10 PM)
...I tried to open a .mp4 file and the following error message was displayed :
QUOTE
The file […] is of an unknown or unsupported file type.

...

Using QuickTime plugin (with installed QuickTime) or DirectShow plugin (with installed required DirectShow filters - splitter and decoders)?

Posted by: dub&duber Feb 21 2011, 02:57 PM
QUOTE (Placio74 @ Feb 21 2011, 09:13 AM)
However, You can change container to MKV (using MKVtoolnix) and then can try fccHandler's Matroska plugin (where Direct Stream Copy is possible). […] Using […] DirectShow plugin (with installed required DirectShow filters - splitter and decoders)?

Thanks ! I used http://www.bunkus.org/videotools/mkvtoolnix/ to convert my .mp4 file to a Matroska one. Then I was able to open it and save the part I was interesting in. However I had to disable the audio because the track is "MPEG AAC Audio (mp4a)" encoded and apparently ffdshow tryouts doesn't properly support it. Maybe I needed a special plugin or something. But it doesn't matter as I was interested by the video in priority.

Note that I found the http://forum.videohelp.com/threads/286901-VirtualDub-Now-Has-a-Directshow-Driver-Plugin thread (VideoHelp.com Forum) very useful during my search. It convinced me to install http://haali.su/mkv/ and ffdshow from http://www.x264.nl, because of the splitter & decoders you mentioned, but apparently I didn't have to.

To sum things all I needed was MKVToolnix, the Matroska plugin and ffdshow tryouts.

Posted by: ale5000 Feb 21 2011, 03:29 PM
QUOTE (dub&duber @ Feb 21 2011, 02:57 PM)
QUOTE (Placio74 @ Feb 21 2011, 09:13 AM)
However, You can change container to MKV (using MKVtoolnix) and then can try fccHandler's Matroska plugin (where Direct Stream Copy is possible). […] Using […] DirectShow plugin (with installed required DirectShow filters - splitter and decoders)?

Thanks ! I used http://www.bunkus.org/videotools/mkvtoolnix/ to convert my .mp4 file to a Matroska one. Then I was able to open it and save the part I was interesting in. However I had to disable the audio because the track is "MPEG AAC Audio (mp4a)" encoded and apparently ffdshow tryouts doesn't properly support it. Maybe I needed a special plugin or something. But it doesn't matter as I was interested by the video in priority.

Do you have the version 2.3 of the Matroska input plugin? (if not, update it)

ffdshow tryouts support it.

If the audio doesn't work, try this:
Go on File => Open video file... => Select the video => Check "Ask for extended options after this dialog" => Click "Open" => Check "Direct Stream Copy raw AAC (no ADTS headers)" => OK

Posted by: Placio74 Feb 21 2011, 04:29 PM
Or...
Save video and audio separately - video without audio track and audio through export to 'raw audio' - and mux A/V using AVI-Mux GUI (AVI or MKV) or MKVtoolnix (MKV).
Also of course can de-mux audio to raw/binary and mux again with video using AVI-Mux GUI.
Works for me - after that audio is playable.

BTW
I checked several files and indeed I noticed a same issue - when edit (and saving in Direct stream copy mode) some MKV files created previously from MP4 (re-muxed MP4>MKV).

Posted by: ale5000 Feb 21 2011, 09:03 PM
@Placio74: Have you tried my method?

Posted by: Placio74 Feb 22 2011, 06:13 AM
QUOTE (ale5000 @ Feb 21 2011, 11:03 PM)
@Placio74: Have you tried my method?

Of course, but I would point that issue affects only certain specific files.
'll check again later (afternoon)...

@dub&duber, You can provide this MP4 file? Or reply whether Direct Stream Copy raw AAC (no ADTS headers) is sufficient for your video file...

Posted by: ale5000 Feb 22 2011, 12:44 PM
QUOTE (Placio74 @ Feb 22 2011, 06:13 AM)
QUOTE (ale5000 @ Feb 21 2011, 11:03 PM)
@Placio74: Have you tried my method?

Of course, but I would point that issue affects only certain specific files.
'll check again later (afternoon)...

@Placio74: I have asked only because if there is a bug is better to report it rather than just workaround it. biggrin.gif

Posted by: Placio74 Feb 22 2011, 09:15 PM
You're right and...
... I had not noticed that I was a bit older version of VirtualDub.
So, what I wrote earlier concerns VirtualDub 1.9.10.
When I used VirtualDub 1.9.11 with same video file, issue did not occur.

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)