Encoder is a software program, device or algorithm that converts information from one format or code to another, for the purposes of standardization, speed, secrecy, security or compressions.
Questions tagged [encoder]
612 questions
8
votes
1 answer
Using Live555 to Stream Live Video from an IP camera connected to an H264 encoder
I am using a custom Texas Instruments OMAP-L138 based board that basically consists of an ARM9 based SoC and a DSP processor. It is connected to a camera lens. What I'm trying to do is to capture live video stream which is sent to the dsp processor…

Shehryar
- 530
- 1
- 4
- 18
7
votes
5 answers
is the sun.misc package still available in java?
I would like to use the Base64 encoder of the package sun.misc.BASE64Encoder because I need to encode a password. However an error is being generated when I type in the import for this package.
the message where the code for the encoder is to be…

ict1991
- 2,060
- 5
- 26
- 34
7
votes
4 answers
how to use ColumnTransformer() to return a dataframe?
I have a dataframe like this:
department review projects salary satisfaction bonus avg_hrs_month left
0 operations 0.577569 3 low 0.626759 0 180.866070 0
1 operations 0.751900 3 medium 0.443679 0 …

Bluetail
- 1,093
- 2
- 13
- 27
7
votes
2 answers
FFMPEG - bufsize formula
Does anyone know what the formula is for bufsize along with the rate it checks in FFMPEG?
I can't seem to find any concrete answer to this.
Is it:
bufsize = bitrate / rate
?
And should it be using maxrate as opposed to bitrate in the…

Data
- 215
- 2
- 7
7
votes
1 answer
Custom Dictionary Encoder & Decoder for the Codable protocol in Swift 4
If I have a struct that conforms to the Codable protocol like so:
enum AnimalType: String, Codable {
case dog
case cat
case bird
case hamster
}
struct Pet: Codable {
var name: String
var animalType: AnimalType
var age:…

Toni Sučić
- 1,329
- 1
- 13
- 20
7
votes
0 answers
Video encoded using camera2 is upside down on nexus (5x, 6p) devices
We are using camera2 API to get preview and encode video simultaneously, using mediacodec.
We know when we should rotate the camera by querying 'CameraCharacteristics.SENSOR_ORIENTATION' but there is only preview rotation option.
What we need is to…

eduard
- 309
- 3
- 9
7
votes
1 answer
Android encoding using MediaCodec and a Surface
I've been rendering video through the MediaCodec directly to a Surface that was taken from a SurfaceView in my UI. This works great.
I am now attempting to use MediaCodec as an encoder. As a test, I want to render to the Surface (as in above) and…

Mat DePasquale
- 199
- 2
- 13
7
votes
2 answers
Record and playback with Opus Codec in Android
I'm working on a project that need to record and playback with Opus Codec, I search a lot but I can't find any demo/example using that solution. I find a demo having encoder but can't find the decoder. I only find the source code of this codec using…

Phu Tang
- 415
- 6
- 16
7
votes
1 answer
Using jcodec SequenceEncoder
I need to create video from images, I have seen jcodec and I think it is what I need:
http://jcodec.org/
How do I add jcodec to my project? I have seen there is a version for android.
Correct me if I am wrong, but I added jcodec-0.1.5.jar to my…

Dim
- 4,527
- 15
- 80
- 139
7
votes
2 answers
How to set encoder buffer size created by MediaCodec
I am trying to use Nexus to test encoding with Mediacodec APIs. I can see the inputBuffers provided by the encoder is 119040 (by logging inputBuffers.capacity). But the size of the frame, i.e. input, is 460800. I got error message at inputBuffer.put…

user2131793
- 71
- 1
- 3
6
votes
1 answer
Potential Bug with JSON Decoder Swift
I believe I have found a bug in the JSONDecoder. If one tries to decode a JSON object with more than 8 properties, I get an unrecognizable error:
error: Execution was interrupted, reason: EXCBADACCESS (code=1,
address=0xe8). The process has been…

TheSlyTurtle
- 61
- 1
6
votes
4 answers
Python sklearn - Determine the encoding order of LabelEncoder
I wish to determine the labels of sklearn LabelEncoder (namely 0,1,2,3,...) to fit a specific order of the possible values of categorical variable (say ['b', 'a', 'c', 'd' ]). LabelEncoder chooses to fit the labels lexicographically I guess as can…

Amitai
- 871
- 1
- 8
- 21
6
votes
3 answers
Pydub export error - Choose encoder manually
I'm trying to export a file as mp3 in pydub, but I get this error:
Automatic encoder selection failed for output stream #0:0. Default encoder for format mp3 is probably disabled. Please choose an encoder manually
How do I select an encoder…

Daniel Möller
- 84,878
- 18
- 192
- 214
6
votes
2 answers
Why is Image.Save(Stream, ImageFormat) throwing an exception?
I am trying to convert an image to an icon. My function is:
private Icon GenerateIcon(int width, int height)
{
using (Bitmap icon = _backingImage.GetThumbnailImage(width, height, () => false, System.IntPtr.Zero) as Bitmap)
using(MemoryStream…

Matt Ellen
- 11,268
- 4
- 68
- 90
6
votes
2 answers
FFMPEG fdk_aac Static Windows Builds
I'm new in FFMPEG. I have download ffmpeg windows build but libfdk_aac is not enabled. Where I can get the ffmpeg build with complete encoder with libfdk enabled?

Buzz
- 321
- 2
- 3
- 20