filmstro_ffmpeg
 All Classes Files Functions Friends Macros
filmstro_ffmpeg.h
Go to the documentation of this file.
1 /*
2  ==============================================================================
3 
4  Copyright (c) 2017, Daniel Walz
5  All rights reserved.
6 
7  Redistribution and use in source and binary forms, with or without modification,
8  are permitted provided that the following conditions are met:
9 
10  1. Redistributions of source code must retain the above copyright notice, this
11  list of conditions and the following disclaimer.
12 
13  2. Redistributions in binary form must reproduce the above copyright notice,
14  this list of conditions and the following disclaimer in the documentation
15  and/or other materials provided with the distribution.
16 
17  3. Neither the name of the copyright holder nor the names of its contributors
18  may be used to endorse or promote products derived from this software without
19  specific prior written permission.
20 
21  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
24  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
25  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
29  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
30  OF THE POSSIBILITY OF SUCH DAMAGE.
31 
32  ==============================================================================
33 
34  BEGIN_JUCE_MODULE_DECLARATION
35 
36  ID: filmstro_ffmpeg
37  vendor: Filmstro Ltd.
38  version: 0.9.0
39  name: FFmpeg wrapping classes for use in JUCE
40  description: Provides classes to read audio streams from video files or to
41  mux audio into an existing video
42  dependencies: juce_audio_basics, juce_audio_formats, juce_core, filmstro_audiohelpers
43  website: http://www.filmstro.com/
44  license: BSD V2 3-clause
45 
46  END_JUCE_MODULE_DECLARATION
47 
48  ==============================================================================
49  */
50 
51 
52 #ifndef FSPRO_FFMPEG_INCLUDED_H
53 #define FSPRO_FFMPEG_INCLUDED_H
54 
55 
56 #include <juce_audio_basics/juce_audio_basics.h>
57 #include <juce_audio_formats/juce_audio_formats.h>
58 #include <juce_core/juce_core.h>
59 #include <juce_gui_basics/juce_gui_basics.h>
61 
62 #ifndef FILMSTRO_USE_FFMPEG
63 #define FILMSTRO_USE_FFMPEG 1
64 #endif
65 
66 #ifdef __cplusplus
67 extern "C" {
68 #endif
69 
70 #include <libavutil/imgutils.h>
71 #include <libavutil/samplefmt.h>
72 #include <libavutil/timestamp.h>
73 #include <libavutil/opt.h>
74 #include <libavformat/avformat.h>
75 #include <libswscale/swscale.h>
76 #include <libswresample/swresample.h>
77 
78 #ifdef __cplusplus
79 }
80 #endif
81 
87 
88 
89 #endif /* FSPRO_FFMPEG_INCLUDED_H */