[FFmpeg-user] Extracting stills frames from a DVB-T MPEG transport stream with subtitles

Tom Crane TPCffmpeg at mklab.ph.rhul.ac.uk
Sun Jun 21 03:33:01 EEST 2020


On Sat, 20 Jun 2020, Hans Carlson wrote:

> On Sat, 20 Jun 2020, Tom Crane wrote:
>
>> 	I am attempting to extract still frames from a video stream in a 
>> multi-channel DVB-T MPEG transport stream, for example every 2 seconds, 
>> with selected accompanying subtitles but can't get it to work.
>>

[cut]

> If you want to combine the video and the sub into a single image, then try 
> the overlay filter, eg:
>
>  ffmpeg -i dvb.ts -filter_complex "[0:26][0:30]overlay" -r 0.5 
> stills-%04d.jpg

Many thanks for that which does exactly what I wanted.

> Add other options as necessary to get desired quality.

Adding '-qscale:v 1' provided the required quality.

Best regards
Tom Crane


More information about the ffmpeg-user mailing list