Questions tagged [ffmpeg]
a free software package including libraries and programs for handling multimedia data.
124 questions
0 votes
0 answers
50 views
h264_v4l2m2m vs. libx264
While configuring Go2rtc for transcode RTSP streams on RPi4 with ffmpeg, I encountered a problem using the h264_v4l2m2m encoder. Go2rtc, acting as a stream server, creates ffmpeg processes linking ...
0 votes
0 answers
61 views
FFMPEG v4l2m2m HW transcode on Pi3B+?
I have a RPi3B+, and I wish to test transcoding capabilities (h264->h264) with ffmpeg: ffmpeg -c:v h264_v4l2m2m -rtsp_transport tcp -i 'rtsp://admin:admin@camip:camport' -c:v h264_v4l2m2m -pix_fmt ...
1 vote
0 answers
50 views
Connecting RPi cam v1 with Raspberry Pi CM4 using waveshare Nano baseboard
I am trying to connect my RPi cam with RPi CM4 and waveshare nano baseboard. I updated the config file: # For more options and information see # http://rptl.io/configtxt # Some settings may impact ...
0 votes
0 answers
37 views
Adding FFMPEG-Audio-Codecs to PJSIP in a C++ project
I'am trying to build a SIP-Client for special purposes with support of MP3/MP2/AAC Codecs coding in C++. FFMepg-dev is properly installed on my Raspi 4 with RaspiOS 64bit. I tried to configure PJSIP ...
0 votes
0 answers
280 views
Full Hardware Acceleration for USB Webcam 1080p@30fps to H.264 RTSP Stream on Raspberry Pi 4
Full Hardware Acceleration for USB Webcam 1080p@30fps to H.264 RTSP Stream on Raspberry Pi 4 Description I’m trying to achieve full GPU hardware acceleration for encoding video from a USB webcam (...
0 votes
0 answers
127 views
I want to build a ultra low latency live streaming application using raspberry pi, picamera and ffmpeg
I’m working on building an ultra-low-latency live streaming application using the Raspberry Pi Camera Module V2. My setup includes FFmpeg for video streaming over UDP to achieve low latency, and ...
0 votes
0 answers
211 views
is real-time video compression possible on a Raspberry Pi to wirelessly transmit multiple live feeds?
the idea I want to achieve is this: I'm planning to make an eye-tracker device, which is in 2 parts: the first part is what the subject/user wears, includes an eyeglass-shaped frame, 2 Infrared ...
1 vote
1 answer
372 views
ffmpeg consume 252% of raspberrypi CPU
I am using raspberry pi-4 8GB to take input from a video device /dev/video0 and output it over a network rtp://192.168.10.10:6001 I am using following ffmpeg command ffmpeg -f v4l2 -i /dev/video0 -c:v ...
0 votes
1 answer
163 views
FFMPEG hangs intermittently before audio recording starts
I'm trying to get FFMPEG to pull both audio from my webcam. It works fantastically, when it does, but is intermittent. I am using the following command: ffmpeg -report -y -f alsa -channels 1 -ar ...
0 votes
1 answer
189 views
multiple (?vlc?) videos on the one screen
I would like to display (say 4) videos on the one screen. I have planned to use vlc running in an xterm. This would have given me access to the geometry X operations to put the xterm windows where I ...
0 votes
0 answers
85 views
Raspberry Pi Camera feedback freezes when moving NEMA 17 stepper motor with A4988 stepper motor driver
I have a Raspberry Pi with a camera module and a NEMA 17 stepper motor connected to it. When I run the command ffplay /dev/video0, the video runs perfectly. However, whilst the video is running, and I ...
2 votes
2 answers
7k views
Streaming straight from libcamera-vid to RTMP on Pi Zero 2 W: FFmpeg not needed?
I was able to figure out all of my libcamera stream settings needed to stream video from my Camera Module 3 and audio from a USB microphone in my RPi Zero W 2 straight to YouTube, which is as follows: ...
1 vote
0 answers
245 views
Performances increase for ffmpeg on Raspberry Pi
Situation I am using ffmpeg to create GIFs from MKV files, adding subtitles from SRT files. My command usually looks like this: ffmpeg -y -ss <start_time> -to <end_time> -copyts -i <MKV ...
2 votes
0 answers
2k views
ffplay udp streaming error and quality issue
I am receiving UDP streaming through ffmpeg ffplay, but there is a problem that the video is broken. I'm using a GoPro Hero 10 camera, but I can't receive more than three camera streams because the ...
1 vote
0 answers
1k views
Pi 4: ffmpeg can't set gop size when using h264_v4l2m2m to encode video
The Raspberry Pi 4 can encode videos using hardware acceleration by using 64 bit Raspberry Pi OS, a particular ffmpeg fork and the h264_v4l2m2m codec. Alternatively, Ubuntu and the 4.4 version of ...