Questions tagged [decoder]

A device or a software which purpose is to decode an encoded signal or stream.

A device or a software which purpose is to decode an encoded signal or stream.

538 questions
1
vote
2 answers

Why several FFDA markers in jpeg file

In my jpeg file there are few FFDA markers. From which marker my data starts, and how do I know from which marker I decode the file?
MrD
  • 2,423
  • 3
  • 33
  • 57
1
vote
0 answers

Why the final Windows 32-bit executable not be working?

This Python code is a simple script that encrypts a shellcode using XOR with a secret key, creates a decoder stub in assembly language, assembles the decoder stub, and then compiles it into a Windows 32-bit executable. The script starts by defining…
the man
  • 11
  • 2
1
vote
0 answers

Issue with decoding H264 frames using appsrc in GStreamer

I am currently facing an issue while attempting to decode H264 frames using the appsrc element in GStreamer. I have constructed the following pipeline within my application: appsrc name=mysource ! video/x-h264,…
isra60
  • 512
  • 1
  • 6
  • 18
1
vote
1 answer

Simultaneous activation of two outputs in the 3 to 8 decoder

I'm trying to build a Decoder3to8 using A Decoder2to4 using Vhdl. i have the following code for Decoder2to4 library IEEE; use IEEE.STD_LOGIC_1164.ALL; entity Decoder2to4 is Port( A0, A1: in STD_LOGIC; y0, y1, y2, y3: out STD_LOGIC ); end…
Crisiroid
  • 25
  • 6
1
vote
1 answer

MediaCodec gives IllegalStateException at getInputbuffer(index) in callback of OnInputBufferAvailable

I am decoding an mp3 file, first I convert the mp3 file into a chunks of byteArray of size 1000 and put it in a circularArray and then pass it to mediaCodec callback for decoding (decode one byteArray at a time), I follow this link. It is working…
Shan Ahmad
  • 31
  • 4
1
vote
4 answers

How to create an Run Length decoder in python?

I need the decoder to take input like [3, 15, 6, 4] and output [15, 15, 15, 4, 4, 4, 4, 4, 4] I already have an encoder that works perfectly, but I am unsure how I would go about reversing the process.
1
vote
1 answer

How to create a decoder with varying input shape but fixed output shape?

I was playing around with autoencoders for mnist recently and this question appeared. "Is it possible to create a model with varying input shape but fixed output shape?" Example: Regularly decoder input will be e.g…
raksa
  • 21
  • 6
1
vote
1 answer

Decoding objects without knowing their type first

There is a likelihood this is an XY problem, I am open to these suggestions as well ! I am trying to work with Minecraft save data. Minecraft encodes Entities (basically anything that is not strictly a block) with their type inside an id property .…
ice-wind
  • 690
  • 4
  • 20
1
vote
1 answer

is H. 264 a codec (software used to encode/decode) or standard/format?

I am confused on, is H. 264 a codec (software used to encode/decode) or standard/format given; and there are software codecs that uses H.264 to encode/decode.
1
vote
1 answer

select and use appropriate decoder as decoder for new item while preserving error accumulation

If I have some point where my logic needs to diverge and thus have need to select 1 of some set of possible decoders to use, this issue can arise. Consider this code snippet: import cats.implicits.{catsSyntaxTuple3Semigroupal,…
Jeremie
  • 290
  • 3
  • 10
1
vote
1 answer

JSON decoding struct has a key, but Xcode calls that there is no member with that key in SwiftUI

I would like to get the text value of the repo name from GitHub. The structs are decoded successfully, but I can't seem to get one value that is important to me (name). Can someone help, please? Swift files with code: DECODER class…
Swantewit
  • 966
  • 1
  • 7
  • 19
1
vote
2 answers

Fixing "ambiguous use of" compiler error in swift

As part of my SingleValueDecodingContainer, I tried to make all FixedWidthInteger types use the same decoding method, however this leads to an "ambiguous use of" error in my Bool decoder that I don't know how to fix (Bools are encoded as Int8 in…
ice-wind
  • 690
  • 4
  • 20
1
vote
1 answer

Decoding HEVC file in C++ with FFmpeg missing one frame

I'm trying to decode my Hevc file in c++ with using FFmpeg. I used Hevc decoder and try to save the frames in ppm format(Almost the whole source code comes from FFmpeg example [decode_video.c]…
Ivan
  • 81
  • 2
  • 11
1
vote
0 answers

Instagram Http requests

I intercepted an HTTP request originating from Android to Instagram when I creating account. Here the post data that is sent to the…
1
vote
0 answers

gstreamer: rtspsrc "internal data stream error" when i want to build my own pipeline

gst-launch-1.0 rtspsrc location=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov is-live=true latency=200 name=src src. ! rtph264depay ! h264parse ! avdec_h264 ! queue ! autovideosink I'm trying to write the pipeline as c…
Roy
  • 11
  • 2