Skip to content

🎥 Make videos programmatically with React

how about now

Jonny Burger6a21b2c2240c
diff --git a/packages/compositor-darwin-arm64/remotion b/packages/compositor-darwin-arm64/remotion
index 0a9ba23222..428be279d1 100755
Binary files a/packages/compositor-darwin-arm64/remotion and b/packages/compositor-darwin-arm64/remotion differ
diff --git a/packages/compositor-darwin-x64/remotion b/packages/compositor-darwin-x64/remotion
index 280b82ce83..f1b62e097f 100755
Binary files a/packages/compositor-darwin-x64/remotion and b/packages/compositor-darwin-x64/remotion differ
diff --git a/packages/compositor-linux-arm64-gnu/remotion b/packages/compositor-linux-arm64-gnu/remotion
index c723b92501..a458a43e27 100755
Binary files a/packages/compositor-linux-arm64-gnu/remotion and b/packages/compositor-linux-arm64-gnu/remotion differ
diff --git a/packages/compositor-linux-arm64-musl/remotion b/packages/compositor-linux-arm64-musl/remotion
index 7369f8f781..737e775de6 100755
Binary files a/packages/compositor-linux-arm64-musl/remotion and b/packages/compositor-linux-arm64-musl/remotion differ
diff --git a/packages/compositor-linux-x64-gnu/remotion b/packages/compositor-linux-x64-gnu/remotion
index 06c81834e5..0181c959cf 100755
Binary files a/packages/compositor-linux-x64-gnu/remotion and b/packages/compositor-linux-x64-gnu/remotion differ
diff --git a/packages/compositor-linux-x64-musl/remotion b/packages/compositor-linux-x64-musl/remotion
index 76afbf1f55..e5dc168cfd 100755
Binary files a/packages/compositor-linux-x64-musl/remotion and b/packages/compositor-linux-x64-musl/remotion differ
diff --git a/packages/compositor/build.ts b/packages/compositor/build.ts
index 0323560a35..2fe6cf976d 100644
--- a/packages/compositor/build.ts
+++ b/packages/compositor/build.ts
@@ -30,7 +30,6 @@ function isMusl() {
}
const targets = [
- 'x86_64-pc-windows-gnu',
'x86_64-unknown-linux-musl',
'aarch64-unknown-linux-gnu',
'x86_64-unknown-linux-gnu',
diff --git a/packages/compositor/rust/opened_stream.rs b/packages/compositor/rust/opened_stream.rs
index ae252c5ab1..239155799f 100644
--- a/packages/compositor/rust/opened_stream.rs
+++ b/packages/compositor/rust/opened_stream.rs
@@ -299,7 +299,7 @@ impl OpenedStream {
if packet.is_key() {
freshly_seeked = false
} else {
- match packet.pts() {
+ match packet.pts() {
Some(pts) => {
let new_position_to_seek_to = pts - 1;
stop_after_n_diverging_pts = None;
@@ -312,34 +312,28 @@ impl OpenedStream {
0,
);
match res {
- Ok(_) => {
- }
+ Ok(_) => {}
Err(err) => {
if err.to_string().contains("Operation not permitted") {
_print_verbose(&format!(
"Could not perform seek. Got 'Operation not permitted' error."
))?;
_print_verbose(&format!("Attempting to seek to the beginning of the file."))?;
- match self.input.seek(
+ self.input.seek(
self.stream_index as i32,
0,
pts,
new_position_to_seek_to,
AVSEEK_FLAG_ANY ,
- ) {
- Ok(_) => {
- }
- Err(err) => {
- return Err(err.into());
- }
- }
+ )?;
}
-
+ else {
+ panic!("{}", err.to_string());
+ }
}
}
}
- None => {
- }
+ None => {}
};
continue;
}