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
0 votes
0 answers
21 views

How to make VSCode use declared encoding within XML files?

Context XML files very likely declare their used character encoding, which is not properly taken into account by VScode compared to other editors. While in the past there was very limited automatic ...
user avatar
0 votes
1 answer
25 views

Constrained CRF vs ABR with VBV-constrained bitrate for VoD

In this post slhck mentions that for VoD (not to be confused with live streaming) one should use one of the two methods for compression: Capped CRF ABR with VBV-constrained bitrate I feel pretty ...
user avatar
  • 1,158
0 votes
0 answers
25 views

Why FFmpeg not support multiple color palette when encoding apng?

When I encode png sequences to apng animation using FFmpeg, the result is good but the file size is too large. If I compress the images using pngquant and then run FFmpeg, it throw out en error : ...
user avatar
0 votes
0 answers
49 views

Force ffmpeg to produce constant frame rate

Why does ffmpeg produce variable frame rate output? I have an input file, that when I run it through MediaInfo it tells me it's a constant frame rate video: Video ID ...
user avatar
  • 101
0 votes
0 answers
29 views

FFmpeg encoding error

I have a problem with FFmpeg encoding. It can write for an hour or two hours or 5 minutes, and then he gives out error: [h264_qsv @ 000001a47094f340] Error during encoding: failed to allocate memory (-...
user avatar
0 votes
0 answers
117 views

Premiere Pro Hardware vs Software Encoding - Quality results

While exporting a Video in Adobe Premiere Pro, there is the option to export a Video with Software or Hardware Accelerated encoder. After i searched a bit about this topic i found that it is pretty ...
user avatar
  • 175
0 votes
0 answers
60 views

Ffmpeg GPU encoding not speeding up processing

ffmpeg -framerate 29.97 -hwaccel cuda -start_number 200000 -i %06d.tif -c:v libx264 -preset veryslow -tune film -profile:v high -pix_fmt yuv420p -level 4.1 -crf 17 -r 29.97 -threads 2 -frames:v 5000 ...
user avatar
1 vote
1 answer
94 views

FFmpeg won't encode at Main10@L5.1

I've been messing around with Topaz's Video AI enhancer, and I've been trying to encode the png files the AI outputs via FFMpeg. It works fine so far, aside from that the exports I'm getting are ...
user avatar
0 votes
0 answers
23 views

FFmpeg: Trying to convert .smi to .srt but getting a decoding error

I'm using FFmpeg inside a Python script: for filename in os.listdir(): if (filename.endswith(".smi")): #or .avi, .mpeg, whatever. name_only = re.sub(r'(.*).smi', r'\1', filename) ...
user avatar
1 vote
0 answers
33 views

Cannot start livestream on youtube even though ffmpeg seems to work?

I am a novice on ffpmeg and trying to go for a livestream youtube radio via azuracast. I have created an instance on oracle cloud and installed azuracast there. I can listen to the songs I uploaded in ...
user avatar
0 votes
1 answer
41 views

How to convert this file into PNG

I have a file with no extension (as far as I can tell) that consists of special symbols. (File: https://drive.google.com/file/d/1h9MuUDfDtGEneEzZMNKLKWwY7JjZlBTS/view?usp=sharing) Here're a couple of ...
user avatar
0 votes
1 answer
34 views

Question marks appear even when opening the file in correct encoded format

I have been looking around on StackOverflow and here in the hopes of finding out as to why certain characters turn into question marks. To be more precise: It is often letter such as é and ó etc. I ...
user avatar
0 votes
0 answers
72 views

Difference between Windows 10 'findstr' and 'Windows Search' regarding Unicode files

There seems to be a difference between two search tools in Windows 10. Specifically, the 'findstr' command can find text content encoded in UTF-8 and UTF-8 BOM, while 'Windows Search' can only find ...
user avatar
0 votes
2 answers
64 views

Trouble with perl and UTF-8

If I interpret documentation ci=orrectly, perl --CSD is suppose to ensure that input and output, processed or commands, are using UTF-8 encoding. But if I replace two hyphens -- with an em-dash — (U+...
user avatar
  • 673
0 votes
0 answers
153 views

FFmpeg: What are the h264_vaapi and hevc_vaapi encoders? How do they work? Do they just use the Video Coding Engine / Encoding ASIC on AMD GPUs?

The last part especially is what I'm wondering. How exactly does VAAPI work? Does it just use the the way that NVENC or h264_amf and hevc_amf works? Would it be possible to use the main GPU cores on ...
user avatar
0 votes
1 answer
95 views

FFProbe output timebase only

When running ffprobe, it displays a lot more data than I need. I've already included the -hide_banner flag and its helped clean it up, but more specifically I only need the tbn Is there a way to limit ...
user avatar
0 votes
0 answers
33 views

Encoding Problems with Dropbox, iA-Writer and Notepad++

I have .csv-data stored in my Dropbox, where I input my vocabulary for the Japanese language. The encoding is set to UTF-8. (No UTF-8 BOM or something different, just UTF-BOM.) I usually edit it on my ...
user avatar
  • 25
0 votes
0 answers
51 views

Open a file by VS Code with designating encoding via command line in cmd

Open a file by VS Code with designating encoding via command line in cmd I want to open a text file with a designated encoding in VS Code using a command from Windows Command Prompt. This lets VS Code ...
user avatar
  • 101
0 votes
0 answers
148 views

What is the suitable H/W compatibility for av-1 encoding

Some videos are transcoded, h264 on ARM machine, h265 on Intel Skylake and av-1 on Intel RocketLake. File savings are better with av1 at the same quality but still at a high computational cost. Avg ...
user avatar
  • 19
1 vote
0 answers
77 views

Outlook password encoding for email services (IMAP, SMTP)

I’m trying to make sense of how different mail clients log onto IMAP and SMTP services. There are the normal ones and then there is Outlook. Outlook seems to unconditionally encode passwords as Latin-...
user avatar
  • 195
1 vote
1 answer
26 views

How can I convert a DavkaWriter hebrew document to Word?

I have a DavkaWriter .doc file from 20 years ago. When it opens in Word it looks like this This text should be לא תרצח לא תנאף Does any one have any way of converting this? (I do not have access to a ...
user avatar
  • 365
0 votes
1 answer
44 views

Printf in gawk with the correct encoding?

I'm wondering: can gawk printf in any format besides ASCII? Currently, I'm using gawk match() to search through some UTF-8 text. When I go ahead and print out the matches gawk finds, it ends up like ...
user avatar
  • 1
1 vote
1 answer
36 views

Simplify scritps in ffmpeg

This is my first post, so apologie in advance. I normally use HandBrake to encode to 265 all my files, but the problem is not passthrough for subs, those change to ssa (from srt). This format is a ...
user avatar
0 votes
1 answer
158 views

FFMPEG x265 encoding wrong settings for some sources

I am trying to encode a file with this command line: ffmpeg -i "source.mp4" -c:v libx265 -preset slow -crf 23.8 -vf scale=1920:-1:flags=lanczos -x265-params ref=6:bframes=5:no-sao=1:no-...
user avatar
  • 3
1 vote
1 answer
30 views

Create Files with Different Character Encodings from Z-Shell

I'm trying to understand character encoding better. To experiment, I want to take a string of characters and encode in different ways. Does zsh prompt have a way to create files that use specific ...
user avatar
  • 125
0 votes
0 answers
29 views

is there a way to copy files (to avoid re encoding) while using ffmpegs filter_complex?

so I am creating a command to cut videos, I have tried several different commands. Whenever using any command that copies instead of re-encoding, (ex: -i input.mp4 -ss 00:00 -to 00:10 -c:v copy -c:a ...
user avatar
1 vote
0 answers
188 views

Excel 2019 default encoding for csv files

Problem I'm using Excel 2019 and I have this .csv file(Multiple language) which is in UTF-8 encoding and when I try to open the file, Excel opens it in ASCII encoding — the english characters and ...
user avatar
0 votes
0 answers
162 views

FFMPEG Hardware Accelerated NVIDIA Video Encoding

I need to decode a video, analyze frames and encode it back. I am able to do it using FFMPEG C++ without GPU. However, I am having problems with doing it on NVIDIA GPU. So far, I am able to decode the ...
user avatar
  • 1
0 votes
1 answer
120 views

Why are software and hardware encoding not called CPU and GPU encoding instead? [closed]

Software encoding uses CPU and hardware encoding uses GPU, so why not call them CPU and GPU encoding instead? Software encoding sounds inaccurate because the software needs to run on some hardware. ...
user avatar
0 votes
0 answers
148 views

ffmpeg reads wrong timecode

I use ffmpeg to generate proxy files but for some reason the timecode is wrong. When i open the original file in DaVinci Resolve it always shows double the timecode that ffmpeg (ffprobe) reads. e.g. ...
user avatar
2 votes
1 answer
732 views

How to encode to HEVC using ffmpeg with VAAPI in order to get good video quality? (at reasonable bitrates)

I want to encode many of my H264 videos to H265 video with reduced resolution (480p or something in this case, at most 720p) so they don't take too much space on the disk. I've been trying to use ...
user avatar
  • 41
0 votes
0 answers
29 views

Which code page encodes ü as d0 91?

I have a zip file with garbled file names after unzipping (with unzip thefile.zip, the -U or -UU switches don't help) on my linux box. If I use 7z x thefile.zip the umlauts are skipped (missing in the ...
user avatar
  • 878
1 vote
1 answer
61 views

Can Intel QuickSync video create interleaved H.264 video with ffmpeg?

In ffmpeg, rather than using libx264 I'd like to use the Intel QuickSync accelerated encoder to encode to H.264 interlaced video. I can't find any documentation which says if the quicksync encoder ...
user avatar
  • 171
2 votes
1 answer
58 views

Is it possible to conditionally enable or disable filters/streams with user input?

I have a Bash script that runs FFmpeg on a given video file and - along with lots of other things - adds a PNG watermark to it using an overlay. I'd like to be able to only apply the watermark on some ...
user avatar
  • 10.3k
0 votes
4 answers
82 views

Can TXT files in Windows hold the same exact text but be of different sizes because one was created a long time before?

I divided one big txt ~500 KB file into 6 files (5 additional) by cut and paste, the new files' total size is much smaller than the original file. Can this be because of new encoding ways in Windows ...
user avatar
0 votes
1 answer
278 views

Reduce video frame rate from 60 to 30 fps without re-encoding and keeping original duration

I have a video with these specifications: 4320x2160p 60 fps 20.0 Mb/s bitrate AVC format (x264) Since my smartphone can play videos up to 30 fps at that resolution, I need a fast way to reduce the ...
user avatar
0 votes
0 answers
42 views

Can't type accented characters in linux terminal

When in the terminal emulator(doesn't mind which one but currently using kitty) I can't type accented characters. I can copy them from other sources(like firefox or a document) but I can't type them ...
user avatar
1 vote
0 answers
34 views

Weird encoding in image files after copy to another drive

After copying some image files to a new drive (including jpg, psd and tif), none of them can be opened anymore. Checking the code, I see there's weird encoding, something like this: The same goes for ...
user avatar
0 votes
0 answers
28 views

how can I set alpine folders to utf-8, not ascii?

I typed the following into a new message and then hit ctrl-o to postpone. From inside alpine, the message looks like this: test superuser este sábado estaría bien When I export the postponed message ...
user avatar
1 vote
0 answers
145 views

Executable not recognized in PowerShell. Possible issue with accented characters in path?

I am trying to customize my PowerShell prompt in Windows Terminal using Oh My Posh. I am following the docs but can't understand what I am missing. As instructed by the Oh My Posh docs, after the ...
user avatar
0 votes
0 answers
193 views

SHIFT JIS encoding is missing in Microsoft Excel 2016 (MAC OS)

In Microsoft Excel 2016, if someone wishes to open or save a CSV file with SHIFT JIS encoding, the way to go would be: Create a blank CSV file. GO to Data tab. From there, select "From Text"...
user avatar
0 votes
1 answer
71 views

Can I encode a PNG image losslessly to another format and decode it back into an identical file?

I am archiving roughly 150gb of PNG assets. In an effort to increase the compression ratio of the images, I am trying out FLIF (Free Lossless Image Format). This provides an excellent compression ...
user avatar
  • 139
1 vote
1 answer
2k views

Can't convert with FFMPEG using NVENC "10 bit encode not supported"

I'm setting up Sickbeard MP4 Automator (calling it Automator now) to process video files after I receive them. Currently what I want it to do is to turn every file into x264 with NVENC acceleration, ...
user avatar
1 vote
0 answers
4k views

What is the difference between Lavf58.29.100 and Lavc58.134.100 eac3 encoding using H265 in ffmpeg?

What is the difference between Lavf58.29.100 and Lavc58.134.100 eac3 encoding using H265 in ffmpeg? I created a mkv file using ffmpeg and handbrake software but both using different encoding, ...
user avatar
  • 111
0 votes
1 answer
534 views

Range of "global_quality" value for h264_qsv encoder?

What is the range of the -global_quality setting for ffmpeg's h264_qsv encoder (4.3.2-2021-02-27-full_build-www.gyan.dev, Windows)? Ffmpeg's documentation for the encoder (archive) states: The ...
user avatar
  • 9,800
1 vote
1 answer
371 views

Encode video to lower file size with ffmpeg

I have this script which I am working on to encode a video into smaller file size: echo off set arg1=%1 set _filename=%~n1 set _extension=%~x1 shift ffmpeg -i %arg1% -c:v h264_amf -crf 18 -preset slow ...
user avatar
0 votes
0 answers
381 views

Fix video file with incorrect duration

I have a web service that operates on uploaded videos, concatenating them (with ffmpeg's xfade filter). Some of the uploaded videos have a strange video stream, with what appears to be 1 frame (and ...
user avatar
1 vote
0 answers
18 views

Change the default encoding in the Windows search dialog

In Windows 10, I have a directory of sql files. The file command (from mingw i believe) outputs such: Little-endian UTF-16 Unicode text, with CRLF, LF line terminators Because of the encoding, i don'...
user avatar
  • 111
0 votes
1 answer
93 views

Significance of characters used in lame's mp3 encoding histogram

When lame.exe is encoding a .wav file to an .mp3 file in VBR mode, it maintains a character mode histogram showing the relative usage of the various bitrate packets. Study of documentation here and ...
user avatar
  • 351
1 vote
1 answer
622 views

FFmpeg errors "encoding frame failed" and "Can't encode audio frame" when attempting to export from Audacity

Attempting to use Audacity to export any type of audio file that is dependent on FFmpeg (AAC, Opus, etc.) fails with two successive dialog boxes: FFmpeg: ERROR - encoding frame failed FFmpeg: ERROR -...
user avatar
  • 11

1
2 3 4 5
15