You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
fix grammar error with possessive its and update sample for audio parameter
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
#
|
||||
# Copyright (c) 2008-2014 OpenShot Studios, LLC
|
||||
# <http://www.openshotstudios.com/>. This file is part of
|
||||
# OpenShot Library (libopenshot), an open-source project dedicated to
|
||||
# delivering high quality video editing and animation solutions to the
|
||||
# OpenShot Library (libopenshot), an open-source project dedicated to
|
||||
# delivering high quality video editing and animation solutions to the
|
||||
# world. For more information visit <http://www.openshot.org/>.
|
||||
#
|
||||
# OpenShot Library (libopenshot) is free software: you can redistribute it
|
||||
@@ -41,8 +41,8 @@ MESSAGE("Determining Version Number (from Version.h file)")
|
||||
#### Get the lines related to libopenshot version from the Version.h header
|
||||
file(STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/include/Version.h OPENSHOT_VERSION_LINES
|
||||
REGEX "#define[ ]+OPENSHOT_VERSION_.*[0-9]+;.*")
|
||||
|
||||
#### Set each line into it's own variable
|
||||
|
||||
#### Set each line into its own variable
|
||||
list (GET OPENSHOT_VERSION_LINES 0 LINE_MAJOR)
|
||||
list (GET OPENSHOT_VERSION_LINES 1 LINE_MINOR)
|
||||
list (GET OPENSHOT_VERSION_LINES 2 LINE_BUILD)
|
||||
|
||||
@@ -142,8 +142,8 @@ namespace openshot {
|
||||
void reverse_buffer(juce::AudioSampleBuffer* buffer);
|
||||
|
||||
public:
|
||||
GravityType gravity; ///< The gravity of a clip determines where it snaps to it's parent
|
||||
ScaleType scale; ///< The scale determines how a clip should be resized to fit it's parent
|
||||
GravityType gravity; ///< The gravity of a clip determines where it snaps to its parent
|
||||
ScaleType scale; ///< The scale determines how a clip should be resized to fit its parent
|
||||
AnchorType anchor; ///< The anchor determines what parent a clip should snap to
|
||||
FrameDisplayType display; ///< The format to display the frame number (if any)
|
||||
VolumeMixType mixing; ///< What strategy should be followed when mixing audio with other clips
|
||||
|
||||
@@ -82,7 +82,7 @@ namespace openshot
|
||||
/// modified openshot::Frame object
|
||||
///
|
||||
/// The frame object is passed into this method, and a frame_number is passed in which
|
||||
/// tells the effect which settings to use from it's keyframes (starting at 1).
|
||||
/// tells the effect which settings to use from its keyframes (starting at 1).
|
||||
///
|
||||
/// @returns The modified openshot::Frame object
|
||||
/// @param frame The frame object that needs the effect applied to it
|
||||
|
||||
@@ -150,7 +150,7 @@ namespace openshot
|
||||
/// Check the current seek position and determine if we need to seek again
|
||||
bool CheckSeek(bool is_video);
|
||||
|
||||
/// Check if a frame is missing and attempt to replace it's frame image (and
|
||||
/// Check if a frame is missing and attempt to replace its frame image (and
|
||||
bool CheckMissingFrame(int64_t requested_frame);
|
||||
|
||||
/// Check the working queue, and move finished frames to the finished queue
|
||||
@@ -198,10 +198,10 @@ namespace openshot
|
||||
/// Read the stream until we find the requested Frame
|
||||
std::shared_ptr<Frame> ReadStream(int64_t requested_frame);
|
||||
|
||||
/// Remove AVFrame from cache (and deallocate it's memory)
|
||||
/// Remove AVFrame from cache (and deallocate its memory)
|
||||
void RemoveAVFrame(AVFrame*);
|
||||
|
||||
/// Remove AVPacket from cache (and deallocate it's memory)
|
||||
/// Remove AVPacket from cache (and deallocate its memory)
|
||||
void RemoveAVPacket(AVPacket*);
|
||||
|
||||
/// Seek to a specific Frame. This is not always frame accurate, it's more of an estimation on many codecs.
|
||||
@@ -228,7 +228,7 @@ namespace openshot
|
||||
/// frame 1, or it throws one of the following exceptions.
|
||||
FFmpegReader(string path);
|
||||
|
||||
/// Constructor for FFmpegReader. This only opens the media file to inspect it's properties
|
||||
/// Constructor for FFmpegReader. This only opens the media file to inspect its properties
|
||||
/// if inspect_reader=true. When not inspecting the media file, it's much faster, and useful
|
||||
/// when you are inflating the object using JSON after instantiating it.
|
||||
FFmpegReader(string path, bool inspect_reader);
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace openshot
|
||||
* FFmpegWriter w("/home/jonathan/NewVideo.webm");
|
||||
*
|
||||
* // Set options
|
||||
* w.SetAudioOptions(true, "libvorbis", 44100, 2, 128000); // Sample Rate: 44100, Channels: 2, Bitrate: 128000
|
||||
* w.SetAudioOptions(true, "libvorbis", 44100, 2, ChannelLayout::LAYOUT_STEREO, 128000); // Sample Rate: 44100, Channels: 2, Bitrate: 128000
|
||||
* w.SetVideoOptions(true, "libvpx", openshot::Fraction(24,1), 720, 480, openshot::Fraction(1,1), false, false, 300000); // FPS: 24, Size: 720x480, Pixel Ratio: 1/1, Bitrate: 300000
|
||||
*
|
||||
* // Open the writer
|
||||
@@ -110,7 +110,7 @@ namespace openshot
|
||||
* FFmpegWriter w("/home/jonathan/NewVideo.webm");
|
||||
*
|
||||
* // Set options
|
||||
* w.SetAudioOptions(true, "libvorbis", 44100, 2, 128000); // Sample Rate: 44100, Channels: 2, Bitrate: 128000
|
||||
* w.SetAudioOptions(true, "libvorbis", 44100, 2, ChannelLayout::LAYOUT_STEREO, 128000); // Sample Rate: 44100, Channels: 2, Bitrate: 128000
|
||||
* w.SetVideoOptions(true, "libvpx", openshot::Fraction(24,1), 720, 480, openshot::Fraction(1,1), false, false, 300000); // FPS: 24, Size: 720x480, Pixel Ratio: 1/1, Bitrate: 300000
|
||||
*
|
||||
* // Prepare Streams (Optional method that must be called before any SetOption calls)
|
||||
|
||||
@@ -197,7 +197,7 @@ namespace openshot
|
||||
/// Clean up buffer after QImage is deleted
|
||||
static void cleanUpBuffer(void *info);
|
||||
|
||||
/// Clear the waveform image (and deallocate it's memory)
|
||||
/// Clear the waveform image (and deallocate its memory)
|
||||
void ClearWaveform();
|
||||
|
||||
/// Copy data and pointers from another Frame instance
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace openshot
|
||||
/// frame 1, or it throws one of the following exceptions.
|
||||
ImageReader(string path);
|
||||
|
||||
/// Constructor for ImageReader. This only opens the media file to inspect it's properties
|
||||
/// Constructor for ImageReader. This only opens the media file to inspect its properties
|
||||
/// if inspect_reader=true. When not inspecting the media file, it's much faster, and useful
|
||||
/// when you are inflating the object using JSON after instantiating it.
|
||||
ImageReader(string path, bool inspect_reader);
|
||||
|
||||
@@ -127,7 +127,7 @@ namespace openshot
|
||||
/// @param height Height in pixels of image
|
||||
/// @param quality Quality of image (0 to 100, 70 is default)
|
||||
/// @param loops Number of times to repeat the image (used on certain multi-frame image formats, such as GIF)
|
||||
/// @param combine Combine frames into a single image (if possible), or save each frame as it's own image
|
||||
/// @param combine Combine frames into a single image (if possible), or save each frame as its own image
|
||||
void SetVideoOptions(string format, Fraction fps, int width, int height,
|
||||
int quality, int loops, bool combine);
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ namespace openshot
|
||||
/// frame 1, or it throws one of the following exceptions.
|
||||
QtImageReader(string path);
|
||||
|
||||
/// Constructor for QtImageReader. This only opens the media file to inspect it's properties
|
||||
/// Constructor for QtImageReader. This only opens the media file to inspect its properties
|
||||
/// if inspect_reader=true. When not inspecting the media file, it's much faster, and useful
|
||||
/// when you are inflating the object using JSON after instantiating it.
|
||||
QtImageReader(string path, bool inspect_reader);
|
||||
|
||||
@@ -100,6 +100,7 @@ namespace openshot {
|
||||
* Fraction(25,1), // framerate
|
||||
* 44100, // sample rate
|
||||
* 2 // channels
|
||||
* ChannelLayout::LAYOUT_STEREO,
|
||||
* );
|
||||
*
|
||||
* // Create some clips
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace openshot
|
||||
/// modified openshot::Frame object
|
||||
///
|
||||
/// The frame object is passed into this method, and a frame_number is passed in which
|
||||
/// tells the effect which settings to use from it's keyframes (starting at 1).
|
||||
/// tells the effect which settings to use from its keyframes (starting at 1).
|
||||
///
|
||||
/// @returns The modified openshot::Frame object
|
||||
/// @param frame The frame object that needs the effect applied to it
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace openshot
|
||||
/// modified openshot::Frame object
|
||||
///
|
||||
/// The frame object is passed into this method, and a frame_number is passed in which
|
||||
/// tells the effect which settings to use from it's keyframes (starting at 1).
|
||||
/// tells the effect which settings to use from its keyframes (starting at 1).
|
||||
///
|
||||
/// @returns The modified openshot::Frame object
|
||||
/// @param frame The frame object that needs the effect applied to it
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace openshot
|
||||
/// modified openshot::Frame object
|
||||
///
|
||||
/// The frame object is passed into this method, and a frame_number is passed in which
|
||||
/// tells the effect which settings to use from it's keyframes (starting at 1).
|
||||
/// tells the effect which settings to use from its keyframes (starting at 1).
|
||||
///
|
||||
/// @returns The modified openshot::Frame object
|
||||
/// @param frame The frame object that needs the effect applied to it
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace openshot
|
||||
/// modified openshot::Frame object
|
||||
///
|
||||
/// The frame object is passed into this method, and a frame_number is passed in which
|
||||
/// tells the effect which settings to use from it's keyframes (starting at 1).
|
||||
/// tells the effect which settings to use from its keyframes (starting at 1).
|
||||
///
|
||||
/// @returns The modified openshot::Frame object
|
||||
/// @param frame The frame object that needs the effect applied to it
|
||||
|
||||
@@ -84,7 +84,7 @@ namespace openshot
|
||||
/// modified openshot::Frame object
|
||||
///
|
||||
/// The frame object is passed into this method, and a frame_number is passed in which
|
||||
/// tells the effect which settings to use from it's keyframes (starting at 1).
|
||||
/// tells the effect which settings to use from its keyframes (starting at 1).
|
||||
///
|
||||
/// @returns The modified openshot::Frame object
|
||||
/// @param frame The frame object that needs the effect applied to it
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace openshot
|
||||
/// modified openshot::Frame object
|
||||
///
|
||||
/// The frame object is passed into this method, and a frame_number is passed in which
|
||||
/// tells the effect which settings to use from it's keyframes (starting at 1).
|
||||
/// tells the effect which settings to use from its keyframes (starting at 1).
|
||||
///
|
||||
/// @returns The modified openshot::Frame object
|
||||
/// @param frame The frame object that needs the effect applied to it
|
||||
|
||||
@@ -73,7 +73,7 @@ namespace openshot
|
||||
/// modified openshot::Frame object
|
||||
///
|
||||
/// The frame object is passed into this method, and a frame_number is passed in which
|
||||
/// tells the effect which settings to use from it's keyframes (starting at 1).
|
||||
/// tells the effect which settings to use from its keyframes (starting at 1).
|
||||
///
|
||||
/// @returns The modified openshot::Frame object
|
||||
/// @param frame The frame object that needs the effect applied to it
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace openshot
|
||||
/// modified openshot::Frame object
|
||||
///
|
||||
/// The frame object is passed into this method, and a frame_number is passed in which
|
||||
/// tells the effect which settings to use from it's keyframes (starting at 1).
|
||||
/// tells the effect which settings to use from its keyframes (starting at 1).
|
||||
///
|
||||
/// @returns The modified openshot::Frame object
|
||||
/// @param frame The frame object that needs the effect applied to it
|
||||
|
||||
@@ -91,7 +91,7 @@ namespace openshot
|
||||
/// modified openshot::Frame object
|
||||
///
|
||||
/// The frame object is passed into this method, and a frame_number is passed in which
|
||||
/// tells the effect which settings to use from it's keyframes (starting at 1).
|
||||
/// tells the effect which settings to use from its keyframes (starting at 1).
|
||||
///
|
||||
/// @returns The modified openshot::Frame object
|
||||
/// @param frame The frame object that needs the effect applied to it
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace openshot
|
||||
/// modified openshot::Frame object
|
||||
///
|
||||
/// The frame object is passed into this method, and a frame_number is passed in which
|
||||
/// tells the effect which settings to use from it's keyframes (starting at 1).
|
||||
/// tells the effect which settings to use from its keyframes (starting at 1).
|
||||
///
|
||||
/// @returns The modified openshot::Frame object
|
||||
/// @param frame The frame object that needs the effect applied to it
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user