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

Questions tagged [encoding]

The fine art of converting letters into numbers. ASCII, ISO Latin-1, Unicode, EBCDIC… There are dozens of currently used encodings and converting between them is now a witch craft.

Filter by
Sorted by
Tagged with
1 vote
0 answers
13 views

How to create URI to open hardcoded text/plain content in web browser?

First question, is it even possible to write a URI (presumably http://) that will make a browser display some plaintext content, where the content is hardcoded into the URI itself (aka not served by a ...
ETL's user avatar
  • 381
-1 votes
0 answers
27 views

Deinterlace / Inverse telecine color ghosting [closed]

I'm trying to get an interlaced/telcined video back to its original framerate. I already tried yadif, fieldmatch and pretty much every other solution/filter. I even tried swapping the U&V channel ...
SamMaguku's user avatar
2 votes
2 answers
76 views

Mixed UTF-16BE strings with ANSI in content stream of a PDF page object

I am working on generation of PDF on the fly tool, with custom chosen local font. Embeeding the font is not a problem, and been proven that font been found w/o problem. However, the font is Chinese, ...
Xerix's user avatar
  • 135
0 votes
1 answer
93 views

UTF-8 Decoders fail to decode the encoded strings

I have some encoded values values which I believe is UTF-8. Now I dont really know if it is UTF-8 or not because other online tool and steps to decode UTF-8 is not working, BUT an open source tool ...
Solo's user avatar
  • 3
1 vote
2 answers
413 views

How to convert UTF-8 to ANSI

(note that I posted a previous iteration of my question in stack overflow) Hello there, I am trying to change multiple files from UTF-8 to ANSI in Notepad. My goal is change them to ANSI like my ...
Ruth-Anne's user avatar
2 votes
1 answer
167 views

Why am I getting pixelated videos in FFmpeg when converting to a GIF?

I want to encode this WEBM video: https://buggem.github.io/connecting.webm I have been noticing the fact that FFmpeg has been played up when it comes to quality. I am doing WEBM to GIF, if that ...
Missing User's user avatar
1 vote
1 answer
242 views

Want to understand encoding with Opus for maximum audio quality in FFmpeg. Bitrate stuck at 96kbps?

I'm sort of new to FFmpeg, but I got much of the basics down. I am trying to understand how to encode audio with Opus. My knowledge is a bit weak when it comes to audio, bitrates, sample rate and Hz. ...
peppy's user avatar
  • 13
1 vote
1 answer
67 views

What's a good way to encode a file name for caching a video thumbnail?

I'm writing a previewer script for lf using chafa to display preview images as sixels. I'm writing the part of the script for previewing videos, and decided to just display the first frame of the ...
revsuine's user avatar
0 votes
0 answers
36 views

Encoding issues over SSH characters shown as ~@~X in vim

I am having issues when viewing a file through SSH I have 2 computers connected to each other myServer 'myHost' , sharing over 'SSH' a session. On myServer I have got a log from wget which originates ...
freddie_ventura's user avatar
0 votes
0 answers
47 views

Thunderbird Rendering UTF-8 Emails Incorrectly

I imported all of my Outlook emails into Thunderbird. Since then, I've noticed that many of the emails render incorrectly - for example - reason appears as reason�. Inspecting the source, these issues ...
Teknophilia's user avatar
0 votes
1 answer
43 views

Firefox versus Opera

I am using Linux Mint 21.2 Cinnamon and have a question about browsers URL encoding. When I navigate using Firefox 123.0 (64-bit) and go to a page having "special characters" and I copy the ...
Mikel Vergy's user avatar
0 votes
1 answer
115 views

Complex ffmpeg multi-encode/streamcopy/muxing scenario: is this actually doable?

I'm trying to do multiple muxing/re-encode/copy operations on an input video with ffmpeg and have run into roadblocks with the methods I've tried; before I continue testing, I want to confirm whether ...
rudds's user avatar
  • 3
0 votes
1 answer
970 views

Constructing encoding statements using ffmpeg QSV and Intel ARC card

I purchased an Intel ARC A770 with the intent to test hardware encoding with AV1 and HEVC under Linux. Being newer to ffmpeg, I need help constructing ffmpeg statements to engage the Intel QSV ...
videomouse's user avatar
1 vote
1 answer
55 views

Correct way to encode mixed width text in Unicode?

From what I read, the fullwidth glyphs in Unicode are provided solely for backward compatibility and lossless roundtrip with legacy standards such as Shift-JIS. The rationale seems to be that Unicode ...
SuibianP's user avatar
1 vote
1 answer
138 views

FFmpeg - Use same encoded audio for multiple outputs

I have an input file that I am encoding with multiple output resolutions. I want to use the exact same audio encoding parameters for each output video file (-c:a aac -b:a 64k -ac 1). For a performance ...
pkSML's user avatar
  • 466
2 votes
1 answer
129 views

VIM uses wrong encoding - but only in status messages

I ran into a strange issue with my ArchLinux setup. Vim uses correct encoding for reading/displaying files but these status messages (which displays the current mode or reports back when the buffer is ...
Gabor Garami's user avatar
0 votes
0 answers
201 views

How to convert in ffmpeg at a constant bitrate?

I recently began encoding some of my videos, but can't seem to make ffmpeg encode at a constant bitrate as all my videos turn out to have variable bitrates. I have tried multiple commands, but nothing ...
bigboss's user avatar
  • 11
0 votes
1 answer
141 views

FFmpeg: How to encoding h264 mkv files in h265 mkv and keep the 2 subtitles streams?

I've lots of mkv files in h264 format with 2 languages of subtitle, and I'm trying to convert them in h265 (with cuda) and keep the 2 subtitles streams. I've tried that: ffmpeg -i "xxx.mkv" -...
ShkYo's user avatar
  • 11
0 votes
0 answers
154 views

FFMPEG encode interlaced frames

I try to encode incoming frames using FFMPEG to h264 and write it to an SD card. I get the raw frames as memory buffers from hardware and then use the FFMPEG C API to encode those. Encoding is running....
user3219624's user avatar
4 votes
1 answer
937 views

How to identify a file encoding?

I'm trying to figure out the encoding of a text file. I did try a lot of the common ones (with Notepad++), but I've failed so far. A few hints: The file was originally an Eudora mbx file, with mostly ...
jmr's user avatar
  • 536
1 vote
0 answers
51 views

Strange encoding of non-latin characters in Microsoft Word metadata embedded in a PDF file

I have a PDF file created from a Microsoft Word document that contains a block: 20 0 obj << /Author ( 52 &>;AB>9) /Producer (Microsoft: Print To PDF) /Title (Microsoft Word - ^T>:C&...
Dima Chubarov's user avatar
0 votes
0 answers
107 views

How to force Windows file explorer to display files that have invalid names?

I was searching journals on a research topic. I eventually got to some old exotic site containing a zip file which according to the description contained multiple documents. However when I unzipped it ...
pi4261's user avatar
  • 1
0 votes
0 answers
126 views

Opus codec bitrate scalability

On the website of the Opus code, there is an example demonstrating bitrate scalability. This example is intended to "demonstrates what happens when gradually varying the bitrate". This ...
phantom-99w's user avatar
1 vote
1 answer
799 views

ffmpeg video encoding has no audio

When I convert any video in ffmpeg - e.g. mp4 to mkv, mkv to mkv - I lose audio for some reason here are the parameters I originally used: ffmpeg -i input.mkv -vf scale=640x480 -vcodec libx264 -...
Patrick Hydar's user avatar
0 votes
0 answers
17 views

Backup/restore currently open Windows Explorer windows - with national character encoding and supporting tabs

The extended script provided in this thread Backup/restore currently open Windows Explorer windows does not seem to support filenames with national characters like "æøåäöü" ect. The ...
user1227746's user avatar
1 vote
0 answers
53 views

Spliting video with ffmpeg producing wrong durations

I'm currently using a framework where I have to split a video (originally encoded with HEVC video and AAC audio) in multiple parts to process them separately. Then the final result is obtained by ...
user112346's user avatar
0 votes
0 answers
54 views

Encoding MKV File Without Changing Header Information

I captured a video using a Kinect Azure SDK device. This captured video (.mkv container) has three tracks: Color, Depth and IR. I extracted the Color track using MKVToolNIX. I could playback this RGB ...
Ashutosh Singla's user avatar
0 votes
1 answer
429 views

ffmpeg and QSV works on three PCs, but not the fourth

As the title suggests, I've used ffmpeg with x264_qsv hardware acceleration on two Windows 7 systems and one Windows 10 system successfully. I have now tried to set it up on a fourth system which is ...
Bart Lederman's user avatar
2 votes
1 answer
978 views

ffmpeg nvenc throws an error after I modified an x264 command

I'm trying to convert this command to work on nvenc hvec video encoder to just make it faster and utilize my 3060: ffmpeg -i video.mkv -i logo.png -filter_complex "[1]format=rgba,...
Candour's user avatar
  • 25
0 votes
0 answers
299 views

How to fix "Could not find tag for codec timed_id3 in stream #0"?

ffmpeg gives me the following error for some videos. Could not find tag for codec timed_id3 in stream #0, codec not currently supported in container Could not write header for output file #0 (...
mbnoimi's user avatar
  • 101
1 vote
0 answers
601 views

Struggling to get h.264 encoding working for RDP with NVIDIA A2

I have a server VM where I have enabled the three group policies: Use hardware graphics adapters for all Remote Desktop Services sessions Prioritize H.264/AVC 444 graphics mode for Remote Desktop ...
jallen's user avatar
  • 11
0 votes
0 answers
221 views

Rotation metadata not changing when encoding with ffmpeg

[UPD: Checking metadata with exiftool -rotation] Been struggling for a few days, here is the setup: ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate="-90" output.mp4 changes the output....
Vlad Sutyrin's user avatar
2 votes
1 answer
2k views

Is it okay to re-encode videos from traditional lossless codec to modern lossless codec to save space and preserve quality?

Lossless video codec means almost zero information loss. After some internet search I found that there are some traditional opensource lossless codec like huffyuv, lagarith, utvideo and ffv1, which ...
ArchBug's user avatar
  • 21
2 votes
1 answer
439 views

PDF displayed with the right encoding but selectable and searchable with a wrong one

I have a PDF in Russian. It displays alright and is selectable and searchable, but the text is in Russian ASCII. As a result, when I copy or search the text, I get characters like àèçéîö, which means ...
user2286759's user avatar
0 votes
0 answers
138 views

Encoding a DVCPRO50

I'm attempting to encode a video into DVCPRO50 format. I have found and read the documentation which suggests that FFmpeg should be capable of this, but I'm having trouble with the specific command ...
HEF's user avatar
  • 1
0 votes
1 answer
859 views

Wrong character encoding in ssh session – but not for all connectios

I have an odd issue when connecting to my (Ubuntu) server via SSH. If I connect from my Gentoo box, all is fine. All Umlauts etc. work, I can type "ÄÖÜ" and so on. If I do the same from my ...
Tobias Leupold's user avatar
0 votes
0 answers
161 views

Size difference of output files from FFMPEG and NVENC rendering

For this: NVEncC64.exe --avhw -i "PATH\FILE (SRC).MP4" -c "av1" --cbr 1500 --audio-codec aac --audio-bitrate 64 -o "PATH\FILE (AV1).MP4" I used the NVEncC (x64) -Encoder ...
user1806529's user avatar
1 vote
1 answer
519 views

How to tell Excel to change right encoding in opened file?

Can somebody tell me please how to tell Excel to set up right encoding for csv file? It seems it is not possible without any annoying steps. I would like to see something like Libre office or Open ...
Čamo's user avatar
  • 355
7 votes
4 answers
9k views

Convert UTF-16 LE to UTF-8 in windows via command line

(question re-written to be more useful) I have a batch script which will interact with command line programs, take their output, and then perform decisions based on that output. One of the programs I ...
bfh47's user avatar
  • 103
1 vote
1 answer
773 views

Open SSH character encoding issue

I have been asked to replace an old insecure version of FreeSSH with OpenSSH on a couple of our servers, and am now having a problem that appears to related to character encoding types. We have a ...
Richard King's user avatar
1 vote
1 answer
136 views

Why does my SVT-HEVC-encoded video run out of sync?

I'm trying to transcode a video (with audio) to HEVC using Intel's SVT-HEVC encoder. The video's audio tracks are in sync before transcoding. Both ffprobe and mediainfo agree that the input video is ...
Cygon's user avatar
  • 379
9 votes
3 answers
2k views

fixing mis-encoded Chinese in file names

I'm saddled with a bunch of files whose names are garbled beyond recognition. Even though I more or less know what those names originally contained, fixing them by hand would involve a lot of hassle, ...
wildekat's user avatar
0 votes
0 answers
303 views

Ffmpeg: how to get information about rawvideo encoder

For example, when i type: ffmpeg -h encoder=ffv1 I have information about supported pixel formats: Supported pixel formats: yuv420p yuva420p yuva422p yuv444p (...) and settings: ffv1 encoder ...
Skyfall's user avatar
0 votes
1 answer
836 views

How to read Linux text files in Windows system?

For example, I run the top command and store it to a file in Linux, after that I open that file in Windows it contains some gibberish. Here is the file viewed in Notepad++: The option to convert to ...
TeaViris's user avatar
-2 votes
1 answer
612 views

CMD/Python: Guess your .docx or .txt file's encoding

Ok, I want to find out, what kind of files I have, for encoding. I tried to read the file with encoding='UTF-8' and it failed, which indicates that the document is not utf8-encoded. Of course, I could ...
Just Me's user avatar
  • 846
0 votes
1 answer
404 views

Is it possible to convert one channel of a stereo MP3 file losslessly to a mono MP3 file?

I recorded a mono microphone with an MP3 recorder which can only record stereo formats. Now I want to reduce the file size by removing the silent channel. Is there a lossless way to do this? This ...
Frank Breitling's user avatar
1 vote
2 answers
907 views

Can view/read a pdf content but can't extract text

I downloaded a PDF file that I can view, print, modify ... but can't do a simple text copy. From a brief search I could not find how this was achieved. I have tried with macOS preview app and chrome'...
enzo's user avatar
  • 135
0 votes
0 answers
290 views

How to re-encode audio of a video file - not touching video stream - ffmpeg

I have a video file but unfortunately the davinci resolve is not able to read audio I want to re-encode audio I think aac 192 or mp3 192 would be sufficient How can I re-encode only audio by using ...
Furkan Gözükara's user avatar
-1 votes
3 answers
506 views

Why most files like jpeg or pdf don't use just ASCII characters for encoding?

Whenever we try to open a JPEG or PDF file with any text editor we find strange symbols other than ASCII. Isn't ASCII most efficient because of less space consumption by limited number of possible ...
Pranjal Kumar's user avatar
0 votes
1 answer
106 views

What are the constraints for lacking encoder support in FFmpeg?

According to the documentation, there are several video and audio codecs with missing encoder support. Is this typically because: A) The encoder is copyright protected. B) The encoder implementation ...
Skretzo's user avatar
  • 11

1
2 3 4 5
16