[Mplayer-dvb] mencoder only works of begining of a file

Gregoire Favre greg at ulima.unil.ch
Fri Nov 23 22:50:25 CET 2001


Hello,

[greg at localhost 2001-10-12.19:03.50.50.rec]$ ll
total 214M
drwxrwxrwx    2 root     root          352 Nov 23 22:00 ./
drwxr-xr-x    3 root     root           96 Oct 28 00:16 ../
-rw-r--r--    1 root     root         192M Oct 28 00:17 001.vdr
-rw-r--r--    1 greg     greg         255k Nov 23 19:40 analyse.log
-rw-r--r--    1 greg     greg         102k Nov 23 22:06 divx2pass.log
-rwxr-xr-x    1 root     root         621k Oct 14 11:41
EMpgPlay_132.zip*
-rw-r--r--    1 root     root         100k Oct 28 00:17 index.vdr
-rw-r--r--    1 root     root           22 Oct 28 00:17 marks.vdr
-rw-r--r--    1 root     root            4 Oct 28 00:18 resume.vdr
-rw-r--r--    1 root     root           16 Oct 28 00:16 summary.vdr
-rw-r--r--    1 greg     greg          14M Nov 23 19:40 test-1.avi
-rw-r--r--    1 root     root         7.1M Nov 23 22:06 test.avi

test-1.avi made with pass 1 and pass 2, test.avi only with pass 1:

[root at localhost 2001-10-12.19:03.50.50.rec]# mencoder -v -divx4opts br=800 -pp 0x20000 001.vdr -frames 1500 -pass 1


MEncoder CVS-011123-15:32(C) 2000-2001 Arpad Gereoffy (see DOCS!)

Reading /root/.mplayer/codecs.conf: 21 audio & 58 video codecs
File size is 201515676 bytes
success: format: 0  data: 0x0 - 0xC02E29C
ASF_check: not ASF guid!
Checking for MOV
sync_mpeg_ps: seems to be ES/PES stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG packet stats: p100: 227  p101: 223  PES: 2117 
system stream synced at 0x0 (0)!
==> Found video stream: 0
Detected MPEG-PES file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG2  528x576  (aspect 2)  25.00 fps  9975.0 kbps (1246.9 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:528x576  fps:25.00  ftime:=0.0400
Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: Processor ID: 672
mp3lib: Using SSE! optimized decore.
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 16000->192000
Writing AVI header...
LAME version 3.90 (alpha 8, Nov 22 2001 23:05:13) (http://www.mp3dev.org/)
Using polyphase lowpass  filter, transition band: 19548 Hz - 20129 Hz

misc:

	scaling: 0.000000
	ch0 (left) scaling: 0.000000
	ch1 (right) scaling: 0.000000
	filter type: 0
	quantization: xr^3/4
	huffman search: best (outside loop)
	experimental X=0 Y=0 Z=0
	...

stream format:

	MPEG-1 Layer 3
	2 channel - stereo
	padding: auto
	variable bitrate - VBR rh (default)
	...

psychoacoustic:

	tonality estimation limit: 8871.700195 Hz
	using short blocks: allowed
	adjust masking: -1.000000 dB
	psymodel: 1
	noise shaping: 1
	 ^ amplification: 1
	 ^ stopping: 1
	ATH: using
	 ^ type: 4
	 ^ adjust type: 3
	 ^ adapt threshold type: 2
	using temporal masking effect: yes
	...

A:23616.0 V:23615.9 A-V:  0.066 oAV:  0.464 diff: -0.318 ct: -0.084 vpc: -0.084   
duplicate 1 frame(s)!!!    
A:23616.4 V:23616.3 A-V:  0.122 oAV:  0.480 diff: -0.278 ct: -0.124 vpc: -0.084   
duplicate 1 frame(s)!!!    
A:23616.9 V:23616.7 A-V:  0.154 oAV:  0.472 diff: -0.238 ct: -0.164 vpc: -0.084   
duplicate 1 frame(s)!!!    
A:23617.3 V:23617.1 A-V:  0.184 oAV:  0.464 diff: -0.200 ct: -0.204 vpc: -0.084   
duplicate 1 frame(s)!!!    
A:23617.8 V:23617.5 A-V:  0.241 oAV:  0.480 diff: -0.159 ct: -0.244 vpc: -0.084   
duplicate 1 frame(s)!!!    
A:23618.2 V:23617.9 A-V:  0.275 oAV:  0.472 diff: -0.117 ct: -0.284 vpc: -0.084   
duplicate 1 frame(s)!!!    
A:23618.8 V:23618.5 A-V:  0.314 oAV:  0.472 diff: -0.079 ct: -0.323 vpc: -0.083   
duplicate 1 frame(s)!!!    
A:23635.1 V:23634.8 A-V:  0.337 oAV:  0.480 diff: -0.067 ct: -0.360 vpc: -0.080   
duplicate 1 frame(s)!!!    
A:23675.4 V:23675.0 A-V:  0.393 oAV:  0.472 diff: -0.043 ct: -0.360 vpc: -0.040   
Writing AVI index...
Fixup AVI header...
*** free_stream() called ***

Same result on another files:

[root at localhost 2001-10-05.18:54.50.50.rec]# ll
total 88236
-rw-r--r--    1 root     root     82880891 Oct  5 18:57 001.vdr
-rw-r--r--    1 root     root       104030 Nov 23 22:42 divx2pass.log
-rw-r--r--    1 root     root        34480 Oct  5 18:57 index.vdr
-rw-r--r--    1 root     root            4 Nov 23 22:45 resume.vdr
-rw-r--r--    1 root     root      7323316 Nov 23 22:42 test.avi

Anyone got an idea on what I should do?
The firt one was cutted, the second one not...

Thanks,

	Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:greg at ulima.unil.ch



More information about the MPlayer-dvb mailing list