-
Notifications
You must be signed in to change notification settings - Fork 44
Description
I have tried numerous options to get the video output zoomed in but the program isn't working with the options provided. I have attempted to enter these in docker-compose.yaml
per the readme, and then re-running docker-compose up
on the container, but the output does not get zoomed in. The options I am running are -vf "scale=2*iw:-1, crop=iw/2:ih/2"
and I have tried putting this in FFMPEG_INPUT_OPTS
, FFMPEG_OUTPUT_OPTS
, and even under the Dockerfile
and the stream.sh
manually when these didn't work.
I know the options being used are correct though, as when I tried running the following manuallythrough ffmpeg, which is essentially what the stream container seems to be doing, this does zoom video correctly when viewing 'video.mjpg': ffmpeg -hide_banner -rtsp_transport tcp -i rtsp://Ht1bBz:NrRj8DKPLdSl@192.168.0.26:554/live/ch0 -vf "scale=1*iw:-1, crop=iw/2:ih/2" video.mjpg