streaming file with FFmpeg won't start on the specific time with -ss

220 Views Asked by At

Hi I'm trying to stream a file to Facebook but I would like to start the streaming in 00:01:21 of the video whit the command

ffmpeg -ss 00:01:20 \
-re -i 'My_Video.mp4' -f pulse -ac 2 \
-i default -pix_fmt yuv420p -c:v libx264 -s 1280x720 \
-preset veryfast -c:a aac -b:a 160k -ar 44100 \
-threads 0 -bufsize 1000k -vb 500k -maxrate 500k -deinterlace -g 30 -r 30\
-f flv -flvflags no_duration_filesize "rtmps://live-api-s.facebook.com:443/rtmp/MY_FACEBOOK_KEY"

but the stream do not start in the 00:01:20 just start regularly in the 00:00:00.00, what could be wrong ? thank you all for your time !

my ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers

0

There are 0 best solutions below