Unable to open file silent.mpa for reading
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| mandvd (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
| Jaunty |
Invalid
|
Medium
|
Unassigned | ||
Bug Description
I get this message right at the end when I click on the ¨Generate DVD structure¨ icon. This message appears when the application is busy doing the ¨Finalization of the project¨.
The log is as follow:
--> Output from generation of menu -------
1920+0 records in
1920+0 records out
7680 bytes (7.7 kB) copied, 0.00189207 s, 4.1 MB/s
Warning: unsupported audio format
jpegtopnm:
WRITING PPM FILE
INFO: [ppmtoy4m] Command-line Parameters:
INFO: [ppmtoy4m] framerate: 25:1
INFO: [ppmtoy4m] pixel aspect ratio: 59:54
INFO: [ppmtoy4m] pixel packing: RGB
INFO: [ppmtoy4m] interlace: top-field-first (interleaved PPM input)
INFO: [ppmtoy4m] starting frame: 0
INFO: [ppmtoy4m] # of frames: 1, or until input exhausted
INFO: [ppmtoy4m] chroma subsampling: 4:2:0 MPEG-2 (horiz. cositing)
INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM!
INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
INFO: [ppmtoy4m] Output Stream parameters:
INFO: [ppmtoy4m] frame size: 720x576 pixels (622080 bytes)
INFO: [ppmtoy4m] chroma: 4:2:0 MPEG-2 (horiz. cositing)
INFO: [ppmtoy4m] frame rate: 25/1 fps (~25.000000)
INFO: [ppmtoy4m] interlace: top-field-first
INFO: [ppmtoy4m] sample aspect ratio: 59:54
INFO: [mpeg2enc] Selecting DVD with dummy navigation packets output profile
INFO: [mpeg2enc] Interlaced input - selecting interlaced encoding.
INFO: [mpeg2enc] Encoding MPEG-2 video to genmenu.m2v
INFO: [mpeg2enc] Horizontal size: 720 pel
INFO: [mpeg2enc] Vertical size: 576 pel
INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display
INFO: [mpeg2enc] Frame rate code: 3 = 25.0 (PAL/SECAM VIDEO / converted FILM)
INFO: [mpeg2enc] Bitrate: 7500 KBit/s
INFO: [mpeg2enc] Quality factor: 8 (Quantisation = 9) (1=best, 31=worst)
INFO: [mpeg2enc] Field order for input: top-field-first
INFO: [mpeg2enc] Sequence unlimited length
INFO: [mpeg2enc] Search radius: 16
INFO: [mpeg2enc] DualPrime: no
INFO: [mpeg2enc] Using one-pass rate controller
INFO: [mpeg2enc] GOP SIZE RANGE 7 TO 15
INFO: [mpeg2enc] Setting colour/gamma parameters to "PAL B/G"
INFO: [mpeg2enc] Progressive format frames = 0
INFO: [mpeg2enc] Using default unmodified quantization matrices
INFO: [mpeg2enc] SETTING MMX and MMX for QUANTIZER!
INFO: [mpeg2enc] NEW GOP INIT length 15
INFO: [mpeg2enc] Signaling last frame = 0
INFO: [mpeg2enc] Enc1 0 0( 0) I q=9.00 [100% Intra]
INFO: [mpeg2enc] Sequence end reached
INFO: [mpeg2enc] Pass2 0 0( 0) I q=10.09 RECODED
INFO: [mpeg2enc] Guesstimated final muxed size = 37802
INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
**ERROR: [mplex] Unable to open file silent.mpa for reading.
DVDAuthor::spumux, version 0.6.14.
Build options: gnugetopt magick iconv freetype
Send bugs to <email address hidden>
INFO: Locale=af_ZA.UTF-8
INFO: Converting filenames to UTF-8
STAT:
0:00:00.000
INFO: Picture survolee.png had 2 colors
INFO: Picture cliquee.png had 2 colors
INFO: Constructing blank img
INFO: Pickbuttongroups, success with 1 groups, useimg=1
INFO: 0 subtitles added, 0 subtitles skipped, stream: 32, offset: -0.00
Statistics:
- Processed 0 subtitles.
- The longest display line had -1 characters.
- The maximum number of displayed lines was 0.
- The normal display height of the font arial.ttf was 0.
- The bottom display height of the font arial.ttf was 0.
- The biggest subtitle box had 0 bytes.
-------
I am using MANDVD v2.5-4 on Kubuntu 9.04
| Changed in mandvd (Ubuntu): | |
| importance: | Undecided → Medium |
| Changed in mandvd (Ubuntu Jaunty): | |
| importance: | Undecided → Medium |

I had the same problem on Ubuntu 9.04. It seems to come from the line
dd if=/dev/zero bs=4 count=1920 | lame -b 128 -s 48 /dev/stdin silent.mpa
in the script menu.sh. Apparently, newer versions of lame need the switch -r to accept raw data
(i.e. without header). Thus,
dd if=/dev/zero bs=4 count=1920 | lame -b 128 -s 48 -r /dev/stdin silent.mpa
or better
dd if=/dev/zero bs=4 count=1920 | lame -b 128 -s 48 -r - silent.mpa
works.
As a workaround, execute the above command in the destination directory before clicking
on the "Generate DVD structure" icon.