Command line screenshots of video with subtitles file

macOS specific usage questions
ommmot
New Cone
New Cone
Posts: 3
Joined: 12 Mar 2010 01:49

Command line screenshots of video with subtitles file

Postby ommmot » 12 Mar 2010 01:56

Hello. I am trying to running VLC by command line using terminal to capture multiple screenshots of a movie and subtitles file. I want the same jpeg file you can get by manually pressing option-command-s expect every 6 frames etc.

I've tried using the command line

/Applications/VLC.app/Contents/MacOS/VLC /Users/tom/Desktop/FG/FG.avi --sub-file=/Users/tom/Desktop/FG/FG.srt --video-filter=scene --image-out-format=jpeg --image-out-ratio=6 --image-out-prefix=FG

But get an error message: --image-out-format=jpeg. I know that --vout changed to --video-filter-scene in 1.0.2, does anyone know if the other options have changed too?

Or have I just messed something up in the command line?

Thanks in advance

Tom

ommmot
New Cone
New Cone
Posts: 3
Joined: 12 Mar 2010 01:49

Re: Command line screenshots of video with subtitles file

Postby ommmot » 12 Mar 2010 11:37

I've got it almost working with the command line

/Applications/VLC.app/Contents/MacOS/VLC /Users/tom/Desktop/FG/FG.avi --sub-autodetect-fuzzy=4 --video-filter=scene --scene-width=-1 --scene-height=-1 --scene-format=jpg --scene-ratio=11.99 --scene-prefix=FG --scene-path=/Users/tom/Desktop/FG

Although it's not showing the subtitles in the images. Also the option-command-s gives a much better image quality and includes the subtitles.

Anyone have any ideas?

Thanks

Tom

ajmas
Big Cone-huna
Big Cone-huna
Posts: 935
Joined: 04 Feb 2006 07:33
VLC version: 3.0.x
Operating System: MacOS X
Location: Montreal, Canada

Re: Command line screenshots of video with subtitles file

Postby ajmas » 12 Mar 2010 16:33

I haven't done this myself, so I can't really help.

Assuming all things are equal, at least at this level, you could see in the general troubleshooting forum to see if anyone has an answer. Please share any solution you have in this thread, just for future reference - thanks :)
Providing logs, messages, configuration info (VLC, OS, Hardware) and a clear explanation of the issue always helps the problem solvers help you, even if they don't end up solving the issue. Just think what you would need if you were solving someone else's problem. Additional: Always looking for eager and capable MacOS X developers to join the VLC team - for more information see here.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 7 guests