LinuxReviws.org --get your your Linux knowledge
> Linux Reviews > Manual Pages (man) >

any2vob

automates the creation of PAL or NTSC DVD compliant VOBs from any PC multimedia file, ready for dvdauthoring.


  1. any2vob.1.man


1. any2vob.1.man

Manpage of ANY2VOB

ANY2VOB

Section: (1)
Updated: 07 March 2007
Index Return to Main Contents

 

NAME

any2vob - automates the creation of PAL or NTSC DVD compliant VOBs from any PC multimedia file, ready for dvdauthoring.  

SYNOPSIS

any2vob [ options ] [ -i ] [ input_file1 input_file2 ... ]

 

DESCRIPTION

any2vob is a shell script that brings together many existing GPL'd tools to aid in the automation and batch creation of PAL or NTSC DVD compliant VOBs from any PC multimedia file(s), network stream(s) or URL(s). Capable of upsampling from stereo to 5.1 surround sound, it also handles files containing multiple audio, video and subtitle streams.  

SUPPORTED FILE FORMATS

AVI, .MPEG, .WMV, .MOV, .ASF, .NUV, .MKV, .OGM, .BIN (S)VCD, .SWF, .NSV, .RM, .RAM, .ASX, .TS, .DV, .3GP, .VP6(Video only), .VP3(Theora), .MP4, .VOB  

SUPPORTED NETWORK PROTOCOLS

mms:// http:// rtsp://  

SUPPORTED SUBTITLE FORMATS

SUB, .SRT, .SSA, .SMI, .RT, .TXT, .AQT, .JSS, .JS, .ASS  

VIDEO OPTIONS

-h
Display usage information.
--format=[pal|ntsc]
Encode to either PAL or NTSC television format. See '--overscan'. Default is to encode to PAL format.
--preview=[yes|no]
Preview video while encoding (slower). To preview in X11, mplayer must be compiled with SDL support. To preview in console, mplayer must be compiled with fbdev support. Default is to not preview.
--compress=[yes|no]
Halve the encoding time and encoded filesize. This option will reduce the encoded resolution down from 720x576 to 352x288 for PAL, and 720x480 to 352x240 for NTSC. This may have some undesirable effects if the original input_file is of poor quality. Default is no.
--aspect=[4:3|16:9]
Choose whether to encode to a 4:3 or 16:9 aspect ratio. Default is 16:9.
--pulldown=[yes|no]
High quality converting 25fps or 23.976fps video to NTSC 29.97fps material. Default is yes.
 

AUDIO OPTIONS

-a [audio_file1 audio_file2 ...]
Merge in extra audio track(s)
--audio_format=[ac3|mp2|pcm16|pcm24]
Encode audio to either AC3, MP2, PCM 16-bit, or PCM 24-bit. See '--surround'. Default is to encode to AC3.
--surround=[yes|no|preserve]
yes - encode audio track(s) to 5.1 dolby surround sound.

If the audio track contained in the original input_file contains a stereo track, it will be converted to 5.1 channel surround sound, however front-to-rear panning will be lost. If the original input_file contains a 5.1 channel surround sound audio track, it will be preserved. See '--keep_dts'. Audio formats mp2, pcm16 and pcm24 are strictly stereo only and will override 'yes'.

no - encode audio track(s) to stereo.

preserve - preserve audio track(s) from original and do no further audio conversion other than that specified with '--audio_format'.

Default is to preserve.

--keep_dts=[yes|no]
Preserve DTS audio track if detected. If the original input_file contains a DTS audio track, setting this option to yes will preserve it. Setting it to no, will encode the audio to that specified by '--audio_format'.

Default is to preserve DTS audio tracks.

 

SUBTITLE OPTIONS

-s [subtitle_file1 subtitle_file2 ...]
Encode external subtitle file(s).
--subfontname=[fontname.ttf]
Font to use for subtitles. To add more subtitle fonts, copy them into either ~/.spumux/ or your xorg/xfree's 'TTF/' fonts directory (must be TTF fonts). Default is Vera.ttf.
--subfontsize=[fontsize]
Set fontsize for subtitles. Default is 18.
--subcharacterset=[ISO-codepage]
Set subtitle language codepage for your country. A full listing of supported language charactersets and their relative codes, is available here -> http://www.gnu.org/software/libiconv/
 

MISCELLANEOUS OPTIONS

--workdir=[/path/to/dir]
Directory to use for temp files and final VOBS (lots of disk space needed). Default is for the script to create a directory called 'tmp_any2dvd' in the current directory and use that.
--calc
Estimate total DVD disk space that will be used. eg. any2vob --calc -i file1.avi file2.mov
--skip_comm=[yes|no]
Skip commercials for MythTV recorded video. Default is no.
--mpegts_allpids=[yes|no]
Encode all program streams (PIDs) contained in MPEG-TS capture files. Default is no, encodes only the first or main PID.
--overscan=[0-100]
Allow for NTSC overscan this option takes a percentage value to pad screen border ('3.5' is a good start). Default is none.
--encode_args=["..."]
Extra encoding command-line options to pass to Transcode. Default is none.
--preformat=[yes|no]
Force files through Mencoder first before Transcoding. Default is no.
-j [movie_title=file1.avi file2.avi]
Join files together by specifying movie title followed by files to join.
 

EXAMPLE USAGE

All unspecified command line option values use either the defaults or those located in ~/.any2dvdrc config file

any2vob --aspect=16:9 --format=ntsc --compress=yes -i movie1.avi movie2.mov movie3.wmv movie4.nuv

- Encode in 16:9 widescreen for NTSC TV with reduced resolution and video bitrate for a smaller filesize

any2vob --aspect=4:3 --audio_format=mp2 -i /path/to/directory/containing/files/*

- Encode in 4:3 standard aspect with MPEG2 for the audio track(s), and encode all files contained in /path/to/directory/containing/files/

any2vob --aspect=4:3 -j MY_TITLE=movie1.avi movie2.mov movie3.wmv movie4.nuv --surround=no

- Encode in 4:3 standard aspect, join files movie1.avi movie2.mov movie3.wmv and movie4.nuv to create the title named 'MY_TITLE' and encode audio track(s) in stereo

any2vob --aspect=4:3 --format=ntsc -i file2.avi file3.mov --surround=no -j MY_TITLE=/path/to/directory/containing/files/* -j MY_OTHER_TITLE=file8.wmv file9.wmv

- Encode in 4:3 standard aspect for NTSC TV, audio track(s) in stereo, join all files located in /path/to/directory/containing/files/* using the titlename 'MY_TITLE', join files file8.wmv file9.wmv to create the title named 'MY_OTHER_TITLE'

Note that '-j' can be used multiple times. The above example would produce a DVD with 4 titles. 1st title - file2, 2nd title - file3, 3rd title - MY_TITLE, 4th title - MY_OTHER_TITLE  

NOTES

** At startup, the script checks for the existence of the configuration file ~/.any2dvdrc, if it is not present then it is created using the script defaults, or the options used on the command line. All options specified on the command line over-ride those configured in the ~/.any2dvdrc file.

** When specifying external subtitle or audio file(s) with the '-s' or '-a' option in batch input_file conversion mode, the subtitle/audio file(s) will be applied to the first input_file only.

** If '--pulldown=yes' and it's use is needed (converting to NTSC), '--compress=no' is assumed. This behaviour may be overridden by specifying '--pulldown=no'.

** Encoding to DTS audio is not supported, however if a DTS audio track is found it will be preserved, unless otherwise specified with '--keep_dts=no', in which case it will be converted to either AC3 or the format specified with '--audio_format=...'

** MP2 & PCM audio format encodings are strictly stereo only.

** '-i' and '-j' options may be used seperately or together, but at least either one of these options must be specified, '-j' option may be used multiple times  

BUGS

rickfharris@yahoo.com.au  

AUTHOR

Rick Harris


 

Index

NAME
SYNOPSIS
DESCRIPTION
SUPPORTED FILE FORMATS
SUPPORTED NETWORK PROTOCOLS
SUPPORTED SUBTITLE FORMATS
VIDEO OPTIONS
AUDIO OPTIONS
SUBTITLE OPTIONS
MISCELLANEOUS OPTIONS
EXAMPLE USAGE
NOTES
BUGS
AUTHOR

This document was created by man2html using the manual pages.
Time: 17:30:16 GMT, October 23, 2013

Meet new people