# vdrip.pl successive changes from 2008-06-09
### History of modifications:
# 20090820 pkx: Review user error messages (on command line when no correct arg or filename)
# 20090818 pkx: vdrip.pl is now hosted on savannah servers (savannah.nongnu.org)
# 20090817 pkx:	First offical beta release: vdrip.pl19j-20090817 (any pre-rev-20 version are beta)
# 20090817 pkx: vdrip.pl better errors/warnings reporting. Fix the vdripdir bug. Rewrite help for expert mode
# 20090816 pkx: vdrip.pl enhancements to scripts and profile,added command 'vb' video bitrate.More tests on Debian 5.02/Gnome
# 20090810 pkx: review language parameter for mplayer/mencoder (-alang)
#		fix some cropdetection fails for small movie mpeg2 files(see RESTART: and redo labels)
#		When incoherence while croping,redo more crop detections changing parameter value 'st'(todo done)
# 20090809 pkx: review help,syntax,license text
#		changed algo processfile() when file very small;Warn if spaces in filename(may cause problem,but works)
#		Extracted the history of changes,for this RELEASE.txt file
# 20090804 pkx: fix -ab argument(flabitrate),no '/home/CMD' in script,xpert mode does not imply auto,
#		nocrop mode does not imply auto; fix if nocrop mode use processcommand("gn")
# 20090802 pkx: simplification phase3: suppress noquery,flverb,word automatic(implicit default mode),
#		fix 'gn' to really generate a script file without crop parameter(movie picture is not cut)
#		finalized option -rip0|1|2 and its cmdman,
#		review TODO works,added print ripped filename at end of script,
#		when in test ripping mode(code 0),vdriplist.sh file is now unchanged
#		when internal error suggested to report problem to vdrip.pl@gmail.com
# 20090801 pkx: implemented profiles 2,3,4,8 and cmd 'ab' 'vb' (audio and video bitrate)
#		mplayer/mencoder command path,test and report error if executable not found
# 20090730 pkx: implemented profiles and new options (flnd flmotion) for -lm,-fm,-cl
# 20090729 pkx: fix mediainfo framecounts retrieval: no more use of medi.pl,test if mediainfo exist
# 20090618 pkx: Removed any occurrence to xine,kx(kill xine)- Implemented -nocrop option(imply -auto)
#               Removed any interactive words(now use either: -auto or -manual options) [18f]
#		Fix helps. Started to implementing new options -flnd -flprofile for -lm,-fm,-cl
# 20090609 pkx: implemented Black&White movie flag with low quality sound<1970 to be ripped at 64kbps(-bw)
#		Added elapsed time in script bash file. Always delete the temp file($fictmp) at any end/exit
# 20090527 pkx: suppress directory requirements: /mnt/xxx and so, replaced to $HOME/vdripdir $HOME/vdripdone
#		changed temp filename. Added option -m for manual mode(-interactive no more used)
# 20090315 pkx: review crop timers; added option -exec to run script (TO TEST),review error message/suggestion,
#		system language detection $LANG reported to -alang(mplayer)in script global variable
#		Licensing text added/changed
# 20090315:pkx: script.sh: -alang xxx herited from vdrip.pl (var.$filng),inhibited 'mv script done at end'
# 20090314 pkx: changed flmore to flxpert (experience user),review options
# 20090313 pkx: implemented and changed default mode -auto and 1-pass encoding,fix pb 'cs' if short file,review doc
# 20090311 pkx: review -help,-helpfull,-h, and options
# 20090307 pkx: vdrip.pl vdriplist(replaced all 'mench',review specific names)
# 20090306 pkx: vdrip.pl reorganized: arguments parsing,review options,cmdman,help/syntax,filename-with-space(phase2)
#		genscript w/o cropdetect,picture centering when channel icon not completely in picture (and warn-it).
# 20090306 pkx: vdrip.pl implemented crop corrections if logo is not centered in the height of screen
# 20090306 pkx: mench.sh filename changed to vdriplist.sh (list of pending files to vdrip)
# 20090213 pkx: change help text
# 20090201 pkx: simplification phase2(argument) longfilename with space support(phase1)
# 20090129 pkx: changed script to search video file in alternate storage and dest.dir
#		(in case of disk full:script need not to be changed)
# 20090106 pkx: get rid occurrence of $vd[8],changed to $vdcall[0]
# 20090101 pkx: fix currcrop var sometimes not updated from vd[8],array @vdcall now retain all the successive
#		values of cropdetections done
# 20081228 pkx: simplification phase1, many commands depreciated: as ac sp sf xi kx - or changed: pv
# 20081227 pkx: name conversion:script and avi filename are same than video filename (except extension,space)
# 20081226 pkx: processing error code returned by mencoder in script (fatal error may occur while launching it)
# 20081222 pkx: fix .avi filename; cancel 'vdripon' flag (side effect prevention of exec script on/off)
# 20081125 pkx: simplify name script/avifile generation, fix movie list found in current dir
# 20081103 pkx: ficout better processed+warned in trace mode. Inhibited nopfile in script(it need more
#		checks/user suggestion). End everything in english translations.
# 20081102 pkx: tvaddrip-0000.txt is integrated within this program,see explanation and lines at end of file,
#		beginning by #-# .Changed printmenu
# 20081101 pkx: fixed many comments and changes to clarify explanations,flxpert:flag for experienced users
# 20081031 pkx: change menu and help file to be clearer. Fix language in crop detect sequence(mplayer -vo x11 and -alang)
# 20081029 pkx: much less verbose,all unnecessary info put in comment or trace mode (if $tr)
# 20081028 pkx: file tvaddrip-0000.txt is appended without the comments (final script is shorter)
# 20081028 pkx: script.sh: Rename script as 'done' (fix space between variable and '=' sign in assigment); vmenc without ponctuation char
# 20081026 pkx: script.sh: Tests files/tools before processing.
# 20081025 pkx: script.sh: fix previous processing. fix script filename,program can be launched in any directory. Script file archived
# 20080923 pkx: script.sh: only variables are given by the script vdrip.pl (orig:v.20080504-new-simple)
# 20080923 pkx: script.sh: added -alang fr in mencoder syntax (Arte channel may broadcast 2 sound tracks)
# 20090922 pkx: Some satellite mpeg files(.m2t) may have 2 soundtracks, languages 'fra' and 'deu'
#		f.i.: ARTE) now correctly processed. This parameter is forced in mplayer/mencoder: -alang fra
# 20081022 pkx: script.sh: fix version-stamp of mencoder for the movie filename,var is $vmenc
# 20081022 pkx: script.sh: update vdriplist.sh(mench.sh) when mencoder done (the job filename is commented),related job need not to be executed with its full pathname
# 20081021 pkx: script.sh: minor modif:more compact,suppress un-usefull date-time
# -nodate- pkx: add option pp=fd for desinterlace (now always ON)
# -nodate- pkx: add set aspect(sa) to force a specific aspect when the one detected is not adequate,
#		result also in script file
# -nodate- pkx: crop fix for width: computed aspect ok (no more auto-aspect:it is non standard for all players)
# -nodate- pkx: memorize last flow of crop detections (when the use of commands: cr,ct,cs)
###########

