Skip to content

Commit

Permalink
Move neothesia's mpeg_encoder fork in tree (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex authored Sep 25, 2024
1 parent 211c417 commit 34293b4
Show file tree
Hide file tree
Showing 7 changed files with 581 additions and 2 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
members = [
"piano-layout",
"wgpu-jumpstart",
"mpeg_encoder",
"neothesia",
"neothesia-cli",
"neothesia-core",
Expand Down
21 changes: 21 additions & 0 deletions mpeg_encoder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[package]
name = "mpeg_encoder"
version = "0.2.1"
authors = ["Sébastien Crozet <developer@crozet.re>"]
edition = "2021"

description = "A simple ffmpeg video encoder."
repository = "https://github.com/sebcrozet/mpeg_encoder"
readme = "README.md"
keywords = [ "encoder", "ffmpeg", "mpeg", "video" ]
license = "BSD-3-Clause"

[features]
default = []
build=["ffmpeg-sys/build"]

[dependencies.ffmpeg-sys]
package = "ffmpeg-sys-next"
version = "6.0.1"
default-features = false
features = [ "avformat", "swscale" ]
27 changes: 27 additions & 0 deletions mpeg_encoder/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) 2017, Sébastien Crozet
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the author nor the names of its contributors may be used
to endorse or promote products derived from this software without specific
prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3 changes: 3 additions & 0 deletions mpeg_encoder/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# MPEG encoder

A simple crate for encoding frames into a video file
Loading

0 comments on commit 34293b4

Please sign in to comment.