3 ms·
I'm really interested in learning how to fix bad files that have been recorded from a live RTP (or WebRTC) stream. These files tend to have gaps in their PTS or
by j1elo 6y ago
I'm really interested in learning how to fix bad files that have been recorded from a live RTP (or WebRTC) stream. These files tend to have gaps in their PTS or DTS, caused by UDP packet loss when the streaming took place.
There are a myriad of StackOverflow questions, mailing lists, forums... but never a well structured and comprehensive analysis of this topic. And FFmpeg itself, while being a feat of a software project, has such a lackluster and incomplete doc.
I'd like to see a discussion about recovering H.264 and VP8 timestamps, with minimal processing (i.e. not transcoding, if possible, otherwise of course it becomes an easy thing), which covered the whys and whens of using these FFmpeg options:
• -fflags +genpts
• -fflags +igndts
• -vsync
• -copyts
• -use_wallclock_as_timestamps
Does this book cover these options and the topic of timestamp reconstruction?
- matteocontrini 6y agoIt does not, unfortunately. Those flags or even the `setpts` filter are not even mentioned once in the whole book.