Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [encoding]

Encoding is the process of converting data into another format. It may refer to encoding codes of characters (ASCII, UTF, OS, etc...), audio (mp3, wave, m4a, etc...) or video (avi, mp4, mkv, etc...). This tag should be use for any question related to the act of format conversion.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 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, ...
Jim Leask's user avatar
  • 193
0 votes
1 answer
36 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 Displaying by any other console utility like less or cat works just fine. Problem occurs in vim both locally ...
Doctor Coder's user avatar
0 votes
0 answers
140 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 ...
user1567459's user avatar
1 vote
0 answers
263 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 ...
ThatLeo's user avatar
  • 11
0 votes
0 answers
29 views

How to convert a bunch of videos using avconvert on MacBook?

I have to convert a lot of videos and save the metadata. The only way I found is to create the command for every video and paste it into Terminal. If I select all the files in the folder and convert ...
Kirill Gurei's user avatar
2 votes
1 answer
400 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 ...
guizmo133's user avatar
0 votes
0 answers
26 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 ...
Maximilian Schneider-Ludorff's user avatar
1 vote
0 answers
24 views

How do I fix these issues for my segmented video files?

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 ...
sony fan's user avatar
0 votes
1 answer
939 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 ...
Oortone's user avatar
  • 11
0 votes
0 answers
37 views

MacOS 12.5 file names are created with wrong char

I made a script to rename mp3 files based on the tags, basically it extracts the data like this: sArtist=$(exiftool -s3 -Artist "$sFile") ... sNewName="$sArtist - $sTitle" mv -v &...
goosseno's user avatar
2 votes
1 answer
1k views

Output clickable link in Terminal

I want to echo a clickable URL on ZSH/Terminal. The URL corresponds to a Kibana-query, which means it includes lots of funky characters. For technical reasons, I cannot use "shortened" ...
Martin J.H.'s user avatar
1 vote
0 answers
320 views

How do I convert UTF-8 encoded files to MacOS Roman and vice versa?

I'm editing some Japanese cue files, and testing them against Cog and VLC, but I noticed corrupted-like, obfuscated text inside the cue file. Cog seems to be able to read this text, but VLC shows the ...
Meh.'s user avatar
  • 436
1 vote
2 answers
241 views

Are *.mov and *.m4v files from older iPhones today (2022) to be considered legacy?

I have made many videos with different generations of iPhones. The vast majority of my videos are in *.mp4. However, I still see older videos in *.mov and *.m4v. Are *.mov and *.m4v files considered ...
Sybil's user avatar
  • 3,947
0 votes
1 answer
260 views

How to get the same date time in two formats in command line?

I have the following code DATETIME=$(date '+%F %T') GIT_TAG_DATETIME=$(date '+%Y%m%d-%H%M%S' --date="$DATETIME") to assign the same datetime in two vars in different formats. It works on ...
Dims's user avatar
  • 276
0 votes
0 answers
2k views

iMovie export settings - what *exactly* do they do?

In iMovie 10, the export options are limited to: Format (Video and Audio, Audio Only) Resolution (540p, 720p, 1080p, sometimes 4k) Quality (Low, Medium, High, Best (ProRes), Custom) Compress (Faster, ...
the-baby-is-you's user avatar
0 votes
1 answer
963 views

What does Compressor offer that HandBrake doesn't? [closed]

Video encoding is a small hobby of mine and, while I'm familiar with HandBrake and have been dipping my toes into the far more capable and complicated world of Avisynth, I only recently learned that ...
Kefka's user avatar
  • 121
0 votes
0 answers
133 views

How to import album into Music without hiccups between songs

I have recorded a concept album in which the tracks all run together. There are no pauses between songs. My mastering engineer has delivered 44.1khz/24-bit WAV files. I imported these into ProTools ...
S. Imp's user avatar
  • 151
2 votes
1 answer
144 views

Why must I re-save a file from Mac in order for it to work?

I have an issue for which I have a work-around solution. I'm hoping to eliminate the work-around to improve production efficiency. My associate's server automatically runs a script that outputs a ...
Parapluie's user avatar
  • 403
0 votes
0 answers
55 views

Iphone Music Metadata/Encoding data showing & hide

I play .mp3s via my iPhone Music application. However on this album, there is additional metadata / encoding data (unsure what the correct terminology is here) that is displayed below the Play and ...
af3ld's user avatar
  • 111
0 votes
0 answers
165 views

iOS Mail: Non-ASCII characters garbled in subject header when followed by whitespace

I noticed recently that certain German characters (ß, Ü, Ä/ä, Ö/ö) are displayed incorrectly in the subject header of messages if (and only if) they are followed either by a space or no character (...
janeden's user avatar
  • 121
1 vote
0 answers
31 views

Rescaling videos with FFMPEG for iDVD

I am preparing a DVD with several 10-minute videos in mp4 (produced from Final Cut Pro or Adobe Premiere), 1920x1080. I am using iDVD version 7.1 (1145) and macOS Mojave 10.14.6. When I export the ...
emonigma's user avatar
  • 1,047
1 vote
0 answers
64 views

Sending long URLs via Mail using Rich Text decodes special characters

When I send long URLs via OSX Mail using Rich Text formatting, and there will be encoded characters in the URL they will get decoded. For example if the URL contains a very common %2F, then after the ...
bzx's user avatar
  • 141
2 votes
0 answers
1k views

How to clone an NFC tag using iPhone?

My university card is an NFC card, and I would like to create a duplicate of it. I have tried multiple apps through which I have been able to read it and write other stuff. But I don't know how to ...
HWIK's user avatar
  • 21
4 votes
2 answers
3k views

How to create slow frame rate video from image sequence?

I made a set of timelapse .jpg images using a Canon Rebel camera & Magic Lantern. I want to turn it into an .mp4 video. I understand that Quicktime v10.5 can do this, but the slowest frame rate is ...
Terry McDanel's user avatar
0 votes
0 answers
189 views

Is it possible to view video/audio information in finder or a similar program

From what I can see finder cannot display codec, resolution, bitrate, basic metadata about batches of video and audio files that would be really helpful. As there any way to achieve this or a program ...
Toddd's user avatar
  • 61
2 votes
1 answer
431 views

How to batch-convert Dual Fisheye Ricoh Theta 360 Movies into Equirectangular Videos?

How can I batch-convert and blend multiple Dual Fisheye Ricoh Theta 360 Degree MP4 Movies into Equirectangular Videos for upload to YouTube or use in Adobe Premiere and Final Cut Pro?
ChrisB's user avatar
  • 201
0 votes
1 answer
897 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 <[email protected]> wrote: "Head Geek (伟思ç��)" <[email protected]> ...
WGroleau's user avatar
  • 4,975
1 vote
1 answer
75 views

How to get TextEdit to save with a ByteOrderMark?

I've saved files with different encodings using TextEdit. After closing the file, with a vim editor, I open the file and type the following to test for the existence of a byte order mark: :setlocal ...
soyorx's user avatar
  • 15
0 votes
0 answers
243 views

Encoding problem with mount_smbfs

For development with Visual Studio Code with a remote Docker devcontainer, I have a Samba share mounted on my Mac. In the Finder and the terminal I see all characters correctly displayed. But when I ...
andreas's user avatar
  • 247
1 vote
0 answers
286 views

Korean file name changes to symbols after downloading

file name in a webpage: file name after downloading:
Kamol's user avatar
  • 11
0 votes
1 answer
952 views

Can't export HEVC videos from Photos app

I have a late 2012 iMac running Catalina (10.15.7) as it's too old to upgrade to Big Sur. Photos are synced from my phone with iCloud. I'm unable to export HEVC videos to other formats. When I drag ...
Robert's user avatar
  • 1,918
2 votes
1 answer
672 views

Why can't Finder quicklook the mp4 I just encoded with ffmpeg?

I just did ffmpeg -i My\ Movie.mov vid.mp4 to convert iMovie output to an MP4. I can't quicklook the mp4 as usual (by pressing space), nor does Finder show a thumbnail for it. Here is ffmpeg -i ...
minseong's user avatar
  • 8,894
0 votes
3 answers
563 views

Terminal doesn't print special characters after changing to Italian keyboard layout

I'm on a second-hand macbook pro from 2013, running catalina 10.15. It has built-in British keyboard layout but since I mostly write in Italian on an external Italian keyboard, I switched the layout ...
WobblyWindows's user avatar
2 votes
0 answers
53 views

Encoding videos on iOS

I would like to convert some videos to H265, but this is quite slow on my Mac. I know that the modern A-series chips have hardware encoding/decoding support for H265. I would like to harness the power ...
Oion Akif's user avatar
  • 8,960
3 votes
2 answers
3k views

Changing character encoding from Unicode to Ascii

I need to convert the character encoding in some text files created by a third-party app on my MBP Catalina 10.15.6. I'm in unfamiliar waters here, so please indulge my ignorance. Also, please note ...
Seamus's user avatar
  • 4,621
4 votes
2 answers
846 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 ...
Kornel's user avatar
  • 201
2 votes
0 answers
171 views

Where is Metadata of Encoding in Plain Text Saved from TextEdit

TextEdit allows for plain text .txt files to be saved with a particular character encoding: Is there any meaningful change to the file's metadata and if so, how do you see it?
fdcpp's user avatar
  • 63
5 votes
1 answer
1k 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/...
Rethliopuks's user avatar
4 votes
1 answer
3k views

How do I get ffmpeg to encode using constant quality with h264_videotoolbox hardware acceleration for Macs? [closed]

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. ...
M. C.'s user avatar
  • 109
1 vote
0 answers
192 views

Numbers removes Byte-Order-Mask (BOM) from UTF-8 files when exported as CSV. How to fix?

I am dealing with a requirement where CSV should be UTF-8 encoded, in order to detect this in my java application I am relying on Byte Order Masks which is working perfectly fine but we found out that ...
Neeraj Jain's user avatar
0 votes
0 answers
228 views

Wrong encoding for downloaded files

I try download files from my university site. All I can found it Safari -> View -> Encoding, but it doesn't affect to downloaded files. For example file with cyryllic name: "Задания для групп 80-104Б ...
kot_mapku3's user avatar
0 votes
2 answers
140 views

How to convert .wav to .mp3 and maintain iTunes presence?

I have a bunch of .wav files (from synced CDs) that I would like to convert to .mp3 files in order to save space. I found this link which works to batch convert .wav to .mp3, but unfortunately iTunes ...
sporkl's user avatar
  • 171
1 vote
0 answers
42 views

The best way to combine two m4v files on Catalina [duplicate]

I've seen Best way to merge mp4 files and I've seen similar articles such as https://www.adeepbite.com/combine-videos-mac-using-quicktime-player/ I have a computer with OSX Catalina. I've got some 3+...
jcolebrand's user avatar
0 votes
1 answer
334 views

Wrong line-drawing characters when write "tree" command output to file

Under macOS Catalina 10.15.1, Using the standard "tree" command (as supplied by MacPorts), if at the Terminal prompt I cd to a folder and then execute tree there, I get output like this: . ├── ...
murray's user avatar
  • 165
0 votes
2 answers
63 views

Files display only ^@^@^@^@

I have some files I was hoping to open and look at. I usually open files of the same extension them on a server in a UNIX environment. These files as far as I can tell have been plain text but ...
Connorr.0's user avatar
6 votes
1 answer
1k views

Transfer MKV files to iPhone using Airdrop on iOS 13

For some time I've beeing using PlayerXtreme in order to watch mkv videos on my iPhone 8 and I was able to drop them into it from my MBP using Airdrop. But since iOS 13, my iPhone doesn't wants to ...
Edd Growl's user avatar
  • 2,684
0 votes
1 answer
104 views

How to put file into clipboard without losing control characters?

I have a .txt file originated from Windows, so its line endings are \r\n. Running cat or echo on that file makes those control characters go away. How can I display the file (even in raw bytes if ...
sargas's user avatar
  • 195
3 votes
1 answer
245 views

Emojis not rendering

My genuine MacOS is not showing emojis. They look just like this: None of the following solutions worked for me: Creating a new user account Restoring Standard Fonts in Font Book Booting in Safe ...
Oriol del Rio's user avatar
5 votes
0 answers
2k views

Good starting options for FFmpeg with hevc_videotoolbox?

I am using the latest FFmpeg from MacPorts, and I have a new MacbookPro running macOS Mojave. I was wondering what are good options to start with to use the hevc_videotoolbox encoder? I did a quick ...
Gab's user avatar
  • 504
1 vote
1 answer
53 views

How to listen to iMac G3 audio files with no extension on a recent device?

I have several files from my ancient iMac G3 that have no file extensions. They were from a text program that also recorded voice, and read text. It came with the computer, but that was 2 computers ...
James Duncan's user avatar