From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 3 06:00:16 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D60C16A419 for ; Mon, 3 Sep 2007 06:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1268813C461 for ; Mon, 3 Sep 2007 06:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8360GPq058499 for ; Mon, 3 Sep 2007 06:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8360Gmm058498; Mon, 3 Sep 2007 06:00:16 GMT (envelope-from gnats) Date: Mon, 3 Sep 2007 06:00:16 GMT Message-Id: <200709030600.l8360Gmm058498@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: User1001 Cc: Subject: Re: ports/116037: multimedia/dvd-slideshow has been updated from 0.7.5 to 0.8.0-1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: User1001 List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2007 06:00:16 -0000 The following reply was made to PR ports/116037; it has been noted by GNATS. From: User1001 To: bug-followup@FreeBSD.org, supraexpress@globaleyes.net Cc: Subject: Re: ports/116037: multimedia/dvd-slideshow has been updated from 0.7.5 to 0.8.0-1 Date: Sun, 02 Sep 2007 23:24:19 -0500 This is a multi-part message in MIME format. --------------040507080201090403090102 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Found some references to fonts and "themes" where the fonts did not include FBSD locations. NOTE that with the changes between X11R6 and xorg, you may want to change "/usr/local/lib/X11/lib/fonts" to something substitutable by Mk scripts. Included FBSD location for dvd-slideshow themes under /usr/local/share (which was installed manually). Also corrected ffmpeg "-ab " to include "k", otherwise ffmpeg would ignore simple integer for audio bit rate. Dvd-slideshow-examples/complete now "compiles" and "executes" without any errors: [runtest.sh] Removing old files... mkdir: my_pictures: File exists [runtest.sh] Executing command: [runtest.sh] dir2slideshow -n 'Complete example' -s filename -t 5 -c 1 my_pictures [dir2slideshow] dir2slideshow version 0.8.0-pre10 [dir2slideshow] Input directory = my_pictures [dir2slideshow] Slideshow name = Complete example [dir2slideshow] Output file = ./Complete_example.txt [dir2slideshow] subtitle=filename [dir2slideshow] subtitle2= [dir2slideshow] background= [dir2slideshow] title_background= [dir2slideshow] title=1 [dir2slideshow] kenburns=0 [dir2slideshow] pal= [dir2slideshow] output_dir=. [dir2slideshow] slide_duration=5 [dir2slideshow] sortmethod= [dir2slideshow] crossfade=1 [dir2slideshow] wipe=0 [dir2slideshow] title_type=title [dir2slideshow] themefile= [dir2slideshow] audio_list= [dir2slideshow] Total pictures found = 4 [dir2slideshow] Total audio files found = 0 [dir2slideshow] Total text files found = 0 [dir2slideshow] Sorting pictures... ######################################### background:0::black background:1 fadein:1 title:5:Complete example background:0::black fadeout:1 background:2 fadein:1 /var/stage/dvd-slideshow-examples-0.8.0-1/complete/my_pictures/flower1.jpg:5:flower1.jpg crossfade:1 /var/stage/dvd-slideshow-examples-0.8.0-1/complete/my_pictures/flower2.jpg:5:flower2.jpg crossfade:1 /var/stage/dvd-slideshow-examples-0.8.0-1/complete/my_pictures/flower3.jpg:5:flower3.jpg crossfade:1 /var/stage/dvd-slideshow-examples-0.8.0-1/complete/my_pictures/flower4.jpg:5:flower4.jpg fadeout:1 background:2 ######################################### [dir2slideshow] Done! [dir2slideshow] Output file is ./Complete_example.txt +++++ background:0::black background:1 fadein:1 title:5:Complete example background:0::black fadeout:1 background:2 fadein:1 /var/stage/dvd-slideshow-examples-0.8.0-1/complete/my_pictures/flower1.jpg:5:flower1.jpg crossfade:1 /var/stage/dvd-slideshow-examples-0.8.0-1/complete/my_pictures/flower2.jpg:5:flower2.jpg crossfade:1 /var/stage/dvd-slideshow-examples-0.8.0-1/complete/my_pictures/flower3.jpg:5:flower3.jpg crossfade:1 /var/stage/dvd-slideshow-examples-0.8.0-1/complete/my_pictures/flower4.jpg:5:flower4.jpg fadeout:1 background:2 +++++ [runtest.sh] Executing command: [runtest.sh] dvd-slideshow -n 'test complete' -a '../audio/strojovna_07-TEXEMPO-30s.ogg' -f Complete_example.txt [dvd-slideshow] dvd-slideshow 0.8.0 [dvd-slideshow] Licensed under the GNU GPL [dvd-slideshow] Copyright 2003-2006 by Scott Dylewski [dvd-slideshow] [dvd-slideshow] Output directory not specified. [dvd-slideshow] Using /var/stage/dvd-slideshow-examples-0.8.0-1/complete [dvd-slideshow] Parsing input file Complete_example.txt [dvd-slideshow] ########################################################### [dvd-slideshow] Found 4 images. [dvd-slideshow] Found 1 audio files. [dvd-slideshow] Found 3 background slides. [dvd-slideshow] Found 1 title slides. [dvd-slideshow] Found 7 transitions (fadein/fadeout/crossfade/wipe). [dvd-slideshow] Video: NTSC 720x480 29.97fps 4:3 [dvd-slideshow] Audio: AC3 48000 192 [dvd-slideshow] Debug=0 Autocrop=0 Subtitles=dvd Border=0 [dvd-slideshow] Title_font=.../lib/X11/fonts/urwfonts-ttf/n019004l.ttf [dvd-slideshow] Subtitle_font=.../lib/X11/fonts/urwfonts-ttf/n019004l.ttf [dvd-slideshow] Decoding command-line passed audio files... [dvd-slideshow] Decoding ogg audio: ../audio/strojovna_07-TEXEMPO-30s.ogg [dvd-slideshow] Total audio length = 0:0:30.000 [dvd-slideshow] Total video length = 0:0:30.000 [dvd-slideshow] Output filename is test_complete [dvd-slideshow] Temp dir is ....8.0-1/complete/dvd-slideshow_temp_37205 [dvd-slideshow] Creating black background [dvd-slideshow]############################################################ [dvd-slideshow] Creating black background [dvd-slideshow]############################################################ [dvd-slideshow] background 0:0:1.000 [dvd-slideshow] Displaying background black [dvd-slideshow]############################################################ [dvd-slideshow] Applying Fadein to next image 0:0:1.000 [dvd-slideshow]########################################################### [dvd-slideshow] Title 0:0:5.000 [dvd-slideshow] Title=Complete example [dvd-slideshow]############################################################ [dvd-slideshow] Creating black background [dvd-slideshow]############################################################ [dvd-slideshow] Doing fadeOUT to background.... [dvd-slideshow] Applying Fadeout to previous image 0:0:1.000 [dvd-slideshow]########################################################### [dvd-slideshow] background 0:0:2.000 [dvd-slideshow] Displaying background black [dvd-slideshow]############################################################ [dvd-slideshow] Applying Fadein to next image 0:0:1.000 [dvd-slideshow]########################################################### [dvd-slideshow] 1/4 ...0.8.0-1/complete/my_pictures/flower1.jpg 0:0:5.000 [dvd-slideshow] Subtitle= flower1.jpg [dvd-slideshow]############################################################ [dvd-slideshow] Applying Crossfade between images 0:0:1.000 [dvd-slideshow]######################################################### [dvd-slideshow] 2/4 ...0.8.0-1/complete/my_pictures/flower2.jpg 0:0:5.000 [dvd-slideshow] Subtitle= flower2.jpg [dvd-slideshow]############################################################ [dvd-slideshow] Applying Crossfade between images 0:0:1.000 [dvd-slideshow]######################################################### [dvd-slideshow] 3/4 ...0.8.0-1/complete/my_pictures/flower3.jpg 0:0:5.000 [dvd-slideshow] Subtitle= flower3.jpg [dvd-slideshow]############################################################ [dvd-slideshow] Applying Crossfade between images 0:0:1.000 [dvd-slideshow]######################################################### [dvd-slideshow] 4/4 ...0.8.0-1/complete/my_pictures/flower4.jpg 0:0:5.000 [dvd-slideshow] Subtitle= flower4.jpg [dvd-slideshow]############################################################ [dvd-slideshow] Doing fadeOUT to background.... [dvd-slideshow] Applying Fadeout to previous image 0:0:1.000 [dvd-slideshow]########################################################### [dvd-slideshow] background 0:0:2.000 [dvd-slideshow] Displaying background black [dvd-slideshow]############################################################ [dvd-slideshow] waiting for encoder to finish... [dvd-slideshow]##################################### [dvd-slideshow] Processing command-line audio... [dvd-slideshow] Working on track 1 audio file 0 [dvd-slideshow] ../audio/strojovna_07-TEXEMPO-30s.ogg [dvd-slideshow] fade_in_time=0:0:3.000 fade_out_time=0:0:3.000 [dvd-slideshow] total_audio_length=0:0:30.000 [dvd-slideshow] ############### [dvd-slideshow] Creating ac3 audio for ../audio/strojovna_07-TEXEMPO-30s.ogg... [dvd-slideshow]############################################################ [dvd-slideshow] Multiplexing audio and video... [dvd-slideshow]############################################################ [dvd-slideshow] total chapters=5 [dvd-slideshow] chapter markers at 0,0:0:9.009,0:0:13.513,0:0:18.485,0:0:23.490 [dvd-slideshow]############################################################ [dvd-slideshow] cleanup... [dvd-slideshow] More extensive logfile output is at: [dvd-slideshow] /var/stage/dvd-slideshow-examples-0.8.0-1/complete/dvd-slideshow.log [dvd-slideshow] Done! [dvd-slideshow] use one of the following comands to view your output: [dvd-slideshow] xine -g -u 0 "/var/stage/dvd-slideshow-examples-0.8.0-1/complete/test_complete.vob" [dvd-slideshow] mplayer -sid 0 "/var/stage/dvd-slideshow-examples-0.8.0-1/complete/test_complete.vob" [runtest.sh] Executing command: [runtest.sh] dvd-menu -t 'My example' -t 'Slideshow 2' -f test_complete.xml -f test_complete.xml -n 'Complete Example DVD' [dvd-menu] dvd-menu 0.8.0 [dvd-menu] Licensed under the GNU GPL [dvd-menu] Copyright 2003-2006 by Scott Dylewski [dvd-menu] [dvd-menu] Output directory not specified. [dvd-menu] Using /var/stage/dvd-slideshow-examples-0.8.0-1/complete [dvd-menu] Deleting existing AUDIO_TS and VIDEO_TS directories... [dvd-menu] Final dvd filesystem is in /var/stage/dvd-slideshow-examples-0.8.0-1/complete/dvd_fs [dvd-menu] Video: NTSC 720x480 29.97 [dvd-menu] Audio: AC3 128 48000 [dvd-menu] buttons=2 [dvd-menu] ################################### [dvd-menu] Creating menu [dvd-menu] Creating background image gradient [dvd-menu] Creating white title mask [dvd-menu] Creating title: Complete Example DVD [dvd-menu] title justified NorthWest [dvd-menu] Creating white button mask [dvd-menu] Title=My example [dvd-menu] adding title button My example at 360 , 185 [dvd-menu] setting button mask l,r,t,b = 360 710 185 211 [dvd-menu] Title=Slideshow 2 [dvd-menu] adding title button Slideshow 2 at 360 , 211 [dvd-menu] setting button mask l,r,t,b = 360 710 211 237 [dvd-menu] creating silent audio track [dvd-menu] Creating ac3 audio... [dvd-menu] mplexing the files............. [dvd-menu] ############################################### [dvd-menu] spumuxing the files............. [dvd-menu] sequencefile=test_complete.xml [dvd-menu] sequencefile=test_complete.xml [dvd-menu] ############################## [dvd-menu] Running dvdauthor... DVDAuthor::dvdauthor, version 0.6.14. Build options: gnugetopt iconv freetype Send bugs to INFO: Locale=C INFO: Converting filenames to US-ASCII INFO: dvdauthor creating VTS STAT: Picking VTS 01 STAT: Processing /var/stage/dvd-slideshow-examples-0.8.0-1/complete/test_complete.vob... STAT: VOBU 64 at 5MB, 2 PGCS INFO: Video pts = 0.133 .. 30.096 INFO: Audio[0] pts = 0.133 .. 30.117 INFO: Audio[32] pts = 9.142 .. 27.127 STAT: VOBU 77 at 6MB, 2 PGCS INFO: Generating VTS with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: ntsc INFO: Aspect ratio: 4:3 INFO: Resolution: 720x480 INFO: Audio ch 0 format: ac3/6ch, 48khz drc STAT: fixed 77 VOBUS INFO: dvdauthor creating table of contents INFO: Scanning /var/stage/dvd-slideshow-examples-0.8.0-1/complete/dvd_fs/VIDEO_TS/VTS_01_0.IFO INFO: Creating menu for TOC STAT: Processing /var/stage/dvd-slideshow-examples-0.8.0-1/complete/menu.vob... INFO: Video pts = 0.133 .. 0.800 INFO: Audio[0] pts = 0.133 .. 1.125 INFO: Audio[32] pts = 0.133 .. 0.133 STAT: VOBU 2 at 0MB, 1 PGCS INFO: Generating VMGM with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: ntsc INFO: Aspect ratio: 4:3 INFO: Resolution: 720x480 INFO: Audio ch 0 format: ac3/6ch, 48khz drc STAT: fixed 2 VOBUS [dvd-menu] dvdauthor ran ok. See logfile for details. [dvd-menu] cleanup... [dvd-menu] Output directory is /var/stage/dvd-slideshow-examples-0.8.0-1/complete [dvd-menu] Logfile output is at /var/stage/dvd-slideshow-examples-0.8.0-1/complete/dvd-menu.log [dvd-menu] The dvd filesystem is /var/stage/dvd-slideshow-examples-0.8.0-1/complete/dvd_fs [dvd-menu] [dvd-menu] You can play this video using one of the following commands: [dvd-menu] xine -g -u 0 dvd:"/var/stage/dvd-slideshow-examples-0.8.0-1/complete/dvd_fs" [dvd-menu] [dvd-menu] or, if you just want to watch the videos without the menus: [dvd-menu] mplayer -sid 0 dvd:// -dvd-device /var/stage/dvd-slideshow-examples-0.8.0-1/complete/dvd_fs [dvd-menu] Done! FreeBSD1(ad4)/ttyp0/root: This is xine (X11 gui) - a free video player v0.99.5. (c) 2000-2007 The xine Team. libdvdread: Using libdvdcss version 1.2.9 for DVD access libdvdread: Couldn't find device name. AFD changed from -2 to - --------------040507080201090403090102 Content-Type: text/plain; name="dvd-menu.udiffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dvd-menu.udiffs" --- dvd-menu.orig 2007-01-13 22:57:46.000000000 -0600 +++ dvd-menu 2007-09-02 22:46:25.000000000 -0500 @@ -804,8 +804,8 @@ subtitle_code="EN" # define some possible fonts: -font_dir="/usr/share/fonts/" -default_font1='n019004l.pfb' # helvetica bold URW fonts +font_dir="/usr/local/lib/X11/fonts/" +default_font1='n019004l.ttf' # helvetica bold URW fonts default_font2='helb____.ttf' # helvetica bold truetype ## other cool colors: cadetblue cornflowerblue midnightblue @@ -1577,9 +1577,9 @@ checkforprog ffmpeg echo "[dvd-menu] Creating ac3 audio..." check_rm "$tmpdir/audio.ac3" - ffmpeg -i "$tmpdir/audio.wav" -vn -y -ab 192 -acodec ac3 -ar $audio_sample_rate -ac 6 "$tmpdir/audio.ac3" >> "$logfile" 2>&1 + ffmpeg -i "$tmpdir/audio.wav" -vn -y -ab 192k -acodec ac3 -ar $audio_sample_rate -ac 6 "$tmpdir/audio.ac3" >> "$logfile" 2>&1 if [ "$fadein" -eq 1 ] || [ "$fadeout" -eq 1 ] ; then - ffmpeg -i "$tmpdir/fade_audio.wav" -vn -y -ab 192 -acodec ac3 -ar $audio_sample_rate -ac 6 "$tmpdir/fade_audio.ac3" >> "$logfile" 2>&1 + ffmpeg -i "$tmpdir/fade_audio.wav" -vn -y -ab 192k -acodec ac3 -ar $audio_sample_rate -ac 6 "$tmpdir/fade_audio.ac3" >> "$logfile" 2>&1 fi else ## toolame is way faster! (3x in my test) --------------040507080201090403090102 Content-Type: text/plain; name="dir2slideshow.udiffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dir2slideshow.udiffs" --- dir2slideshow.orig 2006-12-21 00:43:48.000000000 -0600 +++ dir2slideshow 2007-09-02 20:20:34.000000000 -0500 @@ -633,8 +633,11 @@ check_rm "$output_dir"/filelist_date.txt for (( i=1 ; i<=pictures ; i++ )) ; do file=`sed -n "$i"p "$output_dir"/imagelist.txt` - modified_day=`ls -l --full-time "$file" | awk '{print $6}'` - modified_time=`ls -l --full-time "$file" | awk '{print $7}'` + modified_day=`ls -lT "$file" | awk '{print $9"-"$6"-"$7}'` + modified_day=`date -j -f "%Y-%b-%d" "$modified_day" "+%Y-%m-%d"` + modified_time=`ls -lT "$file" | awk '{print $8}' +## modified_day=`ls -l --full-time "$file" | awk '{print $6}'` +## modified_time=`ls -l --full-time "$file" | awk '{print $7}'` # echo "modified_day=$modified_day" # echo "modified_time=$modified_time" echo "$file: $modified_day $modified_time" >> "$output_dir"/filelist_date.txt --------------040507080201090403090102--