Page 1 of 1

Get snapshot by command line with subtitle overlay

Posted: 05 Mar 2018 05:13
by shaker
I want to get the thumbnails of the input mkv media files with the selected the subtitle track, the command line is like this:
vlc ./input.mkv --sub-track=0 --rate=1 --video-filter=scene --vout=dummy --start-time=10 --stop-time=11 --scene-format=png --scene-ratio=24 --scene-prefix=snap --scene-path=./ vlc://quit

But the snapshot pictures have NO subtitle overlay. But when I press the Snapshot button from the menu, it works with the subtitle overlay.
Which command line should I use to get the snapshot with subtitle overlay? Thanks.

Re: Get snapshot by command line with subtitle overlay

Posted: 07 Feb 2019 15:01
by Chairn
Hello,

I have the same problem, command line snapshot/screenshot doesn't include subtitle (dvd_subtitle) in mkv files, but taking snapshot directly from vlc works.
The command i use is the following:
cvlc --scene-format=png --scene-ratio=1 --start-time=6945 --stop-time=6950 --scene-prefix=thumb --scene-path="./images/" --sub-track=1 --no-dvdsub-transparency --sout-transcode-soverlay --sout-all file.mkv vlc://quit

I tried playing with some sout- commands but without success.
Is this wanted or a bug that it does not behave the same way through graphics interface than command line?

Thanks.

PS: Using vlc 3.0.5 on rhel6 64 bits