[MEncoder-users] Encoding stops with '00 motion_type at 17 6' after 990 sec

Christian cmf.ml at gmx.de
Thu Apr 1 15:41:08 CEST 2010


> Then I tried the encoding on different PCs.
> 
> 1. machine
> ==========
> The machine till now is a quad core Tower with an nVidia card,
> 
> $ lspci |grep -i vga
> 01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] (rev a1)
> 
> The conversion fails after 990s.
> When I remove the first two GOPs, the conversion succeeds.
> 

I forgot and may be it is important, the log shows 'Skipping frame!' and
'FPS changed 25.000 -> 50.000' at 990s.


---snip---

$ /usr/bin/mencoder \
>   -zoom \
>   -noautosub \
>   -oac lavc \
>   -ovc lavc \
>   -of mpeg \
>   -mpegopts format=dvd:tsaf \
>   -ofps 25 \
>   -vf scale=720:576,harddup \
>   -lavcopts threads=4:vcodec=mpeg2video:trell:mbd=2:sc_threshold=1000000000:cgop:vstrict=0:
>   -o m.mpg \
>   a1.mpg
MEncoder 1.0pre8-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 3)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0x27762000
MPEG-PS file format detected.
VIDEO:  MPEG2  544x576  (aspect 2)  50.000 fps  9500.0 kbps (1187.5 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:544x576  fps:50.00  ftime:=0.0200
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
PACKET SIZE: 2048 bytes, deltascr: 43885
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [scale w=720 h=576]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 544 x 576 (preferred colorspace: Mpeg PES)
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Limiting audio preload to 0.4s.
Increasing audio density to 4.
VDec: vo config request - 544 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (720x576 fourcc=3267706d [mpg2])
[VE_LAVC] High quality encoding selected (non-realtime)!
Writing header...2f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.002 [0:0]
INITV: 0.200, 0.160, fps: 25.000
Pos:   0.1s      5f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.008 [0:0]
Skipping frame!
Pos:   0.2s      7f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.012 [0:0]
Skipping frame!
Pos:   0.2s      9f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.016 [0:0]
Skipping frame!
Pos:   0.2s     11f ( 0%) 10.88fps Trem:   0min   0mb  A-V:0.020 [0:0]
Skipping frame!
Warning! FPS changed 50.000 -> 25.000  (25.000000) [3]  -V:0.024 [0:0]
VDec: vo config request - 544 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
Pos:   1.3s     40f ( 0%)  7.81fps Trem:  55min 330mb  A-V:-0.082 [3706:224]
1 duplicate frame(s)!
Pos:   1.8s     50f ( 0%)  7.35fps Trem:  61min 392mb  A-V:-0.081 [3733:223]
1 duplicate frame(s)!
Pos:   3.2s     84f ( 0%)  6.89fps Trem:  73min 526mb  A-V:-0.081 [3748:224]
1 duplicate frame(s)!
Pos: 990.8s  24773f (63%)  6.29fps Trem:  37min 711mb  A-V:0.082 [3499:224]]
Skipping frame!
Warning! FPS changed 25.000 -> 50.000  (-25.000000) [6]  -V:-0.027 [3632:223]
Pos:1563.0s  39081f (100%)  6.17fps Trem:   0min 736mb  A-V:-0.031 [3632:224]
Flushing video frames
Writing index...

Overhead: 2.549% (19211766 / 753578506)
Writing header...

Video stream: 3632.957 kbit/s  (454119 B/s)  size: 709807114 bytes  1563.040 secs  39081 frames

Audio stream:  224.000 kbit/s  (28000 B/s)  size: 43776768 bytes  1563.456 secs

---snip---


Regards,

Christian


More information about the MEncoder-users mailing list