Interesting.
What happens if you remux it to mkv using MKVToolnix and then you feed it to FFAStrans?
https://mkvtoolnix.download/downloads.html
MKVToolnix is pretty intuitive, just open MKVToolnixGUI, drag and drop the file and then press "start multiplexing".
It will remux the file to .mkv thus producing a copy but in a new container.
At that point you can feed FFAStrans with that new copy (i.e the remuxed file) and see if it works.
You can also try to index it with LWLibavVideoSource() at that point and see if it works.
The other thing about FFMpeg would be to try the following:
download ffmpeg from here
https://github.com/BtbN/FFmpeg-Builds/releases
Put it in a folder somewhere.
Create a .txt in that same folder called Remux.bat and inside write:
Code: Select all
ffmpeg.exe -i "your_corrupted_file.mxf" -c:v copy -c:a copy -y "remux.mkv"
pause
(obviously you need to include the path to your file when you specify -i like -i "D:\encodes\test.mxf")
then save it and double click on the BAT (i.e the txt you just created and renamed) and Windows will execute it.
Once it's executed, if the remux is successful, it will create the file remux.mkv in the same folder.
Feed that mkv to FFAStrans and if it doesn't work try to index it with LWLibavVideoSource() and let us know.
If everything else fails, you can also try one thing just to let us know the eventual error, namely performing the same as before in the BAT but instead of the former command you can use:
Code: Select all
ffmpeg.exe -i "your_corrupted_file.mxf" -c:v ffvhuff -an -y "output.avi"
pause
and then double click on the BAT to execute it.
If it does create output.avi, then we can celebrate 'cause at that point you can easily feed it to FFAStrans and live happily ever after, while if it doesn't and it outputs an error, just post here the error
emcodem wrote: ↑Wed Nov 15, 2023 1:27 am
Hehe yes, it is harmful, one should never install Directshow codec packs
it depends on how desperate you are in recovering a file. Sometimes LAV can work miracles and that's when DirectShowSource() comes in handy.
It not-so-recently saved my butt in a badly screwed up flv container carrying HE-AAC v2. True story.
Unfortunately for Pippo, though, this wasn't the case this time for his file...