Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
1 answer
133 views

I am trying to learn how to use the FFmpeg libav* libraries but have encountered an issue when encoding to FLAC audio. Running FFmpeg 5.1.7 I have copied the transcoding.c example from https://www....
0 votes
0 answers
91 views

I am trying to write a WAV-to-AAC encoder using ffmpeg/libavcodec. Finding the encoder, setting up the context and feeding data into the frame all work, but once it's time to avcodec_send_frame() I ...
2 votes
1 answer
149 views

I try to write a program, that can convert 5.1 PCM Sound to 5.1 Dolby Digital Compressed Audio to use with my optical Toslink/SPDIF USB Interface. For Debugging reasons I use a sine-wave PCM signal on ...
0 votes
1 answer
89 views

After draining an encoder (by sending it a null frame and then receiving packets until EOF) it enters draining mode after which avcodec_send_frame will fail, returning EOF. You're supposed to call ...
Neddie's user avatar
  • 143
2 votes
1 answer
222 views

I'm decoding video PES packets (packetized elementary stream) containing H.264/AVC and H.265/HEVC using libavcodec like this: while (remainingESBytes > 0) { int bytesUsed = av_parser_parse2( ...
2 votes
1 answer
227 views

I have tried to make a bitstream filter for FFmpeg that drops the nth keyframe for positive numbers and allows the first n keyframes and drops the rest for nonpositive numbers, called "datamosh&...
0 votes
0 answers
416 views

I just wrote some basic code to try encoding some sample frames into a file. But before I could even get to that point, the program fails writing the header. If I try to ignore this, or skip writing ...
1 vote
1 answer
224 views

Background: Video usability information (VUI) is extra information that can be inserted into an AVC (h.264) or HEVC (h.265) video bitstream. The documents defining AVC and HEVC specify that an AVC/...
1 vote
1 answer
167 views

I have a bit of code where I needed to convert PCM16LE to a FLAC which is simple enough. I've managed to do this, however, the generated FLAC file does not contain the duration of the file. i.e. ...
-1 votes
1 answer
113 views

I'm making a C++ application that retrieves frames from a camera and then encodes each frame with a H264 encoder (not using libav). This encoded H264 frame is then kept in memory as a void *mem as I ...
2 votes
1 answer
179 views

I am streaming audio data and using the ffmpeg/libav libraries to process it in C++. I create a CustomIOContext and a read_packet function to provide the streamed data to ffmpeg, and I create an ...
0 votes
2 answers
2k views

I want to use the ffmpeg libraries in my program. These are libavformat and libavcodec. To link them, I'm trying to use pkg-config. I cannot get pkg-config to find these libraries. When I run pkg-...
0 votes
0 answers
535 views

I am trying to use ffmpeg to decode a video stream and convert to Opencv cv::Mat. I found this piece of code and made it compiled. Howerver, the decoding process will always fail after several frames. ...
Xingdi's user avatar
  • 81
1 vote
1 answer
140 views

In the ffmpeg documentation for an AVFrame it says This structure describes decoded (raw) audio or video data. In the case of audio data, what format are the samples within an AVFrame in? Do they ...
1 vote
0 answers
160 views

Note: I have a working example of the problem here. I'm using the libav/ffmpeg API to generate an MP4 with the h264 codec. In my specific situation I'm generating the files with a max number of 2 &...
Ben's user avatar
  • 348

15 30 50 per page
1
2 3 4 5
...
35

AltStyle によって変換されたページ (->オリジナル) /