Is it in any easy way, possible to contact TV-Server and get pre- and postrecording minutes?
Would be nice to use the seek feature of ffmpeg, to create the screenshot within the actual recording.
Is it in any easy way, possible to contact TV-Server and get pre- and postrecording minutes?
Would be nice to use the seek feature of ffmpeg, to create the screenshot within the actual recording.
Pre/Post recording minutes could actually differ from recording to recording. I don't think the current TVServer option is good to use. But, if recording XML contains this info then it could be used to improve recording thumbs creation.
It turns out that the offset parameter (-ss) needs to be set before the input parameter (-i). That will cause ffmpeg to seek to that position in the stream *without* decoding it and in fact skipping anything but key frames! This is pretty significant as performance improved from ~20 seconds for 4 thumbnails to about 2-3 seconds.