| Printable Version of Topic
Click here to view this topic in its original format |
| Unofficial VirtualDub Support Forums > Newbie Questions > Help Opening .m2ts Files |
| Posted by: Selasphorus Mar 29 2010, 07:16 PM |
| I just bought a sony AVCHD camcorder. I've downloaded the .m2ts files to a hard-drive. How the heck do I open the .m2ts files in VD so I can edit out the 20 seconds of video I want? I downloaded and installed: Cole2K codec media pack Avisynth 2.5 Xvid Windows media player can play the videos, when I try to open one in VD it says "File "filename.m2ts" does not have a video stream" If I use GDSMux to convert the file into a "Matroska" file (.mkv), and try to open that in VD, I get the same error. I'm frustrated, don't know the first thing about digital video, and just wish the damn thing would open. Any help would be much appreciated! -Chris |
| Posted by: stephanV Mar 29 2010, 08:23 PM |
| I'm assuming you are using the DirectShow input plugin? There is a test version here on this page that should work around this issue. http://forums.virtualdub.org/index.php?act=ST&f=7&t=15093&st=105 |
| Posted by: Selasphorus Mar 29 2010, 08:50 PM | ||
Yes, have been using DirectShow. In response to your post, I copied the DShowInputDriver.vdplugin file from the thread you directed me to (the one that forces a stream), into the plugins directory. The test video from that thread now opens, but my videos don't open properly. The video appears black, some audio plays, then VD crashes. The crash report says: "Crash reason: Access Violation Crash context: An out-of-bounds memory access (access violation) occurred in module 'DivXDecH264'... ...writing address 0D296508." and also has lots of text (codes for things, etc) |
| Posted by: stephanV Mar 29 2010, 09:13 PM |
| Well that's a crash in the DivX decoder. You could uninstall it and try ffdshow instead. |
| Posted by: Selasphorus Mar 29 2010, 10:17 PM |
| With Cole2k uninstalled and ffdshow installed, the error is now "unable to create source filter: hr=80040241" when I try to open one of the .m2ts files. WMP can't open it either. Is sony using some funny version of the codec? But then, windows media player can open it, so the correct codec must be installed somewhere on my machine... Is there an easier program to use than virtualdub to do this? All I need is a 20-second clip from the middle of much longer takes. The last time I tried using adobe premiere (years ago), it wouldn't let me deinterlace frames properly for frame-by-frame (field-by-field, actually) analysis. Virtualdub came to the rescue, by being simple, fast, straightforward. |
| Posted by: Jam One Mar 29 2010, 10:25 PM |
| Have you configured ffDShow to decode h264/AVC ? Both in "Video decoder configuration" and "WFV configuration" ? Have you configured it to decode AAC audio (or which type of audio is there in your videos) in "Audio decoder configuration"? |
| Posted by: Selasphorus Mar 29 2010, 11:52 PM | ||
I reinstalled ffdshow. Under "ffdshow video decoder configuration", H.264/AVC is the very first line, Decoder is set to 'libavcodec', and under "Supported FOURCCs/remarks, it says "H264, AVC1, X264, VSSH (incomplet... " in the VFW configuration, under decoder tab, the very first line is identical to what was in ffdshow video decoder configuration" in the audio configuration, I don't know what kind of codec Sony uses, so I enabled everything. I still get "Unable to create source filter: hr=80040241" it looks like there are multiple versions of ffdshow in circulation; I've installed one from March 2010? I can't seem to find a readme or other version number on this one... windows media player continues to also be unable to play the files |
| Posted by: stephanV Mar 30 2010, 06:24 AM |
| You also seem to have uninstalled the file splitter. I think this also supports m2ts, but MKV should definitely work now. http://haali.su/mkv/ |
| Posted by: Selasphorus Mar 30 2010, 01:15 PM |
| oh, awesome! It works now! Thank you for your help & patience! Regards -Chris |
| Posted by: MikeGuy Apr 5 2010, 02:26 AM |
| Cool, great to see I can edit my m2ts files directly in VD. Did not know of this, so ended up converting my M2TS to AVI, before editing. My m2ts files are 16:9, 1440X1080. I installed the DShowInputDriver.vdplugin. I can now open my m2ts files fine. Trying to write them out as DivX, gives me this error: "Video compression error: The source image format is not acceptable (error code -2)". Any ideas? Tried writing video out as uncompressed, and 3000 frames came to 15 GBs, had to stop the encoding in the middle. Tried writing as ffdshow, and it works. Came out as FFDS, which I don't have the foggiest what codec that is. When trying to set compression settings, ffdshow spews out at me a whole codec table, so I do not know what to do with that, or what choices to make. Can I get my old trusty DivX back? 1440 is divisible by 4, and 1080 is divisible by 2. Why am I having problems? |