To my knowledge HDMV PGS subtitles cannot be "exported" to a standalone format. What do you need to do with the subtitles, specifically?
–
slhck♦Sep 23 '13 at 19:58

i've never been much good with ffmpeg but fwiw(prob not much!!)besides -formats there's also ffmpeg -codecs
–
barlopSep 23 '13 at 19:58

@slhck it was for ripping a bluray I had. I wanted to dump audio and subtitles and encode the movie. This was really hard because I wanted to do it incrementally (first movie, audio and subtitles) and I couldn't manage to dump the subtitles because I couldn't find the proper extension. Read a couple of places that it was sup, and know of others that are sub, srt, mpsub and some others I saw doing ffmpeg -codecs and -formats. @ barlop fwiw codecs is what ffmpeg can read from and encode to not necessarily what it can output to. Format in the case of ffmpeg I think is the container of encoding.
–
plitterSep 23 '13 at 20:40

1 Answer
1

First off, you can see all formats (containers) by calling ffmpeg -formats. That they don't mention extensions is probably for the reason that an extension on its own is often meaningless, and you can override the output format by using the -f option.

You can see what the common extensions are for a particular (de)muxer. For example:

Thank you. Would you happen to know how I can find out what "things" you can put into what format? Is there a convenient list saying this format supports these "things"?
–
plitterSep 23 '13 at 20:32

No, unfortunately it's not really that easy. One could, in theory, parse FFmpeg code in order to find out. Wikipedia has a fairly comprehensive list for common containers though.
–
slhck♦Sep 23 '13 at 20:50