[MEncoder-users] mencoder bug: Trancoding stops without reason and gives no error message

Peer Janssen peer at pjk.de
Tue May 27 12:40:04 CEST 2014


The following command:

time mencoder -nosound -ovc lavc -lavcopts 
vcodec=mpeg4:aspect=16/9:vbitrate=8000000 -vf scale=1920:1080 -o 
timelapse.avi -mf type=jpeg:fps=24 mf://@stills.txt

produces this output:

MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team
success: format: 16  data: 0x0 - 0x0
MF file format detected.
[mf] number of files: 3495
VIDEO:  [IJPG]  0x0  24bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16  fourcc:0x47504A49  size:0x0  fps:24.000 ftime:=0.0417
libavcodec version 53.35.0 (external)
Mismatching header version 53.32.2
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=1920 h=1080]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG)
==========================================================================
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0xb6c371c0]BICUBIC scaler, from yuv420p to yuv420p using MMX2
videocodec: libavcodec (1920x1080 fourcc=34504d46 [FMP4])
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading 
configurations from ~/.fonts.conf is deprecated.
Writing header...
ODML: vprp aspect is 16:9.
Writing header...
ODML: vprp aspect is 16:9.
Pos:  43.2s   1037f (29%)  1.99fps Trem:  20min 137mb  A-V:0.000 [7886:0]

Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16:9.

Video stream: 7886.694 kbit/s  (985836 B/s)  size: 42596364 bytes 43.208 
secs  1037 frames

real    8m40.314s
user    7m3.192s
sys     0m11.080s

The problem is that it's only 29% through (1037 out of many more, as 
mencoder knows very well since it tells "29%"), but it doesn't tell at 
all WHY it stopped, so this cannot easily be debugged. (Memory is not a 
problem, as there is plenty of it.)


-- 
Peer Janssen - peer at pjk.de



More information about the MEncoder-users mailing list