abema / go-mp4

Go library for reading and writing MP4 file
https://dev.to/sunfishshogi/go-mp4-golang-library-and-cli-tool-for-mp4-52o1
MIT License
464 stars 30 forks source link

feat: adapt probe code to allow for co64 box instead of stco #135

Closed theSuess closed 1 year ago

theSuess commented 1 year ago

@sunfish-shogi

This allows for the correct probing of videos recorded on modern android devices

I'm not sure if this covers all edgecases (especially with videos >4Gi) but this was sufficient for my usecase.

Let me know if you think there is a better approach!

sunfish-shogi commented 1 year ago

Thank you for your pull request!!

I will update probe_test.go after merge.