All Questions

Tagged with
Filter by
Sorted by
Tagged with
34 votes
5 answers
20k views

MediaCodec and Camera: colorspaces don't match

I have been trying to get H264 encoding to work with input captured by the camera on an Android tablet using the new low-level MediaCodec. I have gone through some difficulties with this, since the ...
gleerman's user avatar
  • 1,803
17 votes
1 answer
64k views

Stream H.264 video over rtp using gstreamer

I am newbie with gstreamer and I am trying to be used with it. My first target is to create a simple rtp stream of h264 video between two devices. I am using these two pipelines: Sender: gst-launch-1....
abir's user avatar
  • 295
16 votes
2 answers
6k views

How to use AVSampleBufferDisplayLayer in iOS 8 for RTP H264 Streams with GStreamer?

After getting notice of the HW-H264-Decoder being available to programmers in iOS 8, I want to use it now. There is a nice introduction to 'Direct Access to Video Encoding and Decoding' from WWDC 2014 ...
Zappel's user avatar
  • 268
15 votes
2 answers
22k views

Realtime/zero-latency video stream: what codec parameters to use?

I am writing an Android App which encompasses sending and receiving a video stream from a desktop PC. For the app to work properly we need as little latency as possible, sacrificing video quality if ...
Managarm's user avatar
  • 1,109
14 votes
4 answers
17k views

WebRTC and gstreamer on linux device

I have small computer (something like Arduino or Raspberry pi) with Linux, camera and gstreamer installed on it. I need to stream h264 video from this device to browser using WebRTC technology. Also, ...
Footniko's user avatar
  • 2,722
13 votes
1 answer
8k views

What is the difference between byte stream and packetized stream in gstreamer rtsp h264 depayloader

In the gstreamer rtp h264 depayloader, there is a check to see if the incoming stream is a byte stream or packetized stream. Can anybody tell me what is the difference between these two formats? ...
Steve Walsh's user avatar
  • 6,493
13 votes
5 answers
49k views

Capturing h.264 stream from camera with Gstreamer

I'm trying to capture H264 stream from locally installed Logitech C920 camera from /dev/video0 with Gstreamer 1.0 v4l2src element. v4l2-ctl --list-formats shows that camera is capable to give H264 ...
s.webbandit's user avatar
  • 16.6k
13 votes
3 answers
33k views

Streaming RTP/RTSP: sync/timestamp problems

I'm having some trouble streaming H.264 video over RTSP. The goal is to live-stream a camera image to an RTSP client (ideally a browser plugin in the end). This has been working pretty well so far, ...
Jacob Peddicord's user avatar
11 votes
6 answers
89k views

decode a mp4 video with gstreamer

I want to play a mp4 video in Gstreamer, but i got an error with the x264dec which is not found. I wrote this pipeline gst-launch filesrc \ location=/media/thesis/Gstreamer/pub_Irma.mp4 \ ...
KKc's user avatar
  • 324
9 votes
2 answers
15k views

No decoder available for type 'video/x-h264

I am trying to run one of qt sample apps without any modification. It is called player and it is a multimedia widget demonstration. My system is Ubuntu 16.04 64bit. When I try to play a video, I see ...
Aras's user avatar
  • 5,908
8 votes
5 answers
5k views

Streaming H264 using RaspberryPi camera

I am working on a project to build a robot using raspberry pi that will send video to android device, and will be controlled from it. I decided to use the RaspberryPi camera (maybe usb webcam is ...
A. Sarid's user avatar
  • 3,966
6 votes
1 answer
12k views

Using hardware acceleration with libavcodec

I have downloaded a software (info-beamer) and I would like to use the GPU acceleration to decode H.264 videos. I know my platform is able to decode H.264 videos by using the GPU. I performed some ...
morandg's user avatar
  • 1,066
5 votes
2 answers
30k views

Playing RTSP with python-gstreamer

I use gstreamer for playing RTSP stream from IP cameras (like Axis.) I use a command line like this: gst-launch-0.10 rtspsrc location=rtsp://192.168.0.127/axis-media/media.amp latency=0 ! decodebin !...
tirlototo's user avatar
  • 111
5 votes
1 answer
7k views

How to get h264 frames via gstreamer

I'm familiar with ffmpeg, but not with GStreamer. I know how to get a H264 frame through ffmpeg, for example, I can get a H264 frame through AVPacket. But I don't know how to use GStreamer to get a ...
DJI_lover's user avatar
5 votes
1 answer
5k views

Hardware video decoding on Android using GStreamer

I have to implement a GStreamer pipeline on Android which will get a live mpegts stream from a mpegts server on a linux machine(also implemented through GStreamer). Now, I have a Samdung Galaxy Tab2, ...
Yusuf Husainy's user avatar
5 votes
2 answers
2k views

Gstreamer H264 UDP -> WebRTC Restreaming

I have a Ricoh THETA Z1 360 degrees camera that outputs a 4K 360 stream. I'm using their own libuvc-theta-sample for retrieving the video stream and getting it into Gstreamer. I've used the following ...
Arjan's user avatar
  • 609
4 votes
1 answer
14k views

Piping stdout to gstreamer

Good Day, I am trying to get gst-launch (gstreamer) to get the input from stdout. Most of the examples on the net are about either reading from file or reading from device. Does anyone know an ...
raaj's user avatar
  • 2,991
4 votes
2 answers
20k views

How can I encode a video to h264?

I am trying to send a video file using GNUradio, specifically using GRC. In order to do this I am first obtaining whichever video, in our case we took a 6 second video of us staring and talking to the ...
Hector Tosado Jimenez's user avatar
4 votes
2 answers
2k views

gstreamer webrtc h264 playback stops after few frames in browser

I need help for debugging a probabilistic issue. I built a gstreamer pipeline to stream NVENC encoded h264 bitstreams(video only) to browser. Browser seldom plays properly. In most cases only few ...
miqilin's user avatar
  • 43
4 votes
2 answers
8k views

Synchronize two RTSP/RTP H264 video streams capture using GStreamer

I have two AXIS IP cameras streaming H264 stream over RTSP/RTP. Both cameras are set to synchronize with same NTP server so I assume both cameras will have same exact clock (may be minor diff in ms). ...
arm's user avatar
  • 117
4 votes
1 answer
3k views

what difference the gst-omx and gst-openmax?

I use google to search gst-omx and gstopenmax, but I think that the functionality of two plugins seem to be same. I don't understand what is the relationship between gst-omx and gstopenmax. According ...
zhang007z's user avatar
  • 115
4 votes
2 answers
4k views

How to play .flv(h.264 aac) file without playbin2 in gstreamer?

I've got a FLV file and the gstreamer playbin2 could work well, but if I try to manually construct the pipeline, the result is negative. Can anyone show me what's wrong with my pipeline? Or, how to ...
user1547688's user avatar
4 votes
1 answer
3k views

How to fix image problems when streaming h.264 via gstreamer udpsink

Using gstreamer I want to stream images from several Logitech C920 webcams to a Janus media server in RTP/h.264 format. The webcams produce h.264 encoded video streams, so I can send the streams to a ...
Esbob's user avatar
  • 43
4 votes
0 answers
1k views

Gstreamer - Hardware accelerated video decoding on Android

I'm receiving on my Android mobile phone a video via RTP/UDP, but I've seen that CPU usage is very high, nearly 100% of one core is being used to decode the video. On high-end devices the video is ...
Iván Pérez's user avatar
  • 2,419
4 votes
1 answer
3k views

AR Drone 2.0, Gstreamer, C++ RTMP Server (streaming without SDK)

This question is the follow up question to this thread: AR Drone 2 and ffserver + ffmpeg streaming We are trying to get a stream from our AR Drone through a Debian server and into a flash application....
Steiniche's user avatar
3 votes
1 answer
18k views

wrapping h264 stream into mp4 with gstreamer

how can I wrap pure h.264 stream into mp4 using Gstreamer so that I can seek to specific location in video? Gstreamer is used because of it's licence requirements, so please do not offer ffmpeg!
Kristians Kuhta's user avatar
3 votes
1 answer
12k views

Gstreamer / RTSP - Creating a pipeline to reduce latency due to rtpjitterbuffer

I am accessing a RTSP video stream from a VIRB 360 camera. I am able to play the stream using the following gstreamer command: gst-launch-1.0 -v playbin uri=rtsp://192.168.0.1/livePreviewStream?...
skr's user avatar
  • 934
3 votes
1 answer
7k views

GStreamer udpsrc works with gst-launch but not in app (OSX)

I successfully streamed my webcam's image with GStreamer using gst-launch this way : SERVER ./gst-launch-1.0 -v -m autovideosrc ! video/x-raw,format=BGRA ! videoconvert ! queue ! x264enc pass=qual ...
Benoît Lahoz's user avatar
3 votes
3 answers
8k views

How can I quantitatively measure gstreamer H264 latency between source and display?

I have a project where we are using gstreamer , x264, etc, to multicast a video stream over a local network to multiple receivers (dedicated computers attached to monitors). We're using gstreamer on ...
KevinM's user avatar
  • 567
3 votes
2 answers
1k views

GStreamer Picture in Picture rtmp to rtmp

How to mix two rtmp streams in gstreamer? Src: nginx-rtmp cams - h.264/speex Sink: nginx-rtmp GStreamer 0.10 or 1.0 ---------- ------- | rtmp src |----->| | ---------- | ...
benasio's user avatar
  • 529
3 votes
1 answer
953 views

gstreamer hangs when encoding a splitted stream with h264

I am using gstreamer to build a pipeline which splits an incoming video stream into two branches, one of which is displayed on the screen, and the other one is encoded and saved on the disk. However, ...
David Di Lorenzo's user avatar
3 votes
1 answer
3k views

Cannot display h.264 webcam image streamed with GStreamer over UDP

I am trying to stream my webcam over IP from one PC to another. This is all through the command line. First I try: # gst-launch v4l2src ! xvimagesink Which works fine and starts the webcam and gives ...
mobstar's user avatar
  • 31
3 votes
1 answer
3k views

Injecting/Inserting/Adding H.264 SEI

I would like to embed data into an H.264 stream using User data unregistered SEI messages. What is the easiest or proper way to achieve this in GStreamer? I found this commit. It inserts SEI ...
micha137's user avatar
  • 1,245
3 votes
1 answer
5k views

Record & live preview V4L2 /dev/video0 to H264 file with GStreamer

How to record only video from V4L2 input device and encode it to a file using H.264 while seeing a live preview of the input at the same time? Using GStreamer GStreamer 0.10.36 Command gst-launch-1.0 ...
Gima's user avatar
  • 1,952
3 votes
1 answer
1k views

Streaming Video On Lossy Network

Currently I have a GStreamer stream being sent over a wireless network. I have a hardware encoder that coverts raw, uncompressed video into a MPEG2 Transport Stream with h.264 encoding. From there, ...
It'sPete's user avatar
  • 5,123
3 votes
1 answer
4k views

Gstreamer - appsrc push model

I'm developing a C application (under linux) that receives a raw h.264 stream and should visualize this stream using gstreamer APIs. I am a newbie with GStreamer so maybe I am doing huge stupid ...
The Good Giant's user avatar
3 votes
0 answers
48 views

Decode h264 frame using android hardware accelerated decoder in gstreamer

I am trying to make a pipeline to get h264 encoded stream using gstreamer with hardware encoding. Below is that working pipeline: "ahcsrc ! capsfilter caps=video/x-raw,width=1280,height=720,...
Saidul Islam Ziku's user avatar
3 votes
0 answers
3k views

Use gstreamer to take rtsp input and output rtmp

I'm trying to use gstreamer to go from h264 rtsp input to rtmp output to youtube without re-encoding. in ffmpeg I can simply do a codec copy, but in gstreamer, I can't my pipeline to work: gst-launch-...
Sonic Motion's user avatar
3 votes
0 answers
2k views

Gstreamer + h264 stream from c920 + v4l2loopback not working

I've been a month working in a project with cubieboard2 and the webcam logitech c920, after a lot of search and trial error I decided to use gstreamer + v4l2loopback for sending the hardware encoded ...
xandre84's user avatar
3 votes
0 answers
2k views

openCV VideoCapture doesn't work with gstreamer x264

I'd like to display a rtp / vp8 video stream that comes from gstreamer, in openCV. I have already a working solution which is implemented like this : gst-launch-0.10 udpsrc port=6666 ! "application/...
nschoe's user avatar
  • 2,007
3 votes
1 answer
4k views

Parsing frames from raspberry pi video stream

Problem A project I am working on requires me to parse frames and do some very simple image processing from the raspberry pi camera at around 10Hz. I tried using both the raspistill and the raspiyuv ...
noudyk's user avatar
  • 31
3 votes
1 answer
2k views

Difficult gstreamer pipeline - Decode/demux h264 file to jpeg on Windows using DirectShow

I've been trying for days to get gstreamer's gst-launch-1.0 to output an h264 stream as individual jpegs, but want only one per second, and using the DirectShow hardware acceleration. I've tried ...
Respectech's user avatar
3 votes
1 answer
2k views

Gsteamer rtp video mixer, found a working pipeline, however need improvement

I'm attempting to mix multiple rtp h264 payload video streams into a single video stream of 15FPS. A working pipeline that mixes two video streams over a videotestsource pattern of 15FPS VIDEO_CAPS=...
alkber's user avatar
  • 1,426
2 votes
1 answer
6k views

gstreamer client multicast UDP does not connect when multiple interfaces are up

I am using gstreamer to connect to a streaming video that is raw H.264 elementary stream over raw UDP multicast. I find that when I have only eth0 up, it connects just fine: gst-launch udpsrc uri=...
Brad Grissom's user avatar
  • 3,763
2 votes
2 answers
5k views

How to send a video file with GNURadio and USRP's?

I am trying to send a video file using GNURadio,GRC and USRP1's with a RFX2400 and a 2.4GHZ antenna using a .ts video file. We have two USRP's, one working as the transmitter and the other as the ...
Hector Tosado Jimenez's user avatar
2 votes
1 answer
7k views

gstreamer shmsrc and shmsink with h264 data

i am trying to share an h264 encoded data from gstreamer to another two processes(both are based on gstreamer).After some research only way i found is to use the shm plugin. this is what i am trying ...
Anjo John's user avatar
  • 533
2 votes
2 answers
199 views

How to use GStreamers switchbin element?

I have two working pipelines - one for MJPEG streams and one for H.264. udpsrc port=5021 caps="application/x-rtp,encoding-name=JPEG,payload=26" ! \ rtpjitterbuffer ! rtpjpegdepay ! ...
chrizbee's user avatar
  • 115
2 votes
1 answer
4k views

Gstreamer 1.0 no video when udpsink pipeline runs before udpsrc pipeline

I'm trying to stream a webcam feed from Computer A to Computer B via udpsink. If Computer A's pipeline sends data to Computer B before Computer B starts its receiving pipeline through udpsrc, I get ...
pwillig's user avatar
  • 101
2 votes
1 answer
3k views

h264parse: broken/invalid nal Type

I am receiving h264 frames over a serial link, trying to play them with gstreamer. I set the caps to gst_caps_from_string("video/x-h264"), and it seems to accept them (if I use other caps, e....
JonasVautherin's user avatar
2 votes
2 answers
984 views

Is seeking to specific frames of an MJPEG video faster than doing the same for an h.264 file?

I am recording video and will need to seek to a specific frame in the video quickly and randomly. I can record the video in MJPEG or h.264 compression standards. I understand that MJPEG produces ...
David Parks's user avatar
  • 31.2k

1
2 3 4 5