ffmpeg « Development « C Q&A

Home
C Q&A
1.assembly
2.buffer
3.Card
4.Cast
5.compile
6.console
7.const
8.constructor
9.database
10.Date
11.Debug
12.Design
13.Development
14.DLL
15.encrypt
16.enum
17.eof
18.Event
19.fork
20.Format
21.gcc
22.gdb
23.graph
24.graphics
25.gui
26.Holiday Event
27.image
28.IP
29.iterator
30.macro
31.makefile
32.malloc
33.Menu
34.mysql
35.network
36.openssl
37.operator
38.password
39.pipe
40.preprocessor
41.printf
42.pthread
43.Regular expression
44.scanf
45.semaphore
46.SerialPort
47.server
48.Socket
49.sql
50.SQLserver
51.sscanf
52.std
53.stdin
54.stdout
55.stl
56.strcmp
57.stream
58.switch
59.Template
60.thread
61.timer
62.unix
63.video
64.Virtual
65.visualstudio
66.winapi
67.windows
68.xml
C Q&A » Development » ffmpeg 

1. ffmpeg av_seek_frame    stackoverflow.com

I am attempting to seek in a movie using ffmpeg's av_seek_frame method however I'm having the most trouble determining how to generate a time-stamp to seek to. Assuming I want ...

2. Can FFmpeg be used as a library, instead of a standalone program?    stackoverflow.com

I'd like to add video conversion capabilities to a program I'm writing. FFmpeg's command line interface for doing this is simply ffmpeg -i InputFile OutputFile, but is there a way to ...

3. Encode audio to aac with libavcodec    stackoverflow.com

I'm using libavcodec (latest git as of 3/3/10) to encode raw pcm to aac (libfaac support enabled). I do this by calling avcodec_encode_audio repeatedly with codec_context->frame_size samples each time. The first ...

4. ffmpeg C API documentation/tutorial    stackoverflow.com

I am trying to find documentation to use the ffmpeg C API. It seems that only command line documentation is available. Is there any good documentation/tutorials/links available?

5. How to make audio sound batter? (C + FFMpeg audio generation example)    stackoverflow.com

So I found this grate C FFMpeg official example which I simplefied:

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#ifdef HAVE_AV_CONFIG_H
#undef HAVE_AV_CONFIG_H
#endif

#include "libavcodec/avcodec.h"
#include "libavutil/mathematics.h"

#define INBUF_SIZE 4096
#define AUDIO_INBUF_SIZE 20480
#define AUDIO_REFILL_THRESH 4096

/*
 * Audio encoding example
 ...

6. What is lib Swscale used for by ffmpeg programers?    stackoverflow.com

What is lib Swscale used for by ffmpeg programers?

  • What benefits it gives for AV encoding/decoding?
  • What is its position relevantly to av* libs?

7. ffmpeg Music Player    stackoverflow.com

I'm interested in writing a simple music player in C using ffmpeg, but the documentation at the ffmpeg site is pretty barebones and searches for tutorials didn't really turn up anything. ...

8. ffmpeg.c what are pts and dts ? what does this code block do in ffmpeg.c?    stackoverflow.com

  • In simple terms what are pts and dts values?
  • Why are they important while transcoding [decode-encode] videos ?
What does this code bit do in ffmpeg.c , what is its purpose?
01562 ...

9. Sox and FFMPEG decode    stackoverflow.com

Hello Please help with sox. My idea is to decode the audio portion through ffmpeg and then process it through the sox. Ie to decode only use FFMPEG. Here is what I ...

10. possible C code implementation ideas for a given shell script(related to ffmpeg)    stackoverflow.com

The shell script i'm trying to implement goes like this,

    #!/bin/bash
    while [ 1 ]
    do
       ...

11. How can I turn libavformat error messages off    stackoverflow.com

By default, libavformat writes error messages to stderr, Like: Estimating duration from bitrate, this may be inaccurate How can I turn it off? or better yet, pipe it to my own neat logging ...

12. Ffmpeg AVOutputFormat Ques    forums.devshed.com

I'm am trying to create an new AVOutputFormat the uses an Mjpeg video codec in an avi container, the problem I am running into is that my header info is being corrupted. I'm currently using guess_format( NULL, "filename.avi" NULL ) to get the avi default format and then I set the audio codec to CODEC_ID_NONE and the video codec to CODEC_ID_MJPEG. ...

13. FFmpeg progress tracking    codeproject.com

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.