I can use ss and sseof parameters with mp4 files and stream the result, but I get errors when I use same commands on h264 file (checked that it also works without seek parameters)
here are the commands I have:
1
ffmpeg -re -i xx.h264 -c copy -f rtsp rtsp://localhost:8554/mystream
working fine,
2
ffmpeg -sseof -10 -re -i xx.h264 -c copy -f rtsp rtsp://localhost:8554/mystream
ignoring sseof parameter
error message:
Cannot use -sseof, duration of xx.h264 not known
3
xx.h264: could not seek to position -10.000
not working at all
error message:
xx.h264: could not seek to position -10.000
How can I fix this issue?