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
2
votes
1 answer

decode H.264 raw stream errors on Android

When I try to decode H.264 raw stream with MediaCodec on Note3(N9005, Android 4.3) , I get these errors: 12-25 19:57:40.362: E/ACodec(19827): [OMX.qcom.video.decoder.avc] ERROR(0x80001009) 12-25 19:57:40.362: E/MediaCodec(19827): Codec reported an…
hopetribe
  • 91
  • 1
  • 4
2
votes
1 answer

FFMPEG: Is defining a context for a codec compulsary?

I'm having a a decoder code. I'm trying to integrate it into ffmpeg framework. I'm referring to the HOW TO given here: http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto According to that article i need to define a structure in my…
sam
  • 289
  • 5
  • 16
2
votes
0 answers

How to play video and audio extracted from mkv file in metro app

I have managed to read matroska container and able to extract video and audio streams from a mkv file in my metro app. Now, I don't know how to feed the streams for playing. I want to know the concept of throwing media data on display. I have…
2
votes
1 answer

How to decode and play back rtp captured packets using Wireshark?

I have captured packets of RTP in Wireshark The captured packets are of .mp3, and now how should I decode these packets, so that I can play them back again in any player? Is there a way to decode these captured packets, either it be audio or video…
c-vang
  • 61
  • 1
  • 2
  • 14
2
votes
2 answers

Android decoding gif issue

I want to load a gif image on my splash screen. I used webview, but it's buggy. Then I found a class in google code , that allows me to decode a gif image and display it. The problem is, on emulator its working. Here is the image on…
Silvio Marijic
  • 483
  • 4
  • 12
  • 22
2
votes
4 answers

Android MediaCodec dequeOutputBuffer always returns -1

I am using the new MediaCodec API on Jelly Bean to decode an h264 stream. Using the code snippets in the developer page , instantiated a decoder by name (taken from media_codec.xml), passed a surface and configured the codec. The problem I am facing…
2
votes
2 answers

MATMSG and WIFI - QR not being encoded or decoded properly

I am facing a problem which I guess little unfamiliar out there (as, searching on google, I found no hint). I am trying to generate QR code using the TCPDF provided class. Almost everything is working fine. I am being able to generate anykind of…
Potheek
  • 991
  • 1
  • 8
  • 17
2
votes
1 answer

VIN Decoding: Model Year

I'm trying to code a simple VIN (ISO 3779) decoder: manufacturer and model year. I'm having some issues w/ decoding the model year, though. According to Wikipedia: For passenger cars, and for multipurpose passenger vehicles and trucks with a gross…
hb.
  • 1,705
  • 5
  • 22
  • 43
2
votes
2 answers

Netty CorruptedFrameException with multiple connection packets arrive at the same time

I am encountering a very weird issue with my program which is using Netty. I am listening to a port and parsing the messages (using FrameDecoder implementation). Everything is working fine if I am receiving one connection, but when I am receiving…
ArnonSe
  • 53
  • 6
2
votes
1 answer

Cannot decode jpeg using JpegBitmapDecoder

I have the following two functions to convert bytes to image and display on Image in WPF private JpegBitmapDecoder ConvertBytestoImageStream(byte[] imageData) { Stream imageStreamSource = new MemoryStream(imageData); …
xaria
  • 842
  • 5
  • 24
  • 47
1
vote
1 answer

Cumulative decoder/encoder

I have been using Apache MINA and am learning Netty. I have used the MINA cumulative encoder/decoder in the past and I am interested to see if Netty has similar functionality. I looked through the API and did not see anything.
1
vote
0 answers

Encode Audio/Video FIles placed in Sdcard and then Decode the same and play it in Android

I need to encode the audio/video files that are placed in sdcard. Then later on I have an User-Interface, where there is a media player where in I play these encoded files after decoding them. Reason I need to encode these files is…
Shishir Shetty
  • 2,021
  • 3
  • 20
  • 35
1
vote
1 answer

Decoding binary protocol messages not encoded by the same tool

I need to decode binary data (C#) represented by structures like this example: struct Message { byte id; int type; bool valid; } And the example binary data: 0x040000000201 where id=4, type=2, valid=true; Can I use Thrift, Protocol…
RHaguiuda
  • 3,207
  • 9
  • 37
  • 55
1
vote
1 answer

Openmax on Android for H.264 decoder?

I am starting to develop a sample code to run H.264 decoder based on OpenMax IL. The requirement is that the decoder should work fine on any chipest(like snapdragon, omap or others supporting OpenMax, I have got omap3 and qualcom samples, but I need…
1
vote
1 answer

Get the PCM data of the songs currently playing in the android phone

I am planning to fetch the decoded PCM data of a currently playing song in the android phone. Can we do it from the application layer? Meanwhile it would be really helpful if any one of you could suggest me an audio decoder in java. Regards Albin