3
votes
Convert stream file (mux) to mp4 gstreamer
The same happened to me and I was able to restore the video, using a tiny and very easy tu use program: mp4fixer
Step 1: find the mux files
First (for someone else who is a step behind), you need to ...
2
votes
Accepted
concat mp4 with blank video
Use
ffmpeg -i random.mp4 -f lavfi -i color=s=640x480:d=5 -filter_complex [0:v][1]concat -af [0]apad -shortest out.mp4
2
votes
How to stream MPEG-TS over UDP?
You are close. The filesrc plugin knows nothing about the contents of the file it is reading. GStreamer needs to know that the data is a transport stream in order to stream it properly. While demuxing ...
2
votes
v4l2 issues with webcam encoded to H.264
TL;DR: run
v4l2-ctl --list-devices
to check if your camera enumerate multiple instances. H.264 support might be on one of the alternative instances. On my camera I ended up needing to use /dev/video2 ...
1
vote
UDP video stream from FFMPG to gstreamer
Problem solved.
Continue reading to see troubleshooting steps or skip to TLDR at the end.
I used export GST_DEBUG=*FACTORY*:4 to later get debug info to see which plugins were being used.
I then ran ...
1
vote
Accepted
Unable to display RTSP stream using gst-play-1.0, gst-launch-1.0
I also posted the query on NVIDIA's official forum(answer) as well as consulted some other people.
It seems that these two commands should work:
$ gst-launch-1.0 rtspsrc location=rtsp://username:...
1
vote
Accepted
Stream linux destop as fake webcam to virtuabox windows guest
OK so the answer is to output in yuyv422 format
in my case
ffmpeg -loglevel verbose -f x11grab -framerate 25 -video_size 1280x720 -i :1.0+0,0 -f v4l2 -vf format=yuyv422 /dev/video6
you may have to ...
1
vote
Accepted
gstreamer using h264 encoding with small video size
I believe you are missing the h264parse element which should go after the encoder, before the muxer.
gst-launch-1.0 -v v4l2src device=/dev/video1 ! omxh264enc ! h264parse ! qtmux ! filesink location=...
1
vote
Save both audio and video to one file using GStreamer from camera and microphone
Here it is:
gst-launch-1.0 -e autovideosrc ! queue ! videoconvert ! mkv. autoaudiosrc ! queue ! audioconvert ! mkv. matroskamux name=mkv ! filesink location=test.mkv sync=false
This is how it works:
...
1
vote
How can I resolve gstreamer dependencies in Ubuntu
libgstreamer0.10-dev doesnt seems to work in Ubuntu 18/19 but I tried the 1.0 version like this:
sudo apt install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
Just in case anyone needs to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gstreamer × 80linux × 18
video × 16
ffmpeg × 12
ubuntu × 8
audio × 6
streaming × 6
python × 5
webcam × 5
video-encoding × 5
rtsp × 5
vlc-media-player × 4
video-streaming × 4
v4l2 × 4
networking × 3
debian × 3
raspberry-pi × 3
video-conversion × 3
package-management × 3
alsa × 3
audio-recording × 3
command-line × 2
youtube × 2
video-editing × 2
codec × 2