- 1 News
- 2 What is vgtmpeg?
- 3 Try online
- 4 Using
- 5 Supported formats
- 6 vgtmpeg vs ffmpeg
- 7 Download
- 8 Changelog
- 9 DVD/Bluray support
- 10 Obtaining source
- 11 Filing bugs
vgtmpeg 1.3.22 is the initial release to bring Bluray support into vgtmpeg. BD support is still experimental and not as mature as DVD support. Be sure to try it out and let us knows of problems you may find.
What is vgtmpeg?
vgtmpeg is a ffmpeg/avconv clone that adds a number of additional features to the stock ffmpeg and libavformat/libavcodec libraries augmenting its functionality. One of the most important ones being support for Bluray and DVD input support.
You don’t have to download vgtmpeg to use it. You can try and use vgtmpeg from your web browser using goDromo Media Transcoder, a native cloud app that uses vgtmpeg as its backend. Try some ready-to-use gMT profiles right here.
Although gMT is the easiest way to use vgtmpeg, if you are comfortable with using programs through the command line you can just download vgtmpeg separately. vgtmpeg is a superset of ffmpeg/avconv, therefore if you are used to them you’ll feel at home because the full command line API available with ffmpeg is also available with vgtmpeg. You can also use the standalone vgtmpeg version to be integrated with other projects.
vgtmpeg comes precompiled with a big variety of mux formats and audio and video codecs. For an exhaustive list of what formats are supported visit the gMT format page
vgtmpeg vs ffmpeg
We love ffmpeg for its versatility and wealth of contributor support. vgtmpeg doesn’t try to be a substitute to ffmpeg. Rather, we try to have vgtmpeg to be a superset ffmpeg distribution with added features. Hopefully some of the features that vgtmpeg introduces will make into the master ffmpeg repository.
We offer precompiled binaries of vgtmpeg for an assortment of different platforms. We have spent extra care building the following binaries to make sure that all assembly optimizations and multi-threaded processing are enabled where available. 64bit versions are usually faster than 32bit builds, so we recommend you use those if you are running a 64 bit system.
- Added experimental bluray support. Bluray support can be used through the bluray url protocol. bd://
- Added xvid 1.3.2 encoder as a supported format. Xvid is supported in multithread mode in all platforms and architectures.
- Fixed character encoding issue between DVD audio languages and ffmpeg metadata. Now when converting to mp4 or other output muxes supporting language metadata, the language metadata is fully preserved from the DVD source.
- Fixed bug that was reporting incorrent duration of streams and DVD titles
- Initial public release with DVD support
vgtmpeg adds support for DVDs and BD in its version of libavformat. DVD/BD support is implemented by adding a new ‘dvdurl’ protocol that can parse DVD folders, DVD ISO files, DVD devices and more. The ‘bdurl’ protocol can parse bluray folders. All the regular features available in vgtmpeg/ffmpeg are still available when a dvd url or a bd url is used. From direct stream copy to all sorts of filtering and transcoding possibilities.
Using DVDs with vgtmpeg
Strictly one can open a DVD folder, ISO file.. by using a DVD url like this:
> vgtmpeg -i dvd://path_to_dvd outfile
When using the above format vgtmpeg will inspect the ‘path_to_dvd’ location looking for a DVD image in the form of a ISO file, or a DVD folder. ‘path_to_dvd’ can also be any of the individual files inside the VIDEO_TS folder, ‘vgtmpeg’ will figure out the rest.
By default, the title with the longest duration is opened when using the above syntax. If you want to rely on this behavior, the use of the dvd:// is not required and just specifying the path will suffice. One can however, ask for specific titles to be used as the input using a url query var:
> vgtmpeg -i dvd://path_to_dvd?title=5 outfile
This will open the title 5 (if available) of the DVD. If you want to know what is available on a DVD simply type:
> vgtmpeg -i dvd://path_to_dvd
Using Bluray folders with vgtmpeg
Strictly one can open a Bluray folder,by using a BD url like this:
> vgtmpeg -i bd://path_to_bd outfile
When using the above format vgtmpeg will inspect the ‘path_to_bd’ location looking for a Bluray folder image. The folder will be inspected for a bluray like structure and analyzed looking for titles and video and audio streams.
By default, the title with the longest duration is opened when using the above syntax. If you want to rely on this behavior, the use of the bd:// is not required and just specifying the path will suffice. One can however, ask for specific titles to be used as the input using a url query var:
> vgtmpeg -i bd://path_to_bd?title=5 outfile
This will open the title 5 (if available) of the BD. If you want to know what is available on a BD simply type:
> vgtmpeg -i bd://path_to_bd
DVD and Bluray paths
The path to use for the -i option is flexible. You can point to an IFO file, a VIDEO_TS folder, the root of a VIDEO_TS folder or an ISO file containing a VIDEO_TS folder. In any of the cases, vgtmpeg will try to figure out the root file of the DVD from this information and if successful will open the DVD and load the information in the IFO files.
At the moment only Bluray folders are supported and you should point to the root of the Bluray folder.
DVD/BD titles and vgtmpeg
The way vgtmpeg handles DVD/BD titles is by mapping every DVD/BD title as if it were a separate input file. You can image it as configuring the command line with an input switch ‘-i’ for every tittle available on the DVD/BD image. All DVD/BD tittles are opened simultaneously and available for reading and conversion. This makes it possible for you to use all the features available on vgtmpeg/ffmpeg like stream mapping and the like. For example, you could conceivably mix streams from different titles using vgtmpeg’s stream mapping.
If you find issues with vgtmpeg please go ahead a file a bug in our GitHub issue tracker.