[MPlayer-advusers] [BUG] cannot use -nosound with multiple input files in mencoder

Oded Shimon ods15 at ods15.dyndns.org
Sat Sep 10 22:40:10 CEST 2005


On Sat, Sep 10, 2005 at 03:49:02PM -0400, compn wrote:
> $ mencoder 1.avi 2.avi -nosound -ovc lavc -o test.avi
> MEncoder dev-Fedora-GS-CVS-050820-19:40-3.3.2 (C) 2000-2005 MPlayer Team
> CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
> Detected cache-line size is 64 bytes
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
> 
> File not found: 'frameno.avi'
> Failed to open frameno.avi
> 
> success: format: 0  data: 0x0 - 0x5f3000
> AVI file format detected.
> VIDEO:  [DIV3]  320x240  24bpp  25.000 fps  461.4 kbps (56.3 kbyte/s)
> VIDEO:  [DIV3]  320x240  24bpp  25.000 fps  461.4 kbps (56.3 kbyte/s)
> [V] filefmt:3  fourcc:0x33564944  size:320x240  fps:25.00  ftime:=0.0400
> 
> No audio encoder (-oac) selected. Select one (see -oac help) or use -nosound.
> 
> Exiting...

PEBCAK, RTFM: It's not a bug, it's a documented feature!

mencoder [global options] file1 [specific options] [file2] [specific options]

Note '_specific_ options'. :) '-nosound' only applied to 2.avi, 1.avi still 
have sound...

(Actually, this possibly raises another bug.. with -oac copy, MEncoder 
should STILL complain that 2.avi has no sound but 1.avi does, but I'm not 
sure if I ever added such a check... /me checks).

Bleh, seems like it creates a broken file. :(
I should fix this...

- ods15




More information about the MPlayer-advusers mailing list