0

I forwarded an SMS video from my phone using email. It arrives without an extension. What type is it?

I can play it in Windows Media and VLC Media Player but these then immediately close the file for some reason, so I can't inspect the content.

Lars Ericson
  • 1,952
  • 4
  • 32
  • 45

1 Answers1

1

I figured it out thanks to the answer to this question. The solution is:

import magic
magic.from_file('2502')
'ISO Media, MPEG v4 system, 3GPP'

Then the right file extension to add is ".mpeg4".

Lars Ericson
  • 1,952
  • 4
  • 32
  • 45