Author Topic: Broken MLV file  (Read 5197 times)

Pe3ca

  • New to the forum
  • *
  • Posts: 5
Broken MLV file
« on: September 16, 2018, 08:25:27 PM »
Hello,
I am dealing with problem during converting .mlv file into cdng by MlRawViewer. Loading of the file, freez at 11 % and It can't start convertion.





I have tried MLV Converter a mlv_dump, but they are export only around 1100 frames.
The header of the .mlv is:





And the footer is:





Do you please have some suggestions how to repair the file? :)



masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 2125
Re: Broken MLV file
« Reply #1 on: September 18, 2018, 12:46:09 PM »
Have you tried one of the "still supported" tools, e.g. MLVFS, MLV-Producer, MLVApp,...? Do you talk about one single MLV file, or .MLV+.M00+.M01+...?
5D3.113 | EOSM.202

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7739
Re: Broken MLV file
« Reply #2 on: September 18, 2018, 12:53:57 PM »
Also try select -relaxed mode in mlv_dump

Pe3ca

  • New to the forum
  • *
  • Posts: 5
Re: Broken MLV file
« Reply #3 on: September 20, 2018, 11:58:59 PM »
Have you tried one of the "still supported" tools, e.g. MLVFS, MLV-Producer, MLVApp,...? Do you talk about one single MLV file, or .MLV+.M00+.M01+...?

Thanks for reply. :)
Tried, but without success. My .mlv file is separated into M00-M03.

Also try select -relaxed mode in mlv_dump

Sorry, I am newbie. Do you mean "mlv_dump -relaxed M05-1358.mlv"?
End with:



ammonium alum



dfort

  • Guest
Re: Broken MLV file
« Reply #4 on: September 21, 2018, 01:15:57 AM »
Sorry, I am newbie. Do you mean "mlv_dump -relaxed M05-1358.mlv"?

That should be "mlv_dump --dng --relaxed M05-1358.mlv" but this looks like a similar issue from another user that was recently resolved.

https://www.magiclantern.fm/forum/index.php?topic=22822.0

You can try using a patched mlv_dump. Are you on Mac, Windows or Linux?

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3190
Re: Broken MLV file
« Reply #5 on: September 21, 2018, 09:53:30 PM »


a) your .idx is defect - delete the .idx file before running mlv_dump
b) your mlv_dump is very old - get a recent version of mlv_dump

should look better then :)
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

Pe3ca

  • New to the forum
  • *
  • Posts: 5
Re: Broken MLV file
« Reply #6 on: September 22, 2018, 11:53:55 PM »
Tried with latest mlv_dump.
That should be "mlv_dump --dng --relaxed M05-1358.mlv" but this looks like a similar issue from another user that was recently resolved.

https://www.magiclantern.fm/forum/index.php?topic=22822.0

You can try using a patched mlv_dump. Are you on Mac, Windows or Linux?

Thanks! Tried but without success. I've got:

Code: [Select]
MLV Dumper
-----------------

Mode of operation:
   - Input MLV file: 'M05-1358.mlv'
   - Using output path 'M05-1358_' for DNGs
   - Convert to DNG frames
   - Output into 'M05-1358_'
File M05-1358.mlv opened
File M05-1358.m00 opened
File M05-1358.m01 opened
File M05-1358.m02 opened
File M05-1358.m03 opened
File M05-1358.m04 not existing.
Processing...
[ERROR] Invalid block size of 0x0029E440 at position 0x48e63a00, file ended prematurely
Processed 444 video frames at 25.00 FPS (17.76 s)

I am on Windows 10. Readed and tried "mlv_dump -F 3 --dng M05-1358.mlv", but I've got the same error code.


a) your .idx is defect - delete the .idx file before running mlv_dump
b) your mlv_dump is very old - get a recent version of mlv_dump

should look better then :)

Tried to delete, but didn't help.


dfort

  • Guest
Re: Broken MLV file
« Reply #7 on: September 23, 2018, 05:31:36 AM »
Thanks! Tried but without success.

So you applied the patch to mlv_dump.c and compiled it? I don't think anyone posted a Windows version of the patched mlv_dump. I just built a Mac and Windows version and put it on my Bitbucket downloads page.

Pe3ca

  • New to the forum
  • *
  • Posts: 5
Re: Broken MLV file
« Reply #8 on: November 30, 2018, 01:37:43 PM »
Sorry for late response.  ::)

Quote
So you applied the patch to mlv_dump.c and compiled it? I don't think anyone posted a Windows version of the patched mlv_dump. I just built a Mac and Windows version and put it on my Bitbucket downloads page.

Thanks for providing patched mlv_dump, tried bud I've got error code again.  :(

Code: [Select]
E:\Skola tejpovani\6_palec>mlv_dump.exe -F 3 --dng M05-1358.mlv
FIX BUG #3 [active]

 MLV Dumper
-----------------

Mode of operation:
   - Input MLV file: 'M05-1358.mlv'
   - Using output path 'M05-1358_' for DNGs
   - Convert to DNG frames
   - Output into 'M05-1358_'
File M05-1358.mlv opened
File M05-1358.m00 opened
File M05-1358.m01 opened
File M05-1358.m02 opened
File M05-1358.m03 opened
File M05-1358.m04 not existing.
Processing...
[ERROR] Invalid block size of 0x0029E440 at position 0x48e63a00, file ended prematurely
Processed 444 video frames at 25.00 FPS (17.76 s)
Done

Pe3ca

  • New to the forum
  • *
  • Posts: 5
Re: Broken MLV file
« Reply #9 on: December 19, 2018, 09:31:31 AM »
Solved! I was actually caused by bad sectors on external harddrive. I've used Roadkill's Unstoppable Copier and voala, It's working now (with some drop frames, but not big deal).
Thanks guys for help! :)