[MEncoder-users] Convert Quicktime file to MPEG for DVD--Garbled Audio

emell at pathcom.com emell at pathcom.com
Tue Aug 8 02:29:33 CEST 2006


I've beeng trying to convert some quicktime .MOV files from my digital 
camera to MPEG for dvdauthor to use.

I've tried lots of variations of the recommended command:
  mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf 
scale=720:480,\
  harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:\
  vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:\
  abitrate=192:aspect=16/9 -ofps 30000/1001 \
  -o movie.mpg movie.MOV

The program runs, but when I play the output the audio is garbled 
noise. I've tested it on several Linux based players, a Windows player, 
and a standalone player.

I've tried to find the solution from the man file, and form the on-line 
documentation, especially
   http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-selecting-codec.html
   http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-vcd-dvd.html
Unfortunately, no luck.

Mplayer tells me this about the file I start with:
  mplayer -vo dummy -ao dummy -identify Swi mming1.MOV
  MPlayer dev-CVS--3.3.5 (C) 2000-2006 MPlayer Team
  CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, 
Stepping: 6)
  MMX2 supported but disabled
  CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
  Compiled for x86 CPU with extensions: MMX SSE

  Failed to open /dev/rtc: Permission denied (it should be readable by 
the user.)
  Opening joystick device /dev/input/js0
  Can't open joystick device /dev/input/js0: Permission denied
  Can't init input joystick
  Setting up LIRC support...
  mplayer: could not connect to socket
  mplayer: No such file or directory
  Failed to open LIRC support.
  You will not be able to use your remote control.
  Playing Swimming1.MOV.
  Quicktime/MOV file format detected.
  --------------
  MOV track #0: 35 chunks, 525 samples
  ID_VIDEO_ID=0
  Image size: 320 x 240 (24 bpp)
  Display size: 320 x 240
  Fourcc: jpeg  Codec: 'Photo - JPEG'
  --------------
  MOV track #1: 35 chunks, 0 samples
  ID_AUDIO_ID=1
  Audio bits: 8  chans: 1  rate: 7867
  Fourcc: raw
  --------------
  MOV: longest streams: A: #1 (35 samples)  V: #0 (525 samples)
  VIDEO:  [jpeg]  320x240  24bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
  ===================================================================
  Opening audio decoder: [pcm] Uncompressed PCM audio decoder
  AUDIO: 7867 Hz, 1 ch, u8, 62.9 kbit/100.00% (ratio: 7867->7867)
  Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
  ===================================================================
  ID_FILENAME=Swimming1.MOV
  ID_DEMUXER=mov
  ID_VIDEO_FORMAT=jpeg
  ID_VIDEO_BITRATE=0
  ID_VIDEO_WIDTH=320
  ID_VIDEO_HEIGHT=240
  ID_VIDEO_FPS=15.000
  ID_VIDEO_ASPECT=0.0000
  ID_AUDIO_CODEC=pcm
  ID_AUDIO_FORMAT=raw
  ID_AUDIO_BITRATE=62936
  ID_AUDIO_RATE=7867
  ID_AUDIO_NCH=1
  ID_LENGTH=35.00
  Error opening/initializing the selected video_out (-vo) device.

  Exiting... (End of file)

Could I have something setup wrong? Am I using the wrong commands?

I'd appreciate your suggestions.

Endel




More information about the MEncoder-users mailing list