All Questions
224
questions
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 ...
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....
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 ...
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 ...
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, ...
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?
...
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 ...
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, ...
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 \
...
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 ...
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 ...
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 ...
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 !...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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).
...
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 ...
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 ...
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 ...
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 ...
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....
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!
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?...
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 ...
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 ...
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 |----->| |
---------- | ...
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, ...
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 ...
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 ...
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
...
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, ...
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 ...
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,...
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-...
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 ...
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/...
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 ...
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 ...
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=...
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=...
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 ...
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 ...
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 ! ...
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 ...
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....
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 ...