MJPEG to M4R: Check for Sound Before You Make a Ringtone
Motion JPEG (MJPEG) stores video as a run of separate JPEG images, one per frame. It is a picture format and defines no audio of its own. That matters here, because an iPhone ringtone is pure sound: this page extracts an audio track, re-encodes it as AAC and saves it with the .m4r extension iOS uses for custom ringtones. If your .mjpeg file has no audio track, and many raw MJPEG files do not, there is nothing to turn into a ringtone, and no setting can create sound that was never recorded.
The honest summary: a raw MJPEG stream from an IP camera, webcam or machine-vision rig is usually video only. MJPEG recorded by an older digital camera inside an AVI or MOV file often does have a sound track, and that is where your ringtone can come from.
Does Your MJPEG File Have Audio?
| Where the file came from | Audio inside? | What to do |
|---|---|---|
Raw .mjpeg / .mjpg stream from an IP or security camera |
Usually none | Look for the camera's own export with audio, if it records sound at all |
| Webcam or capture-card MJPEG dump | Usually none | Use the separate audio recording, if one was made |
Older digital camera "movie mode" (often .avi or .mov) |
Often yes: PCM or ADPCM, frequently mono | Convert the container with AVI to M4R or MOV to M4R |
| Video-editor intermediate saved as MJPEG | Depends on the export settings | Re-export with audio as MOV or AVI |
To check, open the file in VLC and look at Tools > Codec Information, or run it through MediaInfo. If only a video stream (MJPEG or Motion JPEG) is listed, the file is silent.
How to Convert MJPEG to M4R
- Upload Your MJPEG File: Drag the
.mjpegfile onto the page or click "+ Add Files". Several files can be queued with the same settings. - Trim to 30 Seconds or Less: Switch Trim on and set a Start time and a Duration in seconds or
HH:MM:SS.sss. Apple says iPhone ringtones can be up to 30 seconds long, and the note under Duration says the same. - Set File Compression, Channel and Sample Rate: Choose Constant Bitrate (8 to 384 kbps), Custom Bitrate, one of five Variable Bitrate bands (20k-32k up to 96k-112k) or a Specific file size; Quality Preset is the hands-off mode. Audio Codec is AAC, the only codec in an M4R. Camera audio is often mono, so Audio Channel Mono and a modest bitrate lose nothing.
- Convert and Download: Click Convert and save the
.m4r. Your file is uploaded over an encrypted HTTPS connection, processed on our servers, and deleted automatically after a few hours. Free, no sign-up, no watermark.
If the file has no audio stream, the conversion has nothing to encode and you will not get a usable ringtone; go back to the table above and find the file that recorded sound.
MJPEG vs M4R
| Property | MJPEG (source) | M4R (output) |
|---|---|---|
| What it is | Video codec: every frame a separate JPEG | AAC audio in an MPEG-4 container, .m4r extension |
| Audio | None in the codec; only via a container's separate track | AAC-LC, always |
| Typical audio when present | PCM or ADPCM from old cameras, often mono at a low sample rate | Whatever bitrate and channels you set |
| Where it comes from | IP cameras, webcams, older digital cameras, editing intermediates | Made for iPhone ringtones and text tones |
| Size | Large for its picture quality | Under 500 KB for 30 seconds at 128 kbps |
Settings That Suit Old Camera Audio
Audio recorded by a 2000s compact camera is modest: one channel, often a sample rate well below CD quality, through a tiny built-in microphone. Spending 256 kbps on that only makes a bigger file. A practical setting is Constant Bitrate 64-96 kbps with Audio Channel set to Mono and Audio Sample Rate left on Original. A 30-second tone at 96 kbps is about 360 KB (bitrate × seconds ÷ 8). Forcing 48000 Hz does not add treble the microphone never captured.
Frequently Asked Questions
Why would my MJPEG ringtone come out empty?
Because the source has no audio stream. Raw MJPEG from security cameras, webcams and many capture tools is video only. There is nothing to extract, so there is nothing to make a ringtone from; you need a recording that captured sound.
Can I add sound to an MJPEG file here?
No. This page only extracts and re-encodes an audio track that already exists. If you have the sound as a separate file, such as a voice memo recorded at the same time, convert that file with Audio to M4R instead.
How long can the ringtone be?
Up to 30 seconds, according to Apple's support article on custom ringtones; GarageBand for iPhone also caps exported ringtones at 30 seconds. Older guides mention 40 seconds from the iTunes days, but Apple's current documentation does not, so keep to 30.
How do I put the M4R on my iPhone?
Connect the iPhone to a Mac and drag the file onto the iPhone in the Finder sidebar (macOS Catalina or later), or use iTunes on Windows. Then choose it under Settings > Sounds & Haptics > Ringtone, or per contact via Contacts > the person > Edit > Ringtone. Alternatively, save it to Files, import it into GarageBand on the iPhone and use Share > Ringtone.
I use Android. Do I need M4R?
No. Android ringtones are usually MP3 or OGG, so use MJPEG to MP3, with the same caveat that the file must contain audio.
Will the ringtone sound better than the camera recording?
No. AAC re-encodes what is there, and ADPCM or low-rate PCM from an old camera keeps its limits. The aim is a small, compatible tone, not a remaster.
Is my file stored?
Only briefly. It is uploaded over TLS, processed on our servers and deleted automatically after a few hours, and it is never shared or made public.