All Questions
Tagged with ffmpeg video-streaming
180
questions
1
vote
1
answer
52
views
Using ffmpeg, how can I split an incoming stream, one live web streaming, the other mp4 but in timed chunks?
I have a single mpeg-ts input stream, http://192.168.1.100/stream0, and I wish to do two things with this stream. One output is to be a hls multipart stream with m3u8 so apache can serve to local ...
0
votes
0
answers
19
views
FFmpeg fps detection bug?
I have ffmpeg setup which produces rtmp stream from remote rtsp stream. The rtsp stream comes from ip camera which support multiple profiles. Each profile has 1080p 30 fps, 1080p 15 fps.
The weird ...
1
vote
0
answers
67
views
Out-of-order frames when using FFmpeg to download DASH stream
I'm trying to use ffmpeg to download a DASH stream. It works OK but it seems like in the output file there are some frames that are out-of-order (e.g. for some frames the pts value is lower than the ...
2
votes
1
answer
426
views
How to intentionally add a delay to an input stream with ffmpeg
I have a framegrabber that I connect to a Windows PC. The capture input device is 1080p, 60fps, 4:4:4 raw video.
I want to use this in a test setup where I let a user work on an existing windows ...
2
votes
0
answers
334
views
I am unable to play the RTSP stream using ffmpeg
I have two computers with Ubuntu 20.04.5 LTS installed, and one virtual machine with Ubuntu 22.04.3 LTS. I have a docker container with mediamtx installed on one of the computers, let's call it server....
0
votes
0
answers
59
views
How do create a dynamic delay fix with MPEG-TS?
My media player can display a couple of videos (origin video - Multicast address, video stream is in MPEG-TS)
Whenever I play both video streams I see a delay in one of the streams.
I would like to ...
0
votes
0
answers
381
views
When I attempt to live a video in an infinite loop using the ffmpeg command, it automatically terminates after a few hours
When attempting to continuously loop a video using the ffmpeg command with the following syntax:
ffmpeg -re -stream_loop -1 -i abc.mp4 -c copy -f flv rtmps://abc.xyz/.....
I encounter an issue where ...
1
vote
0
answers
159
views
Sending and receiving ffmpeg video stream through USB to TTL converter
I need to transfer video signal through USB to TTL converter from one VM and receive it on other USB to TTL converter then display the received stream on second VM (the bitrate on converters are ...
0
votes
2
answers
386
views
FFmpeg watermark and HLS stream
I want to convert and MP4 video into HLS multi-resolution (360, 720) and add watermark image inside the output segments.
I did two result but missing the watermark image with the multi scale:
// one ...
1
vote
1
answer
445
views
Streaming to Facebook Live with ffmpeg
I've set up an RTMP/RTSP streaming-service with MediaMTX on my desktop.
From OBS Studio, I'm then streaming to:
Server: rtmp://localhost/
Stream Key: stream
This leaves me with 2 streams:
RTMP: rtmp:/...
0
votes
0
answers
224
views
What can I do to debug and avoid decoding artifacts with RTP in ffmpeg?
I do encoding and decoding of a VP9 RTP stream programmatically, and I am experiencing occasional colorful artifacts like these:
In the ffmpeg log (both when using ffplay and my own code), this ...
0
votes
0
answers
163
views
buffered stream and FFmpeg seek
Due to memory usage, we need to use a buffered solution to load a small chunk of blocks of streams in memory instead of loading the whole stream with:
avformat_network_init();
std::uint8_t *...
0
votes
1
answer
522
views
ffmpeg - cut without reencoding and strange behaviour: application provided duration is out of range for mov/mp4 format
In Ubuntu 18.04 I quite often used the following command for trimming part of the video without re encoding (which means without any quality loss).
ffmpeg -ss 00:06:00 -i DSCF5984.MOV -t 00:07:00 -c ...
1
vote
0
answers
561
views
Redirected RTSP video stream cannot connect to server
I have an Auvidea video encoder/decoder that allows me to stream video via RTSP. I would like to redirect the stream from it to another server. As a server I use MediaMtx software previously known as ...
0
votes
0
answers
297
views
ffmpeg concat with filter eats up all memory
I have been trying to produce a indefinite loop of a list of videos in a folder. For testing purpose, I am using only 2 videos as input. I then concat them to produce an output of 1280X720 output.
...