Bug#750626: dvd-slideshow: No video output due to deprecated commands

Theppitak Karoonboonyanan thep at debian.org
Thu Jun 5 06:11:28 UTC 2014


Package: dvd-slideshow
Version: 0.8.4.2-2
Severity: grave
Tags: patch

Dear Maintainer,

With this minimal test case:

---8<---
$ cat > test <<EOT
title:5:The Title
EOT
$ dvd-slideshow -V 2 -mp4 test
[dvd-slideshow]            dvd-slideshow 0.8.4-1
[dvd-slideshow]            Licensed under the GNU GPL
[dvd-slideshow]            Copyright 2003-2011 by Scott Dylewski
[dvd-slideshow]            
[dvd-slideshow] Using default slideshow name: test
[dvd-slideshow] Output directory not specified.
[dvd-slideshow] Using /home/thep/tmp/dvd-slideshow
[dvd-slideshow] Parsing input file test
[dvd-slideshow] ####################
[dvd-slideshow] Found 0 images.
[dvd-slideshow] Found 0 audio files.
[dvd-slideshow] Found 0 background slides.
[dvd-slideshow] Found 1 title slides.
[dvd-slideshow] Found 0 transitions (fadein/fadeout/crossfade/wipe).
[dvd-slideshow] sq_to_dvd_pixels=100.00x100%
[dvd-slideshow] Video: NTSC 320x240 29.97fps 4:3
[dvd-slideshow] Audio: AC3 44100 128k
[dvd-slideshow] Debug=2  Autocrop=0 Subtitles=dvd Border=0
[dvd-slideshow] Using SMP optimizations for multi-processor machines
[dvd-slideshow] Title_font=...r/share/fonts/type1/gsfonts/n019004l.pfb
[dvd-slideshow] Subtitle_font=...r/share/fonts/type1/gsfonts/n019004l.pfb
[dvd-slideshow] Running initial error check...
line 3 file=title duration=5 subtitle=The Title effect1=
[dvd-slideshow] Total audio length = 
[dvd-slideshow] Total video length = 0:0:5.000
[dvd-slideshow] Temp dir is ...mp/dvd-slideshow/dvd-slideshow_temp_2068
[dvd-slideshow] Exporting .mp4 file
[dvd-slideshow] Creating black background
[dvd-slideshow]############################################################
[dvd-slideshow] start_frame_number=0 start_time=0:0:0.000
[dvd-slideshow] Title 0:0:5.000
[dvd-slideshow]         Title=The Title
[dvd-slideshow] rendered_frames=150
[dvd-slideshow] end_frame_number=150 end_time=0:0:5.000
[dvd-slideshow]############################################################
[dvd-slideshow] subtitle_start=0:0:0.000 subtitle_end=0:0:5.000
[dvd-slideshow] waiting for encoder to finish...
[dvd-slideshow]#####################################
[dvd-slideshow] No audio files passed. Using 0:0:5.000 silence.
[dvd-slideshow] Working on track 1 audio file 1
[dvd-slideshow] silence
[dvd-slideshow] Creating silence audio file for 0:0:5.000
sox WARN sox: Option `-s' is deprecated, use `-e signed-integer' instead.
sox WARN sox: Option `-2' is deprecated, use `-b 16' instead.
sox WARN sox: Option `-2' is deprecated, use `-b 16' instead.
sox WARN sox: Option `-s' is deprecated, use `-e signed-integer' instead.
[dvd-slideshow] This audio plays in slideshow from 0:0:0.000 to 0:0:5.000
[dvd-slideshow] Actual length of .raw file=0:0:5.000
[dvd-slideshow] ###############
[dvd-slideshow] Converting all track 1 audio files...
sox WARN sox: Option `-2' is deprecated, use `-b 16' instead.
sox WARN sox: Option `-s' is deprecated, use `-e signed-integer' instead.
soxi FAIL formats: can't open input file `-D': No such file or directory
(standard_in) 2: syntax error
(standard_in) 2: illegal character: I
(standard_in) 2: illegal character: :
(standard_in) 2: illegal character: '
(standard_in) 2: syntax error
(standard_in) 2: illegal character: '
(standard_in) 3: syntax error
(standard_in) 3: illegal character: :
(standard_in) 4: illegal character: S
(standard_in) 4: illegal character: R
(standard_in) 4: syntax error
(standard_in) 4: illegal character: :
(standard_in) 5: illegal character: P
(standard_in) 5: illegal character: :
(standard_in) 5: syntax error
(standard_in) 6: syntax error
(standard_in) 6: illegal character: :
(standard_in) 6: illegal character: :
(standard_in) 6: illegal character: :
(standard_in) 6: syntax error
(standard_in) 7: syntax error
(standard_in) 7: illegal character: S
(standard_in) 7: illegal character: :
(standard_in) 8: syntax error
(standard_in) 8: illegal character: R
(standard_in) 8: illegal character: :
(standard_in) 8: illegal character: M
(standard_in) 9: illegal character: S
(standard_in) 9: syntax error
(standard_in) 9: illegal character: :
(standard_in) 9: illegal character: S
(standard_in) 9: syntax error
(standard_in) 9: illegal character: I
(standard_in) 9: illegal character: P
(standard_in) 9: illegal character: M
[dvd-slideshow] Actual length of .raw file=
[dvd-slideshow] ERROR: no output .mp4 file found!
[dvd-slideshow] This usually happens when avconv screws up something
[dvd-slideshow] or one image is messed up and the resulting video can't be created
[dvd-slideshow]############################################################
[dvd-slideshow] Multiplexing audio and video...
[dvd-slideshow] Adding audio to .mp4 file
mv: cannot stat '/home/thep/tmp/dvd-slideshow/dvd-slideshow_temp_2068/video1.mp4': No such file or directory
[dvd-slideshow]############################################################
[dvd-slideshow] Non-DVD mode: not running spumux
[dvd-slideshow] total chapters=1
[dvd-slideshow] chapter markers at 0
[dvd-slideshow]############################################################
[dvd-slideshow] cleanup...
[dvd-slideshow] Total runtime was 2 seconds
[dvd-slideshow] More extensive logfile output is at:
[dvd-slideshow] /home/thep/tmp/dvd-slideshow/test.log
[dvd-slideshow] Done!

[dvd-slideshow] use one of the following comands to view your output:
[dvd-slideshow] totem "/home/thep/tmp/dvd-slideshow/test.mp4"
[dvd-slideshow] vlc "/home/thep/tmp/dvd-slideshow/test.mp4"
[dvd-slideshow] xine -g "/home/thep/tmp/dvd-slideshow/test.mp4"
[dvd-slideshow] mplayer "/home/thep/tmp/dvd-slideshow/test.mp4"
 
$
---8<---

And there is no test.mp4 output as the result.

The problems are:

1. [severe] Failure on soxi -D invokation:

soxi FAIL formats: can't open input file `-D': No such file or directory
(standard_in) 2: syntax error
(standard_in) 2: illegal character: I
(standard_in) 2: illegal character: :
(standard_in) 2: illegal character: '
...

Reordering 'soxi "$1" -D' to 'soxi -D "$1"' makes it work.

2. [trivial] Warnings on deprecated options:

sox WARN sox: Option `-2' is deprecated, use `-b 16' instead.
sox WARN sox: Option `-s' is deprecated, use `-e signed-integer' instead.

sox's changelog says the options were deprecated after the release of 14.4.0.
So, using the new options when sox >= 14.4.0 is found silences the warnings.

3. [severe] Failure on avconv, after above issues are fixed, due to
deprecated '-loop_input' option. From test.log:

[dvd-slideshow]############################################################
[dvd-slideshow] start_frame_number=0 start_time=0:0:0.000
[dvd-slideshow] Title 0:0:5.000
[dvd-slideshow]         Title=The Title
avconv version 10.1-6:10.1-1, Copyright (c) 2000-2014 the Libav developers
  built on May 11 2014 16:36:24 with gcc 4.8 (Debian 4.8.2-21)
Unrecognized option 'loop_input'.
Error splitting the argument list: Option not found
[dvd-slideshow] end_frame_number=150 end_time=0:0:5.000
[dvd-slideshow]############################################################

Replacing '-loop_input' option with '-loop 1' fixes the problem.

The attached patch summarizes the fixes for the above issues.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=th_TH.UTF-8, LC_CTYPE=th_TH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dvd-slideshow depends on:
ii  dvdauthor         0.7.0-1.2
ii  gsfonts           1:8.11+urwcyr1.0.7~pre44-4.2
ii  imagemagick       8:6.7.7.10+dfsg-3
ii  libav-tools       6:10.1-1
ii  libavcodec-extra  6:10.1-1
ii  mjpegtools        1:2.1.0+debian-2.1
ii  netpbm            2:10.0-15+b2
ii  sox               14.4.1-4
ii  vorbis-tools      1.4.0-1

Versions of packages dvd-slideshow recommends:
ii  jhead    1:2.97-1
ii  lame     3.99.5+repack1-3
ii  twolame  0.3.13-1

dvd-slideshow suggests no packages.

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvd-slideshow-commands.patch
Type: text/x-diff
Size: 16566 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140605/e9181031/attachment-0001.patch>


More information about the pkg-multimedia-maintainers mailing list