Giter VIP home page Giter VIP logo

Comments (8)

ponchio avatar ponchio commented on June 17, 2024

Ciao,
this is a tricky problem: how can the software guess which stream the chunk belongs?

     It is very camera dependent: for example we might notice that the camera always saves the chunks in a specific order (interleaves the chunks, for example).
     
     You can send me the files using wetransfer (for example) with my email ([email protected]), but I don't need 300 GB of data, i need just some relatively short sample video (100/200 MB should be enough, with some luck) both working and truncated.
     
     Then I can update the code for detecting multple audio channel and check for interleaved chunks.
     
     If the chunks are saved 'randomly', then the problem might not have an easy solution (other than trying to analyze the audio and educately guess, but that is a little bit out of the scope of this little software).

from untrunc.

studyfranco avatar studyfranco commented on June 17, 2024

The only file I have, is the one with 100GB, how cut it in multiple part ?
I think the chuck are not save randomly. Because when I listen the fixed file, I listen the audio1 and after audio2 in same order in regular interval.

from untrunc.

ponchio avatar ponchio commented on June 17, 2024

Just send me the working sample (taken as usual from the same source, with the same parameters). It should be enough for me to update the code.

from untrunc.

ONMYBEAT avatar ONMYBEAT commented on June 17, 2024

I am probably having the exact same problem and came across this thread by searching. I am trying to repair an mp4 file with 1 video + 3 audio tracks and am trying untrunc by trial and error. You seemed to be having trouble sending large files, so I will share what information I have.
It is a Japanese service, but there is Gigafile. https://gigafile.nu/
This is a very good service to send up to 300GB per file to the other party and it is free.

Using the GoogleTranslate extension for Chrome, you can see what is written and it is easy to use.

Since this is my problem as well, I am mentioning it as a way to support studyfranco and ponchio.

from untrunc.

ponchio avatar ponchio commented on June 17, 2024

Thanks for the suggestion. If you have the same problem and want to send me some samples, I will have a look at them.

from untrunc.

ONMYBEAT avatar ONMYBEAT commented on June 17, 2024

Ciao, poncio.

Thanks for your concern. In conclusion, my problem is solved. The software that solved the problem was Repairit from wondershare. This software was perfectly capable of repairing the Multiple streams of audio tracks in isolation.

Is the problem in this thread how to find the audio chunks?

I have found literature that seems to do that, although not in English. In MP4, H.264 is stored in NAL Unit and AAC in ADTS format, but there are others. In the case of the person described here, H.264 was the same as NAL Unit, but AAC was raw data (RDB: Raw Data Block) with no ADTS header (and not necessarily one block during H.264), although RDB has what looks like a header as follows However, since AAC has variable-length blocks, block boundaries cannot be determined by simple conditional branching.

The RDB also included a record of the investigation into AAC chunk identification, AAC block boundary identification, etc., as well as repair methods. I could only understand those knowledge, but I can't program it, so I can't reflect it.

If you already knew this, please ignore it. If it seems to give you a hint, try calling them using GoogleTranslate. It might help you.

https://yaritakunai.hatenablog.com/entry/repair-corrupt-mp4

I hope your program will be able to perfectly restore Multiple audio, since it is not possible to do it for the anthwlock version or untrunc-w, and development has been terminated.

from untrunc.

studyfranco avatar studyfranco commented on June 17, 2024

from untrunc.

studyfranco avatar studyfranco commented on June 17, 2024

from untrunc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.