[MPlayer-users] Video recode problem and memory leakage mencoder
Boris Borisov
lz1bgb at gmail.com
Fri Sep 16 23:08:43 CEST 2011
Hello,
I try to convert mkv box to xvid format capable with Sony Bravia TV. And
all seems good until I receive some strange messages from MENCODER.
For converting I use:
/usr/bin/mencoder infile.mkv -noskip -vf harddup -oac lavc -ovc lavc
-of mpeg -lavcopts
abitrate=256:vcodec=mpeg2video:keyint=1:vbitrate=8000:
vrc_maxrate=12000:vrc_buf_size=1835 -mpegopts muxrate=40000 -af
lavcresample=44100 -sub input.sub -font /etc/mediatomb/DejaVuSans.ttf
-subfont-autoscale 0 -subfont-text-scale 20 -subpos 100 -o output.avi
After some time I receive the messages:
videocodec: libavcodec (1920x1080 fourcc=3267706d [mpg2])
Writing header...
INITV: 0.200, 0.158, fps: 23.976
Pos: 15.1s 364f ( 0%) 28.62fps Trem: 199min 39651mb A-V:0.084
[22584:256]
Skipped frame!
Pos: 82.5s 1979f ( 0%) 31.17fps Trem: 198min 33748mb A-V:0.032
[17536:256]]
BUFFER UNDEFLOW at stream 0, raising muxrate to 44000 kb/s, delta_scr: 10053
Pos: 82.5s 1980f ( 0%) 31.17fps Trem: 198min 33803mb A-V:0.027
[17556:256]
BUFFER UNDEFLOW at stream 0, raising muxrate to 48400 kb/s, delta_scr: 9139
Pos: 82.5s 1981f ( 0%) 31.16fps Trem: 198min 33857mb A-V:0.029
[17576:255]
BUFFER UNDEFLOW at stream 0, raising muxrate to 53240 kb/s, delta_scr: 8308
Pos: 82.6s 1982f ( 0%) 31.16fps Trem: 198min 33911mb A-V:0.030
[17595:255]
BUFFER UNDEFLOW at stream 0, raising muxrate to 58564 kb/s, delta_scr: 7553
^CPos: 738.0s 17696f ( 6%) 25.00fps Trem: 180min 3261mb A-V:-0.015
[31032:255]
The TV are run perfectly the video and audio until reach 82.5 sec frame
- then the picture freeze and audio continue.
What I do wrong?
Other problem is:
If I continue to recode the video, the memory and swap are fill and
process of mencoder recoding crash.
How I can limit the memory usage?
Litle bit more info:
System GENTOO 2.6.39-gentoo-r3
Used option for compilation:
USE="3dnow 3dnowext X a52 aalib alsa amr ass bidi bl bs2b cddb cdio
cdparanoia dga dirac directfb dts dv dvb dvd dvdnav enca encode esd faac
faad fbcon ftp gif gsm iconv ipv6 jack joystick jpeg jpeg2k ladspa
libcaca libmpeg2 live lzo mad md5sum mmx mmxext mng mp3 mpg123 nas
network nut openal opengl osdmenu oss png pnm pulseaudio pvr quicktime
radio rar real rtc rtmp samba schroedinger sdl shm speex ssse3 tga
theora toolame tremor truetype twolame unicode v4l v4l2 vdpau vidix
vorbis win32codecs x264 xanim xinerama xscreensaver xv xvid xvmc zoran
(-altivec) (-aqua) -bindist -bluray -cpudetection -custom-cpuopts -debug
-doc -dxr3 -ggi -lirc -sse -sse2 -vpx" VIDEO_CARDS="mga tdfx vesa -s3virge"
Processor i5 2.67 GHz
RAM: 4G
Swap: 2G
More information about the MPlayer-users
mailing list