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 indocker-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 Dockerfileand 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
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-runningdocker-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 inFFMPEG_INPUT_OPTS
,FFMPEG_OUTPUT_OPTS
, and even under theDockerfile
and thestream.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