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

Media Codec dequeueOutputBuffer IllegalStateException

I try to decode a mp3 audio data stream with Android Media Codec. With a sample rate of 44100 the decoding works fine, but the latency is too big. So I set the sample rate to 16000, but now the decoder doesn't work anymore. I get an Illegal State…
J.Ney
  • 201
  • 1
  • 2
  • 11
3
votes
0 answers

MTK's avc decoder OMX.MTK.VIDEO.DECODER.AVC causes phone crash

when I use MTK's avc decoder to decode video, the phone is crashed. All as I know is the frame data provided to decoder is not continuous, even not correct, because of bad signal quality of video source. the log is as below: 10-14 12:15:14.187:…
AndyLu
  • 31
  • 3
3
votes
0 answers

Convert OGG VORBIS to PCM in Android

I am getting the following crash when I try to configure Android-client decoder with ogg CSD data which I got from another android-server (streaming ogg audio from android-server to android-client). Android-server stripping the header and sending…
3
votes
2 answers

Iso8583 message encoding and decoding

My question is based on ISO8583 Transaction message standard. My problem statement is to develop an app which will decode the ISO8583 message which is provided as a input in HEX format. for ex : my input =…
user3985315
  • 81
  • 1
  • 1
  • 4
3
votes
1 answer

What android devices/decoder has supported adaptive video playback

I've tested on Nexus 5 that codecInfo.isFeatureSupported(MediaCodecInfo.CodecCapabilities.FEATURE_AdaptivePlayback) returns false. Does anyone know what chipset/software codec has supported the…
Peter Zhou
  • 43
  • 7
3
votes
1 answer

Android MediaCodec decoder input/output frame count

I'm working on video transcoding in Android, and using the standard method as these samples to extract/decode a video. I test the same process on different devices with different video devices, and I found a problem on the frame count of decoder…
Mark
  • 305
  • 5
  • 17
3
votes
1 answer

Android Kernel Drivers for Camera Device

I have a problem interfacing a video decoder(tvp5150) as a camera to a android samsung dev-kit works on FIMC API. As far as I goggled the decoders do work as camera interface for composite cameras. I added the drivers in the kernel from menuconfig…
haseeb zahid
  • 51
  • 1
  • 1
  • 4
3
votes
1 answer

What does the "struct AVCodec *codec" in "struct AVCodecContext" represent?

I am using FFMpeg libraries in C/C++ to develop a media player . This source uses the following code to find the decoder of a video stream in a file : pCodec=avcodec_find_decoder(pCodecCtx->codec_id); , where pCodecCtx is the pointer to the…
progammer
  • 1,951
  • 11
  • 28
  • 50
3
votes
1 answer

Save NSMutableArray to NSUserDefaults

I'm trying to save an array to NSUserDefaults. I read that i have to use a encoder and decoder, but i still get the same error *** -[NSUserDefaults setObject:forKey:]: Attempt to insert non-property value '( "", "
Jojo
  • 490
  • 1
  • 7
  • 22
3
votes
1 answer

What does the error "OMX_GetExtensionIndex failed" mean in the context of a MediaCodec and how can I resolve it?

I am trying to use the low-level media APIs to decode files in mp3 and other formats so I can process them. I am following the tutorial here to take an encoded file and play it back with an AudioTrack and my code is largely the same but I am getting…
KevinAckeral
  • 31
  • 1
  • 2
2
votes
1 answer

CharsetDecoder not working on linux machine

Following does not work on linux machine. Charset charset = Charset.forName("UTF-8"); CharsetDecoder decoder = charset.newDecoder(); try { FileOutputStream fo = new FileOutputStream("hi.txt"); …
Harry Joy
  • 58,650
  • 30
  • 162
  • 207
2
votes
0 answers

Gstreamer missing Decoder meta/x-gst-fourcc-mebx

I'm currently working with GStreamer in a Linux environment and encountered an issue after upgrading from GStreamer 1.18 to 1.22. While trying to process a video file, I received the following error message: [hevc @ 0x7f26101eba00] Skipping NAL unit…
2
votes
1 answer

Baffling error trying to decode with Aeson

I've been beating my head against the wall for a while on an Aeson decoding problem. Briefly, when used in the context of the app as in line (6) below, the decoder fails, giving the error src/CFUpload.hs:(66,6)-(71,27): Non-exhaustive patterns in…
jxxcarlson
  • 223
  • 3
  • 13
2
votes
1 answer

JWT deoded in Typescript gives the error "Object is possibly 'undefined"

I am trying to decode the JWT token in order to check wheather is it valid or not. But I am getting the error that the decoded object is possibly 'undefined' import jwt_decode, { JwtPayload } from "jwt-decode"; if (token) { const decoded =…
Illyrian
  • 429
  • 4
  • 16
2
votes
2 answers

The decoder part in a transformer model

I'm fairly new to NLP and I was reading a blog explaining the transformer model. I was quite confused about the input/output for the decoder block (attached below). I get that y_true is fed into the decoder during the training step to combine with…
Paul726
  • 109
  • 6