Tovid Wiki
No edit summary
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This page is under construction - As of writing 0.35 has not been released.
+
tovid 0.35 has now been released!
Coming very soon !
 
   
 
The latest version of tovid is '''0.35''' This page documents changes against the previous release. For the very latest changes, see [[tovid changelog/upcoming]].
 
The latest version of tovid is '''0.35''' This page documents changes against the previous release. For the very latest changes, see [[tovid changelog/upcoming]].
   
== tovid 0.35 ==
+
== '''tovid 0.35''' ==
   
   
===todisc===
+
==='''todisc ('disc')'''===
   
 
r3346 | grepper | 2011-07-25 18:34:24 -0400 (Mon, 25 Jul 2011) | 3 lines
 
r3346 | grepper | 2011-07-25 18:34:24 -0400 (Mon, 25 Jul 2011) | 3 lines
Line 153: Line 152:
 
r3425 | grepper | 2012-05-09 02:15:55 -0400 (Wed, 09 May 2012) | 2 lines
 
r3425 | grepper | 2012-05-09 02:15:55 -0400 (Wed, 09 May 2012) | 2 lines
 
Do not check video title lengths if -no-menu or -encode-only
 
Do not check video title lengths if -no-menu or -encode-only
  +
r3430 | grepper | 2012-06-14 01:04:13 -0400 (Thu, 14 Jun 2012) | 6 lines
  +
change frame rate variable for ntsc to 30000/1001 so it is not rounded.
  +
remove -standard and -tvstd as they are inappropriate. This
  +
will allow todisc to work with Ubuntu precise's ffmpeg/avconv as
  +
a side effect.
  +
Note: these same changes have been commited to 0.35 branch pre release.
  +
r3437 | grepper | 2012-06-14 14:46:26 -0400 (Thu, 14 Jun 2012) | 5 lines
  +
different var for ffmpeg frame rate, use original FRAME_RATE
  +
for everything else (mjpegtools, transcode convert it to 30000/1001
  +
and bc needs it for calculation)
  +
-t TIME goes AFTER the -i /dev/zero, else avconv messes up
  +
  +
r3444 | grepper | 2012-07-15 21:49:00 -0400 (Sun, 15 Jul 2012) | 7 lines
  +
added support for avconv (libav.org)
  +
fixed typo in parsing image type from 'file' output
  +
check for broken transcode (stock debian)
  +
fix for broken showcase image display when doing -textmenu (or -static)
  +
and -menu-fade
  +
get spumux output into the logfile
  +
  +
r3448 | grepper | 2012-07-22 23:55:46 -0400 (Sun, 22 Jul 2012) | 2 lines
  +
Fix for showcase file not showing up with menu fade
  +
r3459 | grepper | 2012-08-26 02:00:20 -0400 (Sun, 26 Aug 2012) | 5 lines
  +
Changed paths:
  +
M /trunk/tovid/src/todisc
  +
* fix for -quick-menu for latest git version of ffmpeg, changing
  +
to using scale filter rather than -s XxY
  +
* fix for vhook for -quick-menu (doubtful any is using an ffmpeg
  +
that old, but what the heck ...
  +
r3463 | grepper | 2012-08-28 17:30:41 -0400 (Tue, 28 Aug 2012) | 2 lines
  +
Changed paths:
  +
M /trunk/tovid/docs/src/en/tovid.t2t
  +
M /trunk/tovid/src/todisc
  +
Allow '-switched-menu' or '-switched-menus' (easier to remember)
  +
r3367 | grepper | 2011-08-20 09:47:07 -0400 (Sat, 20 Aug 2011) | 10 lines
  +
Add -title-font and -title-fontsize as aliases for
  +
-menu-font and -menu-fontsize respectively, to allow
  +
more intuitive memory or options.
  +
Don't use get_listargs for -mplayeropts, as they
  +
a) are a single string
  +
b) can start with a '-'
  +
Just parse with ("$1" "$2") and shift twice
  +
Add '-mc 0' to audio_length() in hopes it will help with
  +
some problematic videos
  +
r3369 | grepper | 2011-08-20 20:25:44 -0400 (Sat, 20 Aug 2011) | 6 lines
  +
Previously setting -title-stroke to 'none' would cause todisc to not
  +
use a gray font shadow for readability. Now setting -title-stroke to anything, ie.
  +
-title-stroke red, will cause the same behavior. So the only way now to get the
  +
shadow is to leave the -title-stroke setting alone.
  +
Setting -title-stroke will in fact make a menu title makemenu style.
  +
r3371 | grepper | 2011-08-22 07:29:25 -0400 (Mon, 22 Aug 2011) | 6 lines
  +
Make code for menu title and video titles the same, same colour for
  +
text, same behavior with respect to font shadow vs. font outline
  +
(-using ANY -title-stroke or -titles-stroke will cause that portion
  +
of the menu to not use font shadow)
  +
r3375 | grepper | 2011-08-28 09:40:00 -0400 (Sun, 28 Aug 2011) | 19 lines
  +
* Added -title-font-deco and -titles-font-deco so that todisc supports
  +
all makemenu options, as makemenu is being deprecated/removed in 0.35.
  +
I don't count this a 'feature creep' as 1700 lines of code will be
  +
removed :) This also makes the -stroke options more less confusing.
  +
* Fix for changed ffmpeg option -tvstd ==> -standard in current git -
  +
maintaining backwards compatibility.
  +
* Fix for -quick-menu failing with bizare results when near-black
  +
background colour is used.
  +
* Don't print full path to file when using spinner to avoid too long
  +
line lengths and extra characters left on screen.
  +
* Remove -r (framerate) and -s (video size) options from before the '-i'
  +
as they are not supported with latest ffmpeg and apparently served
  +
no purpose anyway for older ffmpegs.
  +
TODO: investigate how to fix ffmpeg command for images that needs to
  +
force input framerate.
  +
* Restore -noask as a todisc option - it will serve double duty. If
  +
someone wanted previews AND -noask for makempg they can always set
  +
a makempg preference in the ini file.
  +
r3376 | grepper | 2011-09-04 16:25:23 -0400 (Sun, 04 Sep 2011) | 13 lines
  +
* Staying ahead of some changes in recent ffmpeg git:
  +
some options, such as "-pix_fmt yuv420p" or "-r framerate" can no
  +
longer be put before the -i if they are part of the video properties,
  +
as they are in yuv4mpegpipe format.
  +
* Consolidate functions for checking video length and audio length
  +
into one new function: stream_length()
  +
* fix hard-coded -aspect in image processing for slideshows - now
  +
uses $ASPECT so it is compatible across ffmpeg versions.
  +
* usage_error() if trying to use submenus with slideshows, either
  +
mixed with videos or on its own.
  +
Possible TODO: allow videos in a mixed menu to have submenus.
  +
r3392 | grepper | 2011-09-21 01:20:34 -0400 (Wed, 21 Sep 2011) | 25 lines
  +
* Extensive general cleanup of code that aligns text and images(-align)
  +
and aligns button text relative to images (-showcase-titles-align).
  +
This is the major part of this large commit (+716 lines, -427 lines in total.
  +
Moved to adjacent blocks to it makes more sense and is more
  +
maintainable - it was found in several places.
  +
Now all options should work for all styles (where they make sense) and
  +
things are much more pleasingly centred etc.
  +
* changed justification of showcase text so it is west (left) aligned.
  +
-edge-justify added to get old behavior back.
  +
* Added colour highlight 'bars' to screen output:
  +
green for Info: and red for more critical errors. Added info_message()
  +
and used it to standardize these informational warning better.
  +
TODO: ? Output colour to log to help debug critical errors ?
  +
* removed some verbosity from output though it is still far too
  +
verbose. TODO: use -debug flag to turn verbosity on, default off.
  +
* Added usage_error for -showcase-geo args not having +/- prefix.
  +
* Move some info and warning messages that go to log to AFTER the
  +
log file is removed and recreated so they actually show up.
  +
* Instead of erroring out on multiple spaces in titles, just fix
  +
them and output Info: message.
  +
* Test that all videos in titleset/menu are of same aspect ratio
  +
and give dire (non-critical) warning if not.
  +
* usage_error for incompatible options -showcase-shape and -wave
  +
changed to warning - todisc disables -showcase-shape and continues.
  +
r3393 | grepper | 2011-09-21 22:17:58 -0400 (Wed, 21 Sep 2011) | 10 lines
  +
* make showcase with thumbs with default alignment work.
  +
It doesn't use the N/S/E/W ala ImageMagic, its position
  +
is a bit of a compromise (northwest with a bit of an offset)
  +
* Don't check aspect ratio every time when recursing.
  +
* Refine -align and -showcase-titles-align code, it should all
  +
work now.
  +
* more info_message usage
  +
* Disable some verbose output by testing for $VERBOSE flag
  +
(set to false for now with no user option)
  +
r3413 | grepper | 2012-03-04 01:31:02 -0500 (Sun, 04 Mar 2012) | 15 lines
  +
* More work on decreasing verbosity of screen output
  +
using print2log, reworking get_stats, etc.
  +
* Use full option names for some like:
  +
-menu-title-font
  +
* Use coloured messages for more output.
  +
* Remove VERBOSE var which was unused.
  +
* Get tovid.ini opts for makempg:
  +
TODO: echo them to screen for information to user
  +
* Don't use coloured output with gui to fix errors re tput
  +
* Don't run filter test when recursing if already run.
  +
* Fix Usage message to use 'tovid disc' instead of 'todisc'
  +
* Fix a few thumb dimensions to allow better fit
  +
* Fix typo in 'tovid dvd' burn command
  +
r3415 | grepper | 2012-03-17 18:58:41 -0400 (Sat, 17 Mar 2012) | 6 lines
  +
* Fix regression from last commit where all of makempg's output
  +
was sent to log leaving no output and allowing no interactive commands.
  +
* Fix subtle bug that made todisc hang when run from a saved gui script
  +
from the command line.
  +
* Add "-burn" command for info suggestion on how to burn the finished DVD.
  +
r3416 | grepper | 2012-03-18 18:50:12 -0400 (Sun, 18 Mar 2012) | 3 lines
  +
* Use ffmpeg for generating silence for menu rather than sox.
  +
Less workarounds and a couple of dozen less lines !
  +
r3417 | grepper | 2012-03-28 21:23:31 -0400 (Wed, 28 Mar 2012) | 6 lines
  +
* change GROUP variable name to GROUP_ARR, to avoid potential env NAME conflict
  +
No I'm not going to go through 10,000 lines of code at this point and change
  +
all upper case variables to lower case, but that is certainly what I would do
  +
if I was starting to write todisc today, or even 5 years ago.
  +
Fixes issue #160 reported by star at sheffield.ac.uk, thanks Paul for report
  +
r3418 | grepper | 2012-03-31 13:37:17 -0400 (Sat, 31 Mar 2012) | 4 lines
  +
* usage_error on using '0' as arg for -text-menu.
  +
(user told to use -align *east instead)
  +
* on runtime_error recommend SVN for ffmpeg errors in log, giving wiki url
  +
r3419 | grepper | 2012-04-01 01:43:12 -0400 (Sun, 01 Apr 2012) | 4 lines
  +
* Need to check that -text-menu has an arg before doing bash math on it
  +
* Issue warning about south alignment possibly covering nav buttons, rather
  +
than being possibly overly helpful.
  +
r3420 | grepper | 2012-04-11 01:08:29 -0400 (Wed, 11 Apr 2012) | 10 lines
  +
* Add 'General options' to quick help printed to screen, as
  +
well as some more simple examples of other capabilities.
  +
* Some refining of the -encode-only switch, so that only
  +
necessary operations are run and only pertinent screen output
  +
is given.
  +
* Fix burning with makedvd when using -no-menu
  +
* Check that align options don't cover up navigation buttons.
  +
* Fix parsing of -mplayeropts (passed to makempg)
  +
so we don't 'shift' past next option.
  +
r3421 | grepper | 2012-04-15 02:10:29 -0400 (Sun, 15 Apr 2012) | 2 lines
  +
* make_polaroid_stack() needs a '+repage' before the -flatten now
  +
r3425 | grepper | 2012-05-09 02:15:55 -0400 (Wed, 09 May 2012) | 2 lines
  +
Do not check video title lengths if -no-menu or -encode-only
  +
r3430 | grepper | 2012-06-14 01:04:13 -0400 (Thu, 14 Jun 2012) | 6 lines
  +
* change frame rate variable for ntsc to 30000/1001 so it is not rounded.
  +
* remove -standard and -tvstd as they are inappropriate. This
  +
will allow todisc to work with Ubuntu precise's ffmpeg/avconv as
  +
a side effect.
  +
Note: these same changes have been commited to 0.35 branch pre release.
  +
r3437 | grepper | 2012-06-14 14:46:26 -0400 (Thu, 14 Jun 2012) | 5 lines
  +
* different var for ffmpeg frame rate, use original FRAME_RATE
  +
for everything else (mjpegtools, transcode convert it to 30000/1001
  +
and bc needs it for calculation)
  +
* -t TIME goes AFTER the -i /dev/zero, else avconv messes up
  +
r3438 | grepper | 2012-06-15 11:08:24 -0400 (Fri, 15 Jun 2012) | 6 lines
  +
idvid:
  +
Allow MPG2 for id'ing from mplayer's identify as well as MPEG-2,
  +
or hex. (fixes problem on Ubuntu precise)
  +
todisc:
  +
Trivial comments change for frame rate variaible.
  +
r3444 | grepper | 2012-07-15 21:49:00 -0400 (Sun, 15 Jul 2012) | 7 lines
  +
* added support for avconv (libav.org)
  +
* fixed typo in parsing image type from 'file' output
  +
* check for broken transcode (stock debian)
  +
* fix for broken showcase image display when doing -textmenu (or -static)
  +
and -menu-fade
  +
* get spumux output into the logfile
  +
r3448 | grepper | 2012-07-22 23:55:46 -0400 (Sun, 22 Jul 2012) | 2 lines
  +
* Fix for showcase file not showing up with menu fade
  +
r3459 | grepper | 2012-08-26 02:00:20 -0400 (Sun, 26 Aug 2012) | 5 lines
  +
* fix for -quick-menu for latest git version of ffmpeg, changing
  +
to using scale filter rather than -s XxY
  +
* fix for vhook for -quick-menu (doubtful any is using an ffmpeg
  +
that old, but what the heck ...
  +
r3463 | grepper | 2012-08-28 17:30:41 -0400 (Tue, 28 Aug 2012) | 2 lines
  +
Allow '-switched-menu' or '-switched-menus' (easier to remember)
  +
r3494 | grepper | 2013-03-09 14:59:57 -0500 (Sat, 09 Mar 2013) | 4 lines
  +
Use "line" button style by default.
  +
Check for legal -button-style option
  +
use "$ffmpeg -h full" for ffmpeg/avconv help
  +
r3496 | grepper | 2013-03-10 20:45:40 -0400 (Sun, 10 Mar 2013) | 10 lines
  +
* OUT_PREFIX var becomes OUT_DIRECTORY, as its not a prefix
  +
* wait_for() gets a timeout
  +
* use ffmpeg -h full for ffmpeg/avconv as its needed now (bw compat)
  +
* remove logfile in case of test failures
  +
* test for usable button styles
  +
* exit with usage_error if 16:9 videos used on same menu as slides
  +
* use more PIPESTATUS arrays for piped commands
  +
* use wait to get exit code of ffmpeg and transcode, even if they
  +
finish before wait is called.
  +
r3497 | grepper | 2013-04-03 08:16:16 -0400 (Wed, 03 Apr 2013) | 30 lines
  +
all scripts:
  +
* update copyright date
  +
makempg:
  +
* move to b:v c:v etc syntax
  +
* use -h full for getting help text from ffmpeg
  +
* refine ffmpeg checks for filters, syntax etc
  +
todisc:
  +
* move to b:v, c:v etc syntax
  +
* use -h full for getting help text from ffmpeg
  +
* refine ffmpeg checks for filters, syntax etc
  +
* workaround for avconv which is broken wrt m2v framerate reporting
  +
for the stream_length() function.
  +
* use LC_ALL=C in bc_math to fix locale problems with comma vs period
  +
separator
  +
* changed a few functions to using lower case vars
  +
* remove old vhook cruft from quickmenu check for empty file.
  +
before checking aspect ratio (check is video or image file)
  +
* use scale and aspect filters exclusively
  +
tovid-batch:
  +
* removed
  +
tovid-interactive:
  +
* removed
  +
moved 3 scripts to snippets/ from src/
  +
r3499 | grepper | 2013-11-29 15:22:18 -0500 (Fri, 29 Nov 2013) | 3 lines
  +
* recent ffmpeg doesn't list filters starting at line beginning,
  +
so replace ^setdar with "setdar" in version tests.
  +
r3500 | grepper | 2013-11-29 18:29:34 -0500 (Fri, 29 Nov 2013) | 4 lines
  +
* recent ffmpeg doesn't list filters starting at line beginning, so replace ^crop and ^movie
  +
with "crop" and "movie" in version tests. This is now a VERY rough test as ffmpeg makes
  +
NO attempt to have the output of -filters parsable by scripts.
  +
r3501 | grepper | 2014-05-19 17:54:13 -0400 (Mon, 19 May 2014) | 7 lines
  +
* fix for issue with new ffmpeg syntax for "ffmpeg"
  +
so now the grep commands should work.
  +
* fix for issue with pal framerate for the menu mpeg
  +
(thanks to Kazik for reporting).
  +
r3502 | grepper | 2014-12-28 19:17:25 -0500 (Sun, 28 Dec 2014) | 5 lines
  +
Remove mencoder as it is being abandoned by many distros
  +
Add TOVID_HOME as an environment variable [default ~/.tovid]
  +
Bump copyright to 2015
  +
Some workarounds and fixes
  +
r3507 | grepper | 2015-01-24 20:48:57 -0500 (Sat, 24 Jan 2015) | 7 lines
  +
* Remove dependency on transcode. It will still be used
  +
if installed as it is slightly quicker at seeking, but
  +
otherwise everything that was done with transcode will
  +
be done with ffmpeg/avconv.
  +
* minor bug fixes and comment cleanup
  +
r3509 | grepper | 2015-01-24 22:05:15 -0500 (Sat, 24 Jan 2015) | 3 lines
  +
Get rid of a 'magic number' typo for video fps in the new code.
  +
r3510 | grepper | 2015-01-25 02:11:15 -0500 (Sun, 25 Jan 2015) | 3 lines
  +
Fix spinner counter for transcode.
  +
r3511 | grepper | 2015-01-25 15:46:30 -0500 (Sun, 25 Jan 2015) | 5 lines
  +
* Allow for using todisc without yuvcorrect from mjpegtools
  +
installed (slideshows)
  +
* Some minor comment formatting
  +
r3513 | grepper | 2015-01-25 22:54:26 -0500 (Sun, 25 Jan 2015) | 3 lines
  +
* Remove some more debugging stuff I missed.
  +
  +
==='''makempg ('mpg')'''===
  +
   
===makempg===
 
   
 
 
r3345 | grepper | 2011-07-25 18:31:40 -0400 (Mon, 25 Jul 2011) | 2 lines
 
r3345 | grepper | 2011-07-25 18:31:40 -0400 (Mon, 25 Jul 2011) | 2 lines
 
 
On success suggest 'tovid disc' rather than deprecated scripts xml/menu.
 
On success suggest 'tovid disc' rather than deprecated scripts xml/menu.
 
 
 
r3359 | grepper | 2011-08-14 08:30:56 -0400 (Sun, 14 Aug 2011) | 3 lines
 
r3359 | grepper | 2011-08-14 08:30:56 -0400 (Sun, 14 Aug 2011) | 3 lines
 
 
Quote $OUT_FILENAME in goodbye text.
 
Quote $OUT_FILENAME in goodbye text.
 
Small enhancements to same stanza.
 
Small enhancements to same stanza.
 
 
 
r3377 | grepper | 2011-09-04 16:26:48 -0400 (Sun, 04 Sep 2011) | 3 lines
 
r3377 | grepper | 2011-09-04 16:26:48 -0400 (Sun, 04 Sep 2011) | 3 lines
 
 
Fix for ffmpeg bug - put -ar 48000 before the -i when
 
Fix for ffmpeg bug - put -ar 48000 before the -i when
 
generating silent audio from /dev/zero
 
generating silent audio from /dev/zero
 
 
 
r3400 | grepper | 2011-09-26 00:37:17 -0400 (Mon, 26 Sep 2011) | 4 lines
 
r3400 | grepper | 2011-09-26 00:37:17 -0400 (Mon, 26 Sep 2011) | 4 lines
 
 
Added stdbuff to cmd_exec to get line buffered output
 
Added stdbuff to cmd_exec to get line buffered output
 
and continuous log updating. It will be used only if present
 
and continuous log updating. It will be used only if present
 
on the system. >= 7.5 coreutils needed.
 
on the system. >= 7.5 coreutils needed.
 
 
 
r3401 | grepper | 2011-09-26 00:59:06 -0400 (Mon, 26 Sep 2011) | 3 lines
 
r3401 | grepper | 2011-09-26 00:59:06 -0400 (Mon, 26 Sep 2011) | 3 lines
 
 
ME="[makempg]:" (not ME="[tovid]:")
 
ME="[makempg]:" (not ME="[tovid]:")
 
 
 
 
r3402 | grepper | 2011-09-27 12:52:25 -0400 (Tue, 27 Sep 2011) | 3 lines
 
r3402 | grepper | 2011-09-27 12:52:25 -0400 (Tue, 27 Sep 2011) | 3 lines
 
 
AVERAGE and PEAK BITRATES output broke with new ffmepg -fixed with
 
AVERAGE and PEAK BITRATES output broke with new ffmepg -fixed with
 
new sed line.
 
new sed line.
 
 
 
r3403 | grepper | 2011-10-07 00:55:58 -0400 (Fri, 07 Oct 2011) | 2 lines
 
r3403 | grepper | 2011-10-07 00:55:58 -0400 (Fri, 07 Oct 2011) | 2 lines
 
 
Remove literal quotes on CUR_SIZE as it is not eval'ed.
 
Remove literal quotes on CUR_SIZE as it is not eval'ed.
 
 
 
r3411 | grepper | 2011-12-06 00:22:30 -0500 (Tue, 06 Dec 2011) | 2 lines
 
r3411 | grepper | 2011-12-06 00:22:30 -0500 (Tue, 06 Dec 2011) | 2 lines
 
 
Remove suffix from sleep command for compatibility.
 
Remove suffix from sleep command for compatibility.
 
 
 
r3423 | grepper | 2012-04-15 02:17:04 -0400 (Sun, 15 Apr 2012) | 4 lines
 
r3423 | grepper | 2012-04-15 02:17:04 -0400 (Sun, 15 Apr 2012) | 4 lines
 
 
Use os compatibility patch from 'virtualestates' as per issue #152.
 
Use os compatibility patch from 'virtualestates' as per issue #152.
 
Check for illegal characters (as per makempg limitation) in file names and -out name.
 
Check for illegal characters (as per makempg limitation) in file names and -out name.
 
Use -nomsgcolor for mplayer commands.
 
Use -nomsgcolor for mplayer commands.
 
 
 
r3424 | grepper | 2012-04-15 02:38:03 -0400 (Sun, 15 Apr 2012) | 3 lines
 
r3424 | grepper | 2012-04-15 02:38:03 -0400 (Sun, 15 Apr 2012) | 3 lines
 
 
Last was commited prematurely.
 
Last was commited prematurely.
 
More readable error message for $1.filename mpeg2enc limitation.
 
More readable error message for $1.filename mpeg2enc limitation.
  +
r3443 | grepper | 2012-07-15 21:13:26 -0400 (Sun, 15 Jul 2012) | 2 lines
  +
Added support for avconv (libav.org)
  +
r3497 | grepper | 2013-04-03 08:16:16 -0400 (Wed, 03 Apr 2013) | 30 lines
  +
* move to b:v c:v etc syntax
  +
* use -h full for getting help text from ffmpeg
  +
* refine ffmpeg checks for filters, syntax etc
  +
r3499 | grepper | 2013-11-29 15:22:18 -0500 (Fri, 29 Nov 2013) | 3 lines
  +
* recent ffmpeg doesn't list filters starting at line beginning,
  +
so replace ^setdar with "setdar" in version tests.
  +
r3502 | grepper | 2014-12-28 19:17:25 -0500 (Sun, 28 Dec 2014) | 5 lines
  +
Remove mencoder as it is being abandoned by many distros
  +
Add TOVID_HOME as an environment variable [default ~/.tovid]
  +
Bump copyright to 2015
  +
Some workarounds and fixes
  +
r3505 | grepper | 2015-01-11 11:14:46 -0500 (Sun, 11 Jan 2015) | 5 lines
  +
Some work-arounds for supporting various avconv and ffmpeg
  +
versions wrt filter syntax.
  +
  +
==='''idvid ('id')'''===
   
   
===idvid===
 
   
 
 
r3370 | grepper | 2011-08-21 20:02:53 -0400 (Sun, 21 Aug 2011) | 4 lines
 
r3370 | grepper | 2011-08-21 20:02:53 -0400 (Sun, 21 Aug 2011) | 4 lines
 
 
Fix for broken aspect ratio id'ing for webm.
 
Fix for broken aspect ratio id'ing for webm.
 
(commented out tcprobe stanza, now just using mplayer)
 
(commented out tcprobe stanza, now just using mplayer)
 
tcprobe is as not as well maintained as mplayer in any case.
 
tcprobe is as not as well maintained as mplayer in any case.
 
 
 
r3372 | grepper | 2011-08-26 22:29:18 -0400 (Fri, 26 Aug 2011) | 2 lines
 
r3372 | grepper | 2011-08-26 22:29:18 -0400 (Fri, 26 Aug 2011) | 2 lines
 
 
Quote the field separators for awk when getting HEX_TRACKS.
 
Quote the field separators for awk when getting HEX_TRACKS.
 
 
 
r3405 | grepper | 2011-10-24 10:12:06 -0400 (Mon, 24 Oct 2011) | 3 lines
 
r3405 | grepper | 2011-10-24 10:12:06 -0400 (Mon, 24 Oct 2011) | 3 lines
 
 
ffmpeg changed to using ':' as a separator for the track numbers. Adjusted
 
ffmpeg changed to using ':' as a separator for the track numbers. Adjusted
 
the sed line that parses it.
 
the sed line that parses it.
 
 
 
r3406 | grepper | 2011-10-24 12:03:01 -0400 (Mon, 24 Oct 2011) | 3 lines
 
r3406 | grepper | 2011-10-24 12:03:01 -0400 (Mon, 24 Oct 2011) | 3 lines
 
 
As in last commit, change sed line parsing stream number to account for
 
As in last commit, change sed line parsing stream number to account for
 
ffmpeg's change to using ":" as a separator.
 
ffmpeg's change to using ":" as a separator.
  +
r3438 | grepper | 2012-06-15 11:08:24 -0400 (Fri, 15 Jun 2012) | 6 lines
  +
Changed paths:
  +
M /trunk/tovid/src/idvid
  +
idvid:
  +
Allow MPG2 for id'ing from mplayer's identify as well as MPEG-2,
  +
or hex. (fixes problem on Ubuntu precise)
  +
r3439 | grepper | 2012-06-15 14:25:51 -0400 (Fri, 15 Jun 2012) | 2 lines
  +
Changed paths:
  +
M /trunk/tovid/src/idvid
  +
Small change to comment line for parsing ID_VIDEO_FORMAT=MPG2
  +
r3443 | grepper | 2012-07-15 21:13:26 -0400 (Sun, 15 Jul 2012) | 2 lines
  +
Changed paths:
  +
M /trunk/tovid/docs/src/en/tovid.t2t
  +
M /trunk/tovid/src/idvid
  +
M /trunk/tovid/src/makempg
  +
M /trunk/tovid/src/tovid-init.in
  +
Added support for avconv (libav.org)
  +
r3497 | grepper | 2013-04-03 08:16:16 -0400 (Wed, 03 Apr 2013) | 30 lines
  +
all scripts:
  +
* update copyright date
  +
makempg:
  +
* move to b:v c:v etc syntax
  +
* use -h full for getting help text from ffmpeg
  +
* refine ffmpeg checks for filters, syntax etc
  +
todisc:
  +
* move to b:v, c:v etc syntax
  +
* use -h full for getting help text from ffmpeg
  +
* refine ffmpeg checks for filters, syntax etc
  +
* workaround for avconv which is broken wrt m2v framerate reporting
  +
for the stream_length() function.
  +
* use LC_ALL=C in bc_math to fix locale problems with comma vs period
  +
separator
  +
* changed a few functions to using lower case vars
  +
* remove old vhook cruft from quickmenu check for empty file.
  +
before checking aspect ratio (check is video or image file)
  +
* use scale and aspect filters exclusively
  +
tovid-batch:
  +
* removed
  +
tovid-interactive:
  +
* removed
  +
moved 3 scripts to snippets/ from src/
  +
r3502 | grepper | 2014-12-28 19:17:25 -0500 (Sun, 28 Dec 2014) | 5 lines
  +
Remove mencoder as it is being abandoned by many distros
  +
Add TOVID_HOME as an environment variable [default ~/.tovid]
  +
Bump copyright to 2015
  +
Some workarounds and fixes
  +
r3503 | grepper | 2015-01-04 03:14:37 -0500 (Sun, 04 Jan 2015) | 14 lines
  +
Initialize arrays just to keep it readable.
  +
Revert to just using tcprobe -i instead of -Xi
  +
Test for a number in several places instead of just testing for empty var.
  +
Change output values to bits before we get to the point of echoing them.
  +
Use bash redirection rather than echoing and piping as in original script.
  +
Fix -map so that it uses ':' instead of '.' as a separator
  +
Derive video bitrate (if unavailable) from total bitrate and audio bitrate.
  +
Special treatment for *.vob files along with mpegs.
  +
More options to get duration of file if previous probe(s) fails.
  +
ID_AUDIO_NCH is an array, so just use first value.
  +
r3504 | grepper | 2015-01-10 22:16:12 -0500 (Sat, 10 Jan 2015) | 2 lines
  +
Remove ':' before doing test_is_number on Video track #
  +
r3506 | grepper | 2015-01-21 15:07:53 -0500 (Wed, 21 Jan 2015) | 10 lines
  +
Many changes for avconv compatibility, especially with
  +
more recent versions.
  +
Use ffprobe and avprobe when available as the output
  +
is more easily parsed.
  +
Remove extended switch from tcprobe (-X) as it added nothing.
  +
More redundancy in getting info about files, to maximize possibility
  +
of successful outcome
  +
Added -keepfiles option to save temporary directory (for debugging)
  +
r3507 | grepper | 2015-01-24 20:48:57 -0500 (Sat, 24 Jan 2015) | 7 lines
  +
* Remove dependency on transcode. It will still be used
  +
if installed as it is slightly quicker at seeking, but
  +
otherwise everything that was done with transcode will
  +
be done with ffmpeg/avconv.
  +
* minor bug fixes and comment cleanup
  +
r3508 | grepper | 2015-01-24 21:48:05 -0500 (Sat, 24 Jan 2015) | 3 lines
  +
Remove some echos used for debugging.
  +
  +
==='''makedvd ('dvd')'''===
   
   
===makedvd===
 
   
 
 
r3408 | grepper | 2011-12-05 23:49:57 -0500 (Mon, 05 Dec 2011) | 4 lines
 
r3408 | grepper | 2011-12-05 23:49:57 -0500 (Mon, 05 Dec 2011) | 4 lines
 
 
Remove author options from usage output, as makexml
 
Remove author options from usage output, as makexml
 
is no longer part of tovid as of version 0.35.
 
is no longer part of tovid as of version 0.35.
 
Remove time suffix for sleep command for compatibility.
 
Remove time suffix for sleep command for compatibility.
  +
r3497 | grepper | 2013-04-03 08:16:16 -0400 (Wed, 03 Apr 2013) | 30 lines
  +
update copyright date
  +
r3502 | grepper | 2014-12-28 19:17:25 -0500 (Sun, 28 Dec 2014) | 5 lines
  +
Add TOVID_HOME as an environment variable [default ~/.tovid]
  +
Bump copyright to 2015
   
  +
==='''titleset-wizard'''===
   
   
===titleset-wizard===
 
   
 
 
r3347 | grepper | 2011-07-25 23:23:19 -0400 (Mon, 25 Jul 2011) | 5 lines
 
r3347 | grepper | 2011-07-25 23:23:19 -0400 (Mon, 25 Jul 2011) | 5 lines
 
 
make sure ~/.metagui and the config file exist:
 
make sure ~/.metagui and the config file exist:
 
otherwise if the 'tovid gui' has never been run
 
otherwise if the 'tovid gui' has never been run
 
the wizard will fail to load.
 
the wizard will fail to load.
 
Thanks to Kees for reporting
 
Thanks to Kees for reporting
 
 
 
r3351 | grepper | 2011-07-26 04:39:05 -0400 (Tue, 26 Jul 2011) | 2 lines
 
r3351 | grepper | 2011-07-26 04:39:05 -0400 (Tue, 26 Jul 2011) | 2 lines
 
 
Print message to stdout if ~/.metagui/config created
 
Print message to stdout if ~/.metagui/config created
 
 
 
r3352 | grepper | 2011-07-26 07:45:58 -0400 (Tue, 26 Jul 2011) | 2 lines
 
r3352 | grepper | 2011-07-26 07:45:58 -0400 (Tue, 26 Jul 2011) | 2 lines
 
 
Match metagui config file creation/loading stanza from gui.py.
 
Match metagui config file creation/loading stanza from gui.py.
  +
r3352 | grepper | 2011-07-26 07:45:58 -0400 (Tue, 26 Jul 2011) | 2 lines
  +
Match metagui config file creation/loading stanza from gui.py.
  +
r3433 | grepper | 2012-06-14 01:57:43 -0400 (Thu, 14 Jun 2012) | 5 lines
  +
Disable going back and editing titlesets.
  +
Too bad, this was a nice feature, as you
  +
can also load a script into the wizard.
  +
See http://code.google.com/p/tovid/issues/detail?id=121
  +
r3465 | grepper | 2012-08-30 19:32:40 -0400 (Thu, 30 Aug 2012) | 6 lines
  +
Back to using just xterm run externally to run
  +
final project, as both Executor and
  +
embedded xterm had issues.
  +
Some Python3 compatibility changes.
  +
r3466 | grepper | 2012-08-30 21:24:35 -0400 (Thu, 30 Aug 2012) | 5 lines
  +
Do not disable 'Save log' button, as GUI is withdrawn
  +
when xterm running.
  +
Get rid of xterm_is_running variable, as it was only
  +
needed for embedded xterm.
  +
r3474 | grepper | 2012-09-16 00:17:46 -0400 (Sun, 16 Sep 2012) | 18 lines
  +
Python 3 compatibility:
  +
(imports, xrange, octal mode chmod)
  +
Progress bar/splash to determine window deco geometries, to aid wizard
  +
in placing the gui.
  +
Netbook compatibility (will resize to 600 pixels high when small screen
  +
resolution detected).
  +
import as tk, not import *
  +
Instead of relying on propagating a bogus exit code back to the wizard
  +
(which fails under python 3), use modification timestamp of script
  +
being saved from gui.
  +
Restore ability to modify the script from the wizard, using the tovid
  +
gui. Problematic args are filtered by the gui and a popup informs
  +
which options could not be loaded.
  +
TODO: take another look at fixing metagui's load_args (set_args).
  +
Xterm is no longer embedded as I experienced problems when I got a
  +
larger monitor and couldn't find a way to solve it on the fly.
  +
TODO: perhaps allow other terminals (set in ~/.tovid/preferences ?)
  +
r3478 | grepper | 2012-09-16 02:43:37 -0400 (Sun, 16 Sep 2012) | 2 lines
  +
No need for version_info import from sys.
  +
r3483 | grepper | 2012-09-21 12:32:30 -0400 (Fri, 21 Sep 2012) | 2 lines
  +
Comment and cleanup.
  +
r3488 | grepper | 2012-10-23 13:13:18 -0400 (Tue, 23 Oct 2012) | 13 lines
  +
Doc string cleanup
  +
Wizard class now takes an 'infile' arg to __init__, which is a script to load:
  +
this is passed in as sys.argv[1] (1st arg to script.
  +
Use boolean var if script passed as arg, rather than duplicaing self.project.
  +
self.project no longer a tk variable.
  +
'project' (or 'script') name now shared between tovid GUI and titleset-wizard,
  +
which eliminates problem of duplicate 'todisc_command.bash'.
  +
Accept GUI position via stderr from tovid gui, and deiconify at same position.
  +
os.chmod compatibility for python3.
  +
Project name is now set by user at 2nd wizard page - it is used for the name of
  +
the saved script file and the file used for IPC between tovid gui and wizard.
  +
Capital L better than smallcase for variable.
   
  +
==='''tovid-init.in'''===
   
   
===tovid-init.in===
 
   
 
 
r3399 | grepper | 2011-09-25 22:42:30 -0400 (Sun, 25 Sep 2011) | 4 lines
 
r3399 | grepper | 2011-09-25 22:42:30 -0400 (Sun, 25 Sep 2011) | 4 lines
 
 
Added send_to_log().
 
Added send_to_log().
 
Added std_buf (stdbuf) var.
 
Added std_buf (stdbuf) var.
 
Added TOVID_ISSUES var (http:// addy)
 
Added TOVID_ISSUES var (http:// addy)
 
 
 
r3409 | grepper | 2011-12-05 23:59:55 -0500 (Mon, 05 Dec 2011) | 5 lines
 
r3409 | grepper | 2011-12-05 23:59:55 -0500 (Mon, 05 Dec 2011) | 5 lines
 
 
Remove suffix from sleep commands for compatibility.
 
Remove suffix from sleep commands for compatibility.
 
Use base program name instead of full path for
 
Use base program name instead of full path for
 
send_to_log output.
 
send_to_log output.
 
Remove whitespace at beginning of CPU_MODEL name output.
 
Remove whitespace at beginning of CPU_MODEL name output.
  +
r3443 | grepper | 2012-07-15 21:13:26 -0400 (Sun, 15 Jul 2012) | 2 lines
 
  +
Changed paths:
 
  +
M /trunk/tovid/docs/src/en/tovid.t2t
  +
M /trunk/tovid/src/idvid
  +
M /trunk/tovid/src/makempg
  +
M /trunk/tovid/src/tovid-init.in
  +
Added support for avconv (libav.org)
  +
r3452 | grepper | 2012-07-31 00:34:34 -0400 (Tue, 31 Jul 2012) | 3 lines
  +
Changed paths:
  +
M /trunk/tovid/src/tovid-init.in
  +
Use avconv if it is installed, even if ffmpeg is also installed.
  +
The reason being that libav.org ships ffmpeg binary as well currently.
  +
r3495 | grepper | 2013-03-09 19:49:07 -0500 (Sat, 09 Mar 2013) | 3 lines
  +
Remove 'second' suffix to sleep command in tovid-init.in
  +
Cleanup in tovid.t2t
  +
r3497 | grepper | 2013-04-03 08:16:16 -0400 (Wed, 03 Apr 2013) | 30 lines
  +
* update copyright date
  +
r3502 | grepper | 2014-12-28 19:17:25 -0500 (Sun, 28 Dec 2014) | 5 lines
  +
Remove mencoder as it is being abandoned by many distros
  +
Add TOVID_HOME as an environment variable [default ~/.tovid]
  +
Bump copyright to 2015
  +
Some workarounds and fixes
  +
r3507 | grepper | 2015-01-24 20:48:57 -0500 (Sat, 24 Jan 2015) | 7 lines
  +
* Remove dependency on transcode. It will still be used
  +
if installed as it is slightly quicker at seeking, but
  +
otherwise everything that was done with transcode will
  +
be done with ffmpeg/avconv.
  +
* minor bug fixes and comment cleanup
   
===tovid manual===
+
==='''tovid manual'''===
   
   
 
 
r3350 | grepper | 2011-07-26 00:10:25 -0400 (Tue, 26 Jul 2011) | 2 lines
 
r3350 | grepper | 2011-07-26 00:10:25 -0400 (Tue, 26 Jul 2011) | 2 lines
 
 
Remove Command:menu and Command:xml as they are deprecated now.
 
Remove Command:menu and Command:xml as they are deprecated now.
 
 
 
r3357 | grepper | 2011-08-13 19:55:58 -0400 (Sat, 13 Aug 2011) | 6 lines
 
r3357 | grepper | 2011-08-13 19:55:58 -0400 (Sat, 13 Aug 2011) | 6 lines
 
 
More fine tuning of short script descriptions.
 
More fine tuning of short script descriptions.
 
Note about saved scripts in 'tovid gui' description.
 
Note about saved scripts in 'tovid gui' description.
Line 311: Line 705:
 
Fine tune '-no-menu' and '-encode-only' descriptions.
 
Fine tune '-no-menu' and '-encode-only' descriptions.
 
Updated 'tovid chapters' blurb.
 
Updated 'tovid chapters' blurb.
 
 
 
r3396 | grepper | 2011-09-25 22:29:10 -0400 (Sun, 25 Sep 2011) | 3 lines
 
r3396 | grepper | 2011-09-25 22:29:10 -0400 (Sun, 25 Sep 2011) | 3 lines
 
 
Removed man entries for removed scripts. Some
 
Removed man entries for removed scripts. Some
 
tweaks to option text.
 
tweaks to option text.
 
 
 
r3397 | grepper | 2011-09-25 22:38:49 -0400 (Sun, 25 Sep 2011) | 2 lines
 
r3397 | grepper | 2011-09-25 22:38:49 -0400 (Sun, 25 Sep 2011) | 2 lines
 
 
Removed man entries for removed scripts.
 
Removed man entries for removed scripts.
 
 
 
r3398 | grepper | 2011-09-25 22:40:12 -0400 (Sun, 25 Sep 2011) | 2 lines
 
r3398 | grepper | 2011-09-25 22:40:12 -0400 (Sun, 25 Sep 2011) | 2 lines
 
 
Bump to version 0.34
 
Bump to version 0.34
 
 
 
r3404 | grepper | 2011-10-10 04:30:25 -0400 (Mon, 10 Oct 2011) | 3 lines
 
r3404 | grepper | 2011-10-10 04:30:25 -0400 (Mon, 10 Oct 2011) | 3 lines
 
 
Blurb about what replaces removed scripts.
 
Blurb about what replaces removed scripts.
 
Put a paragraph of GUI help where it belongs.
 
Put a paragraph of GUI help where it belongs.
 
 
 
r3407 | grepper | 2011-12-05 23:47:49 -0500 (Mon, 05 Dec 2011) | 2 lines
 
r3407 | grepper | 2011-12-05 23:47:49 -0500 (Mon, 05 Dec 2011) | 2 lines
 
 
Minor cosmetic changes.
 
Minor cosmetic changes.
 
 
 
r3412 | grepper | 2011-12-07 00:38:27 -0500 (Wed, 07 Dec 2011) | 3 lines
 
r3412 | grepper | 2011-12-07 00:38:27 -0500 (Wed, 07 Dec 2011) | 3 lines
 
 
Removed uneeded options from the Command:dvd section.
 
Removed uneeded options from the Command:dvd section.
 
(makedvd ONLY burns now that makexml has been removed)
 
(makedvd ONLY burns now that makexml has been removed)
 
 
 
r3422 | grepper | 2012-04-15 02:13:56 -0400 (Sun, 15 Apr 2012) | 3 lines
 
r3422 | grepper | 2012-04-15 02:13:56 -0400 (Sun, 15 Apr 2012) | 3 lines
 
 
Add 'General Options' section at beginning and move some opts there.
 
Add 'General Options' section at beginning and move some opts there.
 
Add some more quick examples of other things you can do with todisc
 
Add some more quick examples of other things you can do with todisc
  +
r3443 | grepper | 2012-07-15 21:13:26 -0400 (Sun, 15 Jul 2012) | 2 lines
 
  +
Changed paths:
 
  +
M /trunk/tovid/docs/src/en/tovid.t2t
  +
Added support for avconv (libav.org)
  +
r3447 | grepper | 2012-07-21 11:12:18 -0400 (Sat, 21 Jul 2012) | 2 lines
  +
Changed paths:
  +
M /trunk/tovid/docs/src/en/tovid.t2t
  +
-user-thumbs takes single image or list as arg(s).
  +
r3449 | grepper | 2012-07-23 19:30:01 -0400 (Mon, 23 Jul 2012) | 3 lines
  +
Changed paths:
  +
M /trunk/tovid/docs/src/en/tovid.t2t
  +
Use 'mydvd' as output directory example, rather than OUT_PREFIX which is
  +
confusing as it not a prefix, its a full name.
  +
r3463 | grepper | 2012-08-28 17:30:41 -0400 (Tue, 28 Aug 2012) | 2 lines
  +
Changed paths:
  +
M /trunk/tovid/docs/src/en/tovid.t2t
  +
Allow '-switched-menu' or '-switched-menus' (easier to remember)
  +
r3490 | grepper | 2012-10-23 13:15:35 -0400 (Tue, 23 Oct 2012) | 3 lines
  +
Changed paths:
  +
M /trunk/tovid/docs/src/en/tovid.t2t
  +
Note about loading script in GUI.
  +
Various cleanups.
  +
r3493 | grepper | 2012-11-01 22:41:20 -0400 (Thu, 01 Nov 2012) | 3 lines
  +
Missing verbatim closing quotes.
  +
Minor alignment fix of indented code block example.
  +
r3495 | grepper | 2013-03-09 19:49:07 -0500 (Sat, 09 Mar 2013) | 3 lines
  +
Cleanup in tovid.t2t
  +
r3502 | grepper | 2014-12-28 19:17:25 -0500 (Sun, 28 Dec 2014) | 5 lines
  +
Add TOVID_HOME as an environment variable [default ~/.tovid]
  +
Bump copyright to 2015
   
===libtovid===
+
==='''libtovid'''===
   
   
 
 
r3349 | grepper | 2011-07-26 00:08:15 -0400 (Tue, 26 Jul 2011) | 3 lines
 
r3349 | grepper | 2011-07-26 00:08:15 -0400 (Tue, 26 Jul 2011) | 3 lines
 
Changed paths:
 
Changed paths:
Line 363: Line 763:
 
Add -encode-only option, so the GUI can be used for
 
Add -encode-only option, so the GUI can be used for
 
encoding (only) with makempg.
 
encoding (only) with makempg.
 
 
 
r3354 | grepper | 2011-08-03 02:37:18 -0400 (Wed, 03 Aug 2011) | 8 lines
 
r3354 | grepper | 2011-08-03 02:37:18 -0400 (Wed, 03 Aug 2011) | 8 lines
 
Changed paths:
 
Changed paths:
Line 375: Line 773:
 
Use seek() rather than reading the whole file in def eof()
 
Use seek() rather than reading the whole file in def eof()
 
Default heading text goes outside of wizard clause
 
Default heading text goes outside of wizard clause
 
 
 
 
r3355 | grepper | 2011-08-03 10:11:26 -0400 (Wed, 03 Aug 2011) | 3 lines
 
r3355 | grepper | 2011-08-03 10:11:26 -0400 (Wed, 03 Aug 2011) | 3 lines
 
Changed paths:
 
Changed paths:
Line 384: Line 779:
 
If end of file is reached, save chapter points that have
 
If end of file is reached, save chapter points that have
 
been already set.
 
been already set.
 
 
 
r3356 | grepper | 2011-08-05 16:42:44 -0400 (Fri, 05 Aug 2011) | 15 lines
 
r3356 | grepper | 2011-08-05 16:42:44 -0400 (Fri, 05 Aug 2011) | 15 lines
 
Changed paths:
 
Changed paths:
Line 405: Line 798:
 
Increase height of set_chapters application to 600 from 540, so the scale
 
Increase height of set_chapters application to 600 from 540, so the scale
 
widget is not hidden with some font sizes.
 
widget is not hidden with some font sizes.
 
 
 
r3358 | grepper | 2011-08-13 20:23:05 -0400 (Sat, 13 Aug 2011) | 9 lines
 
r3358 | grepper | 2011-08-13 20:23:05 -0400 (Sat, 13 Aug 2011) | 9 lines
 
Changed paths:
 
Changed paths:
Line 420: Line 811:
 
then adding new widgets.
 
then adding new widgets.
 
A few docstring changes.
 
A few docstring changes.
 
 
 
r3361 | grepper | 2011-08-14 08:35:28 -0400 (Sun, 14 Aug 2011) | 3 lines
 
r3361 | grepper | 2011-08-14 08:35:28 -0400 (Sun, 14 Aug 2011) | 3 lines
 
Changed paths:
 
Changed paths:
Line 428: Line 817:
 
Update -quick-menu help to reflect new -vf movie filter
 
Update -quick-menu help to reflect new -vf movie filter
 
rather than vhooks.
 
rather than vhooks.
 
 
 
r3364 | grepper | 2011-08-14 08:37:51 -0400 (Sun, 14 Aug 2011) | 2 lines
 
r3364 | grepper | 2011-08-14 08:37:51 -0400 (Sun, 14 Aug 2011) | 2 lines
 
Changed paths:
 
Changed paths:
Line 435: Line 822:
 
 
 
Do not import stderr (from sys)
 
Do not import stderr (from sys)
 
 
 
r3366 | grepper | 2011-08-15 15:35:21 -0400 (Mon, 15 Aug 2011) | 5 lines
 
r3366 | grepper | 2011-08-15 15:35:21 -0400 (Mon, 15 Aug 2011) | 5 lines
 
Changed paths:
 
Changed paths:
Line 445: Line 830:
 
Instead the mplayer controls now have a forward and a
 
Instead the mplayer controls now have a forward and a
 
fast-forward seek button, same for seeking backwards.
 
fast-forward seek button, same for seeking backwards.
 
 
 
r3368 | grepper | 2011-08-20 09:48:20 -0400 (Sat, 20 Aug 2011) | 3 lines
 
r3368 | grepper | 2011-08-20 09:48:20 -0400 (Sat, 20 Aug 2011) | 3 lines
 
Changed paths:
 
Changed paths:
Line 453: Line 836:
 
Use Text not SpacedText for -mplayeropts:
 
Use Text not SpacedText for -mplayeropts:
 
it is a single string
 
it is a single string
 
 
 
r3373 | grepper | 2011-08-26 22:30:34 -0400 (Fri, 26 Aug 2011) | 2 lines
 
r3373 | grepper | 2011-08-26 22:30:34 -0400 (Fri, 26 Aug 2011) | 2 lines
 
Changed paths:
 
Changed paths:
Line 460: Line 841:
 
 
 
Add -user-thumbs Control, re-organizing 'Thumbnails' tab.
 
Add -user-thumbs Control, re-organizing 'Thumbnails' tab.
 
 
 
r3379 | grepper | 2011-09-09 13:11:15 -0400 (Fri, 09 Sep 2011) | 3 lines
 
r3379 | grepper | 2011-09-09 13:11:15 -0400 (Fri, 09 Sep 2011) | 3 lines
 
Changed paths:
 
Changed paths:
Line 468: Line 847:
 
Started a libtovid-cairo branch with this code, in order to
 
Started a libtovid-cairo branch with this code, in order to
 
remove the libcairo dependancy on tovid.
 
remove the libcairo dependancy on tovid.
 
 
 
r3380 | grepper | 2011-09-09 13:28:42 -0400 (Fri, 09 Sep 2011) | 2 lines
 
r3380 | grepper | 2011-09-09 13:28:42 -0400 (Fri, 09 Sep 2011) | 2 lines
 
Changed paths:
 
Changed paths:
Line 475: Line 852:
 
 
 
Moved to libtovid-cairo branch
 
Moved to libtovid-cairo branch
 
 
 
r3383 | grepper | 2011-09-10 11:22:45 -0400 (Sat, 10 Sep 2011) | 2 lines
 
r3383 | grepper | 2011-09-10 11:22:45 -0400 (Sat, 10 Sep 2011) | 2 lines
 
Changed paths:
 
Changed paths:
Line 482: Line 857:
 
 
 
Moved to libtovid-cairo branch
 
Moved to libtovid-cairo branch
 
 
 
r3384 | grepper | 2011-09-10 22:51:50 -0400 (Sat, 10 Sep 2011) | 2 lines
 
r3384 | grepper | 2011-09-10 22:51:50 -0400 (Sat, 10 Sep 2011) | 2 lines
 
Changed paths:
 
Changed paths:
Line 495: Line 868:
 
 
 
Moved to libtovid-cairo branch.
 
Moved to libtovid-cairo branch.
 
 
 
r3385 | grepper | 2011-09-10 22:54:22 -0400 (Sat, 10 Sep 2011) | 2 lines
 
r3385 | grepper | 2011-09-10 22:54:22 -0400 (Sat, 10 Sep 2011) | 2 lines
 
Changed paths:
 
Changed paths:
Line 502: Line 873:
 
 
 
Moved to libtovid-cairo branch.
 
Moved to libtovid-cairo branch.
 
 
 
r3386 | grepper | 2011-09-10 22:57:23 -0400 (Sat, 10 Sep 2011) | 2 lines
 
r3386 | grepper | 2011-09-10 22:57:23 -0400 (Sat, 10 Sep 2011) | 2 lines
 
Changed paths:
 
Changed paths:
Line 509: Line 878:
 
 
 
Moved to libtovid-cairo branch.
 
Moved to libtovid-cairo branch.
 
 
 
r3389 | grepper | 2011-09-11 03:40:21 -0400 (Sun, 11 Sep 2011) | 3 lines
 
r3389 | grepper | 2011-09-11 03:40:21 -0400 (Sun, 11 Sep 2011) | 3 lines
 
Changed paths:
 
Changed paths:
Line 517: Line 884:
 
Use try:except for update_color, as exception was
 
Use try:except for update_color, as exception was
 
raised when backspacing over value in output box.
 
raised when backspacing over value in output box.
 
 
 
r3390 | grepper | 2011-09-11 08:38:24 -0400 (Sun, 11 Sep 2011) | 3 lines
 
r3390 | grepper | 2011-09-11 08:38:24 -0400 (Sun, 11 Sep 2011) | 3 lines
 
Changed paths:
 
Changed paths:
Line 525: Line 890:
 
Check parent_list is not None first before trying to move to
 
Check parent_list is not None first before trying to move to
 
next item in Text Control 'def next_item'.
 
next item in Text Control 'def next_item'.
 
 
 
r3394 | grepper | 2011-09-25 20:20:21 -0400 (Sun, 25 Sep 2011) | 3 lines
 
r3394 | grepper | 2011-09-25 20:20:21 -0400 (Sun, 25 Sep 2011) | 3 lines
 
Changed paths:
 
Changed paths:
Line 533: Line 896:
 
Finish removal of references to removed/moved files and directory,
 
Finish removal of references to removed/moved files and directory,
 
changed with creation of libtovid-cairo branch.
 
changed with creation of libtovid-cairo branch.
 
 
 
r3395 | grepper | 2011-09-25 22:26:42 -0400 (Sun, 25 Sep 2011) | 2 lines
 
r3395 | grepper | 2011-09-25 22:26:42 -0400 (Sun, 25 Sep 2011) | 2 lines
 
Changed paths:
 
Changed paths:
Line 540: Line 901:
 
 
 
Add webm video file extension.
 
Add webm video file extension.
 
 
 
r3410 | grepper | 2011-12-06 00:08:33 -0500 (Tue, 06 Dec 2011) | 2 lines
 
r3410 | grepper | 2011-12-06 00:08:33 -0500 (Tue, 06 Dec 2011) | 2 lines
 
Changed paths:
 
Changed paths:
Line 547: Line 906:
 
 
 
Remove suffix from sleep command for compatibility.
 
Remove suffix from sleep command for compatibility.
 
 
 
r3414 | grepper | 2012-03-17 11:00:16 -0400 (Sat, 17 Mar 2012) | 2 lines
 
r3414 | grepper | 2012-03-17 11:00:16 -0400 (Sat, 17 Mar 2012) | 2 lines
 
Changed paths:
 
Changed paths:
 
M /trunk/tovid/libtovid/guis/todisc.py
 
M /trunk/tovid/libtovid/guis/todisc.py
 
 
Some changes/additions from recent todisc modifications
 
Some changes/additions from recent todisc modifications
  +
r3446 | grepper | 2012-07-19 14:11:56 -0400 (Thu, 19 Jul 2012) | 2 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/guis/todisc.py
  +
Some cosmetic changes to the 'Encoding' tab
  +
r3453 | grepper | 2012-07-31 02:45:48 -0400 (Tue, 31 Jul 2012) | 4 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/guis/todisc.py
  +
Popup message if user trys to use non-boolean options with
  +
the gui, either from tovid.ini, command line, or by trying
  +
to load a saved script. Option to continue or exit is given.
  +
r3454 | grepper | 2012-07-31 08:59:28 -0400 (Tue, 31 Jul 2012) | 2 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/guis/helpers.py
  +
M /trunk/tovid/libtovid/guis/todisc.py
  +
Move check_cmdline_opts to helpers.py
  +
r3455 | grepper | 2012-07-31 09:24:28 -0400 (Tue, 31 Jul 2012) | 2 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/guis/helpers.py
  +
Clarify question in popup on wrong GUI options (check_cmdline_opts)
  +
r3461 | grepper | 2012-08-27 02:51:09 -0400 (Mon, 27 Aug 2012) | 3 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/guis/helpers.py
  +
Python 3 compatibility workarounds with try: except
  +
Remove carriage return for text sent to mplayer fifo
  +
r3462 | grepper | 2012-08-27 05:35:00 -0400 (Mon, 27 Aug 2012) | 6 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/guis/todisc.py
  +
Parse arguments to the script to get loadable and non
  +
loadable options: only loadable options are passed to
  +
the gui, and an popup message will show the non loadable
  +
options. (hack to workaround buggy load_args in metagui).
  +
Python 3 compatibility workarounds with try: except:
  +
r3475 | grepper | 2012-09-16 00:31:15 -0400 (Sun, 16 Sep 2012) | 7 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/guis/todisc.py
  +
Add geometry argument so that the wizard may place it on the screen
  +
where the wizard has just withdrawn from.. This works with every
  +
configuration I tried in virtualbox, except gnome-shell, which was
  +
only off a few Y pixels.
  +
Support netbook resolution (600 pixels height minimum) by resizing
  +
if smaller screen/res detected.
  +
r3476 | grepper | 2012-09-16 00:38:31 -0400 (Sun, 16 Sep 2012) | 6 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/guis/helpers.py
  +
Added a few 'no load' options to no_load_opts
  +
Python 3 compatibility:
  +
set METAGUI_WIZARD env var to '0' if it doesn't exist,
  +
so python 3 doesn't complain.
  +
cast video info to str before using re on it.
  +
r3479 | grepper | 2012-09-20 01:15:47 -0400 (Thu, 20 Sep 2012) | 2 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/guis/helpers.py
  +
Center the popup showing unloadable options.
  +
r3483 | grepper | 2012-09-21 12:32:30 -0400 (Fri, 21 Sep 2012) | 2 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/guis/todisc.py
  +
M /trunk/tovid/src/titleset-wizard
  +
Comment and cleanup.
  +
r3486 | grepper | 2012-10-23 12:45:58 -0400 (Tue, 23 Oct 2012) | 3 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/guis/todisc.py
  +
Accepts 'position' and 'project' arg to its own run(), and
  +
passes 'position' arg when making GUI instance, and passes 'script' arg when calling GUI.run()
  +
r3489 | grepper | 2012-10-23 13:14:16 -0400 (Tue, 23 Oct 2012) | 2 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/guis/helpers.py
  +
CopyableInfo rather than copyable_info class name.
  +
r3492 | grepper | 2012-10-25 01:05:21 -0400 (Thu, 25 Oct 2012) | 3 lines
  +
Changed paths:
  +
M /trunk/tovid/libtovid/metagui/gui.py
  +
  +
Also send gui position via stderr when confirm_exit() is run.
  +
(and METAGUI_WIZARD set, ie. the gui is run from titleset-wizard).

Latest revision as of 03:05, 29 January 2015

tovid 0.35 has now been released!

The latest version of tovid is 0.35 This page documents changes against the previous release. For the very latest changes, see tovid changelog/upcoming.

tovid 0.35[]

todisc ('disc')[]

r3346 | grepper | 2011-07-25 18:34:24 -0400 (Mon, 25 Jul 2011) | 3 lines

Add -encode-only option so that the tovid gui can also
be used as an encoding only GUI.

r3360 | grepper | 2011-08-14 08:33:06 -0400 (Sun, 14 Aug 2011) | 3 lines

Allow using -encode-only without -out specified.
Add vlc command to parting message re testing DVD directory.

r3367 | grepper | 2011-08-20 09:47:07 -0400 (Sat, 20 Aug 2011) | 10 lines

Add -title-font and -title-fontsize as aliases for
-menu-font and -menu-fontsize respectively, to allow
more intuitive memory or options.
Don't use get_listargs for -mplayeropts, as they
a) are a single string
b) can start with a '-'
Just parse with ("$1" "$2") and shift twice  
Add '-mc 0' to audio_length() in hopes it will help with
some problematic videos

r3369 | grepper | 2011-08-20 20:25:44 -0400 (Sat, 20 Aug 2011) | 6 lines

Previously setting -title-stroke to 'none' would cause todisc to not
use a gray font shadow for readability.  Now setting -title-stroke to anything, ie.
-title-stroke red, will cause the same behavior.  So the only way now to get the
shadow is to leave the -title-stroke setting alone.
Setting -title-stroke will in fact make a menu title makemenu style.

r3371 | grepper | 2011-08-22 07:29:25 -0400 (Mon, 22 Aug 2011) | 6 lines

Make code for menu title and video titles the same, same colour for
text, same behavior with respect to font shadow vs. font outline
(-using ANY -title-stroke or -titles-stroke will cause that portion
of the menu to not use font shadow)

r3375 | grepper | 2011-08-28 09:40:00 -0400 (Sun, 28 Aug 2011) | 19 lines

Added -title-font-deco and -titles-font-deco so that todisc supports
all makemenu options, as makemenu is being deprecated/removed in 0.35.
I don't count this a 'feature creep' as 1700 lines of code will be
removed :)  This also makes the -stroke options more less confusing.
Fix for changed ffmpeg option -tvstd ==> -standard in current git -
maintaining backwards compatibility.
Fix for -quick-menu failing with bizare results when near-black
background colour is used.
Don't print full path to file when using spinner to avoid too long
line lengths and extra characters left on screen.
Remove -r (framerate) and -s (video size) options from before the '-i'
as they are not supported with latest ffmpeg and apparently served
no purpose anyway for older ffmpegs.
TODO: investigate how to fix ffmpeg command for images that needs to
force input framerate.
Restore -noask as a todisc option - it will serve double duty.  If
someone wanted previews AND -noask for makempg they can always set
a makempg preference in the ini file.

r3376 | grepper | 2011-09-04 16:25:23 -0400 (Sun, 04 Sep 2011) | 13 lines

Staying ahead of some changes in recent ffmpeg git:
some options, such as "-pix_fmt yuv420p" or "-r framerate" can no
longer be put before the -i if they are part of the video properties,
as they are in yuv4mpegpipe format.
Consolidate functions for checking video length and audio length
into one new function: stream_length()
fix hard-coded -aspect in image processing for slideshows - now
uses $ASPECT so it is compatible across ffmpeg versions.
usage_error() if trying to use submenus with slideshows, either
mixed with videos or on its own.
Possible TODO: allow videos in a mixed menu to have submenus.

r3392 | grepper | 2011-09-21 01:20:34 -0400 (Wed, 21 Sep 2011) | 25 lines

Extensive general cleanup of code that aligns text and images(-align)
and aligns button text relative to images (-showcase-titles-align).
This is the major part of this large commit (+716 lines, -427 lines in total.
Moved to adjacent blocks to it makes more sense and is more
maintainable - it was found in several places.
Now all options should work for all styles (where they make sense) and
things are much more pleasingly centred etc.
changed justification of showcase text so it is west (left) aligned.
-edge-justify added to get old behavior back.
Added colour highlight 'bars' to screen output: 
green for Info: and red for more critical errors.  Added info_message()
and used it to standardize these informational warning better.
TODO: ?  Output colour to log to help debug critical errors ?
removed some verbosity from output though it is still far too
verbose.  TODO: use -debug flag to turn verbosity on, default off.
Added usage_error for -showcase-geo args not having +/- prefix.
Move some info and warning messages that go to log to AFTER the
log file is removed and recreated so they actually show up.
Instead of erroring out on multiple spaces in titles, just fix
them and output Info: message.
Test that all videos in titleset/menu are of same aspect ratio
and give dire (non-critical) warning if not.
usage_error for incompatible options -showcase-shape and -wave
changed to warning - todisc disables -showcase-shape and continues.

r3393 | grepper | 2011-09-21 22:17:58 -0400 (Wed, 21 Sep 2011) | 10 lines

make showcase with thumbs with default alignment work.
It doesn't use the N/S/E/W ala ImageMagic, its position
is a bit of a compromise (northwest with a bit of an offset)
Don't check aspect ratio every time when recursing.
Refine -align and -showcase-titles-align code, it should all
work now.
more info_message usage
Disable some verbose output by testing for $VERBOSE flag
(set to false for now with no user option)

r3413 | grepper | 2012-03-04 01:31:02 -0500 (Sun, 04 Mar 2012) | 15 lines

More work on decreasing verbosity of screen output
using print2log, reworking get_stats, etc.
Use full option names for some like:
-menu-title-font
Use coloured messages for more output.
Remove VERBOSE var which was unused.
Get tovid.ini opts for makempg:
TODO: echo them to screen for information to user
Don't use coloured output with gui to fix errors re tput
Don't run filter test when recursing if already run.
Fix Usage message to use 'tovid disc' instead of 'todisc'
Fix a few thumb dimensions to allow better fit
Fix typo in 'tovid dvd' burn command

r3415 | grepper | 2012-03-17 18:58:41 -0400 (Sat, 17 Mar 2012) | 6 lines

Fix regression from last commit where all of makempg's output
was sent to log leaving no output and allowing no interactive commands.
Fix subtle bug that made todisc hang when run from a saved gui script
from the command line.
Add "-burn" command for info suggestion on how to burn the finished DVD.

r3416 | grepper | 2012-03-18 18:50:12 -0400 (Sun, 18 Mar 2012) | 3 lines

Use ffmpeg for generating silence for menu rather than sox.
Less workarounds and a couple of dozen less lines !

r3417 | grepper | 2012-03-28 21:23:31 -0400 (Wed, 28 Mar 2012) | 6 lines

change GROUP variable name to GROUP_ARR, to avoid potential env NAME conflict
No I'm not going to go through 10,000 lines of code at this point and change
all upper case variables to lower case, but that is certainly what I would do
if I was starting to write todisc today, or even 5 years ago.
Fixes issue #160 reported by star at sheffield.ac.uk, thanks Paul for report

r3418 | grepper | 2012-03-31 13:37:17 -0400 (Sat, 31 Mar 2012) | 4 lines

usage_error on using '0' as arg for -text-menu.
(user told to use -align *east instead)
on runtime_error recommend SVN for ffmpeg errors in log, giving wiki url

r3419 | grepper | 2012-04-01 01:43:12 -0400 (Sun, 01 Apr 2012) | 4 lines

Need to check that -text-menu has an arg before doing bash math on it
Issue warning about south alignment possibly covering nav buttons, rather
than being possibly overly helpful.

r3420 | grepper | 2012-04-11 01:08:29 -0400 (Wed, 11 Apr 2012) | 10 lines

Add 'General options' to quick help printed to screen, as
well as some more simple examples of other capabilities.
Some refining of the -encode-only switch, so that only
necessary operations are run and only pertinent screen output
is given.
Fix burning with makedvd when using -no-menu
Check that align options don't cover up navigation buttons.
Fix parsing of -mplayeropts (passed to makempg)
so we don't 'shift' past next option.

r3421 | grepper | 2012-04-15 02:10:29 -0400 (Sun, 15 Apr 2012) | 2 lines

make_polaroid_stack() needs a '+repage' before the -flatten now

r3425 | grepper | 2012-05-09 02:15:55 -0400 (Wed, 09 May 2012) | 2 lines

Do not check video title lengths if -no-menu or -encode-only

r3430 | grepper | 2012-06-14 01:04:13 -0400 (Thu, 14 Jun 2012) | 6 lines

 change frame rate variable for ntsc to 30000/1001 so it is not rounded.
 remove -standard and -tvstd as they are inappropriate.  This
 will allow todisc to work with Ubuntu precise's ffmpeg/avconv as
 a side effect.
 Note: these same changes have been commited to 0.35 branch pre release.

r3437 | grepper | 2012-06-14 14:46:26 -0400 (Thu, 14 Jun 2012) | 5 lines

 different var for ffmpeg frame rate, use original FRAME_RATE
 for everything else (mjpegtools, transcode convert it to 30000/1001
 and bc needs it for calculation)
 -t TIME goes AFTER the -i /dev/zero, else avconv messes up

r3444 | grepper | 2012-07-15 21:49:00 -0400 (Sun, 15 Jul 2012) | 7 lines

 added support for avconv (libav.org)
 fixed typo in parsing image type from 'file' output
 check for broken transcode (stock debian)
 fix for broken showcase image display when doing -textmenu (or -static)
  and -menu-fade
 get spumux output into the logfile

r3448 | grepper | 2012-07-22 23:55:46 -0400 (Sun, 22 Jul 2012) | 2 lines

 Fix for showcase file not showing up with menu fade

r3459 | grepper | 2012-08-26 02:00:20 -0400 (Sun, 26 Aug 2012) | 5 lines

Changed paths:
   M /trunk/tovid/src/todisc
* fix for -quick-menu for latest git version of ffmpeg, changing
  to using scale filter rather than -s XxY
* fix for vhook for -quick-menu (doubtful any is using an ffmpeg
  that old, but what the heck ...

r3463 | grepper | 2012-08-28 17:30:41 -0400 (Tue, 28 Aug 2012) | 2 lines

Changed paths:
   M /trunk/tovid/docs/src/en/tovid.t2t
   M /trunk/tovid/src/todisc
Allow '-switched-menu' or '-switched-menus' (easier to remember)

r3367 | grepper | 2011-08-20 09:47:07 -0400 (Sat, 20 Aug 2011) | 10 lines

Add -title-font and -title-fontsize as aliases for
-menu-font and -menu-fontsize respectively, to allow
more intuitive memory or options.
Don't use get_listargs for -mplayeropts, as they
a) are a single string
b) can start with a '-'
Just parse with ("$1" "$2") and shift twice  
Add '-mc 0' to audio_length() in hopes it will help with
some problematic videos

r3369 | grepper | 2011-08-20 20:25:44 -0400 (Sat, 20 Aug 2011) | 6 lines

Previously setting -title-stroke to 'none' would cause todisc to not
use a gray font shadow for readability.  Now setting -title-stroke to anything, ie.
-title-stroke red, will cause the same behavior.  So the only way now to get the
shadow is to leave the -title-stroke setting alone.
Setting -title-stroke will in fact make a menu title makemenu style.

r3371 | grepper | 2011-08-22 07:29:25 -0400 (Mon, 22 Aug 2011) | 6 lines

Make code for menu title and video titles the same, same colour for
text, same behavior with respect to font shadow vs. font outline
(-using ANY -title-stroke or -titles-stroke will cause that portion
of the menu to not use font shadow)

r3375 | grepper | 2011-08-28 09:40:00 -0400 (Sun, 28 Aug 2011) | 19 lines

* Added -title-font-deco and -titles-font-deco so that todisc supports
    all makemenu options, as makemenu is being deprecated/removed in 0.35.
    I don't count this a 'feature creep' as 1700 lines of code will be
    removed :)  This also makes the -stroke options more less confusing.
* Fix for changed ffmpeg option -tvstd ==> -standard in current git -
    maintaining backwards compatibility.
* Fix for -quick-menu failing with bizare results when near-black
    background colour is used.
* Don't print full path to file when using spinner to avoid too long
    line lengths and extra characters left on screen.
* Remove -r (framerate) and -s (video size) options from before the '-i'
    as they are not supported with latest ffmpeg and apparently served
    no purpose anyway for older ffmpegs.
TODO: investigate how to fix ffmpeg command for images that needs to
    force input framerate.
* Restore -noask as a todisc option - it will serve double duty.  If
    someone wanted previews AND -noask for makempg they can always set
    a makempg preference in the ini file.

r3376 | grepper | 2011-09-04 16:25:23 -0400 (Sun, 04 Sep 2011) | 13 lines

* Staying ahead of some changes in recent ffmpeg git:
some options, such as "-pix_fmt yuv420p" or "-r framerate" can no
longer be put before the -i if they are part of the video properties,
as they are in yuv4mpegpipe format.
* Consolidate functions for checking video length and audio length
into one new function: stream_length()
* fix hard-coded -aspect in image processing for slideshows - now
uses $ASPECT so it is compatible across ffmpeg versions.
* usage_error() if trying to use submenus with slideshows, either
mixed with videos or on its own.
Possible TODO: allow videos in a mixed menu to have submenus.

r3392 | grepper | 2011-09-21 01:20:34 -0400 (Wed, 21 Sep 2011) | 25 lines

* Extensive general cleanup of code that aligns text and images(-align)
  and aligns button text relative to images (-showcase-titles-align).
  This is the major part of this large commit (+716 lines, -427 lines in total.
  Moved to adjacent blocks to it makes more sense and is more
  maintainable - it was found in several places.
  Now all options should work for all styles (where they make sense) and
  things are much more pleasingly centred etc.
* changed justification of showcase text so it is west (left) aligned.
  -edge-justify added to get old behavior back.
* Added colour highlight 'bars' to screen output: 
  green for Info: and red for more critical errors.  Added info_message()
  and used it to standardize these informational warning better.
  TODO: ?  Output colour to log to help debug critical errors ?
* removed some verbosity from output though it is still far too
  verbose.  TODO: use -debug flag to turn verbosity on, default off.
* Added usage_error for -showcase-geo args not having +/- prefix.
* Move some info and warning messages that go to log to AFTER the
  log file is removed and recreated so they actually show up.
* Instead of erroring out on multiple spaces in titles, just fix
  them and output Info: message.
* Test that all videos in titleset/menu are of same aspect ratio
  and give dire (non-critical) warning if not.
* usage_error for incompatible options -showcase-shape and -wave
  changed to warning - todisc disables -showcase-shape and continues.

r3393 | grepper | 2011-09-21 22:17:58 -0400 (Wed, 21 Sep 2011) | 10 lines

* make showcase with thumbs with default alignment work.
  It doesn't use the N/S/E/W ala ImageMagic, its position
  is a bit of a compromise (northwest with a bit of an offset)
* Don't check aspect ratio every time when recursing.
* Refine -align and -showcase-titles-align code, it should all
  work now.
* more info_message usage
* Disable some verbose output by testing for $VERBOSE flag
  (set to false for now with no user option)

r3413 | grepper | 2012-03-04 01:31:02 -0500 (Sun, 04 Mar 2012) | 15 lines

* More work on decreasing verbosity of screen output
    using print2log, reworking get_stats, etc.
* Use full option names for some like:
    -menu-title-font
* Use coloured messages for more output.
* Remove VERBOSE var which was unused.
* Get tovid.ini opts for makempg:
    TODO: echo them to screen for information to user
* Don't use coloured output with gui to fix errors re tput
* Don't run filter test when recursing if already run.
* Fix Usage message to use 'tovid disc' instead of 'todisc'
* Fix a few thumb dimensions to allow better fit
* Fix typo in 'tovid dvd' burn command

r3415 | grepper | 2012-03-17 18:58:41 -0400 (Sat, 17 Mar 2012) | 6 lines

* Fix regression from last commit where all of makempg's output
was sent to log leaving no output and allowing no interactive commands.
* Fix subtle bug that made todisc hang when run from a saved gui script
from the command line.
* Add "-burn" command for info suggestion on how to burn the finished DVD.

r3416 | grepper | 2012-03-18 18:50:12 -0400 (Sun, 18 Mar 2012) | 3 lines

* Use ffmpeg for generating silence for menu rather than sox.
  Less workarounds and a couple of dozen less lines !

r3417 | grepper | 2012-03-28 21:23:31 -0400 (Wed, 28 Mar 2012) | 6 lines

* change GROUP variable name to GROUP_ARR, to avoid potential env NAME conflict
  No I'm not going to go through 10,000 lines of code at this point and change
  all upper case variables to lower case, but that is certainly what I would do
  if I was starting to write todisc today, or even 5 years ago.
  Fixes issue #160 reported by star at sheffield.ac.uk, thanks Paul for report

r3418 | grepper | 2012-03-31 13:37:17 -0400 (Sat, 31 Mar 2012) | 4 lines

* usage_error on using '0' as arg for -text-menu.
  (user told to use -align *east instead)
* on runtime_error recommend SVN for ffmpeg errors in log, giving wiki url

r3419 | grepper | 2012-04-01 01:43:12 -0400 (Sun, 01 Apr 2012) | 4 lines

* Need to check that -text-menu has an arg before doing bash math on it
* Issue warning about south alignment possibly covering nav buttons, rather
  than being possibly overly helpful.

r3420 | grepper | 2012-04-11 01:08:29 -0400 (Wed, 11 Apr 2012) | 10 lines

* Add 'General options' to quick help printed to screen, as
  well as some more simple examples of other capabilities.
* Some refining of the -encode-only switch, so that only
  necessary operations are run and only pertinent screen output
  is given.
* Fix burning with makedvd when using -no-menu
* Check that align options don't cover up navigation buttons.
* Fix parsing of -mplayeropts (passed to makempg)
  so we don't 'shift' past next option.

r3421 | grepper | 2012-04-15 02:10:29 -0400 (Sun, 15 Apr 2012) | 2 lines

* make_polaroid_stack() needs a '+repage' before the -flatten now

r3425 | grepper | 2012-05-09 02:15:55 -0400 (Wed, 09 May 2012) | 2 lines

Do not check video title lengths if -no-menu or -encode-only

r3430 | grepper | 2012-06-14 01:04:13 -0400 (Thu, 14 Jun 2012) | 6 lines

* change frame rate variable for ntsc to 30000/1001 so it is not rounded.
* remove -standard and -tvstd as they are inappropriate.  This
will allow todisc to work with Ubuntu precise's ffmpeg/avconv as
a side effect.
Note: these same changes have been commited to 0.35 branch pre release.

r3437 | grepper | 2012-06-14 14:46:26 -0400 (Thu, 14 Jun 2012) | 5 lines

* different var for ffmpeg frame rate, use original FRAME_RATE
  for everything else (mjpegtools, transcode convert it to 30000/1001
  and bc needs it for calculation)
* -t TIME goes AFTER the -i /dev/zero, else avconv messes up

r3438 | grepper | 2012-06-15 11:08:24 -0400 (Fri, 15 Jun 2012) | 6 lines

idvid:
Allow MPG2 for id'ing from mplayer's identify as well as MPEG-2,
or hex.  (fixes problem on Ubuntu precise)
todisc:
Trivial comments change for frame rate variaible.

r3444 | grepper | 2012-07-15 21:49:00 -0400 (Sun, 15 Jul 2012) | 7 lines

*  added support for avconv (libav.org)
* fixed typo in parsing image type from 'file' output
* check for broken transcode (stock debian)
* fix for broken showcase image display when doing -textmenu (or -static)
   and -menu-fade
* get spumux output into the logfile

r3448 | grepper | 2012-07-22 23:55:46 -0400 (Sun, 22 Jul 2012) | 2 lines

*  Fix for showcase file not showing up with menu fade

r3459 | grepper | 2012-08-26 02:00:20 -0400 (Sun, 26 Aug 2012) | 5 lines

* fix for -quick-menu for latest git version of ffmpeg, changing
  to using scale filter rather than -s XxY
* fix for vhook for -quick-menu (doubtful any is using an ffmpeg
  that old, but what the heck ...

r3463 | grepper | 2012-08-28 17:30:41 -0400 (Tue, 28 Aug 2012) | 2 lines

Allow '-switched-menu' or '-switched-menus' (easier to remember)

r3494 | grepper | 2013-03-09 14:59:57 -0500 (Sat, 09 Mar 2013) | 4 lines

Use "line" button style by default.
Check for legal -button-style option
use "$ffmpeg -h full" for ffmpeg/avconv help

r3496 | grepper | 2013-03-10 20:45:40 -0400 (Sun, 10 Mar 2013) | 10 lines

* OUT_PREFIX var becomes OUT_DIRECTORY, as its not a prefix
* wait_for() gets a timeout
* use ffmpeg -h full for ffmpeg/avconv as its needed now (bw compat)
* remove logfile in case of test failures
* test for usable button styles
* exit with usage_error if 16:9 videos used on same menu as slides 
* use more PIPESTATUS arrays for piped commands
* use wait to get exit code of ffmpeg and transcode, even if they
finish before wait is called.

r3497 | grepper | 2013-04-03 08:16:16 -0400 (Wed, 03 Apr 2013) | 30 lines

all scripts:
* update copyright date
makempg:
* move to b:v c:v etc syntax
* use -h full for getting help text from ffmpeg
* refine ffmpeg checks for filters, syntax etc
todisc:
* move to b:v, c:v etc syntax
* use -h full for getting help text from ffmpeg
* refine ffmpeg checks for filters, syntax etc
* workaround for avconv which is broken wrt m2v framerate reporting
   for the stream_length() function.
* use LC_ALL=C in bc_math to fix locale problems with comma vs period
   separator
* changed a few functions to using lower case vars
* remove old vhook cruft from quickmenu check for empty file.
   before checking aspect ratio (check is video or image file)
* use scale and aspect filters exclusively
tovid-batch:
* removed
tovid-interactive:
* removed
moved 3 scripts to snippets/ from src/

r3499 | grepper | 2013-11-29 15:22:18 -0500 (Fri, 29 Nov 2013) | 3 lines

* recent ffmpeg doesn't list filters starting at line beginning,
so replace ^setdar with "setdar" in version tests.

r3500 | grepper | 2013-11-29 18:29:34 -0500 (Fri, 29 Nov 2013) | 4 lines

* recent ffmpeg doesn't list filters starting at line beginning, so replace ^crop and ^movie
 with "crop" and "movie" in version tests. This is now a VERY rough test as ffmpeg makes
 NO attempt to have the output of -filters parsable by scripts.

r3501 | grepper | 2014-05-19 17:54:13 -0400 (Mon, 19 May 2014) | 7 lines

* fix for issue with new ffmpeg syntax for "ffmpeg"
  so now the grep commands should work.
* fix for issue with pal framerate for the menu mpeg
(thanks to Kazik for reporting).

r3502 | grepper | 2014-12-28 19:17:25 -0500 (Sun, 28 Dec 2014) | 5 lines

Remove mencoder as it is being abandoned by many distros
Add TOVID_HOME as an environment variable [default ~/.tovid]
Bump copyright to 2015
Some workarounds and fixes

r3507 | grepper | 2015-01-24 20:48:57 -0500 (Sat, 24 Jan 2015) | 7 lines

* Remove dependency on transcode. It will still be used
if installed as it is slightly quicker at seeking, but
otherwise everything that was done with transcode will
be done with ffmpeg/avconv.
* minor bug fixes and comment cleanup

r3509 | grepper | 2015-01-24 22:05:15 -0500 (Sat, 24 Jan 2015) | 3 lines

Get rid of a 'magic number' typo for video fps in the new code.

r3510 | grepper | 2015-01-25 02:11:15 -0500 (Sun, 25 Jan 2015) | 3 lines

Fix spinner counter for transcode.

r3511 | grepper | 2015-01-25 15:46:30 -0500 (Sun, 25 Jan 2015) | 5 lines

* Allow for using todisc without yuvcorrect from mjpegtools
 installed (slideshows)
* Some minor comment formatting

r3513 | grepper | 2015-01-25 22:54:26 -0500 (Sun, 25 Jan 2015) | 3 lines

* Remove some more debugging stuff I missed.

makempg ('mpg')[]

r3345 | grepper | 2011-07-25 18:31:40 -0400 (Mon, 25 Jul 2011) | 2 lines

On success suggest 'tovid disc' rather than deprecated scripts xml/menu.

r3359 | grepper | 2011-08-14 08:30:56 -0400 (Sun, 14 Aug 2011) | 3 lines

Quote $OUT_FILENAME in goodbye text.
Small enhancements to same stanza.

r3377 | grepper | 2011-09-04 16:26:48 -0400 (Sun, 04 Sep 2011) | 3 lines

Fix for ffmpeg bug - put -ar 48000 before the -i when
generating silent audio from /dev/zero

r3400 | grepper | 2011-09-26 00:37:17 -0400 (Mon, 26 Sep 2011) | 4 lines

Added stdbuff to cmd_exec to get line buffered output
and continuous log updating.  It will be used only if present
on the system.  >= 7.5 coreutils needed.

r3401 | grepper | 2011-09-26 00:59:06 -0400 (Mon, 26 Sep 2011) | 3 lines

ME="[makempg]:" (not ME="[tovid]:")

r3402 | grepper | 2011-09-27 12:52:25 -0400 (Tue, 27 Sep 2011) | 3 lines

AVERAGE and PEAK BITRATES output broke with new ffmepg -fixed with
new sed line.

r3403 | grepper | 2011-10-07 00:55:58 -0400 (Fri, 07 Oct 2011) | 2 lines

Remove literal quotes on CUR_SIZE as it is not eval'ed.

r3411 | grepper | 2011-12-06 00:22:30 -0500 (Tue, 06 Dec 2011) | 2 lines

Remove suffix from sleep command for compatibility.

r3423 | grepper | 2012-04-15 02:17:04 -0400 (Sun, 15 Apr 2012) | 4 lines

Use os compatibility patch from 'virtualestates' as per issue #152.
Check for illegal characters (as per makempg limitation) in file names and -out name.
Use -nomsgcolor for mplayer commands.

r3424 | grepper | 2012-04-15 02:38:03 -0400 (Sun, 15 Apr 2012) | 3 lines

Last was commited prematurely.
More readable error message for $1.filename mpeg2enc limitation.

r3443 | grepper | 2012-07-15 21:13:26 -0400 (Sun, 15 Jul 2012) | 2 lines

Added support for avconv (libav.org)

r3497 | grepper | 2013-04-03 08:16:16 -0400 (Wed, 03 Apr 2013) | 30 lines

* move to b:v c:v etc syntax
* use -h full for getting help text from ffmpeg
* refine ffmpeg checks for filters, syntax etc

r3499 | grepper | 2013-11-29 15:22:18 -0500 (Fri, 29 Nov 2013) | 3 lines

* recent ffmpeg doesn't list filters starting at line beginning,
so replace ^setdar with "setdar" in version tests.

r3502 | grepper | 2014-12-28 19:17:25 -0500 (Sun, 28 Dec 2014) | 5 lines

Remove mencoder as it is being abandoned by many distros
Add TOVID_HOME as an environment variable [default ~/.tovid]
Bump copyright to 2015
Some workarounds and fixes

r3505 | grepper | 2015-01-11 11:14:46 -0500 (Sun, 11 Jan 2015) | 5 lines

Some work-arounds for supporting various avconv and ffmpeg
versions wrt filter syntax.

idvid ('id')[]

r3370 | grepper | 2011-08-21 20:02:53 -0400 (Sun, 21 Aug 2011) | 4 lines

Fix for broken aspect ratio id'ing for webm.
(commented out tcprobe stanza, now just using mplayer)
tcprobe is as not as well maintained as mplayer in any case.

r3372 | grepper | 2011-08-26 22:29:18 -0400 (Fri, 26 Aug 2011) | 2 lines

Quote the field separators for awk when getting HEX_TRACKS.

r3405 | grepper | 2011-10-24 10:12:06 -0400 (Mon, 24 Oct 2011) | 3 lines

ffmpeg changed to using ':' as a separator for the track numbers.  Adjusted
the sed line that parses it.

r3406 | grepper | 2011-10-24 12:03:01 -0400 (Mon, 24 Oct 2011) | 3 lines

As in last commit, change sed line parsing stream number to account for
ffmpeg's change to using ":" as a separator.

r3438 | grepper | 2012-06-15 11:08:24 -0400 (Fri, 15 Jun 2012) | 6 lines

Changed paths:
   M /trunk/tovid/src/idvid
idvid:
Allow MPG2 for id'ing from mplayer's identify as well as MPEG-2,
or hex.  (fixes problem on Ubuntu precise)

r3439 | grepper | 2012-06-15 14:25:51 -0400 (Fri, 15 Jun 2012) | 2 lines

Changed paths:
   M /trunk/tovid/src/idvid
Small change to comment line for parsing ID_VIDEO_FORMAT=MPG2

r3443 | grepper | 2012-07-15 21:13:26 -0400 (Sun, 15 Jul 2012) | 2 lines

Changed paths:
   M /trunk/tovid/docs/src/en/tovid.t2t
   M /trunk/tovid/src/idvid
   M /trunk/tovid/src/makempg
   M /trunk/tovid/src/tovid-init.in
Added support for avconv (libav.org)

r3497 | grepper | 2013-04-03 08:16:16 -0400 (Wed, 03 Apr 2013) | 30 lines

all scripts:
* update copyright date
makempg:
* move to b:v c:v etc syntax
* use -h full for getting help text from ffmpeg
* refine ffmpeg checks for filters, syntax etc
todisc:
* move to b:v, c:v etc syntax
* use -h full for getting help text from ffmpeg
* refine ffmpeg checks for filters, syntax etc
* workaround for avconv which is broken wrt m2v framerate reporting
   for the stream_length() function.
* use LC_ALL=C in bc_math to fix locale problems with comma vs period
   separator
* changed a few functions to using lower case vars
* remove old vhook cruft from quickmenu check for empty file.
   before checking aspect ratio (check is video or image file)
* use scale and aspect filters exclusively
tovid-batch:
* removed
tovid-interactive:
* removed
moved 3 scripts to snippets/ from src/

r3502 | grepper | 2014-12-28 19:17:25 -0500 (Sun, 28 Dec 2014) | 5 lines

Remove mencoder as it is being abandoned by many distros
Add TOVID_HOME as an environment variable [default ~/.tovid]
Bump copyright to 2015
Some workarounds and fixes

r3503 | grepper | 2015-01-04 03:14:37 -0500 (Sun, 04 Jan 2015) | 14 lines

Initialize arrays just to keep it readable.
Revert to just using tcprobe -i instead of -Xi
Test for a number in several places instead of just testing for empty var.
Change output values to bits before we get to the point of echoing them.
Use bash redirection rather than echoing and piping as in original script.
Fix -map so that it uses ':' instead of '.' as a separator
Derive video bitrate (if unavailable) from total bitrate and audio bitrate.
Special treatment for *.vob files along with mpegs.
More options to get duration of file if previous probe(s) fails.
ID_AUDIO_NCH is an array, so just use first value.

r3504 | grepper | 2015-01-10 22:16:12 -0500 (Sat, 10 Jan 2015) | 2 lines

Remove ':' before doing test_is_number on Video track #

r3506 | grepper | 2015-01-21 15:07:53 -0500 (Wed, 21 Jan 2015) | 10 lines

Many changes for avconv compatibility, especially with
more recent versions.
Use ffprobe and avprobe when available as the output
is more easily parsed.
Remove extended switch from tcprobe (-X) as it added nothing.
More redundancy in getting info about files, to maximize possibility
of successful outcome
Added -keepfiles option to save temporary directory (for debugging)

r3507 | grepper | 2015-01-24 20:48:57 -0500 (Sat, 24 Jan 2015) | 7 lines

* Remove dependency on transcode. It will still be used
if installed as it is slightly quicker at seeking, but
otherwise everything that was done with transcode will
be done with ffmpeg/avconv.
* minor bug fixes and comment cleanup

r3508 | grepper | 2015-01-24 21:48:05 -0500 (Sat, 24 Jan 2015) | 3 lines

Remove some echos used for debugging.

makedvd ('dvd')[]

r3408 | grepper | 2011-12-05 23:49:57 -0500 (Mon, 05 Dec 2011) | 4 lines

Remove author options from usage output, as makexml
is no longer part of tovid as of version 0.35.
Remove time suffix for sleep command for compatibility.

r3497 | grepper | 2013-04-03 08:16:16 -0400 (Wed, 03 Apr 2013) | 30 lines

update copyright date

r3502 | grepper | 2014-12-28 19:17:25 -0500 (Sun, 28 Dec 2014) | 5 lines

Add TOVID_HOME as an environment variable [default ~/.tovid]
Bump copyright to 2015

titleset-wizard[]

r3347 | grepper | 2011-07-25 23:23:19 -0400 (Mon, 25 Jul 2011) | 5 lines

make sure ~/.metagui and the config file exist:
otherwise if the 'tovid gui' has never been run
the wizard will fail to load.
Thanks to Kees for reporting

r3351 | grepper | 2011-07-26 04:39:05 -0400 (Tue, 26 Jul 2011) | 2 lines

Print message to stdout if ~/.metagui/config created

r3352 | grepper | 2011-07-26 07:45:58 -0400 (Tue, 26 Jul 2011) | 2 lines

Match metagui config file creation/loading stanza from gui.py.

r3352 | grepper | 2011-07-26 07:45:58 -0400 (Tue, 26 Jul 2011) | 2 lines

Match metagui config file creation/loading stanza from gui.py.

r3433 | grepper | 2012-06-14 01:57:43 -0400 (Thu, 14 Jun 2012) | 5 lines

Disable going back and editing titlesets.
Too bad, this was a nice feature, as you
can also load a script into the wizard.
See http://code.google.com/p/tovid/issues/detail?id=121

r3465 | grepper | 2012-08-30 19:32:40 -0400 (Thu, 30 Aug 2012) | 6 lines

Back to using just xterm run externally to run
final project, as both Executor and
embedded xterm had issues.
Some Python3 compatibility changes.

r3466 | grepper | 2012-08-30 21:24:35 -0400 (Thu, 30 Aug 2012) | 5 lines

Do not disable 'Save log' button, as GUI is withdrawn
when xterm running.
Get rid of xterm_is_running variable, as it was only
needed for embedded xterm.

r3474 | grepper | 2012-09-16 00:17:46 -0400 (Sun, 16 Sep 2012) | 18 lines

Python 3 compatibility:
(imports, xrange, octal mode chmod)
Progress bar/splash to determine window deco  geometries, to aid wizard
in placing the gui.
Netbook compatibility (will resize to 600 pixels high when small screen
resolution detected).
import as tk, not import *
Instead of relying on propagating a bogus exit code back to the wizard
(which fails under python 3), use modification  timestamp of script
being saved from gui.
Restore ability to modify the script from the wizard, using the tovid
gui.  Problematic args are filtered by the gui and a popup informs
which options could not be loaded.
TODO: take another look at fixing metagui's load_args (set_args).
Xterm is no longer embedded as I experienced problems when I got a
larger monitor and couldn't find a way to solve it on the fly.
TODO: perhaps allow other terminals (set in ~/.tovid/preferences ?)

r3478 | grepper | 2012-09-16 02:43:37 -0400 (Sun, 16 Sep 2012) | 2 lines

No need for version_info import from sys.

r3483 | grepper | 2012-09-21 12:32:30 -0400 (Fri, 21 Sep 2012) | 2 lines

Comment and cleanup.

r3488 | grepper | 2012-10-23 13:13:18 -0400 (Tue, 23 Oct 2012) | 13 lines

Doc string cleanup
Wizard class now takes an 'infile' arg to __init__, which is a script to load:
this is passed in as sys.argv[1] (1st arg to script.
Use boolean var if script passed as arg, rather than duplicaing self.project.
self.project no longer a tk variable.
'project' (or 'script') name now shared between tovid GUI and titleset-wizard,
which eliminates problem of duplicate 'todisc_command.bash'.
Accept GUI position via stderr from tovid gui, and deiconify at same position.
os.chmod compatibility for python3.
Project name is now set by user at 2nd wizard page - it is used for the name of
the saved script file and the file used for IPC between tovid gui and wizard.
Capital L better than smallcase for variable.

tovid-init.in[]

r3399 | grepper | 2011-09-25 22:42:30 -0400 (Sun, 25 Sep 2011) | 4 lines

Added send_to_log().
Added std_buf (stdbuf) var.
Added TOVID_ISSUES var (http:// addy)

r3409 | grepper | 2011-12-05 23:59:55 -0500 (Mon, 05 Dec 2011) | 5 lines

Remove suffix from sleep commands for compatibility.
Use base program name instead of full path for
send_to_log output.
Remove whitespace at beginning of CPU_MODEL name output.

r3443 | grepper | 2012-07-15 21:13:26 -0400 (Sun, 15 Jul 2012) | 2 lines

Changed paths:
   M /trunk/tovid/docs/src/en/tovid.t2t
   M /trunk/tovid/src/idvid
   M /trunk/tovid/src/makempg
   M /trunk/tovid/src/tovid-init.in
Added support for avconv (libav.org)

r3452 | grepper | 2012-07-31 00:34:34 -0400 (Tue, 31 Jul 2012) | 3 lines

Changed paths:
   M /trunk/tovid/src/tovid-init.in
Use avconv if it is installed, even if ffmpeg is also installed.
The reason being that libav.org ships ffmpeg binary as well currently.

r3495 | grepper | 2013-03-09 19:49:07 -0500 (Sat, 09 Mar 2013) | 3 lines

Remove 'second' suffix to sleep command in tovid-init.in
Cleanup in tovid.t2t

r3497 | grepper | 2013-04-03 08:16:16 -0400 (Wed, 03 Apr 2013) | 30 lines

* update copyright date

r3502 | grepper | 2014-12-28 19:17:25 -0500 (Sun, 28 Dec 2014) | 5 lines

Remove mencoder as it is being abandoned by many distros
Add TOVID_HOME as an environment variable [default ~/.tovid]
Bump copyright to 2015
Some workarounds and fixes

r3507 | grepper | 2015-01-24 20:48:57 -0500 (Sat, 24 Jan 2015) | 7 lines

* Remove dependency on transcode. It will still be used
if installed as it is slightly quicker at seeking, but
otherwise everything that was done with transcode will
be done with ffmpeg/avconv.
* minor bug fixes and comment cleanup

tovid manual[]

r3350 | grepper | 2011-07-26 00:10:25 -0400 (Tue, 26 Jul 2011) | 2 lines

Remove Command:menu and Command:xml as they are deprecated now.

r3357 | grepper | 2011-08-13 19:55:58 -0400 (Sat, 13 Aug 2011) | 6 lines

More fine tuning of short script descriptions.
Note about saved scripts in 'tovid gui' description.
More examples added.
Fine tune '-no-menu' and '-encode-only' descriptions.
Updated 'tovid chapters' blurb.

r3396 | grepper | 2011-09-25 22:29:10 -0400 (Sun, 25 Sep 2011) | 3 lines

Removed man entries for removed scripts.  Some
tweaks to option text.

r3397 | grepper | 2011-09-25 22:38:49 -0400 (Sun, 25 Sep 2011) | 2 lines

Removed man entries for removed scripts.

r3398 | grepper | 2011-09-25 22:40:12 -0400 (Sun, 25 Sep 2011) | 2 lines

Bump to version 0.34

r3404 | grepper | 2011-10-10 04:30:25 -0400 (Mon, 10 Oct 2011) | 3 lines

Blurb about what replaces removed scripts.
Put a paragraph of GUI help where it belongs.

r3407 | grepper | 2011-12-05 23:47:49 -0500 (Mon, 05 Dec 2011) | 2 lines

Minor cosmetic changes.

r3412 | grepper | 2011-12-07 00:38:27 -0500 (Wed, 07 Dec 2011) | 3 lines

Removed uneeded options from the Command:dvd section.
(makedvd ONLY burns now that makexml has been removed)

r3422 | grepper | 2012-04-15 02:13:56 -0400 (Sun, 15 Apr 2012) | 3 lines

Add 'General Options' section at beginning and move some opts there.
Add some more quick examples of other things you can do with todisc

r3443 | grepper | 2012-07-15 21:13:26 -0400 (Sun, 15 Jul 2012) | 2 lines

Changed paths:
   M /trunk/tovid/docs/src/en/tovid.t2t
Added support for avconv (libav.org)

r3447 | grepper | 2012-07-21 11:12:18 -0400 (Sat, 21 Jul 2012) | 2 lines

Changed paths:
   M /trunk/tovid/docs/src/en/tovid.t2t
-user-thumbs takes single image or list as arg(s).

r3449 | grepper | 2012-07-23 19:30:01 -0400 (Mon, 23 Jul 2012) | 3 lines

Changed paths:
   M /trunk/tovid/docs/src/en/tovid.t2t
Use 'mydvd' as output directory example, rather than OUT_PREFIX which is
confusing as it not a prefix, its a full name.

r3463 | grepper | 2012-08-28 17:30:41 -0400 (Tue, 28 Aug 2012) | 2 lines

Changed paths:
   M /trunk/tovid/docs/src/en/tovid.t2t
Allow '-switched-menu' or '-switched-menus' (easier to remember)

r3490 | grepper | 2012-10-23 13:15:35 -0400 (Tue, 23 Oct 2012) | 3 lines

Changed paths:
   M /trunk/tovid/docs/src/en/tovid.t2t
Note about loading script in GUI.
Various cleanups.

r3493 | grepper | 2012-11-01 22:41:20 -0400 (Thu, 01 Nov 2012) | 3 lines

Missing verbatim closing quotes.
Minor alignment fix of indented code block example.

r3495 | grepper | 2013-03-09 19:49:07 -0500 (Sat, 09 Mar 2013) | 3 lines

Cleanup in tovid.t2t

r3502 | grepper | 2014-12-28 19:17:25 -0500 (Sun, 28 Dec 2014) | 5 lines

Add TOVID_HOME as an environment variable [default ~/.tovid]
Bump copyright to 2015

libtovid[]

r3349 | grepper | 2011-07-26 00:08:15 -0400 (Tue, 26 Jul 2011) | 3 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/todisc.py

Add -encode-only option, so the GUI can be used for
encoding (only) with makempg.

r3354 | grepper | 2011-08-03 02:37:18 -0400 (Wed, 03 Aug 2011) | 8 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py

Fix bug with files with spaces
Use Popen instead of commands_getoutput for def identify()
The try: except go in the if clause, only run 'if asr'
(aspect ratio) found by identify()
Use seek() rather than reading the whole file in def eof()
Default heading text goes outside of wizard clause

r3355 | grepper | 2011-08-03 10:11:26 -0400 (Wed, 03 Aug 2011) | 3 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py

If end of file is reached, save chapter points that have
been already set.

r3356 | grepper | 2011-08-05 16:42:44 -0400 (Fri, 05 Aug 2011) | 15 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py
   M /trunk/tovid/src/set_chapters

Simplify VideoGui and SetChapters by creating new class SetChaptersGui.
This inherits from SetChapters(VideoGui) and allows removing
the style option, and various if: then stanzas that are now not needed.
So SetChapters is cleaner and still serves both the standalone GUI
and the metagui Control class 'Chapters'.
set_chapters, which uses SetChaptersGui, further develops by adding a
result entry box, so that it is closer to being truly standalone.
TODO: add 'load' button to mplayer controls to accomplish the above.
Fixed bug in SetChapters (SetChaptersGui) where if the video was allowed
to run to completion and loop, chapters already set would be lost.
set_chapters no longer needs to use its own callback function, it is now
taken care of by the library.
Increase height of set_chapters application to 600 from 540, so the scale
widget is not hidden with some font sizes.

r3358 | grepper | 2011-08-13 20:23:05 -0400 (Sat, 13 Aug 2011) | 9 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py
   M /trunk/tovid/src/set_chapters

Make set_chapters fully standalone now, by outputting
to an entry widget and offering to save a text file,
and allowing starting the GUI without an input filename.
Hard code video_height, as you can start the GUI without
an argument now.
Remove def extend_widgets, and just call VideoGui.add_widgets
then adding new widgets.
A few docstring changes.

r3361 | grepper | 2011-08-14 08:35:28 -0400 (Sun, 14 Aug 2011) | 3 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/todisc.py

Update -quick-menu help to reflect new -vf movie filter
rather than vhooks.

r3364 | grepper | 2011-08-14 08:37:51 -0400 (Sun, 14 Aug 2011) | 2 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py

Do not import stderr (from sys)

r3366 | grepper | 2011-08-15 15:35:21 -0400 (Mon, 15 Aug 2011) | 5 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py

Remove somewhat clunky seek scale, which has the benefit of
keeping the gui under 600 pixels in height.
Instead the mplayer controls now have a forward and a
fast-forward seek button, same for seeking backwards.

r3368 | grepper | 2011-08-20 09:48:20 -0400 (Sat, 20 Aug 2011) | 3 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/tovid.py

Use Text not SpacedText for -mplayeropts:
it is a single string

r3373 | grepper | 2011-08-26 22:30:34 -0400 (Fri, 26 Aug 2011) | 2 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/todisc.py

Add -user-thumbs Control, re-organizing 'Thumbnails' tab.

r3379 | grepper | 2011-09-09 13:11:15 -0400 (Fri, 09 Sep 2011) | 3 lines

Changed paths:
   D /trunk/tovid/libtovid/render

Started a libtovid-cairo branch with this code, in order to
remove the libcairo dependancy on tovid.

r3380 | grepper | 2011-09-09 13:28:42 -0400 (Fri, 09 Sep 2011) | 2 lines

Changed paths:
   D /trunk/tovid/libtovid/backend

Moved to libtovid-cairo branch

r3383 | grepper | 2011-09-10 11:22:45 -0400 (Sat, 10 Sep 2011) | 2 lines

Changed paths:
   D /trunk/tovid/libtovid/test

Moved to libtovid-cairo branch

r3384 | grepper | 2011-09-10 22:51:50 -0400 (Sat, 10 Sep 2011) | 2 lines

Changed paths:
   D /trunk/tovid/libtovid/author.py
   D /trunk/tovid/libtovid/deps.py
   D /trunk/tovid/libtovid/encode.py
   D /trunk/tovid/libtovid/media.py
   D /trunk/tovid/libtovid/runtest.py
   D /trunk/tovid/libtovid/stats.py
   D /trunk/tovid/libtovid/xml.py

Moved to libtovid-cairo branch.

r3385 | grepper | 2011-09-10 22:54:22 -0400 (Sat, 10 Sep 2011) | 2 lines

Changed paths:
   D /trunk/tovid/libtovid/standard.py

Moved to libtovid-cairo branch.

r3386 | grepper | 2011-09-10 22:57:23 -0400 (Sat, 10 Sep 2011) | 2 lines

Changed paths:
   D /trunk/tovid/libtovid/opts.py

Moved to libtovid-cairo branch.

r3389 | grepper | 2011-09-11 03:40:21 -0400 (Sun, 11 Sep 2011) | 3 lines

Changed paths:
   M /trunk/tovid/libtovid/metagui/control.py

Use try:except for update_color, as exception was
raised when backspacing over value in output box.

r3390 | grepper | 2011-09-11 08:38:24 -0400 (Sun, 11 Sep 2011) | 3 lines

Changed paths:
   M /trunk/tovid/libtovid/metagui/control.py

Check parent_list is not None first before trying to move to
next item in Text Control 'def next_item'.

r3394 | grepper | 2011-09-25 20:20:21 -0400 (Sun, 25 Sep 2011) | 3 lines

Changed paths:
   M /trunk/tovid/libtovid/__init__.py

Finish removal of references to removed/moved files and directory,
changed with creation of libtovid-cairo branch.

r3395 | grepper | 2011-09-25 22:26:42 -0400 (Sun, 25 Sep 2011) | 2 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py

Add webm video file extension.

r3410 | grepper | 2011-12-06 00:08:33 -0500 (Tue, 06 Dec 2011) | 2 lines

Changed paths:
   M /trunk/tovid/libtovid/util/__init__.py

Remove suffix from sleep command for compatibility.

r3414 | grepper | 2012-03-17 11:00:16 -0400 (Sat, 17 Mar 2012) | 2 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/todisc.py
Some changes/additions from recent todisc modifications

r3446 | grepper | 2012-07-19 14:11:56 -0400 (Thu, 19 Jul 2012) | 2 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/todisc.py
Some cosmetic changes to the 'Encoding' tab

r3453 | grepper | 2012-07-31 02:45:48 -0400 (Tue, 31 Jul 2012) | 4 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/todisc.py
Popup message if user trys to use non-boolean options with
the gui, either from tovid.ini, command line, or by trying
to load a saved script.  Option to continue or exit is given.

r3454 | grepper | 2012-07-31 08:59:28 -0400 (Tue, 31 Jul 2012) | 2 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py
   M /trunk/tovid/libtovid/guis/todisc.py
Move check_cmdline_opts to helpers.py

r3455 | grepper | 2012-07-31 09:24:28 -0400 (Tue, 31 Jul 2012) | 2 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py
Clarify question in popup on wrong GUI options (check_cmdline_opts)

r3461 | grepper | 2012-08-27 02:51:09 -0400 (Mon, 27 Aug 2012) | 3 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py
Python 3 compatibility workarounds with try: except
Remove carriage return for text sent to mplayer fifo

r3462 | grepper | 2012-08-27 05:35:00 -0400 (Mon, 27 Aug 2012) | 6 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/todisc.py
Parse arguments to the script to get loadable and non
loadable options: only loadable options are passed to
the gui, and an popup message will show the non loadable
options.  (hack to workaround buggy load_args in metagui).
Python 3 compatibility workarounds with try: except:

r3475 | grepper | 2012-09-16 00:31:15 -0400 (Sun, 16 Sep 2012) | 7 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/todisc.py
Add geometry argument so that the wizard may place it on the screen
where the wizard has just withdrawn from..  This works with every
configuration I tried in virtualbox, except gnome-shell, which was
only off a few Y pixels.
Support netbook resolution (600 pixels height minimum) by resizing
if smaller screen/res detected.

r3476 | grepper | 2012-09-16 00:38:31 -0400 (Sun, 16 Sep 2012) | 6 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py
Added a few 'no load' options to no_load_opts
Python 3 compatibility:
 set METAGUI_WIZARD env var to '0' if it doesn't exist,
 so python 3 doesn't complain.
 cast video info to str before using re on it.

r3479 | grepper | 2012-09-20 01:15:47 -0400 (Thu, 20 Sep 2012) | 2 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py
Center the popup showing unloadable options.

r3483 | grepper | 2012-09-21 12:32:30 -0400 (Fri, 21 Sep 2012) | 2 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/todisc.py
   M /trunk/tovid/src/titleset-wizard
Comment and cleanup.

r3486 | grepper | 2012-10-23 12:45:58 -0400 (Tue, 23 Oct 2012) | 3 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/todisc.py
Accepts 'position' and 'project' arg to its own run(), and
passes 'position' arg when making GUI instance, and passes 'script' arg when calling GUI.run()

r3489 | grepper | 2012-10-23 13:14:16 -0400 (Tue, 23 Oct 2012) | 2 lines

Changed paths:
   M /trunk/tovid/libtovid/guis/helpers.py
CopyableInfo rather than copyable_info class name.

r3492 | grepper | 2012-10-25 01:05:21 -0400 (Thu, 25 Oct 2012) | 3 lines

Changed paths:
  M /trunk/tovid/libtovid/metagui/gui.py
Also send gui position via stderr when confirm_exit() is run.
(and METAGUI_WIZARD set, ie. the gui is run from titleset-wizard).