Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: abc123 on April 24, 2014, 09:46:51 AM

Title: Avidemux 2.6.8 refuses to open very large and long videos (Solved)
Post by: abc123 on April 24, 2014, 09:46:51 AM
Hello:
I'm trying to open a 13:20 mins 1.03GB video with Avidemux 2.6.8, and it is crashes with the error in the attachment.
Please help.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: zakk on April 24, 2014, 12:02:24 PM
Nothing large and long here...
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: AQUAR on April 24, 2014, 02:08:27 PM
Probably need to re-install the runtime library.

Microsoft Visual C++ 2010 Redistributable Package (x64)

http://www.microsoft.com/en-us/download/details.aspx?id=14632

Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: abc123 on April 24, 2014, 05:42:13 PM
I've Windows 7 SP1 32bit, and the link is for the 64bit version of the runtime library.
Also, I downloaded the 32bit runtime library, but it refuses to install itself, as he mentions that I have a newer version.
Edit: I just looked in Revo Installer, and seen that I've 2005, three 2008, one 2010 and one 2012.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: AQUAR on April 25, 2014, 08:02:52 AM
Uninstall them all and just re-install the latest version from microsoft.

If that doesn't fix the issue, then there maybe a "rogue" startup service/program that is interfering.
To find out, do a clean boot (ie only allow microsoft services/programs) and check if avidemux runs okay.
Then its a matter of trouble shooting for finding the offender.

Note: those are just suggestions and not solutions, as there may be other causes for this issue.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: abc123 on April 25, 2014, 01:28:59 PM
I did the following steps:
1. Uninstalled al the runtime libraries of Microsoft Visual C++ from the oldest (2005) to the newest (2012).
2. Searched in Windows Update for the lastest version of Microsoft Visual C++ Redistributable Package = Don't found any.
3. Launched Avidemux 2.6.8 when no Microsoft Visual C++ Redistributable Package installed in my operating system = Successfull.
4. Tryed to open the troubleshooting video again = Got the Microsoft Visiual C++ runtime library error once again, despite no Redistributable Package installed.
I have Windows 7 Ultimate SP1.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: AQUAR on April 25, 2014, 01:37:14 PM
Need to look more diligently!
http://www.microsoft.com/en-us/search/DownloadResults.aspx?FORM=DLC&ftapplicableproducts=%5e%22Developer+Tools%22&sortby=+weight&q=
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: abc123 on April 25, 2014, 01:48:10 PM
Installed the most updated Microsoft Visual C++ 2013 redistributable: Not works.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: AQUAR on April 26, 2014, 06:10:57 AM
Have you done the clean reboot to see if you can eliminate the possibility that other services/programs are causing this issue?

Avidemux does call the C++ run time library (MSVCRT.DLL), but probably any version of it should work okay.

Some other potential actions you can try out (without giving the reasons why this might cause this issue):
1) Under avidemux preferences - display - video display - select default raster and untick OpenGL support.

2) DL the latest nightly, unpack in a separate folder, rename avidemux.exe to avidemux_portable.exe, double click on avidemux_portable.exe.
(This runs avidemux in portable mode).

3) Sometimes you also need to update the microsoft .NET Framework (but I don't think avidemux needs this).

It's really an issue of trouble shooting your system, like have you recently installed other programs, services, toolbars etc.

Might also help if you post the media details as given by mediainfo, especially if this issue only relates to a particular video.. 
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: abc123 on April 26, 2014, 03:59:00 PM
1. Video display is set to "default raster" and "Enable OpenGL support" in unchecked.
2. I downloaded the lastest nightly, and did the instructions. Still don't help.
I didn't tryed to do a clean reboot.
The problem occurs usually with videos that exceeds 10:00 mins, and are very large. With smaller and shorter videos, there are no problems.
In the attachment, is the media details of the video that I trys to open with Avidemux, given by Mediainfo.
No junk installed in my computer.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: Jan Gruuthuse on April 26, 2014, 04:08:47 PM
Sometimes it helps:
- when renaming the video file to short filename using only standard us ascii, only like test
- avoid long paths, create short ones close to root of hard drive only using only standard us ascii. Like d:\test
problematic path: to deep, spaces in path and none ascii characters: My Documents\My Pictures\Canon PowerShot SX150 IS (פע×â,,¢Ã—Å")\תמונות מהב×â,,¢Ã—§×•×¨ במפע×Å" ש×Å" א×Å"תם 21.1.2013\MVI_0141.MOV
- have sufficient free space on your system drive: more or less 2.5 times the file you want to edit.
- close all none essential programs down, including the ones showing in bottom right hand corner.

If all fails consider installing
for 64-bit cpu: ubuntu 12.04 lts 64-bit
for 32-bit cpu: fedora17_32
alongside windows on another partition. Seek advice doing so, if you have never done something similar, so you don't damage/erase your windows system.

memory:
- 4 GB ram seems a really minimum  working with videos, 8 GB preferable, 16 GB better (linux) and I think the same would still go for windows. (remembering xp, and seeing vista/windows 7/8.0/8.1 working from time to time.

I'm editing from time to time up to 32 GB video file, 5 1/2 hours of HD video (720p or 1080i)
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: AQUAR on April 27, 2014, 07:17:41 AM
I'll second Jan's observation:
Its better to move the media file so that it can be located without symbolic characters in its directory path.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: abc123 on April 27, 2014, 04:52:15 PM
I'm copied the file to D:\Temp and renamed it to MVI0141.MOV: Still don't works.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: AQUAR on April 28, 2014, 02:30:46 AM
That's a pity!

Do try a clean boot.
And if that fails its quite possible that Avidemux is faulting some C++ runtime function call .

If that is the case then its beyond us endusers.
Since MS Avidemux is cross-compiled on Linux this could be a real problem even for the developer.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: Jan Gruuthuse on April 28, 2014, 05:26:17 AM
Maybe you have an issue with the Apple codec or iFrame is not available/supported in avidemux?
Seems this camera only has either Quicktime file with a .mov extension or 720p iFrame format.
See if saving in other Apple format works?
Do check if another format is available for saving, .mp4 perhaps?

Provide/upload a 5 second recording in the mov format to public available download area (no login/subscription). Users and developer can then check if this works on their system.

update:
iFrame (video format) (http://en.wikipedia.org/wiki/IFrame_(video_format))
About the iFrame video format (http://support.apple.com/kb/ht3905)
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: AQUAR on April 28, 2014, 10:21:23 AM
@ Jan Gruuthuse
Even the stats on the lower resolution quicktime.mov file has a GOP of M=1 N=15, so its all h.264 with no B frames.
And audio with it is PCM.
Nothing that should pose a problem for avidemux I would think.

Mean will know if iFrame Apple video is supported.
I would think it would be, as its just all AVC compressed Iframes (easy editing!)
Maybe the weird frame size gives a hickup as you mentioned with hardware acceleration enabled.
Interesting!   

@abc123
Happy to try a sample on my windows based PC's.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: Jan Gruuthuse on April 28, 2014, 03:44:08 PM
Quicktime should open, I never stated otherwise.
If the recording is made in iFrame that is a completely other ballgame! Quicktime ≠ iFrame.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: abc123 on April 29, 2014, 06:28:01 AM
Videos that are shorter than 10:00 mins or smaller than 1GB, works with Avidemux, so it should be a bug in the software.
Also, yesterday I tryed to open the video in Avidemux at Safe Mode, without a success and with the same error, meaning that a clean boot won't work as well.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: Jan Gruuthuse on April 29, 2014, 07:03:57 AM
if you say so :(
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: AQUAR on April 29, 2014, 08:30:27 AM
Quote from: Jan Gruuthuse on April 28, 2014, 03:44:08 PM
Quicktime should open, I never stated otherwise.
If the recording is made in iFrame that is a completely other ballgame! Quicktime ≠ iFrame.


I agreed!
Only pointed out that mediainfo showed that there were no B frames in the problem media file.
As I understand it, iFrame is just AVC+AAC in a short GOP and at the native resolution of the image sensor.

Quote from: abc123 on April 29, 2014, 06:28:01 AM
Videos that are shorter than 10:00 mins or smaller than 1GB, works with Avidemux, so it should be a bug in the software.
Also, yesterday I tryed to open the video in Avidemux at Safe Mode, without a success and with the same error, meaning that a clean boot won't work as well.

Not quite the same.
Safe mode turns the OS into a skeleton OS without many microsoft services.
Clean boot is about turning off third party services and programs.

You have to try and troubleshoot by eliminating various possibilities.
That is why our responses are only suggestions and not solutions.

And, there may well be some incompatibility between windows Avidemux and these Canon Media Files.
In this regard, as already suggested before, remux the video and audio streams into another container like MKV.
Download MKVToolnix, use it to extract the streams and remux into MKV. 


Title: Re: Avidemux 2.6.8 refuses to open very large and long videos
Post by: abc123 on May 01, 2014, 09:12:21 AM
Problem solved:

1. Downloaded Handbrake open source video converter.
2. Converted the video to from MOV to mkv.
3. Avidemux opens the converted video successfully.

The attachment contains the media details of the converted mkv video.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos (Solved)
Post by: AQUAR on May 01, 2014, 10:08:50 AM
If this workaround is satisfactory then all is good (but its not solved!).

Just offering a comment:
Recoding is not the same as remuxing.
Handbrake is recoding the video - using an older codec, at a lower bitrate and generational loss = lower quality video.
Try earlier suggestion to remux with MKVtoolnix = keep audio and video untouched and put it into a new MKV container (file type!).

If the remux works then avidemux will be working on the original video/audio instead of a lower quality recoded copy. 
Remuxing is also super fast.
Title: Re: Avidemux 2.6.8 refuses to open very large and long videos (Solved)
Post by: Jan Gruuthuse on May 01, 2014, 10:18:11 AM
If you want fix: you need to upload 11 - 12 minutes recorded video with Canon PowerShot SX150 IS. Otherwise developers can do nothing about your issue.