12:51
I'm using bunjs runtime to execute ffmpeg as terminal code but I don't know if my code is typescript code is wrong or ffmpeg is wrong
and I'm using json file to get the clips correctly
let videos = 0;
let stepsTrim = "";
let concatInputs = "";
for (let i = 0; i < 40; i++)
if (unwantedWords[i].keepORdelete === true)
stepsTrim += `[0:v]trim=0:$
unwantedWords[i].start
,setpts=PTS[v$i];[0:a]atrim=0:$
unwantedWords[i].start
,asetpts=PTS-STARTPTS[a$i];[0:v]trim=$unwantedWords[i].start:$
(...)
11:24
I am trying to extract the next 30 seconds of audio from a live video stream on YouTube using AWS Lambda. However, I'm facing an issue where Lambda does not wait for an FFmpeg subprocess to complete, unlike when running the same script locally. Below is a simplified Python script illustrating the problem:
import subprocess
from datetime import datetime
def lambda_handler(event, context, streaming_url):
ffmpeg_command = [
"ffmpeg",
"-loglevel", "error",
"-i", streaming_url,
"-t", "30",
"-acodec", "pcm_s16le",
"-ar", "44100", (...)
11:12
I am trying to extract the next 30 seconds of audio from a live video stream on YouTube using AWS Lambda. However, I'm facing an issue where Lambda does not wait for an FFmpeg subprocess to complete, unlike when running the same script locally. Below is a simplified Python script illustrating the problem:
import subprocess
from datetime import datetime
def lambda_handler(event, context, streaming_url):
ffmpeg_command = [
"ffmpeg",
"-loglevel", "error",
"-i", streaming_url,
"-t", "30",
"-acodec", "pcm_s16le",
"-ar", "44100", (...)
10:53
I want to record video as well as audio from webcam using ffmpeg,
I have used the following codes to know what devices are available:
ffmpeg -list_devices true -f dshow -i dummy
And got the result:
ffmpeg version N-54082-g96b33dd Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 17 2013 02:05:16 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray (...)
09:04
I am trying to merge .cdg file and .mp3 file to make .mp4 file with help of ffmpeg.
I am using following command:
ffmpeg -i test.mp3 -i test.cdg -y test.MP4
MP4 file was created only with mp3 audio file. cdg file contain is missing
04:29
I am using ffmpeg to convert a batch of .mp4 videos to the .avi format from the command line. The .mp4 videos are all trimmed videos that are sub-videos of a longer video. I have basically segmented the longer video into small, non-overlapping chunks (or maybe with a couple milliseconds of overlap), and I want to convert all of these smaller chunks (.mp4) to .avi. However, I am running into an issue: the .avi files all contain a some additional frames at the beginning of each video which I explicitly trimmed in the .mp4 videos. I'm not sure what exactly is causing this problem or how (...)