Questions tagged [decoding]

Decoding is the reverse of encoding.

Decoding is the reverse of , which is the process of transforming information from one format into another understandable by a receiver. In communication theory and coding theory, decoding is the process of translating received messages into codewords of a given code. Like encoding, decoding applies to information of various forms:

1741 questions
0
votes
1 answer

Decode an encoded javascript, edit and then encode again

I found an encoded javascript inside my template. I decoded it using a online decoder. I edited the then-newly decoded javascript. How can I encode this edited javascript again and use inside my teplate? Here's code: var…
Nazmul Ahasan
  • 11
  • 1
  • 6
0
votes
0 answers

android - encoding .mp4 video to base64 and decoding from base64 to .mp4

I am developing an application that I have to capture videos using custom camera and saving the video as .mp4 video I am encoding it using these methods private String encodeVideoTobase64(Uri uri , int index) { String videodata = ""; …
Nayra Ahmed
  • 657
  • 1
  • 9
  • 29
0
votes
2 answers

python web crawler with ascii decoding

I'm writing a web crawler of Wikipedia with Python. I extract the language information of the pages,which contain mulitple characters of language such as Chinese,Japanese When I got the strings I want and print them out, they are coded in ascii. so…
JTT
  • 109
  • 4
  • 14
0
votes
1 answer

Decoding gallery of images in separate thread in android

Guys my program takes really long to open my gallery activity. I have gone through my code and I think I have found whats making the the activity slow down. I think its the part where the image gets decoded. It slows down when there are many images…
Devenom
  • 915
  • 1
  • 9
  • 20
0
votes
1 answer

Issue: Decoding a file on linux machine from command line

I have some French codepoints that i would like to decode to utf-8 on a Linux System. The content of my file is (little example): Lemari%C3%A9%20 Which decoded should be: Lemarié I read that iconv is a great tool for achieving this but i dont know…
JBoy
  • 5,398
  • 13
  • 61
  • 101
0
votes
1 answer

Media Extractor: Decoder gives wrong Width on Android 4.2

I'm writing a plugin for Unity that decodes and takes the frames from a video file using the Media Extractor and re-encodes to a new video file. However the frames are being decoded into an array of the wrong size (on android 4.2.2) because the…
0
votes
0 answers

Custom htmlspecialchars(), not encode the encoded php

all this functions like htmlspecialchars(), htmlentities(), html_entities_decode(), urldecode() e.t.c it's like a mess. So, i decided to build my own function that will do exactly what i need it to do, by combining functionalities of each. The…
ioaniatr
  • 277
  • 4
  • 15
0
votes
1 answer

recursive method for finding all decodings of a string of numbers

i am trying to find all possible decoding of a string of numbers, for example the following Input: {1, 2, 1} Output: ("aba", "au", "la") [3 interpretations: aba(1,2,1), au(1,21), la(12,1)] My program pints "aba" then gives me the following…
user3137376
  • 1,527
  • 2
  • 19
  • 29
0
votes
0 answers

JAVA TCP ASCII decoding error

I have a VB.NET application that sends through TCP an ASCII string to a JAVA application running on CentOS server and it works ok unless the VB.NET application sends an string containig spaces. In example if I send this arg0=!X0079 09999 00000 00000…
E_Blue
  • 1,021
  • 1
  • 20
  • 45
0
votes
1 answer

How to convert hex text file to jpeg

I have been given a text file containing hex data which I know forms a jpeg image. Below is an example of the format: FF D8 FF E0 00 10 4A 46 49 46 00 01 02 00 00 64 00 64 00 00 FF E1 00 B8 45 78 69 00 00 4D This is only a snippet but you get the…
Bottleposh
  • 13
  • 2
0
votes
3 answers

Decoding hexadecimal xor encryption

So i read that in order to decrypt …
Lanhasts
  • 3
  • 1
  • 3
0
votes
1 answer

Losses of first buffered data of mp3 decoding using MediaCodec in android-NDK 10 version

I use MediaCodec and MediaExtractor classes from android NDK for decoding mp3 files. For comparison input file(mp3) and outputfile(wav - it`s my decoded format) i look at tracks duration and i exactly see difference of duration 50 milliseconds. I…
0
votes
1 answer

Asymmetric encryption with multiple decryption results

Edit I am trying to develop a password managing tool for companies. My idea is that the passwords in some kind of database are encrypted with a master password which only the admin has. Per department in a company there should be an own password,…
0
votes
1 answer

Passing HTML through ajax and back to display it

I have this sample HTML, that needs to be passed through ajax to a server side function, replace some variables and then passed back to be displayed AS HTML. But it gets encoded, and html sanitised so many times I get confused! The html is being…
czioutas
  • 1,032
  • 2
  • 11
  • 37
0
votes
1 answer

How to encode packet information by XOR in matlab

I am working in channel coding part. My major is encoding with bit information. For example, given a input bit is x=[1 0 1] and G matrix is G = 1 0 0 1 0 0 1 0 1 1 0 1 then encoding symbol will…
user3051460
  • 1,455
  • 22
  • 58