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
2 votes
1 answer
2k 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 -...
DeltaT's user avatar
  • 21
0 votes
0 answers
153 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 ...
Phineas's user avatar
  • 501
0 votes
1 answer
207 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 ...
Malefic Max's user avatar
1 vote
0 answers
85 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's user avatar
  • 438
0 votes
0 answers
31 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 ...
DarkDiamond's user avatar
  • 1,889
0 votes
1 answer
231 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 ...
SuperTempel's user avatar
0 votes
1 answer
238 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 ...
Ezra A's user avatar
  • 1
0 votes
1 answer
689 views

Replace section of audio in a video with FFmpeg

I have a Recording A (video and audio) with a length of about 42 minutes. I also have a separate Audio Stream B of the same event, which is identical to the audio in the video except it's a) much ...
Hashim Aziz's user avatar
  • 12.7k
3 votes
0 answers
105 views

Is it possible to encode a video with a solid color background using h.265 so that the background color remains stable?

I'm trying to incorporate a video into a web page, where the video has a solid color background that matches the background color of the page, as well as a small animated character moving around ...
Bri Bri's user avatar
  • 846
-1 votes
1 answer
4k views

How to convert multiple files encoded in UTF-8-BOM to ANSI?

I'm trying to convert multiple files that are encoded in UTF-8-BOM back to ANSI. I found out that with Powershell using this command: PS> get-item c:\temp\utf8\*.* | foreach-object {get-content -...
zick's user avatar
  • 1
2 votes
1 answer
8k views

What kind of encoding is this (sha256 variant)?

I have some config files from the program ELOG where I want to change the password manually, using something like echo -n "newpassword" | sha256sum but the value is not the expected hexa. ...
dargaud's user avatar
  • 220
0 votes
1 answer
736 views

Why does copying text between Notepad++ files create files with different bytes?

I've created a simple pdf [hi.pdf] with the word hi and when I open it in Notepad++, its encoding is ANSI, which I assume is Notepad++'s best guess, with it opening successfully when I Save as ...
David Klempfner's user avatar
1 vote
1 answer
2k views

AVC Hardware encoding when using Remote Desktop Store App

I have been researching how to enable hardware encoding on my work laptop so that my remote desktop experience is a little better. Anyway, I did some research on this and I was able to (sort of) get ...
tHeSiD's user avatar
  • 347
0 votes
0 answers
93 views

Not seeing much an improvement to x265 encoding after libmfx rebuild for ffmpeg

OK I guess I am just asking if this is normal or not. I have rebuilt my ffmpeg to use the libmfx/HDi driver. I have seen a significant improvement in the x264 encoding, around 4.5 time faster from my ...
Netspud2K's user avatar
  • 144
2 votes
0 answers
878 views

Maximum possible bitrate for HEVC videos with hardware encoding in Premiere Pro

I am trying to export a series of images as a 4K HEVC video (it is a long series) and I am using Premier Pro 2020 to do it. I found I can switch to High tier and this allows me to go over 25Mbit ...
miran80's user avatar
  • 237
0 votes
0 answers
60 views

How to ignore transparency when using ffmpeg with PNG files? [duplicate]

Every topic I find shows how to keep the transparency but I want to remove it without having to change the image format. Camtasia is crashing when I import the ffmpeg encoded MP4 file using the PNG ...
Joan Venge's user avatar
  • 1,494
5 votes
3 answers
15k views

How to convert videos to AV1 lossless using FFmpeg?

I have a set of AVI videos (lossless video streams; no audio) and my goal is to convert them to AV1 lossless using FFmpeg. FFmpeg (with librav1e, libaom-av1 and libsvtav1 included) runs fine on my ...
Petr Diblík's user avatar
0 votes
0 answers
783 views

What is this for a file name encoding and how to fix it?

On my Linux machine I found old files (at least from 2004 if not older), so possibly Win9x days. Maybe they came over some old FAT drive on my disk or some old Samba share. Umlaute are very weirdly ...
divB's user avatar
  • 587
2 votes
1 answer
399 views

How to get a file list as utf8 encoded string into gnuplot?

I need the file list of a directory as utf8 encoded string in gnuplot. In gnuplot you can make a system call via system(), which (to my limited understanding) just calls cmd.exe and will carry out the ...
theozh's user avatar
  • 155
2 votes
0 answers
105 views

Is there a way to reduce the size of a video file to a specific size?

I'm trying to get a video file to be a specific number of bytes. Basically, I will have a video X of duration/fps/compression ratio x, which I will want to change the size of to be the exact same size ...
Spencer Szeto's user avatar
2 votes
1 answer
2k views

Converting excel files to UTF-8 .TSV

Every week I have to convert 25 or more Excel files to UTF-8 .tsv files. As of now I'm doing it using Editplus application manually. I was searching Google and other sites where I'm getting UTF-8 ....
Linga's user avatar
  • 151
1 vote
1 answer
830 views

Why are ffmpeg processed videos per default multiple times smaller in file size than the input file?

I have a mp4 movie of 1:15min length, made with the Sony Alpha 6400 4k camera. It has a size of 528MB. I want to cut it using ffmpeg. Although I only cut a few seconds, the new video was much smaller. ...
Lion's user avatar
  • 885
0 votes
0 answers
1k views

Kali linux Proxychains

When im trying to do this code "proxychains firefox duckduckgo.com" this pops up: proxychains firefox www.duckduckgo.com ProxyChains-3.1 (http://proxychains.sf.net) Error: no DISPLAY ...
Beanic's user avatar
  • 1
3 votes
0 answers
303 views

What do I have to do in CMD.EXE and/or PowerShell to specify a file (-o) with umlaut-characters when decrypting a file with gpg?

In cmd.exe and PowerShell, I am able to encrypt a file into a file whose filename contains umlaut-characters: gpg -c --batch --yes --passphrase "one two three" -o bärlauch.gpg data.txt ...
René Nyffenegger's user avatar
0 votes
0 answers
40 views

Efficiently encode videos which consist of audio and multiple images / frames at specific time stamps

As a follow up question to Efficiently encode videos which consist of audio and only one image / frame : I have a video that is only a few images and an audio track. It is very large and I would like ...
Make42's user avatar
  • 365
0 votes
2 answers
1k views

Which text file encoding should i use to be compatible between Windows and Linux?

If i want text file (in this case .srt subtitle file) or just plain text file with various characters including ěščřžýáíéůú (WINDOWS-1250) in general to be working well both on Windows and Linux, ...
16851556's user avatar
  • 542
0 votes
2 answers
726 views

Sound Blaster Z DDL/DTS setting not working

I've just bought and installed a Sound Blaster Z card and when i try to select DDL or DTS it says: "The task requires exclusive use of your audio device. please stop playback and try again." ...
joe's user avatar
  • 1
1 vote
2 answers
334 views

GPAC MP4Box fullrange flag

A few years ago I was trying to encode some GoPro videos with Handbrake to reduce their file size and store them. After a few attempts, I noticed that the colors on the encoded videos were looking a ...
Theo S's user avatar
  • 21
0 votes
0 answers
402 views

Iconv converts to utf-16 instead of utf-8

I have an ISO-8859 file that I need to convert to UTF-8: file * test.csv: ISO-8859 text, with very long lines, with CRLF line terminators Now I use the iconv.exe for windows like this: iconv.exe -f ...
Phate's user avatar
  • 231
5 votes
3 answers
10k views

How to change the encoding my SFTP server is using?

I have an Ubuntu server that is hosting some .png files using SFTP. When I try to access those files from my Windows laptop, using FileZilla, or WinSCP, the files are not transferred successfully if ...
John Stoneman's user avatar
0 votes
1 answer
340 views

How to change part of a MKV video with another MKV video without re-encode and without changing audio file in that primary MKV file

I have a lecture that I have recorded with using OBS studio and my microphone But I want to replace certain part of that video with another video without re-encoding or touching the audio The another ...
Furkan Gözükara's user avatar
0 votes
1 answer
4k views

Intel Quicksync vs Nvidia CUDA in ffmpeg - how big is the encoding quality difference?

I'm just asking this out of pure curiosity. I use FFMPEG a lot. Sometimes, I just opt to use the good old CPU encoding and decoding, because of how effectively it preserves the original video quality, ...
pigeonburger's user avatar
  • 2,388
2 votes
1 answer
4k views

How to let ffmpeg use back same bitrate when encode video?

I have an mp4 file encoded using mpeg4 with a size of 20MB When I checked the details of it, it said it has a 308k variable bitrate Then, when I encoded it into h264, ffmpeg converted it with a ...
Med Lexo's user avatar
  • 101
0 votes
1 answer
424 views

how can i add an additonal output to ffmpeg to also pull out a frame for an image after segmenting

this is my command. i need to add something to the end to pull out a vframe every second or specified seconds and save to file. i've see how to do that on its own but not as a second output. i keep ...
Tom Liberte's user avatar
0 votes
1 answer
2k views

ffmpeg fade out beginning and end of video without re-encoding middle section?

I need to create a really long video from a looping clip but it needs to fade in at the beginning and fade out at the end. I'm taking the looping segment and using this command: ffmpeg -stream_loop ...
EllipticalInitial's user avatar
1 vote
1 answer
3k views

Encoding jpg with nvenc fails on Windows due to "Unknown decoder 'h264_nvenc'"

I'm trying to encode a thousand or so of pictures into a time lapse video. FFMPEG seems like the easiest solution, and i manage just fine with the command: C:\ffmpeg\bin\ffmpeg.exe -framerate 24 -i \\...
Cousken's user avatar
  • 11
0 votes
0 answers
287 views

Is there a way in ffmpeg to double up the frame rate without changing the runtime length of a video?

I have a video (B) that has 30 fps, and another video (A) that has 60 fps. I need to merge them at 60 fps but I don't want video B to be shorter. All videos are separate files, so I want to merge ...
Joan Venge's user avatar
  • 1,494
1 vote
0 answers
87 views

Batch - pushd, cd and more with hardcore special characters like: `´~`}][{^!§$%&()=+-~ possible?

Is something like cd c:\test\`\´\}\]\[\{\³\²\^\°\!\§\$\%\&\(\)\=\+\-\~\ possible at all? I also have a horrible foldername like: °!§$%&()=`´}][{³²^@€~#'_-.,; Honestly, this is very extreme ...
HeartOfGermany's user avatar
6 votes
1 answer
14k views

Getting weird errors in ffmpeg when seeking, "co located POCs unavailable", "mmco: unref short failure"

I've seen other people have the issue but I haven't seen a solution. If I try to seek with ffmpeg I get some errors and the resulting video freezes at a frame at the beginning before moving. Even if I ...
mikey_john's user avatar
0 votes
2 answers
2k views

Finding the encoding of a text file containing weird characters

I recently received a file, of Turkish origin, where the file has some English words which I can easily read, and some weird characters. I wonder if this file is encoded, encrypted or sth else. I ...
Sean Goudarzi's user avatar
1 vote
1 answer
205 views

Batch encoding MXF to Prores using wildcards on Windows 10

I have created a script to encode an .mxf file with two separate audio files into a Prores with two ember ed audio tracks, and it works fine. However, I would like to be able to batch encode using ...
goorawin's user avatar
0 votes
1 answer
2k views

utf8, utf8BOM, utf8NoBOM Powershell encoding

I have a couple of powershell automation scripts I wrote that sometimes require editing files used by linux OS family. I know that windows ends strings in files using the CR LF flags, while linux uses ...
Pizza's user avatar
  • 245
1 vote
1 answer
658 views

Is it possible to append to a video using ffmpeg?

I have a long video, and I want to append another short video at the end, sort of like credits, but I need to do this for many videos so I don't want to reencode them. Is it possible to just append ...
Joan Venge's user avatar
  • 1,494
3 votes
1 answer
925 views

Are 'peak frame rate' and 'variable frame rate' the same thing?

I can find the term 'peak frame rate' in some video editing software. Are 'peak frame rate' and 'variable frame rate' the same thing?
imida k's user avatar
  • 219
3 votes
2 answers
8k views

Change OutputEncoding and code page

I was having some trouble getting Unicode output with PowerShell, which I partially solved using this: [Console]::OutputEncoding = [Text.Encoding]::UTF8 However I noticed that this setting has an ...
Zombo's user avatar
  • 1
0 votes
1 answer
210 views

What numeric representational scheme is being used to represent the colors in this .ini file?

I am modifying an .ini settings file to change the colors of a Windows application. The existing colors are all represented by decimal integers, ranging from -16777201 to 536870911. Obviously, those ...
End Anti-Semitic Hate's user avatar
1 vote
0 answers
604 views

Decoding Thread-index/ConversationIndex email Header

I have been trying to decode Thread-Index or ConversationIndex, by following this link I have build conversation code... It works fine but problem is when finding differenceTime for childBlocks if ...
thinktoday's user avatar
0 votes
0 answers
29 views

How can I join/concatenate multiple Videos with different video formats / encoding using mencoder or ffmpeg using command line in linux? [duplicate]

How can I join/concatenate multiple Videos with different video formats / encoding using mencoder or ffmpeg using command line in linux? I have multiple videos in different fps (eg. 29 and 19) and ...
Estatistics's user avatar
0 votes
1 answer
513 views

Is it possible to recreate webms with a broken duration?

I've seen a few webms that have very unusual durations, even in the negatives. I've been trying to recreate it with ffmpeg, but I don't know enough of that program to make it work, if it would work at ...
labcraft59's user avatar
3 votes
0 answers
373 views

Does it require less electricity to hold a zero bit in RAM than a one bit? [closed]

Someone I know posited an idea that I instinctively think (know?) cannot be true, but I can't seem to figure out how to explain why not. The idea is based on the assumption that more electricity must ...
bubbleking's user avatar

1 2
3
4 5
16