[MPlayer-users] error with mencoder 3pass with input from a pipe

Steve Stavropoulos steve at math.upatras.gr
Sat Mar 2 03:47:01 CET 2002


 First comes the audio encoding, which is completed with absolute success.

 The pass 1 gives a
demux: file doesn't contain the selected audio or video stream [31:31]
after about 71 frames.

 I have tried with input from a pipe, but I tested and with file input and
the same thing happens.

 I have attached the logs.

 Is this a bug? A misconfiguration from my side? I did everything that was
said in the docs.
-------------- next part --------------
[steve at Paradise The_Patriot]$ (head -c 2027593728 /mnt/tmp/dripcache_01_0.vob && head -c 734003200 /mnt/tmp/dripcache_01_1.vob ) | mencoder -aid 128 -ovc  frameno  -oac mp3lame -o /mnt/tmp/frameno.avi -lameopts q=7:vbr=2 -


MEncoder CVS-020228-21:14-3.0.1 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

Reading /home/steve/.mplayer/codecs.conf: can't open '/home/steve/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 29 audio & 79 video codecs
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Type: 6, Stepping: 2)
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Not an URL!
File not found: 'frameno.avi'
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
header block 1 size: 0
Detected MPEG-PS file format!
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  12250.0 kbps (1531.2 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected audio codec: [a52] drv:14 (AC3-liba52)
No accelerated IMDCT transform found
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 56000->192000
MP3 audio selected
Writing AVI header...
Pos:   0.9s     22f ( 0%)   0fps Trem:   0min   0mb  A-V:0.084 [0:31]
skip frame!!!    
Pos:   1.3s     34f ( 0%)   0fps Trem:   0min   0mb  A-V:0.080 [0:31]
skip frame!!!    
Pos:   7.9s    200f ( 0%)  47fps Trem:   0min   0mb  A-V:-0.081 [0:43]
duplicate 1 frame(s)!!!    
Pos:   8.6s    216f ( 0%)  42fps Trem:   0min   0mb  A-V:-0.081 [0:47]
duplicate 1 frame(s)!!!    
a52: CRC check failed!  )  18fps Trem:   0min   0mb  A-V:-0.054 [0:106]
a52: error at resampling
a52: CRC check failed!  )  18fps Trem:   0min   0mb  A-V:-0.014 [0:107]
Pos:4722.2s 118056f ( 0%)  18fps Trem:   0min   0mb  A-V:-0.071 [0:107]
Writing AVI index...
Fixup AVI header...
Recommended video bitrate for 650MB CD: 1033
Recommended video bitrate for 700MB CD: 1122
Recommended video bitrate for 800MB CD: 1300

Video stream:    0.800 kbit/s  (99 bps)  size: 472216 bytes  4722.240 secs  118056 frames

Audio stream:  107.192 kbit/s  (13398 bps)  size: 63279960 bytes  4722.744 secs

*** free_stream() called ***
-------------- next part --------------
[steve at Paradise The_Patriot]$ (head -c 2027593728 /mnt/tmp/dripcache_01_0.vob && head -c 734003200 /mnt/tmp/dripcache_01_1.vob ) | mencoder -ovc divx4 -oac copy -divx4opts br=1033 -x 640 -y 360 -sws 2 -pass 1 -o /mnt/tmp/The_Patriot-cd1.avi -                 


MEncoder CVS-020228-21:14-3.0.1 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

Reading /home/steve/.mplayer/codecs.conf: can't open '/home/steve/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 29 audio & 79 video codecs
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Type: 6, Stepping: 2)
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Not an URL!
Detected AVI file format!
list_end=0x146
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
list_end=0xD4
list_end=0x146
list_end=0x3F33EA4
VIDEO:  [FrNo]  0x0  24bpp  25.00 fps  107.7 kbps (13.1 kbyte/s)
Using pass3 control file: frameno.avi
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
header block 1 size: 0
Detected MPEG-PS file format!
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  12250.0 kbps (1531.2 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMX for IDCT transform
libmpeg2: Using MMX for motion compensation
Divx: 2-pass logfile: divx2pass.log
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 bps=13399 sample=0)
Writing AVI header...

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX
Pos:   0.9s     22f ( 0%)  10fps Trem:   0min   0mb  A-V:0.000 [0:31]
skip frame!!!    
Pos:   1.3s     34f ( 0%)  10fps Trem:   0min   0mb  A-V:0.000 [38:31]
skip frame!!!    
demux: file doesn't contain the selected audio or video stream [31:31]

Writing AVI index...
Fixup AVI header...

Video stream:   31.101 kbit/s  (3887 bps)  size: 10730 bytes  2.760 secs  71 frames

Audio stream:   32.000 kbit/s  (4000 bps)  size: 13056 bytes  3.264 secs

*** free_stream() called ***
head: write error: Broken pipe


More information about the MPlayer-users mailing list