Questions tagged [ffmpeg]

a free software package including libraries and programs for handling multimedia data.

Filter by
Sorted by
Tagged with
1
vote
1answer
279 views

audio video out of sync / framerate issue?

I am trying to sync the raspberry pi camera (revision 1.3) to an external microphone. The sync is fine for the first 5 minutes or so, but around the 20 minute mark, the difference becomes really ...
0
votes
1answer
2k views

Problem with every even photo using USB camera

I use Raspberry Pi 3 with Linux RaspberryPi 4.9.59-v7+ onboard together with Logitech HD Webcam C270. It works quite well, I am able to preview video stream in Qt V4l2 Test Utility, take a photo with ...
0
votes
0answers
35 views

send a MJPG stream to twitch using ffmpeg on a raspberry pi 4

I'm trying to stream the contents of my webcam (a Logitech C270) to twitch, using ffmpeg on a raspberry pi 4 with four gigabytes of RAM. According to v4l2 (v4l2-ctl -d /dev/video0 --list-formats-ext), ...
0
votes
1answer
558 views

How do you set hardware video encoder options with V4L2 M2M?

TL;DR When using ffmpeg and the h264_v4l2m2m hardware-accelerated codec, how do I set the encoder options such as the bitrate and key frame interval? Details I am using these commands to capture raw ...
2
votes
1answer
1k views

Raspberry Pi Zero hardware based video encoding

I'm trying to build a dashcam with a Raspberry Pi Zero with an official Raspberry Pi Camera (version 2) in an official Raspberry Pi Zero case mounted with a old GPS device cradle. I installed motion ...
0
votes
1answer
35 views

ImportError: librsvg-2.so.2: cannot open shared object file: No such file or directory

I am having issues with the rsvg2 library which is a dependency of ffmpeg and opencv. I have installed ffmpeg using the standard sudo apt install ffmpeg and Python-opencv with pip install opencv-...
0
votes
1answer
521 views

Retroactive audio recording/continuously record audio, save last X minutes on command?

I'm trying to set up my Raspberry Pi to continuously record the last X minutes of audio until given the command to save it to a file. The only comparison I can make is an NVIDIA Shadowplay for audio. ...
3
votes
1answer
2k views

Streaming RTSP feed over DLNA

I have a 'smart' TV that has a very limited set of functions, one of them being it can stream videos from any DLNA server on the LAN. I have an RTSP stream on the network that I would like to view on ...
1
vote
1answer
3k views

How do I set up live Twitch streaming from RetroArch on a Pi 3?

I have been tinkering with Raspberry Pi's for a few years now and have some experience with installs, command line and using SSH, etc. I currently have Pi 3 with Retropie 1.6.3 installed and I can SSH ...
1
vote
1answer
7k views

RPI-3: Performance issue on FFmpeg with mmal support

Issue: FFMPEG GPU/Hardware acceleration is not enabled on RPI. FFPlay is jittery, patchy and takes close to 100% CPU. Description: The video streaming of mpeg4 files is very slow (the video streaming ...
0
votes
1answer
465 views

AVFrame YUV420P to dispmanx VC_IMAGE_YUV420

I'm using ffmpeg for decoding a video with h264_mmal encoder. And all test videos are in YUV420P color encoding. Also I'm using dispmanx for drawing frames from a video. Only problem which I have is ...
6
votes
2answers
2k views

ffmpeg performance degrades over time

I am using a Pi Zero W with the Pi camera (noir) to stream live to Youtube using ffmpeg. The command line I am using is: raspivid -o - -t 0 -h 720 -w 1296 -fps 24 -b 6000000 | ./ffmpeg -ar 44100 -ac ...
6
votes
1answer
7k views

RPI 4 - ffmpeg - how to get hardware h.264 decoding to work?

I have had good success on the RPi 3 using ffmpeg to decode h.264 streams from various Ethernet video sources. However, on the RPi 4, when I include the -c:v h264_mmal directive, it appears to ...
0
votes
1answer
57 views

Fast video recording with webcamera

I want to connect at least one webcamera to RPi3 and record smooth 1080p 30fps video. RPi camera is capable of that even on RPi Zero. But everything I tried on RPi 3 gives maximum 8 fps on 720p. Is ...
1
vote
1answer
14k views

Raspberry pi Webcam stream with ffmpeg

Hello i am using ffserver with ffmpeg to stream a video with audio from web cam. The ffserver.conf file is : Port 80 BindAddress 0.0.0.0 MaxClients 10 MaxBandwidth 50000 NoDaemon <Feed webcam.ffm&...
1
vote
2answers
3k views

Problems using bcm2835_v4l2 module w/ ffmpeg

I've run into some problems using the native bcm2835_v4l2 module on my Raspberry Pi Zero W (running Raspbian Stretch). The module is loaded and the associated video device is visible: $ v4l2-ctl --...
0
votes
0answers
165 views

How to install ffserver on a Raspberry pi 4?

After searching many forums, and finding broken tutorials and outdated how-tos, I can't find the way to have ffserver installed alongside with ffmpeg. So, as everyone seems to claim that ffserver is ...
0
votes
0answers
54 views

Is RPI B+ capable of ffmpeg raspivid and aac audio at speed 1x?

since a longtime I do livestream to youtube or twitch with 'copy' codec of raspivid (1280x720@25) and sound from /dev/zero Now I try to add an audio track from chinese usb mic. If I use copy audio ...
0
votes
0answers
79 views

FFMPEG [48.0K blob data]

Hello there i am using ffmpeg on my Raspberry Pi Zero W for RTSP stream. My stream script is : raspivid -t 0 -a 1024 -a "Camera Number" -a 12 -ae 32 -n -w 1280 -h 720 -fps 15 -o - | ffmpeg -...
1
vote
3answers
10k views

Read ip camera stream video on python using opencv3

I installed opencv3 installation link on my raspberrypi 3 and i've tested this, everything is ok, but when i try to read the ipcamera video stream encountered this error self.stream = cv2....
0
votes
0answers
91 views

Live streaming camera and microphone input on a Raspberry Pi 4

I got a a Raspberry Pi camera and a USB microphone connected to the Raspberry Pi 4. All of them are working seperately. But now, I would like to stream them live and combined for accessing it in HTML. ...
0
votes
0answers
123 views

Stream video from USB device using a Pi Zero

A friend of mine has a bird box with a camera system setup which transmits its images to a receiver plugged into their TV. They asked me if it would be possible to view the footage on a mobile phone ...
-1
votes
1answer
1k views

Can I set the number of threads for FFMPEG on the Raspberry Pi 3 to 4 since it is a Quadcore?

I want to use the full potential of the Pi 3's Quad Core ARM. Right now my FFMPEG encoder is set to 1 Thread (settings from my Pi 2.) I'm curious if I can up the thread count to 4 since I have 4 cores ...
0
votes
1answer
6k views

avconv for converting mkv to mp4

I would like to convert a video file from mkv to mp4. Usually (Debian 9, main laptop), I do: $ ffmpeg -i input.mkv -c:v libx264 output.mp4 On the other hand, on raspbian ffmpeg is replaced with ...
0
votes
0answers
189 views

How do I make omxplayer playing /dev/video0 on raspberry pi

I am using the following script to play an HDMI video capture input connected to one of the usb ports of PI. #!/bin/bash rm /tmp/vbuf mkfifo /tmp/vbuf ffmpeg -loglevel -8 -y -f v4l2 -input_format ...
1
vote
2answers
1k views

Tons of Bluetooth: hci0: Frame reassembly failed (-84) messages

Sorry in advance if the explanation is too general, I can attach code if needed... I'm working on a project where a python program is running in a device, and a Bluetooth socket is opened and ...
6
votes
1answer
2k views

Stream video from camera using ffserver?

I'm trying to stream video from the camera module using ffserver. My server configuration is HTTPPort 8090 HTTPBindAddress 0.0.0.0 MaxHTTPConnections 8 MaxClients 4 MaxBandwidth 1000 CustomLog - #...
0
votes
0answers
640 views

I have a Logitech c930e camera, what is the highest frame rate I can get at max. resolution? (i.e. 1920x1080)

I have a c930e camera: $ v4l2-ctl --list-devices Logitech Webcam C930e (usb-0000:00:1d.0-1.3): /dev/video0 I checked the capabilities like so: $ ffmpeg -f v4l2 -list_formats all -i /dev/video0 [...
2
votes
1answer
372 views

Stream camera input over 5G WiFi to multicast address using FFMpeg

I am trying to stream my Intel RealSense D435 RGB camera input to a multicast address on my network. Please note, video streaming, encoding, is very new to me - I do not understand much, when ...
0
votes
2answers
398 views

"avplay audio.wav" generates error: "Could not initialize SDL - Unable to open a console terminal"

When I try to play an audio file using avplay on a raspberry pi3 running raspbian jessie, I get the following error. pi@raspberrypi:~/sounds $ /usr/bin/avplay clip1.wav avplay version 11.9-6:11.9-1~...
1
vote
0answers
51 views

ffmpeg on Raspberry Pi unable to stitch many photos into video

I'm working on a program in which I have a folder full of images, named in the form image0000.jpg, image00001.jpg, and so on, and I want to stitch these images together into a video. To do this, in ...
1
vote
1answer
1k views

ffmpeg - Video Audio Capture with Compression

I am running ffmpeg script that captures webcam video and microphone audio and then uses video compression before saving the audio/video mp4 file. The script works on my desktop but cause error on my ...
0
votes
0answers
111 views

How do I disown a youtube-dl process and have it finish multiple downloads?

I am using youtube-dl to download an entire playlist of videos. I would like to do this overnight as the videos are quite long. The first video continues to download after being disowned, but the ...
1
vote
0answers
323 views

Audio/Video drift when streaming to Twitch using FFMpeg

I'm trying to build a Twitch streaming box to stream from an input device. Link to the project is: https://github.com/jimbobbennett/RaspberryPiTwitchStreamer My setup is: Raspberry Pi Model 3B+ ...
1
vote
1answer
553 views

FFMpeg doesn't have tools/zmqsend

We are trying to use zmqsend (it's part of the ffmpeg repository) to communicate with a ffmpeg instance. On Raspbian, ffmpeg is configured with --enable-libzmq, and libzmq-dev is installed, but ...
1
vote
1answer
459 views

Omxplayer live RTSP / ffmpeg record

I have a problem on my rpi 3 b+, when i record the screen using this ffmpeg -f x11grab -r 30 -s cif -i :0.0 /tmp/out.mpg it was able to record it properly but when omxplayer plays RTSP. it doesn't ...
1
vote
0answers
52 views

What's the maximum rf fm signal that i can generate using raspberry pi?

I am planning to create a raspberry pi based monitoring system where my raspberry pi acts as a transmitter. I learned that we can use pi to generate FM signals from RPiTX project. I am planning to ...
1
vote
0answers
3k views

Broadcast camera feed to network using Raspberry Pi 4 with FFMpeg

Good day all So I have to try to stream my Intel Realsense D435 camera to my local network. After reading up on many different sites, tutorials, etc I figured out the following: What can I do with ...
0
votes
0answers
236 views

Untrunc / repair mp4

I have been trying all day to get untrunc installed on my Raspian (Pi 4) but have not made any headway. https://github.com/ponchio/untrunc is what I've been following. After that compile step, I ...
1
vote
1answer
3k views

FFMPEG and RPi picamera mp4 video recording

I'm trying to capture a .mp4 video using RPi + picamera and ffmpeg but I can't do this with this command raspivid -t 50000 -fps 25 -b 500000 -vf -o - | ffmpeg -i - -vcodec copy -an -f lavfi -r 25 -t ...
2
votes
1answer
619 views

Unable to stream live on Youtube using Raspberry Pi Zero W using ffmpeg

I am trying to stream live on Youtube using a Raspberry Pi Zero W and a raspicam. I have installed ffmpeg using the instructions in this link. I am trying to start the streaming on Youtube using the ...
5
votes
1answer
3k views

How to add audio as an input for ffmpeg capturing?

I've been lurking for a while now and I finally created an account because I'm stuck on this particular problem. I've got a raspberry pi 3 with a camera attached to it. I'm able to capture video as an ...
0
votes
0answers
34 views

How can I download FFMpeg git? I keep getting permission denied error

I tried many ways to download FFMpeg but to no avail. http://jollejolles.com/installing-ffmpeg-with-h264-support-on-raspberry-pi/ I used this website as reference and I managed to do everything up to ...
1
vote
0answers
51 views

minidlna ‘PIX_FMT_RGB32_1’ undeclared error with libavutil

I'm trying to compile the latest miniDLNA code from https://github.com/folhabranca/minidlna on raspbian jessie (8) I installed libavutils and libavutils-dev from respositories But when I make I get: ...
2
votes
1answer
13k views

Best FFMPEG configuration for recording Video+Audio with RaspberryPi and USB WebCam

I've spent so much time trying to figure out how this FFMPEG and their libraries work :( I have a RaspberryPi 2B and a Logitech USB Webcam. Here is the input from FFMPEG list from my /dev/video0: ...
1
vote
1answer
70 views

Avconv streaming to URL - need help

I'm trying to learn as I go but haven't managed to come up with the answer to my issue here. I'm trying to stream to a URL using the 'pi-camera-connect' package and the 'avconv' package. The video on ...
0
votes
0answers
27 views

Is it possible to gradually save data while recording. In order not to lose them in case of power failure?

I use the ffmpeg library to record audio and video. If a power failure occurs, the video file becomes 0 bytes. How can I record, so as not to lose data? my ffmpeg configuration ffmpeg \ -hide_banner ...
2
votes
1answer
256 views

What is ffmpeg "rpt1" version?

When I run apt-cache show ffmpeg, there are two versions available. One of them has "rpt1" on the end of the version number. I can't find any info about this; what is the difference between the two? ...
1
vote
0answers
122 views

How to merge the audio stream incoming from other system

The ffmpeg is running on my RPi 3B, currently. My RPi has USB H.264 CAM and USB audio converter and is sending live stream to YouTube with rtmp. Some case, audio source is coming about 150m far from ...
1
vote
1answer
7k views

Create a RTSP stream using motion and a USB webcam

I've just set up a fresh RaspberryPi (Zero W) and started installing motion, in order to receive a livestream of my (old) USB webcam (Microsoft LiveCam HD-3000). I know this is a pretty old one but ...