Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-3 votes
1 answer
62 views

ffmpeg auto scaling problem - Picture width must be an integer multiple of the specified chroma subsampling [closed]

Apparently one of my input files have a wonky aspect ratio and it lands on a "non - integer" auto scaled width. which produces an error message about chroma multiples (naturally) ffmpeg -i &...
kali's user avatar
  • 1,155
0 votes
0 answers
57 views

How to specify --extra-cflags and --extra-ldflags when cross compiling?

I am using the cross compiler aarch64-none-linux-gnu. Now I am trying to compile ffmpeg for aarch64 for a board with arm cpu. My question is when I run script like: export SYSROOT=/mnt/d/Libs/cross-...
H. Yong's user avatar
  • 171
0 votes
0 answers
21 views

How to add a new filter to FFMPEG in c with third-party dependences

I'm a newbie to FFMPEG development and want to add a customized filter to FFMPEG. I've followed the filter tutorial in the docs. However, it's just a very simplified example and not mentioned how to ...
ucag's user avatar
  • 447
0 votes
0 answers
34 views

FFMPEG Trimming Issue in Docker Container for Safari-recorded Videos

I am facing an issue with FFMPEG while attempting to trim a video to a specific duration in a Docker container. The trimming works perfectly on my local machine (M1 Pro), but when I run the same code ...
Z_ohair's user avatar
  • 19
0 votes
1 answer
87 views

How to process float32 arrays by video compression tools and get back float32 values? Video and image formats which natively supports float32 values

I have multiple arrays of float32 values, which might be interpreted as images. They go in the sequence. They are one channel only and they don't restrict itself to [0,1] range. I would like to ...
VojtaK's user avatar
  • 610
0 votes
1 answer
101 views

MLT Framework Target GPU

I have a laptop with both an AMD iGPU and an AMD dedicated GPU and I'm using shotcut which apparently uses the MLT Framework. It seems like shotcut is using the iGPU for HW acceleration based on ...
nooobeee's user avatar
0 votes
0 answers
137 views

FFmpeg: crossfading audio with multiple files, but works with video only

I've found this script that cross-fade's all mp4's in the directory. If I try to add the audio with AUDIO="[0:a]afade=d=1[a0];", using the same iteration, it doesn't work. This works fine... ...
JayCravens's user avatar
-1 votes
1 answer
51 views

ffmpeg avcodec_parameters_copy crash on android

i'm new to this, and i am trying to create an muxer app out of android ffmpeg, so i compile .so lib through ubuntu with: API=21 CPU=armv8-a ARCH=arm64 PREFIX=$(pwd)/android/$CPU/$ARCH TOOLCHAIN=/root/...
徐同鹏's user avatar
0 votes
0 answers
427 views

How to stream 24/7 on youtube (audio + video) with FFMPEG

I plan to create a 24/7 stream with a video and a musical background which is located in a /Playlist folder. I would like the music playlist to be played randomly and if a piece of music is corrupted ...
Carter510's user avatar
0 votes
1 answer
1k views

Record video stream with ffmpeg as a service

I would like to use ffmpeg to record the video stream of a surveillance camera. For this I have a script to start the recording and a service for systemd. The idea is that if ffmpeg is stopped in ...
Transporter's user avatar
0 votes
2 answers
2k views

Run "scrcpy" Commands And Throws Error "libopenh264.so.7 is missing" / "openh264 disabled"

I try to run scrcpy command like what I did before, and proved if it's worked not just once. scrcpy -m 540 -S but after re-installing my OS and use Fedora OS with dnf package manager, I got errors ...
息子運命's user avatar
0 votes
1 answer
168 views

ffmpeg error in subprocess.run but works in terminal

I'm creating my own MKV videos and I found a strange bug when I'm using subprocess module from python 3.11.2 to execute FFmpeg command. My FFmpeg command is running fine in terminal (ends with success)...
8TM's user avatar
  • 33
2 votes
0 answers
974 views

Control bitrate of video generated using opencv VideoWriter

I am generating a video from a set of images using cv2.VideoWriter(filename,fourcc,fps,size) I want to use a particular bitrate for my output videos to reduce the file sizes. I am trying to mimic a ...
darthV's user avatar
  • 393
0 votes
0 answers
220 views

ffmpeg built on mac 10.13 fails when ran on other computer (dyld: Library not loaded libmp3lame.0.dylib)

I have a shell script called buildffmpeg.sh which I call with the command $ sh buildffmpeg.sh on my mac os high sierra 10.13 machine: #!/bin/bash # If you get error `c compiler failed` run `sudo apt ...
Martin's user avatar
  • 1,598
0 votes
1 answer
352 views

How much CPU is FFmpeg consuming?

I want to find out how much CPU my FFmpeg process is consuming. Is there a parameter or implementation for this? I have used various linux applications, but I did not understand anything clearly.
Zeki Ünyıldız's user avatar

15 30 50 per page
1
2 3 4 5
49