sout transcode - how to overlay subtitles?
Posted: 16 Feb 2016 18:52
Dear All,
I'm trying to record some dvds to my hard-drive with English subtitles overlaid on the video. I haven't managed to make this work with the GUI, so I've switched to the command-line. I'm on VLC 2.2.1
This code works for audio & video, but it will overlay all subtitles (4 languages...) one on top of each over .
Removing 'soverlay' leads to no subtitles being overlaid at all . Using '--sub-language=en' makes no difference. I've also tried several containers with no luck.
Please note that the following code does display the video with English subtitles.
Any suggestions ?
(I'm also opened to suggestions leading to the subtitles being saved in the container)
Many thanks,
Olivier
I'm trying to record some dvds to my hard-drive with English subtitles overlaid on the video. I haven't managed to make this work with the GUI, so I've switched to the command-line. I'm on VLC 2.2.1
This code works for audio & video, but it will overlay all subtitles (4 languages...) one on top of each over .
Code: Select all
C:\Program Files (x86)\VideoLAN\VLC>vlc dvdsimple:///D:/#1 --sub-track=2 --sout=#transcode{vcodec=h264,scale=Auto,acodec=mpga,ab=128,channels=2,samplerate=44100,soverlay}:file{dst=C:\\Users\\Olivier\\Videos\\st.mp4,no-overwrite} --sout-keep
Please note that the following code does display the video with English subtitles.
Code: Select all
C:\Program Files (x86)\VideoLAN\VLC>vlc dvdsimple:///D:/#1 --sub-track=2
(I'm also opened to suggestions leading to the subtitles being saved in the container)
Many thanks,
Olivier