Feature Request - working with broken files

Started by Blues, May 26, 2022, 07:15:36 PM

Previous topic - Next topic

Blues

Avidemux is a great tool, no doubt. I wish I could use it to restore broken files, too. For instance, I have an old MPG file which has gaps in audio stream. It plays back fine in players, Avidemux loads the file but stops working on it at the first audio break. Now I have to extract the audio, load it into audio editor and insert silence to fill the gap. It is quite difficult to get it just right and have audio still in sync after repair. Since players can deal with these audio breaks, it would be nice if Avidemux could too.

eumagga0x2a

I doubt that anything can be done about that, but please provide a sample nevertheless.

RocketJet


Blues

Quote from: eumagga0x2a on May 26, 2022, 09:32:23 PMI doubt that anything can be done about that, but please provide a sample nevertheless.
Thanks for trying to help, but the matter is of more generic nature than narrowed down to this one task. I have no detailed knowledge of containers and timecodes, but there must be something ticking for players to play audio in sync even after a break in the audio stream. I was hoping maybe Avidemux can be improved to deal with issues like this, to become a restoration tool.

@RocketJet

Thanks, but in 2003 I quit my IT manager job because I couldn't stand MS Windows any more. I'd reached understanding Windows is an insult to any computer enthusiast and pledged never to install it again. For 19 years I have lived much better life without it and this will not change in foreseeable future.

eumagga0x2a

Quote from: Blues on May 27, 2022, 06:00:02 PMI have no detailed knowledge of containers and timecodes, but there must be something ticking for players to play audio in sync even after a break in the audio stream. I was hoping maybe Avidemux can be improved to deal with issues like this, to become a restoration tool.

I assure you that absolutely nothing in this direction will be even tried in absence of a sample.

sainsworth

I have encountered a similar issue with v2.7.8.  During its initial indexing scan, when a timing problem is found (a common problem with over-the-air TS files), v2.7.8 simply gives up.  However, v2.7.4 creates the index successfully every time.  I'll upload a sample next time I encounter the issue.

eumagga0x2a

a) 2.7.8 is an outdated, unsupported legacy version.
b) This topic is about dealing with drop-outs in audio tracks. Current Avidemux design assumes that the failure to retrieve a packet = end of track.

Quote from: sainsworth on June 21, 2022, 04:33:28 PMHowever, v2.7.4 creates the index successfully every time.

This mostly means that the problem remains undetected until the file is processed.

Quote from: sainsworth on June 21, 2022, 04:33:28 PMI'll upload a sample next time I encounter the issue.

Yes, please do.