Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
62 views

TXT files: how to switch from weird characters back to normal?

So, I have on a flash drive a txt file generated in Cyrillic (my own work, own pen drive), a few years old. Now I needed to open it, only to see this kind of mess. I wonder why is this happening and ...
-1
votes
1answer
82 views

Broken encoding in PowerShell in Windows 10

I'm a .NET Developer and now I have to work with PowerShell, the problem is that my PowerShell seems completely broken. First of all, if use copy paste, it works with some commands but some don't ...
0
votes
2answers
33 views

Converting a 2 channel stereo g729 file to individual single channel pcm encoded file

Whenever I try to convert a G729 encoded two channel file into mono channel pcm encoded wav files I get the following error Input #0, wav, from 'g729stereo.wav': Duration: 00:00:07.07, bitrate: 16 ...
0
votes
2answers
32 views

What is causing these two apparently identical files to have different hashes?

I am unable to figure out why the following two files are yielding different hashes (SHA1, CRC32, SHA384, whatever): https://cdn.jsdelivr.net/npm/jsonify-error@1.2.1/dist/jsonify-error.js https://...
1
vote
1answer
50 views

Encode video with ffmpeg using CUDA without NVENC

There's quite a bit of info about using hardware encoder built in Kepler-based and newer NVidia cards to encode video. As far as I understood all of them just pass the encoding to hardware encoder, ...
0
votes
0answers
19 views

Strange colors when trying to encode 4k with VP9

I'm trying to encode 4k yuv video with webmproject VP9 I m using Linux Kubuntu 18.04 my command : ./vpxenc --codec=vp9 --profile=0 --fps=50000/1001 --static-thresh=0 --drop-frame=0 --good --auto-...
1
vote
1answer
69 views

How can I trim a fraction of a second off of the beginning of an already encoded MP3 file without transcoding the MP3 again?

I am using macOS 10.3.6 (High Sierra) and while ago I had a 4 CD box set of some music, ripped the tracks to MP3 and simply stored the files on my system. I had to manually tag and add metadata to ...
0
votes
0answers
16 views

Encoding Google's recommended settings with ffmpeg [duplicate]

I just read the Recommended upload encoding settings article from the official Google support. I think those are the best settings for encoding my YouTube videos. Can you help me find out how to ...
0
votes
0answers
20 views

I cant encode with HEVC reference software

I'm trying to encode yuv video (1080p , Bit depth:8 bit ,Frame Rate: 120 fps (progressive) ) im using HM-16.18+SCM-8.7 , this is my code in f.cfg file : InputFile : ...
0
votes
0answers
184 views

FFmpeg scene detection and scenecut

This is a follow-up question from my previous question posted HERE. So basically using FFmpeg, I'm trying to detect scenes after choosing a good scenecut threshold, and grab a single representative ...
0
votes
2answers
186 views

Use FFmpeg to split video into multiple scenes

I am trying to use FFmpeg for splitting a video into multiple supposedly single-scene sub-videos using the scenecut feature and threshold. I found the following command on SE: ffmpeg -i myVideo.mp4 -...
0
votes
0answers
41 views

What encoding is needed to read this HTML file containing Spanish characters?

I downloaded this HTML file from archive.org, which is a digitilised book, written in Spanish. As such, it has plenty of accents and other unique symbols (e.g. ñ). Now, when I open the html file in a ...
0
votes
0answers
59 views

how to prevent creating of menu/chapter?

I'm using this simple command for re-encoding my audio tracks ffmpeg.exe -i "SOURCE.mp4" -acodec pcm_f32le -f wav - | neroAacEnc.exe -ignorelength -q 1 -cbr 80000 -lc -if - -of "out.aac" and I ...
0
votes
0answers
32 views

FFmpeg losslessly deconstruct video then losslessly re-encode

I need to dump all the frames losslessly from a h.265 mkv video, along with the audio track in FLAC 24bit (initially it was encoded from the source in FLAC 24bit). I then need to edit some frames and ...
0
votes
1answer
33 views

How to write Latin special symbol to CMD?

How to write this "Ƭ"(It looks like normal T but it isn't normal T!) symbol to CMD. It automatically changes to "?" I tried changed Encoding with chcp but still changes to "?" To clarify for the OP, ...
0
votes
0answers
186 views

Hidden messages in the pcap file

I tried various ways of decoding or analyzing data using wirehark and tshark with cli, also suggested that the pcap data was intentionally damaged by someone and I used pcapfix to fix the sectors of ...
0
votes
1answer
46 views

Trying to encode multiple audio files and map them to specific channels with FFmpeg

I have a video file(V1) and two stereo audio files(A1 & A2). I'm trying to output a movie with the video content and duration from V1, and I want to set A1's audio to the left channel and A2's ...
1
vote
0answers
46 views

FFMPEG Getting Error During Segmenting MP4 Video

I am getting below error while I am breaking an MP4 video into small segments, using below command. ffmpeg -i F:\video_data_set\non-profit-in-funnel-scripts.mp4 -f segment -segment_time 5 -...
0
votes
1answer
154 views

YouTube url can't be converted to base64 again

When I tried to encode YouTube url again to base64, the value after = didn't changed except first two letters. Is that already in base64? Url Converted: http://www.youtube.com/watch?v=CvUN8qg9lsk ...
0
votes
1answer
170 views

ffmpeg encoding to convert video to PNGs, with subtitles

Suppose I have a video format like this: Metadata: CREATION_TIME : 2017-08-04T21:29:42Z ENCODER : Lavf57.7.2 Duration: 00:24:45.83, start: 0.000000, bitrate: 1130 kb/s Chapter ...
1
vote
1answer
128 views

Splitting, re-encoding and joining video files results in clicking audio

We want to encode large video files faster. To make encoding faster we are using multiple encoding servers. Below is our process of encoding flow First we split the video into small segments using ...
0
votes
0answers
17 views

Automatically merge combining characters into base characters in filenames? [duplicate]

I'm using ext4 file system under Linux. Some UTF-8 characters are combining characters which are used to modify other characters and sometimes they can actually be merged into the base character. ...
0
votes
0answers
142 views

How to output videos over 1920 pixels wide in Handbrake?

I have rendered a raw AVI from a 3D software that is in the cinemascope 2048 x 858 pixels resolution. Handbrake CAN output that size in the end result using anamorphic distortion, but if I turn ...
0
votes
1answer
297 views

Lightweight codec for streaming 1080p 60 FPS in real time

Specifying Problem I want to stream my desktop to another computer over 1Gbps Ethernet with following requirements: Resolution: 1920 x 1080 FPS: 60 Input Data: raw 24bit true color (3Gbps) Max ...
0
votes
0answers
205 views

FFmpeg darkening video

I'm trying to switch my encoding setup from Mac to Windows. As part of that, I'm trying to get FFmpeg working as my ProRes encoder. I'm converting from 10-bit uncompressed to ProRes 422 HQ. When I ...
0
votes
0answers
43 views

Cut/paste source code of a picture makes the picture corrupt

I have tried the following only in windows 10, I'm using the default apps. If I open a movie file in a text editor, I cut some of it, place it some other place, then paste it back in, the movie would ...
2
votes
1answer
134 views

Find NFD-encoded filenames

I have rsync'd a directory from a Mac to a linux box containing files and folders with special characters (umlauts). Unfortunately, the Mac uses NFD encoding (thanks, Apple!) which rsync didn't ...
0
votes
0answers
25 views

How to list all files of a specific encoding?

On Windows, I would like to list all files included in a folder (and all its subfolders), which are of a specific encoding (once for UTF-8 and once for ISO-8859-1/latin1). Is it possible to do so ...
0
votes
1answer
25 views

Symbols are lost after conversion from UTF-8 to ISO8859-1 and back to UTF-8

I have a file with properties in French. I would like to convert it to ISO8859-1. But after conversion, some symbols are lost. What is wrong? > cat fr.properties VAR2="élément n’a" > cat fr....
0
votes
0answers
26 views

Carriage-return Line-feed

I'm working on a Unix based machine and I ran into problems matching multiple lines of texts. I searched and found a question on Stackoverflow. I wanted to see the EOL characters on my file and copied ...
1
vote
0answers
22 views

Open & save files with specific extension always with encoding OEM 850?

How can I force Notepad++ to always open and save my *.cmd files with encoding OEM 850? I'm using a german Windows and I like to use vowels in my batch file explanations. To see them correctly, I ...
1
vote
0answers
856 views

Why does Windows DIR command produce ??? characters instead of Russian alphabet?

On a Windows 10 box, via command line, I run this command: C:\Users\idiot\Music>dir /a:d /s /b >> tom-music-2016-july.txt The purpose is to list all directories. But I notice that directories with ...
1
vote
1answer
570 views

How to fix weird characters in Persian subtitles?

Sometimes when I add subtitles on movies, it displays some weird characters instead of Persian words.After a few searches I found a software named "per sub fix" and its very good and solve some of my ...
4
votes
2answers
2k views

Character sequence “�” being inserted into messages by Outlook 2007

Email messages between my wife and I have recently started being corrupted by the insertion of the character sequence "�" into messages. This appears to be an encoding issue. This question on SO ...
0
votes
0answers
433 views

How to get Excel to interpret an UTF-8 file with custom field separator correctly?

I'm maintaining a legacy PHP tool which outputs csv files with custom delimiters. This was fine before, because the files were only read by programs. But now that someone tries to open them with ...
0
votes
1answer
199 views

ffmpeg encoding options to maximise Windows 7 compatibility?

I'd like to encode a few short (e.g. 30 seconds-ish) video clips with a goal of maximising their out-of-the-box compatibility with Windows 7. Specifically, what ffmpeg encoding parameters should I ...
0
votes
0answers
99 views

how to configure encoding when accessing via telnet from Debian client to Windows

When I telnet to my windows via a Debian telnet client, some trange unicode characters are displayed when I try to delete or entrer ctrl+C ... as you can see to solve this I already tried all the ...
0
votes
0answers
60 views

Use paths with accented characters in .command file on Mac

I have a .command file on Mac where I need to run a command which contains two file paths, and both file paths contain a Swedish accented character (ä). Here is the command I need to run: hdiutil ...
0
votes
1answer
808 views

How to get CRF info of a video file?

I found this answer at StackOverflow ffprobe -show_streams -i "file.mp4" but as you can confirm in the comments it doesn't show the CRF value With which tool I can get some information like GOP ...
0
votes
0answers
855 views

FFmpeg encoding only works when I specify input format (-f h264)

I've got a video from NVR in .avi container. I'm trying to re-encode it using libx264, but it only works if I specify input format to be h264. Here is the output of both calls. Without -f h264: ...
0
votes
1answer
1k views

ffmpeg inject timecode AND framerate

I'm trying to inject a start timecode to a video, while also forcing a framerate of 29.97, but no matter what framerate I enter (no matter where in the script, via -r 29.97), ffmpeg forces the ...
0
votes
1answer
889 views

FFMPEG HLS - Create playlist only or predict segment times before encoding

I'm using ffmpeg to create a video transcoding on demand system that serves the media through the HLS format. Right now I can transcode the video and serve them as they are encoded, but I can't use ...
5
votes
1answer
1k views

OpenSSL bad decrypt between 0.9.8o and 1.1.0f

I use OpenSSL to encode clear text and decode it on several remote servers. Whilte I was testing my scripts to ensure Debian 9 Stretch compatibility and found an error. Here is the way I test: Debian ...
0
votes
0answers
27 views

Extract video from sony handycame with perfect quality

I've got an old sony handycame that record into tapes. When i try to display the videos in my samsung tv using RCA cables, the video is full screen and with a really good quality. I wanted to ...
0
votes
1answer
531 views

Git confused by file encoding?

I have some sql query file that were created in MS SQL Server Management Studio that when it's opened in VIsual Studio Code, Git thinks everything changed because of what seems to be an encoding ...
1
vote
1answer
315 views

How to fix encoding - curly apostrophe appears as ‰Ûª

I have a text-file in which all the ASCII characters appear correctly but some others do not. In particular there is this word: don‰Ûªt In hex the bytes are 64 6f 6e 89 db aa 74. Obviously, it is ...
0
votes
2answers
73 views

Write/Read speed HDD/SDD

Let's say I have some video files > 1 GB which I want to encode. My laptop has a SSD and a HDD. My question is what would be better/faster for encoding: Read the video files from the SSD and write ...
0
votes
1answer
158 views

ffmpeg mxf file setdar to 16/9 but keep audio and video same without encoding

I have numerous 50Mbps IMX50 wrapped MXF videos. Media info/media tab read the aspect ratio as 4:3. I'd like to change that to 16:9. Ideally I would not re-encode all the content because I have ...
0
votes
0answers
146 views

Why does a conversion from image frames to a lossless video file increase the file size?

If you convert 100 PNG images to a 10 second uncompressed lossless video (codec: 24 bits RGB, RV24) with 10 fps, the video file will have a significantly larger size than all the images combined. The ...
1
vote
0answers
2k views

Saving a CSV in Excel in UTF-8 encoding

I make a .csv file in Notepad++ with one character: á I clicked "Encode in UTF-8" and saved the file as test.csv. Then I opened up the file in Excel and saw the output: á The UTF-8 code ...