[MPlayer-users] mencoder ignores -af ?

Martin Emrich martin at emmerator.dyndns.org
Sat Jan 3 22:40:39 CET 2004


Am Sa, den 03.01.2004 schrieb Corey Hickey um 21:28:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Martin Emrich wrote:

> Just out of curiosity, why are you doing that? If the audio is low
> quality, re-encoding will only make it worse.

I have several short videos of a party, made with a Canon digital
camera, and I want to put all of them on SVCD, but I doubt that a
standalone DVD player likes 11024Hz audio. This video is a very old
comic clip with a similar audio format, which shows the same symptoms (I
certainly won't upload the party clips to ftp unless _really_ necessary
;-) (heavy beer usage involved...)

> By the way, an easy way to redirect stdout and stderr to a file is to
> use "mencoder blahblahblah &>mplayer-bug-output.txt"

Thanks!

> > (I tried with "format=2,unsignedintle", too).
> > It exits with the error "Couldn't open codec mp2, br=224"
> > 
> > I suspect that the -af command is ignored, and libavcodec doesn't like
> > 8bit audio. If it's user error (wrong commandline), please give me a
> > hint, otherwise, a full bugreport and the video is already waiting for
> > upload ;-)
> 
> Can you at least give us the text mplayer outputs, but only with one -v,
> please :). 

Sure:

MEncoder dev-CVS-040103-06:00-3.3.3 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1540 MHz
(Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading /home/martin/.mplayer/codecs.conf: Can't open
'/home/martin/.mplayer/codecs.conf': Datei oder Verzeichnis nicht
gefunden
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': Datei oder Verzeichnis nicht
gefunden
Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/martin/.mplayer/mencoder: Datei oder
Verzeichnis nicht gefunden
init_freetype
get_path('font/font.desc') -> '/home/martin/.mplayer/font/font.desc'
Font /home/martin/.mplayer/font/font.desc loaded successfully! (206
chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 1139906 bytes
STREAM: [file] /home/martin/files/videos/Sonstiges/Blindhai.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x1164C2
AVI file format detected.
list_end=0x148
======= AVI Header =======
us/frame: 66667  (fps=15,000)
max bytes/sec: 29150
padding: 0
MainAVIHeader.dwFlags: (16) HAS_INDEX
frames  total: 329   initial: 11
streams: 2
Suggested BufferSize: 32768
Size:  160 x 120
==========================
list_end=0xDC
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: cvid (64697663)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 15/1 = 15,000
Start: 0   Len: 329
Suggested BufferSize: 57600
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 160
  biHeight 120
  biPlanes 1
  biBitCount 24
  biCompression 1684633187='cvid'
  biSizeImage 14400
===========================
list_end=0x148
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 11
Rate: 22050/1 = 22050,000
Start: 0   Len: 483623
Suggested BufferSize: 22054
Quality 10000
Sample size: 1
==========================
found 'wf', 16 bytes of 18
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 22050
avg byte/sec: 22050
Block align: 1
bits/sample: 8
cbSize: 0
===========================
Broken chunk?  chunksize=3748  (id=JUNK)
list_end=0x114D86
Found movie at 0x1000 - 0x114D86
Reading INDEX block, 351 chunks for 329 frames (fpos=0x114d8e)
list_end=0x11645A
list_end=0x1164C2
AVI index offset: 0xFFC (movi=0x1000 idx0=0x4 idx1=0x562E)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=643430 (329) audio size=483623 (483623)
VIDEO:  [cvid]  160x120  24bpp  15,000 fps  234,7 kbps (28,6 kbyte/s)
[V] filefmt:3  fourcc:0x64697663  size:160x120  fps:15,00  ftime:=0,0667
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 22050 Hz, 1 ch, 8 bit (0x8), ratio: 22050->22050 (176,4 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Couldn't open codec mp2, br=224
videocodec: framecopy (160x120 24bpp fourcc=64697663)

Ciao

Martin




More information about the MPlayer-users mailing list