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

ffmpeg hardware transcoding advice [closed]

Use case.. mpeg2.ts files recorded by plex server from over the air antenna. Files are often larger than I desire. I have been using ffmpeg to hardware transcode them to mp4. I have spent many hours ...
user avatar
1 vote
1 answer
29 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
16 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
24 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
26 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
21 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
44 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
49 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
  • 660
0 votes
0 answers
96 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
52 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
27 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
35 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
107 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
69 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
16 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
1 vote
1 answer
34 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
88 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
26 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
128 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
96 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
95 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
134 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
528 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
  • 868
1 vote
1 answer
49 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
56 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
67 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
196 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
39 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
33 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
24 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
105 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
153 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
66 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
0 answers
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
3k 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
407 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,730
1 vote
1 answer
324 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
329 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
16 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
92 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
555 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
0 votes
0 answers
19 views

Change encoding in OpenOffice Writer

I have a .doc file that was created with Word 97 and it's text is mostly in Greek. I am trying to open it with OpenOffice Writer. In Word 97 the document is fine but when I open it with OpenOffice the ...
user avatar
  • 311
0 votes
1 answer
43 views

Some audio tracks become vorbis after encoding with ffmpeg

I encode a file with several audio tracks. Some of them must be copied (already AC3), some of them must be encoded (DTS to AC3). But tracks 0:a:8 and 0:a:9 become "vorbis" (5.1 and 2.0 ...
user avatar
1 vote
0 answers
19 views

How to fix accentuation encoding with cmd.exe running inside bash?

I installed https://www.msys2.org/ and setup an ssh server for it. With this I can connect to my machine and work remotely. The problem is that some application as Visual Studio tools or windows ...
user avatar
  • 318
0 votes
0 answers
22 views

Available video encoders on Lenovo L580

I have a Lenovo ThinkPad L580 and want to transcode many DVD rips using a tool called other_video_transcoding by Don Melton. This tool allows many different video encoders, and now I am struggling how ...
user avatar
  • 1,214
0 votes
1 answer
34 views

List directory contents on Windows in hex or other form that shows the non-ASCII chars in detail

I need to determine the unicode normalization used for specific on-disk file names in Windows 10. Specifically, I need to see if a file name uses NFC or NFD form for non-ASCII latin characters such as ...
user avatar
0 votes
1 answer
52 views

How to fix Hebrew Mojibake in old files

I have a set of plain text files with a mix of hebrew and english. These files are from the late 90s to early 2000s and were apparently written in NisusWriter. When I open the text files the english ...
user avatar
  • 1

1
2 3 4 5
15