Resize Live rtsp stream and re-serve using ffmpeg and rtsp-simple-server #709
Unanswered
JamesMcGloin
asked this question in
Questions
Replies: 1 comment
-
Hello, the command you posted works perfectly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All, I am a newbie, I am trying to use rtsp-simple-server to re-transmit a re-sized stream using ffmpeg, I do realize that the resizing would be on a frame by frame bases after decoding and re-encoding and a new rtsp stream would need to be generated.
This works: (rtsp pass through)
ffmpeg -y -i rtsp:// -f rtsp://localhost:8554/mystream
This does not work: (rtsp resizing)
ffmpeg -i 'rtsp://' -s 480x272 -crf 30 -preset ultrafast -vcodec libx264 -r 25 -b:v 500k -f rtsp rtsp://localhost:8554/mystream
error: [rtsp @ 0x938d10] Estimating duration from bitrate, this may be inaccurate
I am sure I am missing something.
Would appreciate any help on this.
James
Beta Was this translation helpful? Give feedback.
All reactions