diff options
Diffstat (limited to 'transcoder')
-rw-r--r-- | transcoder/src/snippet.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/transcoder/src/snippet.rs b/transcoder/src/snippet.rs index 9f21bf8..90512c4 100644 --- a/transcoder/src/snippet.rs +++ b/transcoder/src/snippet.rs @@ -26,7 +26,7 @@ pub async fn transcode( &["snip-tc", key, &format!("{enc:?}")], move |mut output| async move { let _permit = LOCAL_VIDEO_TRANSCODING_TASKS.acquire().await?; - debug!("transcoding snippet {key}"); + debug!("transcoding snippet with {enc:?}"); let mut args = Vec::new(); match enc { @@ -82,6 +82,10 @@ pub async fn transcode( .args(args) .args(&["-f", "webm", "pipe:1"]) .spawn()?; + // let mut proc = Command::new("cat") + // .stdin(Stdio::piped()) + // .stdout(Stdio::piped()) + // .spawn()?; let stdin = proc.stdin.take().unwrap(); let mut stdout = proc.stdout.take().unwrap(); |