Closed rsp4jack closed 3 years ago
This happens because the encoded elementary video stream .h264
does not have timestamps in it, and ffmpeg
does not seem to support muxing .h264
into an flv
format. (You can mux .h264
into an mp4
in ffmpeg, though.)
So, you can get around this issue by muxing to an mp4
file first, and then remuxing the mp4
file to flv
. (I tested and confirmed this myself.)
...or mkv
. 😁
@Creepercdn please do not mux your videos to flv anymore, the flv format is officially dead as of end 2020. Anyway, it is old and deprecated. Please use, as @JJKylee recommends, the mkv or mp4 containers...
@Creepercdn please close this thread when you've read it!
I am using ffmpeg to take a live stream via RTSP (which is missing PTS) and send to an NGINX RTMP server (which AFAIK only support FLV as container).
It works with ffmpeg 4.4.
What will it be in the future?
Describe the bug When StaxRip export a video using FLV, FFmpeg will error:
Full log:
How to reproduce the issue
Provide information
Notes before posting
Additional context
This error will be raised when use all ffmpeg container(maybe, but FLV of course), all source video file format, all encoder/decoder.
Please be as clear and as detailed as possible