September 23, 2020, 07:58:45 am

News:

--


Help please

Started by Ceri7, September 10, 2020, 01:54:47 am

Previous topic - Next topic

Ceri7

Hi! So first off idk if I'm doing this right since I just created this account to ask this. My apologies in advance.

I downloaded avidemux bc I read that I can convert the audio of mkv videos to something that my tv can recognize. It works and I can convert very easily and smoothly. Until today when I tried to convert a different mvk video. Every time I upload/open the said video to convert, it just uploads half the video! Its full duration is around 1h and 15mins but the video that shows up that I can convert is just at 38mins :( I uninstalled then reinstalled it but its still not uploading the whole video! I hope someone can help me since the video is big and exhausting for me to download in the first place and i really would hate it if I would need to delete it.

eumagga0x2a

Do video players like e.g. VLC play the entire file for the full duration of 75 minutes?

If yes, please provide the log file from starting Avidemux, loading the problematic MKV file and closing Avidemux. How to obtain the log, depends on operating system which you hasn't mentioned. On Windows, this is admlog.txt located at %localappdata%\avidemux\

If no, the file is likely damaged and I don't think that it is worth investigating deeper.

Avidemux should be at least the latest release - 2.7.6 - but using a latest nightly build is preferable by far.

Ceri7

I use pot player and yes it seems I can play the full video since I started it from 37min to 47min to check then I just skip to different sequences for a few seconds of the video(start to finish) to see if it'll stop at a certain point but it didn't until the end so I guess it's safe to assume that the video I downloaded isn't corrupted nor damaged.

About the log, I tried to attach it but it says its too big(76mb) idk why its that big tho.

eumagga0x2a

76 MiB just from starting Avidemux and loading the file? Something must be very wrong with it like a lot of missing or duplicated timestamps. Please compress the log with 7-zip. If it is still too big, please provide it via WeTransfer, Mega, Dropbox, Google Drive or an equivalent service. Without the log it completely impossible to assess the problem.

Ceri7

I still can't attach it so here is the link for the log via Google Drive - https://drive.google.com/file/d/1R_9-vPWLqqw1UsuOC4vBGWgnM0rZ5RYs/view

eumagga0x2a

Thank you very much for the log. The MKV is corrupted (it must have at least one pretty long - about a MiB long - stretch of zeroed out data, but probably also other defects) and I don't think it can be rescued, but please don't delete the damaged file for now.

In general, the format is very fragile, a flipped bit may translate to a completely wrong size of an element, breaking indexing of later content.

I've changed a couple of things in the Matroska demuxer which should at least keep debug output and thus the log file on Windows small. Please try a future Avidemux nightly.

Ceri7

Oh no that's really sad to hear. So that means there's nothing that I can do for now? Cause that video I was trying to convert is ep 1 of the show I wanted to watch on tv so it's really a bummer then.

eumagga0x2a

First of all, please try the latest nightly (at the moment it is 200912 from https://avidemux.org/nightly/vsWin64/) and provide the new admlog.txt (it should be pretty small in size now).

Regarding re-encoding of the E-AC3 audio track, you might try to do it with the command-line ffmpeg, something like

ffmpeg -i in.mkv -c:v copy -c:a aac -b:a 128k out.mp4
(or out.mkv if you want to stick to Matroska format).

Ceri7

Hi! Will download the latest avidemux you gave me later and will let you know how it goes.

My apologies tho but I don't understand your second message? My understanding about encoding/converting tech stuff is quite limited you see.

eumagga0x2a

Your TV cannot play the original audio track probably because according to the provided admlog.txt is has been compressed with the codec E-AC3 (also called EAC3), a codec not widely supported by older hardware.

ffmpeg is a powerful command-line tool for operations on multimedia files and streams. You could download a Windows build of ffmpeg (usually consisting of ffmpeg.exe + ffprobe.exe + ffplay.exe), then open the cmd.exe command prompt (i.e. run cmd.exe), change directory using the cd command to the location where you put ffmpeg.exe, then run the command I posted above, replacing "in.mkv" with the path to the real file you are going to convert and "out.mp4" or "out.mkv" with the real path of the output file.