Avidemux Forum

Avidemux => Windows => Topic started by: wallen on July 13, 2019, 09:17:17 PM

Title: Unable to open certain files
Post by: wallen on July 13, 2019, 09:17:17 PM
Win10Pro64; Release 2.7.3.  I've been using Avidemux for a couple of years without issues.  I recently got two new .avi files, and when I try to open them, I get a message box saying "Attempt to open [name].avi failed!"  followed by a message box saying "Could not open the file."  These files play fine in VLC Media Player, Windows Media Player, and a couple of other programs as well.  My initial attempts were from my hard drive, but I also tried the same files directly from the flash drive that held them originally.  Same results.  Can anyone suggest what might be wrong, or how I can rectify the situation so I can edit them?
Title: Re: Unable to open certain files
Post by: eumagga0x2a on July 13, 2019, 10:13:58 PM
Could you please post the textual output of MediaInfo for these .avi files?
Title: Re: Unable to open certain files
Post by: wallen on July 14, 2019, 01:27:01 AM
A bit much to type.  Here's a screenshot.
Title: Re: Unable to open certain files
Post by: eumagga0x2a on July 14, 2019, 08:04:23 AM
I meant the text output by MediaInfo (https://mediaarea.net/en/MediaInfo) tool which you copy and paste into your reply, almost no typing involved. But I already can suspect that the problem is related to files containing Type 1 DV stream (https://docs.microsoft.com/en-us/windows/win32/directshow/dv-data-in-the-avi-file-format) while Avidemux supports only Type 2.

You should remux the files in copy mode with FFmpeg to convert them to Type 2 first.

ffmpeg -i "SourceDrive:\FullPathTo\SourceFile.avi" -c copy "TargetDrive:\FullPathTo\OutputFile.avi"
Title: Re: Unable to open certain files
Post by: wallen on July 14, 2019, 05:55:20 PM
eumagga0x2a...  You're correct about the files being Type 1.  I contacted the person who created them for me, and he confirmed.  Thank you for your help.  Wendi