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
4
votes
2 answers

Any way for Swift 4 JSON Decoder to not throw for an array containing an unrecognized enum value?

I'm trying to use Swift 4's new JSON Decoding to parse JSON from a remote server. The JSON schema includes enum values, some of which I don't actually need for my purposes and I'd like to ignore. Additionally, I'd also like to be robust enough so…
Mel
  • 959
  • 5
  • 19
4
votes
1 answer

TensorFlow - decode_csv: Expect 3 fields but have 5 in record 0, when given 5 defaults throws: Expect 5 fields but have 3 in record 0

I'm trying to run the example from https://www.tensorflow.org/programmers_guide/reading_data with my custom data that looks like: example_data.txt DESC|manner|How did serfdom develop in and then leave Russia ? ENTY|cremat|What films featured the…
user47376
  • 2,263
  • 3
  • 21
  • 26
4
votes
1 answer

stuck on php morse decoder

I'm making a php morse encoder and decoder for school. i already got the encoder working but i can't figure out how to make the decoder work. the code below is what i have for my decoder. i tried to make the decoder the same as my encoder by…
mango
  • 55
  • 4
4
votes
2 answers

Opensource Java ASN.1 decoder that work with automatic tags

I'm new to working with ASN.1 encoded streams and I'm having a hard time finding a free class compiler and decoder, preferably for Java. I have an encoded hex string: String test("30820274800200a2810105820410300c3d830401bb0afc84... Here is an…
user1978816
  • 812
  • 1
  • 8
  • 19
4
votes
1 answer

ffmpeg: Resource temporarily unavailable

I'm trying to run ffmpeg on a linux server (info from uname -a): Linux comp32 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 11:21:14 CST 2012 x86_64 x86_64 x86_64 GNU/Linux ffmpeg (together with the required encoders and decoders) compiles…
Cabbage soup
  • 1,344
  • 1
  • 18
  • 26
4
votes
2 answers

Is it possible to decode MPEG4 frames without delay with ffmpeg?

I use ffmpeg's MPEG4 decoder. The decoder has CODEC_CAP_DELAY capability among others. It means the decoder will give me decoded frames with latency of 1 frame. I have a set of MPEG4 (I- & P- )frames from AVI file and feed ffmpeg decoder with these…
Sergey
  • 357
  • 5
  • 16
4
votes
1 answer

VHDL Quadrature Decoder: Sequential/Combinatorial Logic

I'm implementing a quadrature decoder in VHDL and came up with two solutions. In method 1, all of the logic is placed within one process that is sensitive to clock and reset. On a Spartan-3A, this uses four slices, seven FFs and four input…
seir
  • 43
  • 3
4
votes
3 answers

How to speed up libjpeg decompression

We are using libjpeg for JPEG decoding on our small embedded platform. We have problems with speed when we decode large images. For example, image which is 20 MB large and has dimensions of 5000x3000 pixels needs 10 seconds to load. I need some tips…
Bogi
  • 2,274
  • 5
  • 26
  • 34
4
votes
5 answers

Is there any free or commercal jpeg decode which is really fast

I am using c++, libjpeg for decoding jpeg file. I find it is not fast enough, is there any method to make it faster by setting some compile parameter? or are there any other lib can open jpeg files more faster? now it takes about 750ms to open a…
user25749
  • 4,825
  • 14
  • 61
  • 83
4
votes
2 answers

H264 decoder source code

I am looking for h264 decoder C/C++ source code with RTP packetization support. My embedded device is sending 640x480 encoded h264 RTP packet. I would like to make a Windows XP/Vista based video streaming display. Where can I find the source code to…
user182071
3
votes
6 answers

Swift: Decode JSON response and store nested JSON as String or JSON

Given the following JSON from a network request; If you wanted to decode this into a Swift object that coforms to Codable, but you wanted to retain the nested JSON that is the value for the key configuration_payload, how could you do it? { …
Dom Bryan
  • 1,238
  • 2
  • 19
  • 39
3
votes
1 answer

What memory does Transformer Decoder Only use?

I've been reading a lot about transformers and self attention and have seen both BERT and GPT-2 are a newer version that only use an encoder transformer (BERT) and decoder transformer (GPT-2). I've been trying to build a decoder only model for…
bellerb
  • 137
  • 8
3
votes
2 answers

Does ffmpeg support GPU acceleration on Jetson platform?

I want to run ZoneMinder on Jetson-nano as an IP CAM server, but it seems that Jetson nano can not handle many cams which are using ffmpeg for decoding. If I open three cams on ZoneMinder, CPU usage is always 100%, but GPU usage is 0%, and I can…
Vincent_Wang
  • 71
  • 1
  • 7
3
votes
1 answer

Swift - custom Decoder has no decode() function

I've created a custom Decoder that decodes a very specific data format, following this tutorial. Please note, my data format is not XML or JSON. I started with: public final class MyDecoder: Decoder { public var codingPath: [CodingKey] = [] …
koen
  • 5,383
  • 7
  • 50
  • 89
3
votes
1 answer

Circe,Tapir and JodaTime

I have a case class like final case class MyClass(id: Long, eventData: EventsDTO) final case class EventsDTO( customerId: Long, eventName: String, processTime: DateTime //JodaTime ) I have custom encoder and decoder as val…
Arjun Karnwal
  • 379
  • 3
  • 13