Author Topic: .mj video file, how to play on iPhone?  (Read 2441 times)

0 Members and 1 Guest are viewing this topic.

Offline JesterTopic starter

  • Frequent Contributor
  • **
  • Posts: 887
  • Country: ca
.mj video file, how to play on iPhone?
« on: September 06, 2023, 02:31:48 pm »
I installed a security camera that creates .mj files on my iPhone.

Looking for an app that can actually play these files, anyone?

If not an app that will convert to something an iPad can play?

Thanks

 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11720
  • Country: us
    • Personal site
Re: .mj video file, how to play on iPhone?
« Reply #1 on: September 06, 2023, 02:58:43 pm »
VLC your best bet for playing any video files. If MJ is motion-JPEG, then VLC would be able to play that. If not - then it may be impossible to tell without looking at the sample file.
Alex
 
The following users thanked this post: Jester

Offline JesterTopic starter

  • Frequent Contributor
  • **
  • Posts: 887
  • Country: ca
Re: .mj video file, how to play on iPhone?
« Reply #2 on: September 06, 2023, 03:42:20 pm »
VLC your best bet for playing any video files. If MJ is motion-JPEG, then VLC would be able to play that. If not - then it may be impossible to tell without looking at the sample file.

Thanks Alex,

I think they are motion-JPEG files but not sure, VLC does not appear to work.

The only thing that works (on my Win7 PC) is KMPlayer, however the ios version of KM Player does not work on my iPhone.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11720
  • Country: us
    • Personal site
Re: .mj video file, how to play on iPhone?
« Reply #3 on: September 06, 2023, 03:45:01 pm »
VLC should be able to play standard mjpeg files, so if it can't, then there is something non-standard about them.

Can you share some short example file?
Alex
 
The following users thanked this post: Jester

Offline JesterTopic starter

  • Frequent Contributor
  • **
  • Posts: 887
  • Country: ca
Re: .mj video file, how to play on iPhone?
« Reply #4 on: September 06, 2023, 04:57:13 pm »
Alex,

Please see attached
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11720
  • Country: us
    • Personal site
Re: .mj video file, how to play on iPhone?
« Reply #5 on: September 06, 2023, 05:35:18 pm »
It looks like this uses some extra wrapper or something. It does not start with a regular JPEG header and I have no idea what it is.

If you remove first 92  bytes, the resulting file would start with JPEG header and VLC will display the first frame, but not the whole video, but then mplayer will stop recognizing that.

And there are 33 byte inter-frame headers, so I guess this is why VLC only shows the first frame and then stops.

I don't know what that header is. Usually MJPEG files are just a bunch of independent JPEGs glued together.
« Last Edit: September 06, 2023, 05:41:50 pm by ataradov »
Alex
 
The following users thanked this post: Jester

Offline luudee

  • Frequent Contributor
  • **
  • Posts: 283
  • Country: th
Re: .mj video file, how to play on iPhone?
« Reply #6 on: September 06, 2023, 05:38:59 pm »



Check if somebody makes an Android simulator for iPhone, then you should be able to enjoy your phone to the fullest extent ...


Sorry, I couldn't help myself ....
luudee


 
The following users thanked this post: Jester

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11720
  • Country: us
    • Personal site
Re: .mj video file, how to play on iPhone?
« Reply #7 on: September 06, 2023, 05:43:27 pm »
Do you really need to hijack topics with useless comments like this?
Alex
 

Offline JesterTopic starter

  • Frequent Contributor
  • **
  • Posts: 887
  • Country: ca
Re: .mj video file, how to play on iPhone?
« Reply #8 on: September 06, 2023, 06:49:26 pm »
Turns out the camera App actually has a playback mode.  Daaa....

I'm still trying to decipher some icons.

Thanks again.
 

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: pl
Re: .mj video file, how to play on iPhone?
« Reply #9 on: September 06, 2023, 07:50:17 pm »
While this will not help you with watching directly on iPhone, ffmpeg detects it as a malformed MJPEG and seems to have no trouble recoding the video. So for storage/archiving you may encode it to something digestible. MJPEG is a very inefficient format anyway.

This may be a slightly damaged MJPEG to ensure vendor lock-in or lure users to install manufacturer’s app, but equally likely this may be an unintentional damage from a horribly bad implementation. The latter is not that rare.
People imagine AI as T1000. What we got so far is glorified T9.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf