All Questions

Tagged with
Filter by
Sorted by
Tagged with
38 votes
5 answers
93k views

Python extract wav from video file

Related: How to extract audio from a video file using python? Extract audio from video as wav How to rip the audio from a video? My question is how could I extract wav audio track from video file, ...
xolodec's user avatar
  • 843
38 votes
1 answer
3k views

GStreamer encountered a general stream error in Qt5 raspberry pi

I'm trying to play a video using QtMediaPlayer in Raspberry pi 2 B. The source code is as follows: QMediaPlayer *media; QVideoWidget *video; ... ... media = new QMediaPlayer(parent); video = new ...
Myanju's user avatar
  • 1,135
25 votes
2 answers
25k views

converting all the mp4 audio files in a folder to mp3 using ffmpeg [duplicate]

how can I convert all of the mp4 files in a given folder to mp3 using ffmpeg. Almost all of the links I have seen on google is all about converting mp4 video to mp3. I can do this via VLC player but I ...
Raulp's user avatar
  • 7,968
24 votes
3 answers
31k views

GStreamer vs FFmpeg

I try to record a Video with the OpenCV Framework an would like to save that into an Matroska(mkv) Container together with some additional data streams. First I thought using FFmpeg is the way that. ...
user1129474's user avatar
19 votes
2 answers
52k views

how to stream live videos with no latency (ffplay, mplayer) and what kind of wrapper could be used with ffplay?

I have been testing playing multiple live streams using different players because I wanted to get the lowest latency value. I tried gstreamer player (gst-launch-0.01), mplayer, totem and ffmpeg player ...
user573014's user avatar
13 votes
2 answers
24k views

Look for fastest video encoder with least lag to stream webcam streaming to ipad

I'm looking for the fastest way to encode a webcam stream that will be viewable in a html5 video tag. I'm using a Pandaboard: http://www.digikey.com/product-highlights/us/en/texas-instruments-...
kelly's user avatar
  • 233
13 votes
0 answers
10k views

FFmpeg vs Libav vs libVLC vs Gstreamer as of 2018 [closed]

I am trying to do some video processing on real time. I was beginning to try the FFmpeg, but I saw this question: Why would I choose Libav over FFmpeg, or is there even a difference? Which further ...
Dharma's user avatar
  • 2,523
11 votes
1 answer
14k views

How to pipe live video frames from ffmpeg to PIL?

I need to use ffmpeg/avconv to pipe jpg frames to a python PIL (Pillow) Image object, using gst as an intermediary*. I've been searching everywhere for this answer without much luck. I think I'm close ...
Ryan Martin's user avatar
  • 1,663
10 votes
2 answers
8k views

Receiving video stream from an IP camera on android

I have an IP camera which is streaming video in MJPEG format. Now my aim is to receive it and display it in my own custom android app. For this I have three programming alternatives on android ...
Bhanu Kiran's user avatar
9 votes
3 answers
9k views

How to install gstreamer0.10-ffmpeg on Debian 8 Jessie (No installation candidate)

On a clean Debian 8 installation i had to install some gstreamer-plugins. While most of them were already installed or were easily installable via apt-get, gstreamer0.10-ffmpeg was not installable: ...
Madamadam's user avatar
  • 936
9 votes
0 answers
531 views

Embed custom meta-data (bounding boxes) into HLS video stream

I'd like to embed bounding boxes, labels, etc. into live video stream to optionally draw them thereafter on the client-side in web-browser and looking for a way how to do. Could you please give me a ...
Alexender Iotko's user avatar
8 votes
0 answers
679 views

Building an RTSP streaming server from processed frames in OpenCV

I have to process frames from a distant camera using OpenCV. I need to stream the processed frames to be accessible over network as a live video. How to make the processed frames (cv::Mat objects) ...
ProEns08's user avatar
  • 1,896
7 votes
1 answer
6k views

Using Gstreamer or ffmpeg to create rtsp client on Android

I want to stream a rtsp stream on android and I finally have come to conclusion that I can't use android API's MediaPlayer,Videoview etc because latency is big issue for me. I need an latency of <...
Pankaj Bansal's user avatar
6 votes
1 answer
6k views

Turn a video into a sequence of images using GStreamer (not ffmpeg)

I have an ogg vorbis video. It plays fine in totem and mplayer. I want to covert it to a sequnces of images, one image per frame. I can do this on ffmpeg with the following command: ffmpeg -i video....
Amandasaurus's user avatar
  • 59.4k
6 votes
0 answers
2k views

Gstreamer missing Decoder meta/x-gst-fourcc-mebx

I'm currently working with GStreamer in a Linux environment and encountered an issue after upgrading from GStreamer 1.18 to 1.22. While trying to process a video file, I received the following error ...
ZZak's user avatar
  • 81
6 votes
3 answers
7k views

Lossless avi encoding on linux

I am trying to write video using opencv. It is important for me to do this precisely - so it has to be a lossless codec. I am working with OpenCV 2.4.1 on Ubuntu 12.04 Previously, I was using the ...
dlants's user avatar
  • 761
5 votes
2 answers
6k views

v4l2loopback device detected by Chrome, not seen by Zoom or Firefox

I am trying to create a loopback device from my webcam to be accessible from both Zoom and a browser. I created three v4l2loopback devices: sudo modprobe v4l2loopback devices=3 video_nr=10,11,12 ...
uri sh.'s user avatar
  • 51
5 votes
2 answers
5k views

GStreamer on Android

Can anyone give me any tips on getting GStreamer to work on Android. I have never used it before and I would like to use it with FFmpeg (I already have FFmpeg compiled and works fine on Android). I ...
DRiFTy's user avatar
  • 11.3k
5 votes
4 answers
7k views

Combine multiple videos into one

I have three videos: a lecture that was filmed with a video camera a video of the desktop capture of the computer used in the lecture and the video of the whiteboard I want to create a final video ...
StackedCrooked's user avatar
4 votes
1 answer
9k views

GStreamer Tee (Multiple Multiplexer)

I'm trying to store a video stream (coming from my webcam) into a MKV and FLV file. This means I have to split the video and audio pipeline after the h264 Encoding and mux each path with a different ...
Dominik Schreiber's user avatar
4 votes
3 answers
3k views

How to make Gstreamer return only keyframes?

In gstreamer pipeline, I'm trying to figure out if there's a way to specify that I only want key frames from a RTSP stream. In ffmpeg you can do this with with -skip_frame nokey flag. E.g.: ffmpeg -...
Anton Fedorov's user avatar
4 votes
1 answer
6k views

How do I add a delay to a live stream sourced from webcam (v4l2) with FFMPEG?

How can I use FFMPEG to add a delay to a stream being sent from a (v4l2) webcam to a media server? The use case here is something like a security camera where I want to be able to stream video to a ...
David's user avatar
  • 43
4 votes
1 answer
18k views

How to convert y4m file to yuv? [closed]

I searched the internet and Stack Overflow, but I could not find an answer: Does anyone know how to convert a y4m file to yuv?
roberutsu's user avatar
  • 363
4 votes
3 answers
2k views

Lossless codec for bayer data

I'm working with lots of camera's which capture in BG bayer pattern natively. Now, every time I record some data, I save it to the disk in the raw bayer pattern, in an avi container. The problem is, ...
vhdirk's user avatar
  • 598
4 votes
1 answer
4k views

gstreamer h264 multicast missing SPS/PPS information

I have two video streaming units capable of streaming live video inputs: AXIS Q7424-R Video Encoder EPIPHAN VGADVI Broadcaster 99460 - I am using gstreamer to view these streams on client terminals ...
RBI's user avatar
  • 803
4 votes
0 answers
3k views

Video streaming through HAProxy

I want to stream video from my webcam to many clients (all clients use html 5 video player). Now i have this: Server: sudo gst-launch-0.10 tcpserversrc port = 1234 ! oggparse ! tcpserversink port = ...
n00bie's user avatar
  • 71
3 votes
1 answer
2k views

Change bitrate of USB camera

I use ELP USB camera with h264-codec output. Ffmpeg-command to take the video stream: ffmpeg -i /dev/video1 -c:v copy output.ts As result I have a video with 4Mb bitrate - this value is too high ...
Nick Saw's user avatar
  • 497
3 votes
1 answer
4k views

Not able to pipe gstreamer output into ffmpeg

has anybody gotten gstreamer to successfully pipe it's video output into ffmpeg? I've tried playing with /dev/stdout and I keep getting errors: gst-launch -e v4l2src device=/dev/video0 ! 'video/x-...
Henry Soang's user avatar
3 votes
1 answer
4k views

GStreamer force decodebin2 output type

I'm trying to write a program in C which replicates the pipeline: gst-launch -v filesrc location="bbb.mp4" ! decodebin2 ! ffmpegcolorspace ! autovideosink DecodeBin2 has a dynamic pad and I've ...
user975326's user avatar
3 votes
1 answer
449 views

"Relocation cannot be used against local symbol" only for one platform (x86)

Problem I am cross-compiling gstreamer using Meson, and it works for 3 different platforms (android-arm, android-arm64, android-x86_64) but fails for android-x86 with errors like: ld: error: ...
JonasVautherin's user avatar
3 votes
2 answers
12k views

Desperately looking for a RTSP server that can stream from a live source (not from a file)

I need a RTSP-server that can listen on a configured port (8554 for example), and then, for example, if I run FFmpeg with: ffmpeg -f v4l2 -i /dev/video0 -c:v libx264 -intra -an -f rtsp -...
J.M.'s user avatar
  • 542
3 votes
0 answers
2k views

Errors when streaming h264 video from gstreamer to ffmpeg

Hi I am trying to receive a udp/rtp stream with ffmpeg in the client side but is having trouble. Server side pipeline: gst-launch-1.0 -v filesrc location=video2.mp4 ! decodebin ! x264enc ! ...
Michael Ng's user avatar
3 votes
1 answer
845 views

how to deal with live raw h264 stream to send over network

what I want to do is that send live camera stream which is encoded by h264 to gstreamer. I already have seen many example which send over network by using rtp and mpeg-ts. But problem is that all ...
jinhwan's user avatar
  • 1,217
3 votes
0 answers
3k views

How to Add Gstreamer Plugin on Mac when installed from Tutorials

I basically have two installs of gstreamer on my Mac OS X machine: The one that works perfectly was installed following this tutorial (http://docs.gstreamer.com/display/GstSDK/Installing+on+Mac+OS+X) ...
Dave Collins's user avatar
  • 1,077
3 votes
0 answers
694 views

OpenCV - CvVideoWriter codec error in raspbian

I'm making something like black box in raspberry pi. I set OpenCV 2.4.3 and many video libraries. ( I referred this site - Opencv cannot acces my webcam ) And I compiled this sample code. #include &...
user2975978'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
7k views

android live streaming - h264 decoding

Since i'm a little familiar with android and video streaming, i know it's complicated to handle live video streams from device to device. Requirement: play incoming raw h264 stream Are there any ...
alex_muc'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
2 votes
2 answers
8k views

Raspberry Pi USB Webcam Stream to Computer using Gstreamer

I have a fisheye usb webcam attached to a raspberry pi that I'm trying to stream to a computer. I've played with ffmpeg and it seems a little laggy beyond 320x240. From what I've read people have been ...
James's user avatar
  • 2,792
2 votes
1 answer
1k views

What kind of stream GStreamer produce?

I use following 2 commands to stream video from Raspberry Pi RaPi raspivid -t 999999 -h 720 -w 1080 -fps 25 -hf -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 ...
Max's user avatar
  • 6,344
2 votes
3 answers
4k views

How do I use the Windows version of gstreamer and wireshark to take a .pcap file and extract H.264 from RTP?

I have a pcap file containing a capture of RTP with H.264 video and SIP with SDP. I would like to be able to extract the video from the RTP stream and save it to a file. (h264video.mkv or something ...
user1118047's user avatar
2 votes
1 answer
697 views

Adding timestamps to HEVC with ffmpeg library, mismatch in timestamps when run with Gstreamer pipeline

We are encoding sample frames using NvEncoder with HEVC. Since HEVC frames do not have any timestamps, in order to perform seek operation on the video, we wrote a remuxer in C++ that creates ...
CselecT's user avatar
  • 81
2 votes
1 answer
3k views

gstremer plugin ffdec_h264 is missing after installing gst-libav package codebase

My system is Ubuntu 15.04 64 bit. I have downloaded https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.8.3.tar.xz and performed below steps. ./configure --prefix=/usr make sudo make ...
Jeegar Patel's user avatar
  • 26.7k
2 votes
2 answers
1k views

GStreamer: Using type find

I've got a filesrc connected to a typefind element. On the "have-type" signal I print out the capibilities. What can I do with this information? I.e: "Media type video/mpeg, systemstream=(boolean)...
user975326's user avatar
2 votes
1 answer
2k views

How to live-stream 360 video from a PC to VR headset/goggle/HMD?

I have some code that captures footage from cameras and outputs a stitched 360 video. I can output stitched videos as MP4 files, RGBA files, or RGBA OpenGL textures. I need to somehow get my code to ...
db7638's user avatar
  • 410
2 votes
2 answers
2k views

Keeping video file playable while recording to it

I am trying to stream a file , starting from an arbitrary position , that i am recording to at the same time. But until i stop recording the file seems to be not playable. Recording gst-launch-1.0 -...
omerfirmak's user avatar
2 votes
1 answer
2k views

Cannot get JACK Audio/Netjack working over LAN

I'm trying to stream low latency audio between 2 raspberry pis. Both gstreamer and ffmpeg induce 2+ second delays for me. I've played around with Jack Audio and locally on a single pi it seems ...
James's user avatar
  • 2,792
2 votes
2 answers
562 views

Differences in multimedia frameworks

I've been recently investigating different multimedia frameworks for adding audio and video capabilities to my applications. I've been looking at phonon, gstreamer, ffmpeg, libvlc/vlc. However, I ...
user1837038's user avatar
2 votes
0 answers
516 views

Trying to install openCV from source but GStreamer and FFMPEG not recognized

I have tried building the openCV lib from source so I can utilize cpp for a project I am planning instead of python. Before I had it installed using pip and decided to wipe all of the files related to ...
aaries's user avatar
  • 113
2 votes
0 answers
1k views

Why is ffmpeg and vlc able run RTSP stream but gstreamer is unable to?

I have a RTSP server streaming out h264 video. Both ffmpeg (ffplay uri)and vlc are able to stream the video but gstreamer is unable to. Below is the output of gstreamer when gst-play uri is launched: ...
Goonturr's user avatar