18:19
I use ffmpeg-wasm in next-js.
Whenever I execute an ffmpeg command it has a chance that it throws a runtime error "memory access out of bounds". In this case I created a page that has an file selection html element and a button that converts each image to .jpeg format with the following command:
await ffmpeg.exec(['-i', originalFileName, '-q:v', '5', convertedFileName]);
I have tried the same process with different images, extensions, sizes, restarting the application, restarting the computer, different browsers, mobile/desktop and (...)
13:50
How can I execute the following command against FFmpeg in C#?
mkfifo temp1.a
mkfifo temp1.v
mkfifo temp2.a
mkfifo temp2.v
mkfifo all.a
mkfifo all.v
ffmpeg -i input1.flv -vn -f u16le -acodec pcm_s16le -ac 2 -ar 44100 - > temp1.a < /dev/null &
ffmpeg -i input2.flv -vn -f u16le -acodec pcm_s16le -ac 2 -ar 44100 - > temp2.a < /dev/null &
ffmpeg -i input1.flv -an -f yuv4mpegpipe - > temp1.v < /dev/null &
ffmpeg -i input2.flv -an -f yuv4mpegpipe - < /dev/null | tail -n +2 > temp2.v ; &
cat temp1.a temp2.a > all.a (...)
03:34
I'm working on a Python project where I need to convert audio files from μ-law format with an 8000 Hz sampling rate to OPUS format. The challenge is to keep the original channels separated in the conversion process. Despite several attempts with different methods and libraries, I haven't succeeded yet. I'm looking for advice or a Python library that can efficiently handle this conversion.
What I've tried:
1- Using pydub to Load and Export Files: Attempted to load .au files with pydub and export them as OPUS. This approach resulted in ffmpeg related errors, (...)
01:32
I use ffmpeg-wasm in next-js.
Whenever I execute an ffmpeg command it has a chance that it throws a runtime error saying memory access out of bounds. In this case I created a page that has an file selection html element and a button that converts each image to jpeg format with the following command:
await ffmpeg.exec(['-i', originalFileName, '-q:v', '5', convertedFileName]);
I have tried the same process with different images, extensions, sizes, restarting the application, restarting the computer, different browsers, mobile/desktop and sometimes (...)