Warning: An error occured while opening one or more files.

streedrop wrote on 6/30/2020, 4:10 PM

So recently I tried using Vegas Pro 17 with AVI files but it didn't seem to work. I learned that I needed a codec pack for them to work, which I installed. Now, it works 50% of the times and when it doesn't, I get an error message saying "Warning: An error occured while opening one or more files. The file is most likely corrupted or of an unknown format." The problem is not with my computer since my computer reads it as an AVI file, but Vegas doesn't for some reason. Does anyone know how to fix this? It's getting really annoying, I have to re-shoot my video all over again for it to work.

Comments

Musicvid wrote on 6/30/2020, 8:50 PM

You may have done less good than harm by installing an invasive codec pack on an editing machine. Suggest you roll it back to a saved system backup and start proper troubleshooting.

https://www.vegascreativesoftware.info/us/forum/important-information-required-to-help-you--110457/

Now, please read this post thoroughly, including #12.

There are hundreds of different codecs possible in the AVI container, and that's where we need to start. Thanks!

https://www.vegascreativesoftware.info/us/forum/faq-why-won-t-vegas-open-my-file-correctly-codecs-converters-etc--104572/#ca662728:-)

 

streedrop wrote on 7/13/2020, 7:59 PM

Alright, thanks! I removed my previous Codec and downloaded GoPro Quik Studio to get Cineform VFW (.avi) as specified in #4 of the second link you showed me. Now I don't know how to put the Codec into Vegas, could you help me?

Chief24 wrote on 7/13/2020, 8:10 PM

Start HERE with this Tutorial by Derek Moran, a.k.a. Dr. Zen.

Self Build: #1 MSI TRX40 Pro Wi-Fi w/3960X (be Quiet! Dark Rock Pro TR4) @ stock; 128GB Team Group 3200 MHz; OS/Apps - WDSN850X PCI-e 4.0x4 4TB, Documents/Extras - WDSN850X PCI-e 4.0x4 4TB; XFX AMD Radeon 7900XTX (24.12.1); Samsung 32 Inch UHD 3840x2160; Windows 11 Pro 64-Bit (24H2 26100.2894); (2) Inland Performance 2TB/(2) PNY 3040 4TB PCI-e on Asus Quad M.2x16; (2) WD RED 4TB; ProGrade USB CFExpress/SD card Reader; LG 16X Blu-Ray Burner; 32 inch Samsung UHD 3840x2160.

VEGAS Pro 20 Edit (411); VEGAS Pro 21 Suite (315); VEGAS Pro 22 Suite (239) & HOS (Happy Otter Scripts); DVD Architect 7.0 (100);

Sound Forge Audio Studio 15; ACID Music Studio 11; SonicFire Pro 6.6.9 (with Vegas Pro/Movie Studio Plug-in); DaVinci Resolve (Free) 19.1.3

#2: Gigabyte TRX50 Aero D w/7960x (Noctua NH-U14S TR5-SP6) @ stock; 128GB Kingston Fury Beast RDIMM @4800 MHz; OS/Apps - Seagate Firecuda 540 2TB PCI-e 5.0x4; Documents/Extras/Source/Transcodes - 4TB WDSN850X PCI-e 4.0x4; 4TB Inland Performance PCI-e 3.0x4; 2TB Inland Performance PCI-e 4.0x4; BlackMagic PCI-e Decklink 4K Mini-Recorder; ProGrade USB SD & Micro SD card readers; LG 32 Inch UHD 3840.x2160: PowerColor Hellhound RX Radeon 7900XT (24.12.1); Windows 11 Pro 64-Bit (24H2 26100.2894)

VEGAS Pro 20 Edit (411); VEGAS Pro 21 Suite (315); VEGAS Pro 22 Suite (239) & HOS; DVD Architect 7.0 (100); Sound Forge Audo Studio 15; Acid Music Studio 11

Canon EOS R6 MkII, Canon EOS R6, Canon EOS R7 (All three set for 4K 24/30/60 Cinema Gamut/CLog3); GoPro Hero 5+ & 6 Black & (2) 7 Black & 9 Black & 10 Black & 11 Black & 12 Black (All set at highest settings - 4K, 5K, & 5.3K mostly at 29.970); Sony FDR AX-53 HandyCam (4K 100Mbps XAVC-S 23.976/29.970)

streedrop wrote on 7/14/2020, 2:00 PM

Hello, thank you for replying so quickly! Sadly, that's not what I'm looking for! This tutorial helps for the rendering part of a video(when it's done editing), but what I need is help for the part where I try to put my video into the project in order to edit it! Even though I installed Cineform Codec, I still get the error message! Thanks in advance!

Chief24 wrote on 7/14/2020, 2:33 PM

Well, if you follow the tutorial, you would take the current file you have, follow the instructions, and "render out" to a new Cineform .avi file, able to be read by Vegas Pro or Vegas Movie Studio. Essentially, you are "Transcoding" the file, and enabling it to be used as an "Intermediate", or "new source" file.

Just because you have the Cineform codec (or others such as Grass Valley HQ/HQX, Avid DNxHD/DNxHR, Magic YUV, etc.), does not make what your file is. The camcorder, camera, PC Capture software, Capture Card, etc., would need to have the requisite Container and CODEC available to use with the file you have recorded.

Example: My Canon 80D "Records" in an .mov or .mp4 container. For the .mov, it captures the recording in an ALL-I (non-compressed) format per this MediaInfo:

General
Complete name                            : \\CHIEFSPLACE\Pictures\Pocono Races\2018 July 27 through 30\Canon 80D\MVI_3111.MOV
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt   2012.08 (qt  /CAEP)
File size                                : 972 MiB
Duration                                 : 1 min 29 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 90.6 Mb/s
Encoded date                             : UTC 2018-07-29 17:44:57
Tagged date                              : UTC 2018-07-29 17:44:57
com.apple.quicktime.make                 : Canon
com.apple.quicktime.model                : Canon EOS 80D

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings                          : 1 Ref Frames
Format settings, CABAC                   : No
Format settings, Reference frames        : 1 frame
Format settings, GOP                     : N=1
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1 min 29 s
Bit rate mode                            : Variable
Bit rate                                 : 89.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 (30000/1001) FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 1.432
Stream size                              : 955 MiB (98%)
Language                                 : English
Encoded date                             : UTC 2018-07-29 17:44:57
Tagged date                              : UTC 2018-07-29 17:44:57
Color range                              : Full
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : sowt
Duration                                 : 1 min 29 s
Bit rate mode                            : Constant
Bit rate                                 : 1 536 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Stream size                              : 16.5 MiB (2%)
Language                                 : English
Encoded date                             : UTC 2018-07-29 17:44:57
Tagged date                              : UTC 2018-07-29 17:44:57

Or, I can use a slightly higher compression .mp4 file. Same with GoPro Hero's, or either of my Sony AX-33/53 cameras (uses XAVC-S, and I have bit rate set for 100 Mbps @3840x2160 29.970P what I typically shoot).

Self Build: #1 MSI TRX40 Pro Wi-Fi w/3960X (be Quiet! Dark Rock Pro TR4) @ stock; 128GB Team Group 3200 MHz; OS/Apps - WDSN850X PCI-e 4.0x4 4TB, Documents/Extras - WDSN850X PCI-e 4.0x4 4TB; XFX AMD Radeon 7900XTX (24.12.1); Samsung 32 Inch UHD 3840x2160; Windows 11 Pro 64-Bit (24H2 26100.2894); (2) Inland Performance 2TB/(2) PNY 3040 4TB PCI-e on Asus Quad M.2x16; (2) WD RED 4TB; ProGrade USB CFExpress/SD card Reader; LG 16X Blu-Ray Burner; 32 inch Samsung UHD 3840x2160.

VEGAS Pro 20 Edit (411); VEGAS Pro 21 Suite (315); VEGAS Pro 22 Suite (239) & HOS (Happy Otter Scripts); DVD Architect 7.0 (100);

Sound Forge Audio Studio 15; ACID Music Studio 11; SonicFire Pro 6.6.9 (with Vegas Pro/Movie Studio Plug-in); DaVinci Resolve (Free) 19.1.3

#2: Gigabyte TRX50 Aero D w/7960x (Noctua NH-U14S TR5-SP6) @ stock; 128GB Kingston Fury Beast RDIMM @4800 MHz; OS/Apps - Seagate Firecuda 540 2TB PCI-e 5.0x4; Documents/Extras/Source/Transcodes - 4TB WDSN850X PCI-e 4.0x4; 4TB Inland Performance PCI-e 3.0x4; 2TB Inland Performance PCI-e 4.0x4; BlackMagic PCI-e Decklink 4K Mini-Recorder; ProGrade USB SD & Micro SD card readers; LG 32 Inch UHD 3840.x2160: PowerColor Hellhound RX Radeon 7900XT (24.12.1); Windows 11 Pro 64-Bit (24H2 26100.2894)

VEGAS Pro 20 Edit (411); VEGAS Pro 21 Suite (315); VEGAS Pro 22 Suite (239) & HOS; DVD Architect 7.0 (100); Sound Forge Audo Studio 15; Acid Music Studio 11

Canon EOS R6 MkII, Canon EOS R6, Canon EOS R7 (All three set for 4K 24/30/60 Cinema Gamut/CLog3); GoPro Hero 5+ & 6 Black & (2) 7 Black & 9 Black & 10 Black & 11 Black & 12 Black (All set at highest settings - 4K, 5K, & 5.3K mostly at 29.970); Sony FDR AX-53 HandyCam (4K 100Mbps XAVC-S 23.976/29.970)

streedrop wrote on 7/18/2020, 1:28 PM

On the tutorial, he puts his video on Vegas before rendering it with cineform. My problem is that I can't get it in Vegas at first! When I try to add the .avi file in Vegas, I just get that error message! Should I use another Video Editor?

j-v wrote on 7/18/2020, 2:01 PM

@streedrop
Where is that file from, is it right coming out of a camera?
Which one and what is the MediaInfo of such a file?

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

streedrop wrote on 7/18/2020, 2:13 PM

The file is coming from an Emulator called Dolphin. Here's the mediainfo:

 

General
Complete name                            : C:\Users\Simon\Documents\Dolphin Emulator\Dump\Frames\framedump0.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 109 MiB
Writing application                      : Lavf57.21.100
IsTruncated                              : Yes

Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Simple@L1
Format settings, BVOP                    : No
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Width                                    : 1 800 pixels
Height                                   : 984 pixels
Display aspect ratio                     : 1.85:1
Frame rate                               : 60.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Writing library                          : Lavc57.21.100

j-v wrote on 7/18/2020, 2:42 PM

That file is using the Xvid codec, thatswhy I don't get it why you tried to download a codec pack and after the second link @Musicvid gave you made the wrong choice for Cineform, because??

You had there the option to download the Xvid codec by a link given to you by the maker of that article, the Xvide codec, here to download: https://www.xvid.com/download/

Never, never install codec packs because they can overwrite the better codecs installed by Vegas.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

streedrop wrote on 7/18/2020, 3:42 PM

I just installed Xvid back, now??? I still have the same error message on Vegas, how do I get them to work together?

j-v wrote on 7/18/2020, 3:55 PM

I don't know because I don't used or will ever use that kind of files.
I think Vegas cannot edit those files because it is not a player but an edit program.
Maybe someone else with experience with Xvid can help you further?
Also we could try to find a solution for you if we can try out such a file, but therefore you have to put a small file on a cloudservice and give here the link so we can download that file.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

john_dennis wrote on 7/18/2020, 5:06 PM

Since the emulated games are being played on a PC, why not just use Open Broadcaster Software

https://obsproject.com/download

to do a screen capture rather than mess with an antiquated codec like xvid? I don't know about others, but I try to avoid grief when I can.

streedrop wrote on 7/18/2020, 6:44 PM

I do have OBS on my computer, but my computer is too slow to use it. I use something called frame dumping that records it frame by frame then automatically puts the frames back together to make the actual video, and I can't really do that with OBS.

braindead-j wrote on 10/29/2020, 1:46 AM

Hello! I just wanted to say that for me vegas cant read .mp4 or .mkv or .avi for some reason, i recorded it with obs, i don't know if i did something wrong, or is it just vegas, please help.

walter-i. wrote on 10/29/2020, 4:09 AM

@braindead-j
Please start your own thread!
Otherwise everything gets mixed up and the problems are just too specific.