Questions tagged [raspivid]

the command line tool for capturing video with the Pi's camera module.

Filter by
Sorted by
Tagged with
0 votes
0 answers
72 views

Gstreamer OpenCv on Mac to Raspberry Pi

I am working on a VR display using a Raspberry Pi. After thorough testing, I have determined the Pi is not powerful enough to do the processing I need locally, so I have turned to Gstreamer. I want to ...
user avatar
1 vote
1 answer
40 views

Streaming video+audio from Pi4 to Pi4 via ethernet

I would like to stream video & audio from one Pi4 (equipped with mic/cam) to another Pi4 (equipped with screen/speaker) via ethernet (cable connected directly between them). I've looked around, ...
user avatar
0 votes
0 answers
130 views

Raspberry Pi is showing blank screen after reboot

I am using rpi 5mp camera with rpi 3. But using the raspistill or raspivid :- $ raspistill -o ~/Pictures/first_image.jpg threw the following error bash raspistill command not found Also using ...
user avatar
0 votes
0 answers
794 views

Cannot enable camera

I've been trying to enable the raspberry pi camera on my new pi 3B with no success. I've tried updating. I tried raspi-config on the commandline, enabled the camera and rebooted. These did not work. ...
user avatar
  • 1
0 votes
0 answers
29 views

Random Raspivid failure: tvservice-client

In my application, I run raspivid from Python via subprocess, typically raspivid -t 10000 -o vid.avi. (This is a permanently running app in which an outside event triggers the recording.) Sometimes, ...
user avatar
0 votes
1 answer
37 views

Raspivid stdout hangs after random interval in Node and Python

Around 2 years ago, I made a simple server in Node.JS, running on a RPi Zero W, that started a raspivid process and captured MJPEG frames from the output. These were send to a website using a ...
user avatar
0 votes
0 answers
27 views

HQ Camera with GPI Case

I have a Rbpi 4, 4gb with a HQ camera sensor on its way. I looked at the GPI case, very cool design. Could I use its buttons for camera purposes? Like code them to; turn on/off, shutter/record button? ...
user avatar
0 votes
0 answers
93 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 ...
user avatar
  • 119
0 votes
0 answers
204 views

Raspivid Overlay

I have been struggling for the past week to come up with a method to overlay text on a Raspivid preview. I have my raspberry pi connected via HDMI and simply want to overlay sensor data (in the form ...
user avatar
2 votes
1 answer
903 views

How to improve "motion" framerate, or feed "raspivid" h264 stream into "motion"?

I'm running Pi 4 with a 5 megapixel OV5647 camera attached to its camera port. I'm using motion to run motion detection, with the goal of running low-res stream at 2 frames per second for detection ...
user avatar
0 votes
0 answers
90 views

Check if Raspivid service is running?

I am creating a program the requires the following: Check if raspivid is currently running. Check if its running out of a services file. if it is running out of a specific file, determine which ...
user avatar
  • 1
0 votes
1 answer
2k views

Raspivid multicast UDP streaming

I need to stream raspivid video via UDP instead TCP in a multicast fashion. Using: raspivid -w 640 -h 480 -vf -ih -fps 30 -n -o udp://dest_address:12345 I can stream the video trough UDP on ...
user avatar
  • 112
1 vote
1 answer
177 views

popen() vs netcat

I'm writing a RPi based surveillance solution that, among other things, starts video feeds on demand. In my very first attempt I wrote a pretty simple TCP server that listen for a connection collect ...
user avatar
  • 112
2 votes
1 answer
744 views

Raspbery camera, video stream at 3280x2464

According to this page Raspberry camera v2 can produce video stream with resolution of 3280x2464. However, all my tries with raspivid and gstreamer/v4l2 fails. Knows someone how to reach this video ...
user avatar
0 votes
0 answers
88 views

Raspistill option "--stats"

Is this option still available? I have been attempting to use it but I don't see any information on the preview or the final image. Command used: sudo raspistill -st -ISO 150 -ss 1500000 -e png -o ...
user avatar
  • 35
1 vote
1 answer
155 views

Video Distortion using PiCamera 2.0, but raspistill is fine

I'm new to using the Picamera, but I cannot play a video without distortion. The top of the image and any activity is redish/pink in color. I can take a picture with no problem. I'm using VLC to view, ...
user avatar
  • 21
0 votes
0 answers
105 views

Raspberry Pi 4 Camera video not working but image are

https://projects.raspberrypi.org/en/projects/getting-started-with-picamera/4 The error is persistent using the CLI raspivid -o Desktop/video.h264 and with python camera.start_preview() camera....
user avatar
  • 1
0 votes
0 answers
68 views

Bad video recording quality

I am trying to record a video using raspivid but when I am playing the video has bad quality and shorter than it should be raspivid -t 30000 -o vid.h264
user avatar
2 votes
1 answer
746 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 ...
user avatar
1 vote
0 answers
106 views

RGB888 as input to Raspberry Pi

I need to give RGB888 data coming from one of my hardware into a Raspberry Pi and should be able to see the video feed via a script just like raspivid. Methods to interface Pi to DPI is available. I ...
user avatar
1 vote
1 answer
40 views

Is it possible to change video resolution while recording?

Is there possible to change video resolution from 640x480 to 1640x 1232 while is recording and vice versa?
user avatar
1 vote
1 answer
1k views

how does raspistill/raspivid display video without GUI?

I'm trying to capture video from raspberry pi camera using OpenCV and display it without using gtk or x11. I noticed that raspivid displays camera output without using any window, I wonder if it's ...
user avatar
1 vote
0 answers
290 views

Show/hide preview of Raspivid on runtime

Is there any possibility to hide/show preview of video on runtime? I know there is only signal event handler to pause recording but I don't see possibility to control behaviour of Raspivid via DBus or ...
user avatar
  • 21
1 vote
0 answers
354 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+ ...
user avatar
3 votes
1 answer
387 views

Take 5 images a second, triggered by motion sensor, switching between 2 cameras depending on time

I'm working on a project similar to a security camera with a Raspberry Pi NoIR Camera Module v2 and a FLIR Lepton 3.5 on a purethermal 2. I am somewhat new to this and am not sure how to proceed. ...
user avatar
  • 31
7 votes
3 answers
10k views

Raspivid: 'ES_OUT_SET_(GROUP_)PCR is called too late' & stream keeps freezing

First post here, hopefully i'm in the right place :) I'm attempting to stream low-latency video from my Raspberry Pi to my Windows PC using Raspivid and VLC. I'm no expert on this stuff and i'm ...
user avatar
1 vote
1 answer
574 views

FFMPEG Raspivid Videos are shorter than they are supposed to be

I am recording and piping my video with the following command : raspivid -w 1920 -h 1080 -fps 25 -b 7000000 -o - -t 0 | ffmpeg -re -f h264 -framerate 25 -i - -vcodec copy -y -r 25 -strict ...
user avatar
  • 11
4 votes
1 answer
904 views

Fast pictures with PiCam and Java

I was already searching through forums and this stack exchange but I couldn't find anything that helps. So here is my problem. I have written a program in Java that analyzes pictures and outputs ...
user avatar
  • 43
0 votes
1 answer
169 views

raspivid doesn't include b-frames

I'm streaming raw h264 using raspivid on Raspberry Pi 3 and PiCam v1 . However, even I set the h264 profile to main or high, stream only contains I and P frames. Here is the command that I use for ...
user avatar
0 votes
1 answer
43 views

What will happen with 2 AV signals

Should be a quick one. I know you can mix AV channels to overlay images but if I connect 2 raspberry pi to one screen in AV and no multiplexer how will the channels mix if they are at different ...
user avatar
0 votes
1 answer
617 views

YouTube Stream and Display Date and Time on the stream

I'm streaming to YouTube with a Raspberry Pi. I would like to to display the date and time in the video. Is this possible? I'm using the terminal command: raspivid -o - -n -t 0 -vf -hf -br 50 -fps ...
user avatar
1 vote
0 answers
170 views

Recent raspivid segmented filenaming does nog work properly

I updated to pi3B+ and got the most recent raspivid. In my old software I use raspivid -sg 6000 -wr 40 -sn 4 -o REC_%04d.h264" to produce a file named REC_0004.h264. The new version produces a ...
user avatar
  • 11
1 vote
0 answers
630 views

How do I get rid of these weird video artifacts when using raspivid?

I've got a Raspberry Pi 3 B+ powered via NavoLabs POE Hat with an Arducam for capturing video. I'm using the following command to capture the video: raspivid -t 0 -w 1280 -h 720 -o - The video has ...
user avatar
1 vote
2 answers
203 views

Developing custom effects for raspivid?

Has anyone created a custom effect for raspivid's -ifx option? From a quick look at the Github repo, it seems there is it might be run through the MMAL interface but I have no idea where to get ...
user avatar
1 vote
0 answers
2k views

How to stream low latency camera feed to RTMP server

Are there any optimizations or recommended techniques for streaming a camera feed from a raspberry pi to an RTMP server. Currently I get a 1-2 second lag when I run: raspivid -n -t 0 -w 1280 -h 720 -...
user avatar
1 vote
0 answers
516 views

How to wrap a H264 stream to a MP4 container

I have successfully streamed an h264 video over the local network with this command. raspivid -o - -t 0 -n -w 1280 -h 720 -vf -vs -fps 30 -b 3500000 | cvlc -vvv stream:///dev/stdin --sout '#rtp{...
user avatar
  • 111
0 votes
1 answer
7k views

Can't get OMXPlayer to display video

I am watching a tutorial on YouTube and literally following everything that he is doing.... I have recorded a video and now trying to play it using the omxplayer When i go to play my video using the ...
user avatar
  • 21
0 votes
1 answer
2k views

Using Raspivid with a SSH tunnel

I can successfully stream using raspivid -o - -t 0 -w 640 -h 480 -fps 30 |cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8160}' :demux=h264 and I can view the stream in ...
user avatar
  • 1
1 vote
2 answers
604 views

Why does raspividyuv need sudo?

I'm running Arch Linux ARM on my RPi 1B. I'm trying to pipe raspividyuv's output to a program that I've written and it seems that I can't run raspividyuv without root privileges. raspivid works fine ...
user avatar
6 votes
2 answers
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 ...
user avatar
  • 161
2 votes
0 answers
520 views

Pi zero with Pi can video steaming stability issues

I wanted to setup my pi zero and pi camera as a rstp streaming cctv camera. I tried motion, but this ran the pi at 100% cpu utilisation and I didn't need motion capture as a I have a seperate (motion) ...
user avatar
0 votes
2 answers
2k views

raspivid with awb off gives black image

I want to turn off auto white balance for my raspivid stream. However, when doing that, the image turns completely black. Why? And how do I fix this?
user avatar
  • 2,216
0 votes
1 answer
53 views

Raspberry PI 3 + L298N Rapid changing action hangs up the Pi

I do some research in Robotic using several machine learning algorithm. I am using Raspi 3 with native camera module. I stack the Raspi with L298N Motor Driver. They are using separate power supply....
user avatar
1 vote
2 answers
2k views

How to set the camera sensor mode with V4L2

I'm referring to the modes listed here. When capturing video with raspivid, the -md option allows overriding the default mode selection heuristic. I need to find out how to achieve the same when ...
user avatar
1 vote
1 answer
12k views

What is the correct method for streaming video from the camera module to date? [closed]

I just started experimenting with a new Raspberry Pi 3 Model B with the latest Raspbian installed. I was looking for the best way to stream from the camera module and I have found different answers, ...
user avatar
  • 113
1 vote
0 answers
1k views

Night Mode with Rasperry Pi Zero Camera Module

I'm trying to take some pictures with the Raspberry Pi Zero and the optional camera module in pitch-black. I am wondering what the best options are to use when invoking raspivid. I have tried: ...
user avatar
  • 111
2 votes
0 answers
211 views

Streaming video to a <video> tag

I have the Raspberry camera module, and I try to get the following setup to stream live video to a website: Html code: <video width="640" height="480" controls autoplay> <source src="...
user avatar
0 votes
0 answers
436 views

Raspivid fails only when used with gstreamer?

I have a Pi Zero running Raspbian Jessie and a pi camera. I've installed gstreamer with: sudo apt-get install gstreamer1.0 If I run: raspivid -w 1280 -h 720 -v -fps 10 -b 500000 -t 0 -o - | \ gst-...
user avatar
0 votes
1 answer
273 views

Raspivid fails to stream to YouTube - 113 No route to host

I am trying to setup a YouTube livestream. I am using the official Pi cam. I am using this command: raspivid -o - -t 0 -vf -hf -fps 30 -b 6000000 | avconv -re -ar 44100 -ac 2 -acodec pcm_s16le -f ...
user avatar
2 votes
0 answers
1k views

Live stream to Youtube - sound sync

I have Raspberry pi 3 model b. I stream video and sound (from dedicated camera + usb sound card) to Youtube by command: raspivid -o - -t 0 -vf -hf -fps 30 -b 600000 | ffmpeg -i pipe: -f alsa -ac 1 -i ...
user avatar