Ask Different (Apple)
Q&A for power users of Apple hardware and software
Latest Questions
0
votes
1
answers
1042
views
Inconsistent rendering of UTF-8 in Mail
I recently received this (not the first time) in Mail.app on MacOS 11.4: On Jun 24, 2021, at 10:02, web host wrote: "Head Geek (伟思ç��)" wrote: This is curious. I have everything on this end set to use UTF-8 output and to assume UTF-8 if the encoding header is missing. (Unless Apple changed it d...
I recently received this (not the first time) in Mail.app on MacOS 11.4:
On Jun 24, 2021, at 10:02, web host wrote:
"Head Geek (伟思ç��)" wrote:
This is curious. I have everything on this end set to use UTF-8 output and to assume UTF-8 if the encoding header is missing. (Unless Apple changed it during an update as they sometimes do).
Why would the first two *hanzi* be rendered correctly and the third use ISOLatin1? Is it a bug I should report, and to which (Apple or web host)? It looks correct in the Sent folder. It also looks correct in the To: line of the headers on the same message that has the error in the body.
It has not happened in recent replies for other places, so it's unlikely to be an Apple bug. Yet if the encoding header is missing, odd that the headers are correctly rendered differently.
WGroleau
(5370 rep)
Jun 24, 2021, 06:11 PM
• Last activity: Jul 4, 2025, 06:01 PM
0
votes
1
answers
380
views
Safari download of CSV not using UTF-8 character set
I am downloading a CSV file, which Safari (annoyingly) puts directly onto the page. This CSV file is encoded with UTF-8, and has been verified to be correctly encoded with UTF-8 from the source file, as well as downloading it using other browsers. However, in Safari the character set is incorrect. I...
I am downloading a CSV file, which Safari (annoyingly) puts directly onto the page. This CSV file is encoded with UTF-8, and has been verified to be correctly encoded with UTF-8 from the source file, as well as downloading it using other browsers.
However, in Safari the character set is incorrect. It is using a Default character set, as seen by looking in the menu:
View > Text Encoding > Default
If I change this to:
View > Text Encoding > Unicode (UTF-8)
I get the correct characters displayed.
Why is UTF-8 not the default? How can I force it to be the default?
Isn't UTF-8 the default for the whole MacOS operating system, so I have no idea why Safari would be using something different.
Jim Leask
(193 rep)
Apr 2, 2024, 02:40 PM
• Last activity: Apr 27, 2025, 04:10 PM
6
votes
1
answers
1699
views
Changing webpage encoding in iOS
Some webpages are encoded differently and not well-configured, so they may show up completely jumbled. One example is this page, originally in Japanese: http://immanuel.sakura.ne.jp/hoby/osakaben/osakaben.htm On desktop one can simply ask the browser to reload the page with a different encoding, but...
Some webpages are encoded differently and not well-configured, so they may show up completely jumbled. One example is this page, originally in Japanese:
http://immanuel.sakura.ne.jp/hoby/osakaben/osakaben.htm
On desktop one can simply ask the browser to reload the page with a different encoding, but I don't see this option in many iOS browsers. Is there an iOS browser out there that allows the user to manually select the encoding?
Rethliopuks
(215 rep)
Sep 14, 2020, 06:23 AM
• Last activity: Apr 11, 2025, 03:08 AM
1
votes
0
answers
48
views
Scanning images with default macOS Scanner app always produces horrible jpeg artifacts, even with PNG?
When scanning images using the default macOS Scanner app (from Printers & Scanners) I noticed that when I do a 600 dpi scan and choose a lossless image format like PNG or BMP, the resulting image still produces horrible JPEG artifacts. The same happens with TIFF, HEIC, JPEG2000 and obviously also wi...
When scanning images using the default macOS Scanner app (from Printers & Scanners) I noticed that when I do a 600 dpi scan and choose a lossless image format like PNG or BMP, the resulting image still produces horrible JPEG artifacts.
The same happens with TIFF, HEIC, JPEG2000 and obviously also with regular JPEG itself.
I suspect some internal conversion or compression is taking place even before saving the image. Is there a way to circumvent that, or improve (i.e. lower) the compression rate?
RocketNuts
(1529 rep)
Mar 18, 2025, 08:11 AM
• Last activity: Mar 19, 2025, 01:15 PM
1
votes
4
answers
2330
views
iPod 2G not allowing sync of supported video
I have some videos that I would like to copy onto an old iPod Touch 2Gen for my daughter, so that she doesn't have to see the horror of YouTube. The specs for the device ([as taken from here][1]) show that the following are supported video types: > H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30...
I have some videos that I would like to copy onto an old iPod Touch 2Gen for my daughter, so that she doesn't have to see the horror of YouTube. The specs for the device (as taken from here ) show that the following are supported video types:
> H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; H.264 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Baseline Profile up to Level 3.0 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
Quicktime shows the following when playing the video:
And iTunes has the following in *Get Info*:
But when I try to copy the file via iTunes, it says the file is not supported:
How can I found out exactly what is is complaining about, so I can fix it?



stuffe
(25766 rep)
Dec 26, 2013, 07:21 PM
• Last activity: Jan 19, 2025, 05:16 PM
5
votes
3
answers
707
views
Multithreaded Video Converter on Mac?
Is there an app for Mac that can distribute a single video encoding job to several thread to utilize the full potential of the system? I used an application called iFlicks to do video encoding, and as far as I know, it's single-threaded, so even though it can use all my CPU time, it cannot squeeze t...
Is there an app for Mac that can distribute a single video encoding job to several thread to utilize the full potential of the system?
I used an application called iFlicks to do video encoding, and as far as I know, it's single-threaded, so even though it can use all my CPU time, it cannot squeeze the best performance out of my system.
I am using a 15" MacBook Pro with Retina Display.
Also, I knew that there were multithreaded ffmpeg implementation, but I can't figure out how to use that. If anyone could help, it's much appreciated.
Shane Hsu
(2088 rep)
Jan 30, 2013, 04:10 PM
• Last activity: Jan 7, 2025, 02:33 AM
0
votes
0
answers
44
views
Tool to split GoPro MP4 footage into smaller parts for use with iMovie
I recently started some basic editing of my GoPro footage using iMovie on macOS, but quickly ran into some limitations of iMovie i.e. it cannot import MP4 footage greater than around 2GB. I tried using `ffmpeg` to split up the MP4, but I think the GoPro metadata in the `GoPro TCD`, `GoPro MET`, `GoP...
I recently started some basic editing of my GoPro footage using iMovie on macOS, but quickly ran into some limitations of iMovie i.e. it cannot import MP4 footage greater than around 2GB.
I tried using
ffmpeg
to split up the MP4, but I think the GoPro metadata in the GoPro TCD
, GoPro MET
, GoPro SOS
streams is tripping up ffmpeg
and most of my attempts with it have been failures.
Is there any other small, ideally command-line-based tool, that is known to work with GoPro MP4 footage to split them into smaller MP4s by duration or file size (while being mindful of the keyframes)?
I am aware of Davinci Resolve but I am keen to prove the workflow with iMovie. I am looking for something that has a small footprint, is simple to use, doesn't do a whole lot of things, and is not a full-blown video editor (which would defeat the purpose of using iMovie)
bdutta74
(101 rep)
Dec 21, 2024, 02:26 PM
• Last activity: Dec 21, 2024, 03:53 PM
1
votes
0
answers
65
views
Reencoding All Videos in Photos.app with HEVC
I have tons of older MPEG and h264 videos in Photos eating tons of space, and I'd like to batch reencode them all to use HEVC. I've trying individually "editing" (Right Click -> Edit With -> Compressor) the biggest ones with Compressor and saving the reencodes to the same directory where the origina...
I have tons of older MPEG and h264 videos in Photos eating tons of space, and I'd like to batch reencode them all to use HEVC. I've trying individually "editing" (Right Click -> Edit With -> Compressor) the biggest ones with Compressor and saving the reencodes to the same directory where the originals reside, but Photos doesn't seem to detect the new file and just seems to delete it as soon as the encoding job finishes. Is there a simple process for doing this *within* Photos and Compressor that retains all timestamps and metadata? I don't want to piece together a questionable script with ffmpeg that might miss some metadata I'm not aware of.
Preston Lee
(111 rep)
Sep 12, 2024, 12:24 AM
4
votes
2
answers
1114
views
Can iMessage send a video as-is, without converting it first?
If I share a video file via iMessage, the recipient doesn't get the exact file I've shared, but a converted version of the video, which has a lower resolution and lower quality (e.g. when I share a 1080p H.265 video, iMessage actually sends a 300p H.264 blurry mess.) Is there a way to make iMessage...
If I share a video file via iMessage, the recipient doesn't get the exact file I've shared, but a converted version of the video, which has a lower resolution and lower quality (e.g. when I share a 1080p H.265 video, iMessage actually sends a 300p H.264 blurry mess.)
Is there a way to make iMessage share a video without re-encoding it? What are the technical criteria that video files have to meet in order to be spared re-encoding? (codecs, profiles, resolution, file size)
I know I could share a URL to a file hosted elsewhere, but I want to have end-to-end encryption, and I don't want to require the recipient to perform any unusual steps or leave iMessage to view the video.
Kornel
(201 rep)
Nov 26, 2020, 06:43 PM
• Last activity: Aug 8, 2024, 05:05 AM
1
votes
1
answers
154
views
Terminal - Incorrect cyrillic characters display on vi/vim
If i open any file in vim with cyrillic characers - most of them a shown like `?~A ?~B ?~C` [![enter image description here][1]][1] Displaying by any other console utility like less or cat works just fine. [![enter image description here][2]][2] Problem occurs in vim both locally and on remote serve...
If i open any file in vim with cyrillic characers - most of them a shown like
Displaying by any other console utility like less or cat works just fine.
Problem occurs in vim both locally and on remote server via SSH. How to fix that?
?~A ?~B ?~C


Doctor Coder
(131 rep)
Dec 7, 2023, 05:59 PM
• Last activity: Mar 30, 2024, 04:27 PM
0
votes
0
answers
239
views
M3 AV1 hardware decoding requirements (encoding options, pixel format etc.)
Are there any restrictions on the encoder options, pixel formats, etc. that can be decoded by the M3 AV1 hardware decoder? For H264 and H265, only a subset of the bitstream options are accepted, both for hardware accelerated playback and any use within TV.app or QuickTime. I can't find either an off...
Are there any restrictions on the encoder options, pixel formats, etc. that can be decoded by the M3 AV1 hardware decoder? For H264 and H265, only a subset of the bitstream options are accepted, both for hardware accelerated playback and any use within TV.app or QuickTime.
I can't find either an official list on Apple's website or a list of successful settings in ffmpeg's wiki.
user1567459
(101 rep)
Nov 26, 2023, 11:30 AM
1
votes
0
answers
527
views
M1 MacBook Pro 16'' YouTube and Chrome CPU usage increasing when watching for extended period of time
I have recently started to watch quite a lot of YouTube videos on battery, and would notice that battery will drain faster as I binge watch. I have noticed the following happening, In normal circumstances, a 1080p30 video playing with VP9 in Chrome with M1 Pro in Activity Monitor for CPU usage aroun...
I have recently started to watch quite a lot of YouTube videos on battery, and would notice that battery will drain faster as I binge watch.
I have noticed the following happening,
In normal circumstances, a 1080p30 video playing with VP9 in Chrome with M1 Pro in Activity Monitor for CPU usage
around 25% Google Chrome Helper (Renderer) and 0% GPU usage\
around 40% WindowServer and 30% GPU\
around 10% Google Chrome Helper (GPU) and 20% GPU
After a while (1h or so) however, one of the Chrome processes will creep up near 100% CPU and battery consumption / heat significantly increases.
The way to get around it is to terminate the process in the Activity Monitor and everything returns to normal for a bit.
I have tried to switch between 'Default' and 'Enabled' in flags for various hardware decoding modes but it does not make a different.
Any ideas?
ThatLeo
(11 rep)
Nov 8, 2023, 03:06 AM
• Last activity: Nov 8, 2023, 03:15 AM
3
votes
2
answers
3779
views
How to convert non-utf8 encoding to utf-8 encoding during unzip?
I have the same problem which described [here](https://superuser.com/questions/872596/decompress-zip-with-given-encoding). The only difference is I need to do this in MacOS. Basically, all files are encoded in non-utf8 and zipped on Windows. When I unzip it on MacOS, they won't be readable at all. I...
I have the same problem which described [here](https://superuser.com/questions/872596/decompress-zip-with-given-encoding) .
The only difference is I need to do this in MacOS.
Basically, all files are encoded in non-utf8 and zipped on Windows. When I unzip it on MacOS, they won't be readable at all. I need to convert the encoding to utf-8 during unzip.
I tried the command
unzip -O GB18030 gb18030.zip
which does not work on MacOS. I think it might because the unzip command in MacOS does not have the option -O
.
sgon00
(2526 rep)
Sep 4, 2019, 05:35 PM
• Last activity: Oct 19, 2023, 07:52 AM
17
votes
4
answers
42731
views
Why does a video file get bigger after editing it with iMovie?
Input File: - Kind: MPEG-4 File - Size: 305 MB - Dimensions: 640 x 360 - Codecs: H.264, AAC - Duration: 52:07 - Audio Channels: 2 After using iMovie to trim a bit from the beginning and end of the file, I tried to export the file via File → Share → File… with the following settings: - Format: Video...
Input File:
- Kind: MPEG-4 File
- Size: 305 MB
- Dimensions: 640 x 360
- Codecs: H.264, AAC
- Duration: 52:07
- Audio Channels: 2
After using iMovie to trim a bit from the beginning and end of the file, I tried to export the file via File → Share → File… with the following settings:
- Format: Video and Audio
- Resolution: 720p (iMovie only offers me 540p as alternative)
- Quality: High (according to [an answer to a similar question](https://apple.stackexchange.com/a/208113) this means H.264)
- Compress: Better Quality
The estimation on file size shown by iMovie is 4.35 GB. My questions:
1. How come the file size *increases* after I cut something from it, encoded both with H.264?
2. Why does iMovie not offer me the input resolution as an output resolution?
I'd like to be able to trim a video and save it with roughly the same size/time ratio.
Human
(809 rep)
Aug 5, 2017, 12:53 AM
• Last activity: Oct 11, 2023, 07:32 PM
2
votes
1
answers
487
views
Can I get help on an issue where unexpected/illegible characters render in Safari on some HTML pages?
I am faced with a strange problem: On some websites, I have illegible characters and if I copy/paste the text into Google Translate or an editor like vim, the text appears normally in English. Here an example on the page: ["The Alternate View" columns of John G. Cramer][1] This is what I am seeing b...
I am faced with a strange problem: On some websites, I have illegible characters and if I copy/paste the text into Google Translate or an editor like vim, the text appears normally in English.
Here an example on the page: "The Alternate View" columns of John G. Cramer
This is what I am seeing below:
![Illegible characters ][2]
If I copy/paste the first paragraph into an editor, then I get :
> If you could halt the expansion of the universe and then travel
> outward in a straight line, would you eventually come back to the
> place where you started? In other words, are all straight-line paths
> in the universe closed circles? Or as Euclid would have put it, if
> you project two precisely parallel light beams out into empty space,
> do they ever cross? A recent analysis of the angular structure and
> lensing of the cosmic microwave background radiation, as measured by
> the European Space Agency's Planck Mission, suggests that the answer
> to these questions is "Yes". We will start by considering the
> curvature of space as represented in general relativity (GR).
I don't understand where this issue could come from. Even by trying with a different VPN, the issue remains.
I have also these same unrecognizable characters that represent normal text content on some gmail emails.
Is there a way to fix/troubleshoot this on macOS?
guizmo133
(53 rep)
Jun 2, 2023, 03:17 PM
• Last activity: Jun 2, 2023, 05:57 PM
7
votes
5
answers
99890
views
How can I import mini-DV content onto a Mac?
I have a number of old mini-DV tapes that I would like to import into my Macbook. * I want an app to read the contents of these tapes * It should be able to produce a single MP4 combining all of the clips on the tape * It should be able to produce multiple MP4 files of the separate clips on the tape...
I have a number of old mini-DV tapes that I would like to import into my Macbook.
* I want an app to read the contents of these tapes
* It should be able to produce a single MP4 combining all of the clips on the tape
* It should be able to produce multiple MP4 files of the separate clips on the tape.
I tried using iMovie one time and found it to be overkill for what I need. It imported the contents of my tape as multiple .dv files and then I have to create a project. I don't want to deal with that. I want to not need to manage things and import the content of tapes and store it on the filesystem so that I can watch the content on Macs/Windows/Linux/multiple-platforms.
What software meets these requirements?
Sajee
(779 rep)
Jan 24, 2012, 07:51 PM
• Last activity: May 20, 2023, 11:06 AM
0
votes
0
answers
105
views
How to make sure a video file can be stored in the Photos app? (iPhone)
I would like to offer a video of our festival promotion towards our fans to be then shared on social media. However it seems impossible to offer it in a way that the video can be stored to the Photos app (which would be beneficial since Instagram and TikTok are sourcing the Photos to be shared from...
I would like to offer a video of our festival promotion towards our fans to be then shared on social media. However it seems impossible to offer it in a way that the video can be stored to the Photos app (which would be beneficial since Instagram and TikTok are sourcing the Photos to be shared from there).
Is there any way of changing the file format or setting up a certain type of hosting to achieve this?
An example file would be: https://family.tapefabrik.de/tomHengst.mp4
I tried converting it to an mp4 file, which did not work.
Maximilian Schneider-Ludorff
(1 rep)
Mar 19, 2023, 02:51 PM
• Last activity: Mar 19, 2023, 03:10 PM
4
votes
1
answers
3221
views
How do I get ffmpeg to encode using constant quality with h264_videotoolbox hardware acceleration for Macs?
Background info: Apple provides hardware acceleration support for encoding h264 and h265 videos through VideoToolbox. ffmpeg has built-in support for VideoToolbox through the h264_videotoolbox codec. Problem: I have a bunch of .png images I want to make into a high-quality mp4 video. Using "-crf 18"...
Background info: Apple provides hardware acceleration support for encoding h264 and h265 videos through VideoToolbox. ffmpeg has built-in support for VideoToolbox through the h264_videotoolbox codec.
Problem: I have a bunch of .png images I want to make into a high-quality mp4 video. Using "-crf 18" works fine without hardware acceleration, as in the following:
ffmpeg -pattern_type glob -i '*.png' -framerate 25 -c:v libx264 -crf 18 -preset veryslow out.mp4
But this takes forever. I can force a bitrate and use my Mac's hardware acceleration by doing something like this:
ffmpeg -hwaccel videotoolbox -pattern_type glob -i '*.png' -framerate 25 -c:v h264_videotoolbox -b:v 7000k out.mp4
...which encodes at 100fps rather than E..V..... Profile (from 0 to 4) (default 0)
baseline E..V..... Baseline Profile
main E..V..... Main Profile
high E..V..... High Profile
-level E..V..... Level (from 0 to 52) (default 0)
1.3 E..V..... Level 1.3, only available with Baseline Profile
3.0 E..V..... Level 3.0
3.1 E..V..... Level 3.1
3.2 E..V..... Level 3.2
4.0 E..V..... Level 4.0
4.1 E..V..... Level 4.1
4.2 E..V..... Level 4.2
5.0 E..V..... Level 5.0
5.1 E..V..... Level 5.1
5.2 E..V..... Level 5.2
-coder E..V..... Entropy coding (from 0 to 2) (default 0)
cavlc E..V..... CAVLC entropy coding
vlc E..V..... CAVLC entropy coding
cabac E..V..... CABAC entropy coding
ac E..V..... CABAC entropy coding
-a53cc E..V..... Use A53 Closed Captions (if available) (default true)
-allow_sw E..V..... Allow software encoding (default false)
-require_sw E..V..... Require software encoding (default false)
-realtime E..V..... Hint that encoding should happen in real-time if not faster (e.g. capturing from camera). (default false)
-frames_before E..V..... Other frames will come before the frames in this session. This helps smooth concatenation issues. (default false)
-frames_after E..V..... Other frames will come after the frames in this session. This helps smooth concatenation issues. (default false)
```
What is "level"? How do "baseline"/"main"/"high" differ and what is a "profile"...?
I'd appreciate examples of how to use h264_videotoolbox properly with ffmpeg and specifically how to achieve something like the CRF option that exists with the default h264 codec.
M. C.
(109 rep)
Jul 13, 2020, 10:58 PM
• Last activity: Feb 23, 2023, 10:02 AM
0
votes
1
answers
1382
views
Alternative to iconv encoding utf-8-mac
There used to be support for an encoding option called `utf-8-mac` with `iconv` in the Terminal. It's mentioned in this forum several times. I used to use it a lot. Now with the following command (that used to work): ``` iconv -f utf-8-mac -t CP1252 infile.m3u > outfile.m3u ``` I get: ``` iconv: con...
There used to be support for an encoding option called
utf-8-mac
with iconv
in the Terminal. It's mentioned in this forum several times. I used to use it a lot. Now with the following command (that used to work):
iconv -f utf-8-mac -t CP1252 infile.m3u > outfile.m3u
I get:
iconv: conversion to utf-8-mac unsupported
I tried an encoding called mac
but that does not work either.
A clumpsy workaround in my case is to open in TextEdit, duplicate and save using Windows Latin 1
encoding. But I'd really prefer using iconv, but I don't know what to look for and there are many encodings. Is there an equivalent to utf-8-mac
?
Currently I use: macOS 10.14.6
Oortone
(11 rep)
Sep 15, 2022, 10:05 PM
• Last activity: Feb 14, 2023, 11:05 AM
1
votes
0
answers
32
views
How do I fix these issues for my segmented video files?
[![enter image description here][1]][1] [1]: https://i.sstatic.net/J9w0p.png I'm using an .m3u8 file uploaded to Amazon Web Services for HLS streaming. When I create an HLS report for it, it shows that there are several must fix issues present. I'm fairly new to validating and segmenting videos and...

sony fan
(11 rep)
Jan 10, 2023, 06:54 PM
Showing page 1 of 20 total questions