Skip to content

Instantly share code, notes, and snippets.

@timruffles
Created November 23, 2011 10:34
Show Gist options
  • Select an option

  • Save timruffles/1388363 to your computer and use it in GitHub Desktop.

Select an option

Save timruffles/1388363 to your computer and use it in GitHub Desktop.
VLC notes
On OSX, ensure you have 64 bit VLC.
// stream to png images
$ vlc INPUT --video-filter=scene --scene-format=png --scene-path=OUTPUT_FILE
// burn in subtitles
vlc -I rc -vv INPUT --sout '#transcode{soverlay,vcodec=h264}:standard{access=file,dst=OUTPUT_FILE,mux=ts}' --sub-language=eng
vlc -I rc -vv INPUT --sout '#transcode{soverlay,vcodec=h264}:standard{access=file,dst=OUTPUT_FILE,mux=ts}' --sub-track-id=623
// tstools to grab subtracks etc - http://code.google.com/p/tstools/
tsinfo
// tsinfo gives us Program Map Table = info on all the streams inside a MPEG TS - all programme streams -> essential streams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment