Questions tagged [h264]

h264 is a widely used video compression codec standard

Filter by
Sorted by
Tagged with
5
votes
2answers
6k views

Get h264 from Webcam Logitech C922

I've read multiple threads about streaming a Logitech C920 Webcam via raspberry pi with cvlc using basically this command: cvlc v4l2:///dev/video1:chroma=h264:width=800:height=600 --sout '#standard{...
4
votes
1answer
533 views

uv4l and janus “use of hardware codec is disabled in this restricted edition”

I have a rpi 3 with the v2 camera running stretch 9.1. I've installed raspicam and uv4l according to the instructions on linux-projects.org. I have the janus gateway setup on a separate box. I am ...
3
votes
1answer
420 views

How Can I Stream Video from SD Card over Ethernet via RTSP?

Problem: I need to stream a video file from my RPi SD card over RTSP to display on a client computer. I'm new to RPi and Linux-based interfaces. I'm also new to RTSP and video streaming. My hardware:...
2
votes
0answers
627 views

ffmpeg slideshow on raspberry pi raspbian

I'm trying to make a slideshow video from few (in this case 3) .jpgs. To do this, I'm using ffmpeg -r 1/5 -i bat%03d.jpg -c:v libx264 -r 30 -pix_fmt yuv420p proba12.mp4 and actually it works on ...
2
votes
0answers
1k views

omxplayer ignores --fps option when playing h264 file

I made a video using the Raspberry Pi camera that came with a .h264 extension. I know that this file doesn't have the fps metadata associated with it. I found that playing it with omxplayer like this: ...
1
vote
1answer
7k views

Setting up RTSP using v4l2

Around one year ago I built some Raspberry pi streaming device fitting on a model train. Being unhappy with the setup process on how to receive the stream on windows (using MPlayer), I decided to use ...
1
vote
1answer
579 views

UV4L raspicam webstreaming in H264

I'm having some trouble getting H264 streaming to work. I've been digging around a little and it seems the problem is that UV4L is sending raw H264, which is not directly playable in Chrome. Does ...
1
vote
0answers
61 views

Strange segfault after several hours of running program

I created a program fairly closely related to hello_pi/hello_video.c. And for some reason after several hours of running the program I get these very strange segfaults that I cannot for the life of me ...
1
vote
0answers
33 views

Is it possible to run H.264 hardware encoding on video from a monochrome ArduCam module?

I am early in the design phase for a camera array of ~12 units. Each unit will be comprised of an ArduCam camera module (possibly the OV9281) and a Raspberry Pi to compress the video data and send it ...
1
vote
0answers
256 views

Low video quality with h264_omx encoder

I have a Logitech C922 webcam and I'm recording using ffmpeg with this settings: ffmpeg -thread_queue_size 1024 -f alsa -r 16000 -i hw:1,0 -f video4linux2 -thread_queue_size 512 -s 1920x1080 -i /dev/...
1
vote
1answer
174 views

Should playing uncompressed RGB video files consume strictly less resources than playing encoded files?

I don't know much about video, but to play an h264 encoded file into a screen, don't you have to decode it to something like RGB first? I would expect playing a video that is in RGB format to skip the ...
1
vote
0answers
1k views

Video streaming over Bluetooth from RPi3 to android app

I'm building a robot that is controlled using a Android app by sending commands over Bluetooth. I would like to also get a video over bluetooth to my android app from RPi3. My question here is, did ...
1
vote
0answers
2k views

OpenCV VideoWriter and Hardware h264

I'm working on a python/pygame application, and i'm facing some difficulties when I try to capture a video from a usb camera (640x480) to a h264 encoded file, through OpenCV. Everything work fine with ...
0
votes
1answer
65 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 ...
0
votes
1answer
130 views

Wrong timing in picamera video capture?

I'm using a real simple python script to capture a video file to a file, taken from the "simple recipes" guide : import picamera camera = picamera.PiCamera() camera.resolution = (640, 480) camera....
0
votes
0answers
17 views

VLC cannot read mjpeg video produced over USB webcam

I'm trying to use vlc to transcode a mjpeg stream from a USB camera connected to a raspberry pi 3B+, however VLC seems unable to read the mjpeg video stream from the camera, I already checked the v4l2-...
0
votes
1answer
246 views

Omxplayer doesn't play videos when OpenGL enabled

Today I setup my new RPI3 B+ with raspbian stretch as a desktop (OpenGL enabled 128 mem split). I use RPIs for some time as servers but not as desktop. I tried to play video (with avc codec) with ...