VideoHelp Forum




Results 1 to 2 of 2
  1. I'm trying to mux an mpeg 1 file with a wav audio file. This isn't for a vcd, its for online viewing and the codec has to be mpeg1.

    I load my encoded m1v file into video tools, then my wav file. I click "mux as " mpeg-1,

    Code:
     Input #0, wav, from '/Users/tomkerr/Desktop/final/2004-09.wav':
      Duration: 00:00:09.9, bitrate: 88 kb/s
      Stream #0.0: Audio: pcm_u8, 11025 Hz, mono, 88 kb/s
    Output #0, mp2, to '/Users/tomkerr/Desktop/final/2004-09.wav.mp2':
    ffmpeg version 0.4.9-pre1, build 4721, Copyright (c) 2000-2004 Fabrice Bellard
      built on Sep  2 2004 08:23:45, gcc: 3.3 20030304 (Apple Computer, Inc. build 1666)
      Stream #0.0: Audio: mp2, 11025 Hz, stereo, 224 kb/s
    Stream mapping:
      Stream #0.0 -> #0.0
    [mp2 @ 0x331210]Sampling rate 11025 is not allowed in mp2
    Error while opening codec for stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    Thanks for any help


    EDIT: I'm trying to encde a movie for 10secondclub.net, its a monthly animtion contest. Entries are due in about 12 hours so ANY suggestions at all would be welcome.

  2. As the error messages said, a sampling rate of 11025Hz is not allowed in mp2. So, convert your WAV file to mp2 by using the "Audio to mp2" quick preset, but with a sampling rate of 44100 Hz. Then use the resulting file to mux with your video.




Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!