Menu

#4 Adding menu soundtrack fails with error message

open
nobody
None
5
2007-03-11
2007-03-11
No

Whenever I try to add a menu soundtrack using the DVD Author Wizard I get a message saying "Your version of Sox could not read the file..."

The message in DebugOutput is as follows:

sox raw: '-': # channels not specified; trying mono
sox wav: Length in output .wav header will be wrong since can't seek to fix it
INFO: [mp2enc] Opened WAV file, freq = 48000 Hz, channels = 1, bits = 16
INFO: [mp2enc] format = 0x1, audio length = 2147479552 bytes
INFO: [mp2enc] SpF=384, frac SpF=0.000, bitrate=128 kbps, sfreq=48.0 kHz
INFO: [mp2enc] System is little endian

I have tried using .mp3/44100Hz, mp3/48000Hz, mp2/48000Hz and .wav files for the menu soundtrack but the message is always the same regardless of input file format. The wizard then goes ahead and writes a silent soundtrack file.

Discussion

  • Rodney Baker VK5ZTV

    Logged In: YES
    user_id=1557582
    Originator: YES

    BTW, I compiled sox myself so I know that the formats that I've tried to use are supported. I have also run sox from the command line to manually produce the soundtrack.mp2 file from the files that I've tried to use - sox is working fine, it seems that DVD Author is not calling it correctly.

     
  • Dik Takken

    Dik Takken - 2007-03-11

    Logged In: YES
    user_id=932334
    Originator: NO

    Are you using a very old or very new version of sox? This is the first time I hear about a problem with sox, so there must be something strange about your setup...

    By the way, I use sox to produce raw sound streams, and encode to MP2 using a special purpose encoder. Apparently, decoding to raw goes wrong on your system.

     
  • Rodney Baker VK5ZTV

    Logged In: YES
    user_id=1557582
    Originator: YES

    I'm using Sox 13.0.0 (had the same problem with 12.8.2) locally compiled on FC6 and installed in /usr/bin. Shouldn't be anything strange about that...

    I did the following in a terminal window...

    sox -v 0.9 -c 2 photos.mp2 -r 48000 -t raw -s -w -c 2 photos.raw

    ...and it worked.

    I then converted photos.raw to photos_next.mp2 using "sox -r 48000 -w -s -t raw -c 2 photos.raw -r 48000 -c 2 photos_next.mp2" and that worked too. I could play back the file in mplayer with no problems.

    So, it would seem that sox is working OK, able to encode and decode raw audio files as expected. What parameters are you passing to sox from DVDAuthor?

     

Log in to post a comment.

MongoDB Logo MongoDB