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

Hex Encoding and Decoding

I have two modules in some 3rd party application(it does not have any documentation and I cannot reveal application name due to confidentiality). One module outputs only integers and other outputs only floating point numbers. The module that outputs…
Naveen Singh
  • 184
  • 1
  • 11
0
votes
0 answers

Different Uint8Array after conversion

I'm trying some stuff with the new WebCrypto API. The window.crypto.subtle.encrypt function outputs the encrypted text as ArrayBuffer - but later on I want to send this output to my server, so I need it as a string. But now I'm facing some crazy…
user7042647
0
votes
1 answer

Decoding Byte/Bits to Binary

I am using a Prologix GPIB-USB adaptor in a LISTEN only mode to decipher communication between two equipments (Semiconductor related namely Tester and Prober). I am able to decode most of the information as stated in the Manual , But unable to…
Ashesh Nair
  • 317
  • 5
  • 21
0
votes
0 answers

Memory Increase while Retriving data from database for loading image

I am working on application in which I store data of image into database like NSString *query = [NSString stringWithFormat:@"INSERT INTO Friends_user (f_id,f_name,f_image,f_mobile) VALUES('%ld','%@','%@','%@')",(long)id_,…
Jitendra Modi
  • 2,344
  • 12
  • 34
0
votes
0 answers

avcodec_decode_video2 fails to decode after frame resolution change

I'm using ffmpeg in Android project via JNI to decode real-time H264 video stream. On the Java side I'm only sending the the byte arrays into native module. Native code is running a loop and checking data buffers for new data to decode. Each data…
Krzysztof Kansy
  • 305
  • 2
  • 13
0
votes
1 answer

HTML entity decoding in Java: apostrophe

I have to decode, using Java, HTML strings which contain the following entities: "'" and "&apos". I'm using Apache Commons Lang, but it doesn't decode those two entities, so, I'm currently doing as follows, but I'm looking for the fastest way to…
cdarwin
  • 4,141
  • 9
  • 42
  • 66
0
votes
0 answers

Is it possible to use audio-feeder.js for live stream audio data?

I am having websocket that delivers the stream audio data. While I decode the audio data using AudioContext().decodeAudioData(), the required audio is playing with some gap in between them. So as mentioned in the…
Kumar
  • 108
  • 1
  • 12
0
votes
1 answer

Handling infinite value of PSNR when calculating PSNR value of video

I am trying to calculate PSNR value of the video, which I generate by removing some frames from the original video. In addition, I assume that the video will show the previous frame if the frame is removed. In that sense, I want to measure the QoE…
0
votes
1 answer

Java - Escape quotes in style attribute

In a Java application I have HTML, as a String, that looks like this:
And I wish to decode the encoded quotes so that it is correctly displayed on the page. The problem is that…
user1849060
  • 621
  • 3
  • 10
  • 20
0
votes
2 answers

C# want to enable some disabled tab pages in a program and I have its source code

In the source code designer it works fine after I press run its color fades and I can't use all the tab controls, please help and thanks. https://i.stack.imgur.com/gi0B0.jpg https://i.stack.imgur.com/UwtkH.jpg
0
votes
2 answers

iOS - AVAssetReader copyNextSampleBuffer can be very slow

I'm trying to decode a video in real time (30 fps) and display /modify it with OpenGL. On an iPod touch, if I decode a video that I took with the camera, decoding a frame can take over 1s, while 30 fps should be 0.03s max. Thus the result is not…
Xys
  • 8,486
  • 2
  • 38
  • 56
0
votes
0 answers

FFmpeg decode h.264 mp4 video and save it to desktop in any format

By following ffmpeg examples i realised they don't provide an example that decodes h.264 and save it to desktop in any way. I can decode h.264 but i cannot save it to desktop. How can i do this? I can get this point but now how can i save it as a…
greentree
  • 45
  • 7
0
votes
0 answers

Chrome (And Torch) HTML not encoded or decoded properly

Quickly, before I begin, Torch is a chromium browser which I use on my desktop PC. I use Chrome on my Macbook Pro 13 inch (256gb one, probably not important), and I get the same issue, which is, in my opinion, really weird given that they're…
Xylene
  • 13
  • 4
0
votes
0 answers

System.Convert.FromBase64String() accepts some invalid strings as input. Is this a bug in .Net?

.Net's implementation of Convert.FromBase64String() can be fed an invalid input and will produce output without throwing a FormatException. Most invalid input is caught correctly but this type is not. In this case FromBase64String will ignore the…
CodeMonkey
  • 19
  • 3
0
votes
1 answer

Download or View file from Azure Blob in Aurelia UI

I have my files stored in the Azure. I want to download or viewing mechanism the file on the client side. Like this: Azure -> Api -> Client UI (Aurelia) I have seen lot of c# examples, however I am not sure how to get the file on the UI side. Can…
genericuser
  • 1,430
  • 4
  • 22
  • 40