Skip to main content

All Questions

Tagged with
2 votes
1 answer
2k views

Trying to stream a video loop using FFMPEG. However, I keep getting the error "Cannot Write the Headers Server returned 400 Bad Request"

I am using mediamtx for starting RTSP server. The command that I am using for ffmpeg is as follows: ffmpeg -re -stream_loop -1 -i ./clouds.mp4 -f rtsp -rtsp_transport tcp rtsp://localhost:8554 The ...
lokit khemka's user avatar
1 vote
0 answers
94 views

Scaling Application for video decoding using ffmpeg

I am building an application to read multiple IP camera streams (rtsp) and run different Machine Learning Algorithms over it in real time. For each camera stream, I spawn an ffmpeg process which ...
jasoos's user avatar
  • 11
1 vote
1 answer
3k views

Why does ffmpeg record the wrong FPS when recording an rtsp feed?

I am using a Raspberry Pi 3B+ to record video from a ActiA31 security camera (connected vie a power-over-ethernet router). The camera is set to record at 29.97 fps. The command I am using is sudo /...
Bomhof's user avatar
  • 111
1 vote
1 answer
3k views

FFMPEG Failed to open codec in avformat_find_stream_info for RTSP feed

I'm having an issue using FFMPEG when the version is greater than 2.8.15 (not a boundary - it's just that v3 and v4 do not work). ffprobe doesn't work either. Version 3: ffprobe -rtsp_transport tcp ...
James Jennett-Wheeler's user avatar
12 votes
1 answer
80k views

Streaming RTSP with ffmpeg?

So I have been able to successfully send an RTP video stream from my server to the client on another system on the LAN and play it using ffplay. I now want to send the video on the same network using ...
Candy's user avatar
  • 241
0 votes
0 answers
2k views

FFmpeg capture RTSP stream only audio, black screen

I have a Foscam IP camera for which i have access to the RTSP address. If i use VLC, the stream is working fine. I wanted to capture it using FFmpeg, using the command ffmpeg -i <address> -codec ...
user3808318's user avatar
0 votes
0 answers
4k views

ffmpeg: Record rtsp stream to disk in realtime and put black frames when rtsp times out

I need to record a rtsp video stream to disk in real time. This works nice and well with something like this(tcp not udp): ffmpeg -i rtsp://@stream -acodec copy -vcodec copy -movflags frag_keyframe+...
Michel Chanton's user avatar
2 votes
1 answer
10k views

Ffmpeg how to limit input fps

I save rtsp stream to file with ffmpeg. I see that even the stream is 30 fps, ffmpeg download it on 40-50-33 fps. How can i limit the input frame per sec? I tried ffmpeg -r 30 -i rtsp://ipVideo out....
cool's user avatar
  • 21
0 votes
0 answers
1k views

ffmpeg rtsp audio streaming with h264

I am using the following command to stream from my desktop-microphone via RTSP to a Wowza Streaming Cloud Server. However, this command has video-parameters which I wish to exclude since I only want ...
moster67's user avatar
  • 175
0 votes
1 answer
2k views

FFmpeg RTSP send audio stream to Wowza

I am trying to send an audio-stream to my Wowza Cloud Service (trial account) using RTSP. This works fine using LibStreamer library for Android. I am now trying to do the same with FFmpeg on my ...
moster67's user avatar
  • 175
1 vote
1 answer
17k views

Convert RTMP stream to RTSP and HTTP with FFMPEG

I installed red5 server on ubuntu 12.04 LTS for live and vod video streaming. I just want to convert my RTMP protocol stream to a RTSP and HTTP protocol stream. I studied and searched about FFMPEG, ...
Moovendra Dhinesh babu's user avatar
3 votes
2 answers
13k views

Getting error: Unknown encoder 'libvo_aacenc'

I am new to ffmpeg, just trying to build an SDP file for streaming. I'm facing an error when I run the command ffmpeg -re -i "sample.mp4" -f rtp rtp://127.0.0.1:10000 -flags +global_header -c:a ...
mathlearner's user avatar