Skip to content

Conversation

@usumfabricae
Copy link

Hi,
I'd like to thank you for your fantastic job.
I often get the last chunk of the video corrupted because of hard landings or battery depletion and finally I was able to recover a lot of really precious videos :)

I just did a few updates in order to be able to recover videos recorded with Samsung Gear 360 camera (the first version of the camera the one that looks like a ball):

  • I have a 128 bit aligned chunks
  • I also had to limit the number of NAL Units header in video stream since I was getting an error because, from time to time, it was finding a 3rd NAL Unit header in the loop cannibalizing part of the audio track and breaking the repair process).

I added changes related to GEAR360 using #ifdef to avoid breaking the code that is working for other cameras and because I didn't want to add an extra option in the command line (I'm too lazy :))

Hope this code can be useful to others.

Federico D'Alessio and others added 6 commits August 23, 2021 14:09
	modified:   codec.cpp
	modified:   codec_hev1.cpp
	modified:   main.cpp
	modified:   mp4.cpp
	modified:   track.cpp
	modified:   libav
	modified:   mp4.h
	modified:   codec_hev1.cpp
	modified:   mp4.cpp
	modified:   mp4.h
	modified:   codec_hev1.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant