[MPlayer-users] png to AVI help

Rob Redmon Rob.Redmon at noaa.gov
Tue Mar 4 19:39:30 CET 2008


I'm trying to create a jpg-based AVI directly from a bunch of png 
images.  In section *13.8. Encoding from multiple input image files 
(JPEG, PNG, TGA, etc.)*, it's stated that "You can mix different types 
of images, regardless of the method you use...".

I'm trying to avoid the step of using "convert" to convert PNG to JPG.

I'm sure I just don't know what I'm doing and could use being pointed in 
the right RTFM direction.

If I first convert PNG to JPG and run:
mencoder mf://*.jpg -mf fps=4:type=jpg -ovc lavc -lavcopts 
vcodec=mpeg4:mbd=2:trell -oac copy -o movie_4fps.avi
Then I get a movie which plays in mplayer.

When I try to go directly from PNG to JPG with something like:
mencoder mf://*.png -mf fps=1:type=png -ovc lavc -lavcopts 
vcodec=mpeg4:mbd=2:trell -oac copy -o output.avi

Then I get this stack trace:

MEncoder 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6700  @ 2.66GHz (Family: 6, Model: 
15, Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 16  data: 0x0 - 0x0
MF file format detected.
[mf] search expr: *.png
[mf] number of files: 10 (80)
VIDEO:  [MPNG]  0x0  24bpp  1.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16  fourcc:0x474E504D  size:0x0  fps: 1.00  ftime:=1.0000
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffpng] vfm: ffmpeg (FFmpeg PNG decoder)
==========================================================================
VDec: vo config request - 4720 x 2368 (preferred colorspace: Planar Y800)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar Y800 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0xd0a0d0]SwScaler: using unscaled gray8 -> yuv420p special 
converter
videocodec: libavcodec (4720x2368 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not 
writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not 
writing vprp header.
VDec: vo config request - 4698 x 2368 (preferred colorspace: Planar Y800)
VDec: using Planar Y800 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VDec: vo config request - 4724 x 2368 (preferred colorspace: Planar Y800)
VDec: using Planar Y800 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
*** glibc detected *** mencoder: double free or corruption (!prev): 
0x000000001a622b20 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3ce446f4f4]
/lib64/libc.so.6(cfree+0x8c)[0x3ce4472b1c]
mencoder(sws_freeContext+0x41)[0x57dfb1]
mencoder[0x494ec0]
mencoder(vf_config_wrapper+0x49)[0x46cc39]
mencoder(mpcodecs_config_vo+0x69c)[0x46af4c]
mencoder[0x4b2892]
mencoder[0x4b2d63]
mencoder(decode_video+0x6b)[0x46a65b]
mencoder(main+0x1829)[0x433859]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3ce441d8a4]
mencoder(cos+0x179)[0x431ac9]
======= Memory map: ========
00400000-00acd000 r-xp 00000000 08:06 1086524                            
/home/robr/packages/MPlayer-1.0rc2/mencoder
00ccd000-00d21000 rw-p 006cd000 08:06 1086524                            
/home/robr/packages/MPlayer-1.0rc2/mencoder
00d21000-01047000 rw-p 00d21000 00:00 0
19f22000-1cf6b000 rw-p 19f22000 00:00 0
35a4c00000-35a4c29000 r-xp 00000000 08:05 1122096                        
/usr/lib64/libfontconfig.so.1.1.0
35a4c29000-35a4e29000 ---p 00029000 08:05 1122096                        
/usr/lib64/libfontconfig.so.1.1.0
35a4e29000-35a4e33000 rw-p 00029000 08:05 1122096                        
/usr/lib64/libfontconfig.so.1.1.0
35a4e33000-35a4e34000 rw-p 35a4e33000 00:00 0
363ce00000-363ce0d000 r-xp 00000000 08:05 1124293                        
/usr/lib64/liblber-2.3.so.0.2.15
363ce0d000-363d00d000 ---p 0000d000 08:05 1124293                        
/usr/lib64/liblber-2.3.so.0.2.15
363d00d000-363d00e000 rw-p 0000d000 08:05 1124293                        
/usr/lib64/liblber-2.3.so.0.2.15
363d200000-363d238000 r-xp 00000000 08:05 1114565                        
/usr/lib64/libldap-2.3.so.0.2.15
363d238000-363d438000 ---p 00038000 08:05 1114565                        
/usr/lib64/libldap-2.3.so.0.2.15
363d438000-363d43a000 rw-p 00038000 08:05 1114565                        
/usr/lib64/libldap-2.3.so.0.2.15
363d600000-363d811000 r-xp 00000000 08:05 1117641                        
/usr/lib64/libsmbclient.so
363d811000-363da10000 ---p 00211000 08:05 1117641                        
/usr/lib64/libsmbclient.so
363da10000-363da21000 rw-p 00210000 08:05 1117641                        
/usr/lib64/libsmbclient.so
363da21000-363da32000 rw-p 363da21000 00:00 0
367a200000-367a202000 r-xp 00000000 08:01 294972                         
/lib64/libcom_err.so.2.1
367a202000-367a401000 ---p 00002000 08:01 294972                         
/lib64/libcom_err.so.2.1
367a401000-367a402000 rw-p 00001000 08:01 294972                         
/lib64/libcom_err.so.2.1
367a600000-367a68e000 r-xp 00000000 08:05 1123354                        
/usr/lib64/libkrb5.so.3.3
367a68e000-367a88e000 ---p 0008e000 08:05 1123354                        
/usr/lib64/libkrb5.so.3.3
367a88e000-367a892000 rw-p 0008e000 08:05 1123354                        
/usr/lib64/libkrb5.so.3.3
367aa00000-367aa2c000 r-xp 00000000 08:05 1123355                        
/usr/lib64/libgssapi_krb5.so.2.2
367aa2c000-367ac2c000 ---p 0002c000 08:05 1123355                        
/usr/lib64/libgssapi_krb5.so.2.2
367ac2c000-367ac2e000 rw-p 0002c000 08:05 1123355                        
/usr/lib64/libgssapi_krb5.so.2.2
367ae00000-367ae43000 r-xp 00000000 08:01 294934                         
/lib64/libssl.so.0.9.8b
367ae43000-367b043000 ---p 00043000 08:01 294934                         
/lib64/libssl.so.0.9.8b
367b043000-367b049000 rw-p 00043000 08:01 294934                         
/lib64/libssl.so.0.9.8b
3ce3400000-3ce341a000 r-xp 00000000 08:01 295242                         
/lib64/ld-2.5.so
3ce3619000-3ce361a000 r--p 00019000 08:01 295242                         
/lib64/ld-2.5.so
3ce361a000-3ce361b000 rw-p 0001a000 08:01 295242                         
/lib64/ld-2.5.so
3ce3800000-3ce3815000 r-xp 00000000 08:01 295289                         
/lib64/libselinux.so.1
3ce3815000-3ce3a15000 ---p 00015000 08:01 295289                         
/lib64/libselinux.so.1
3ce3a15000-3ce3a17000 rw-p 00015000 08:01 295289                         
/lib64/libselinux.so.1
3ce3a17000-3ce3a18000 rw-p 3ce3a17000 00:00 0
3ce4000000-3ce403b000 r-xp 00000000 08:01 295288                         
/lib64/libsepol.so.1
3ce403b000-3ce423b000 ---p 0003b000 08:01 295288                         
/lib64/libsepol.so.1
3ce423b000-3ce423c000 rw-p 0003b000 08:01 295288                         
/lib64/libsepol.so.1
3ce423c000-3ce4246000 rw-p 3ce423c000 00:00 0
3ce4400000-3ce4546000 r-xp 00000000 08:01 295245                         
/lib64/libc-2.5.so
3ce4546000-3ce4746000 ---p 00146000 08:01 295245                         
/lib64/libc-2.5.so
3ce4746000-3ce474a000 r--p 00146000 08:01 295245                         
/lib64/libc-2.5.so
3ce474a000-3ce474b000 rw-p 0014a000 08:01 295245                         
/lib64/libc-2.5.so
3ce474b000-3ce4750000 rw-p 3ce474b000 00:00 0
3ce4800000-3ce4882000 r-xp 00000000 08:01 295266                         
/lib64/libm-2.5.so
3ce4882000-3ce4a81000 ---p 00082000 08:01 295266                         
/lib64/libm-2.5.so
3ce4a81000-3ce4a82000 r--p 00081000 08:01 295266                         
/lib64/libm-2.5.so
3ce4a82000-3ce4a83000 rw-p 00082000 08:01 295266                         
/lib64/libm-2.5.so
3ce4c00000-3ce4c02000 r-xp 00000000 08:01 295273                         
/lib64/libdl-2.5.so
3ce4c02000-3ce4e02000 ---p 00002000 08:01 295273                         
/lib64/libdl-2.5.so
3ce4e02000-3ce4e03000 r--p 00002000 08:01 295273                         
/lib64/libdl-2.5.so
3ce4e03000-3ce4e04000 rw-p 00003000 08:01 295273                         
/lib64/libdl-2.5.so
3ce5000000-3ce5015000 r-xp 00000000 08:01 295275                         
/lib64/libpthread-2.5.so
3ce5015000-3ce5214000 ---p 00015000 08:01 295275                         
/lib64/libpthread-2.5.so
3ce5214000-3ce5215000 r--p 00014000 08:01 295275                         
/lib64/libpthread-2.5.so
3ce5215000-3ce5216000 rw-p 00015000 08:01 295275                         
/lib64/libpthread-2.5.so
3ce5216000-3ce521a000 rw-p 3ce5216000 00:00 0
3ce5400000-3ce5414000 r-xp 00000000 08:05 1115075                        
/usr/lib64/libz.so.1.2.3
3ce5414000-3ce5613000 ---p 00014000 08:05 1115075                        
/usr/lib64/libz.so.1.2.3
3ce5613000-3ce5614000 rw-p 00013000 08:05 1115075                        
/usr/lib64/libz.so.1.2.3
3ce5800000-3ce5805000 r-xp 00000000 08:05 1119756                        
/usr/lib64/libXdmcp.so.6.0.0
3ce5805000-3ce5a04000 ---p 00005000 08:05 1119756                        
/usr/lib64/libXdmcp.so.6.0.0
3ce5a04000-3ce5a05000 rw-p 00004000 08:05 1119756                        
/usr/lib64/libXdmcp.so.6.0.0
3ce5c00000-3ce5c02000 r-xp 00000000 08:05 1119399                        
/usr/lib64/libXau.so.6.0.0
3ce5c02000-3ce5e01000 ---p 00002000 08:05 1119399                        
/usr/lib64/libXau.so.6.0.0
3ce5e01000-3ce5e02000 rw-p 00001000 08:05 1119399                        
/usr/lib64/libXau.so.6.0.0
3ce6000000-3ce6105000 r-xp 00000000 08:05 1120269                        
/usr/lib64/libX11.so.6.2.0
3ce6105000-3ce6305000 ---p 00105000 08:05 1120269                        
/usr/lib64/libX11.so.6.2.0
3ce6305000-3ce630c000 rw-p 00105000 08:05 1120269                        
/usr/lib64/libX11.so.6.2.0
3ce6800000-3ce687f000 r-xp 00000000 08:05 1120416                        
/usr/lib64/libfreetype.so.6.3.10
3ce687f000-3ce6a7f000 ---p 0007f000 08:05 1120416                        
/usr/lib64/libfreetype.so.6.3.10
3ce6a7f000-3ce6a84000 rw-p 0007f000 08:05 1120416                        
/usr/lib64/libfreetype.so.6.3.10
3ce6c00000-3ce6c23000 r-xp 00000000 08:05 1114386                        
/usr/lib64/libpng12.so.0.10.0
3ce6c23000-3ce6e23000 ---p 00023000 08:05 1114386                        
/usr/lib64/libpng12.so.0.10.0
3ce6e23000-3ce6e24000 rw-p 00023000 08:05 1114386                        
/usr/lib64/libpng12.so.0.10.0
3ce7400000-3ce7420000 r-xp 00000000 08:01 295274                         
/lib64/libexpat.so.0.5.0
3ce7420000-3ce761f000 ---p 00020000 08:01 295274                         
/lib64/libexpat.so.0.5.0
3ce761f000-3ce7622000 rw-p 0001f000 08:01 295274                         
/lib64/libexpat.so.0.5.0
3ce8c00000-3ce8c0d000 r-xp 00000000 08:01 295276                         
/lib64/libgcc_s-4.1.2-20070626.so.1
3ce8c0d000-3ce8e0d000 ---p 0000d000 08:01 295276                         
/lib64/libgcc_s-4.1.2-20070626.so.1
3ce8e0d000-3ce8e0e000 rw-p 0000d000 08:01 295276                         
/lib64/libgcc_s-4.1.2-20070626.so.1
3ce9400000-3ce941b000 r-xp 00000000 08:05 1126581                        
/usr/lib64/libdv.so.4.0.2
3ce941b000-3ce961b000 ---p 0001b000 08:05 1126581                        
/usr/lib64/libdv.so.4.0.2
3ce961b000-3ce961e000 rw-p 0001b000 08:05 1126581                        
/usr/lib64/libdv.so.4.0.2
3ce961e000-3ce962b000 rw-p 3ce961e000 00:00 0
3cea000000-3cea021000 r-xp 00000000 08:05 1115690                        
/usr/lib64/libjpeg.so.62.0.0
3cea021000-3cea221000 ---p 00021000 08:05 1115690                        
/usr/lib64/libjpeg.so.62.0.0
3cea221000-3cea222000 rw-p 00021000 08:05 1115690                        
/usr/lib64/libjpeg.so.62.0.0
3ceb400000-3ceb415000 r-xp 00000000 08:01 295265                         
/lib64/libnsl-2.5.so
3ceb415000-3ceb614000 ---p 00015000 08:01 295265                         
/lib64/libnsl-2.5.so
3ceb614000-3ceb615000 r--p 00014000 08:01 295265                         
/lib64/libnsl-2.5.so
3ceb615000-3ceb616000 rw-p 00015000 08:01 295265                         
/lib64/libnsl-2.5.so
3ceb616000-3ceb618000 rw-p 3ceb616000 00:00 0
3ceda00000-3ceda18000 r-xp 00000000 08:05 1122255                        
/usr/lib64/libsasl2.so.2.0.22
3ceda18000-3cedc18000 ---p 00018000 08:05 1122255                        
/usr/lib64/libsasl2.so.2.0.22
3cedc18000-3cedc19000 rw-p 00018000 08:05 1122255                        
/usr/lib64/libsasl2.so.2.0.22
3cede00000-3cedf25000 r-xp 00000000 08:01 295293                         
/lib64/libcrypto.so.0.9.8b
3cedf25000-3cee125000 ---p 00125000 08:01 295293                         
/lib64/libcrypto.so.0.9.8b
3cee125000-3cee144000 rw-p 00125000 08:01 295293                         
/lib64/libcrypto.so.0.9.8b
3cee144000-3cee148000 rw-p 3cee144000 00:00 0
3cee200000-3cee211000 r-xp 00000000 08:01 295291                         
/lib64/libresolv-2.5.so
3cee211000-3cee411000 ---p 00011000 08:01 295291                         
/lib64/libresolv-2.5.so
3cee411000-3cee412000 r--p 00011000 08:01 295291                         
/lib64/libresolv-2.5.so
3cee412000-3cee413000 rw-p 00012000 08:01 295291                         
/lib64/libresolv-2.5.so
3cee413000-3cee415000 rw-p 3cee413000 00:00 0
3ceee00000-3ceee08000 r-xp 00000000 08:05 1126273                        
/usr/lib64/libkrb5support.so.0.1
3ceee08000-3cef007000 ---p 00008000 08:05 1126273                        
/usr/lib64/libkrb5support.so.0.1
3cef007000-3cef008000 rw-p 00007000 08:05 1126273                        
/usr/lib64/libkrb5support.so.0.1
3cef200000-3cef224000 r-xp 00000000 08:05 1126274                        
/usr/lib64/libk5crypto.so.3.1
3cef224000-3cef423000 ---p 00024000 08:05 1126274                        
/usr/lib64/libk5crypto.so.3.1
3cef423000-3cef425000 rw-p 00023000 08:05 1126274                        
/usr/lib64/libk5crypto.so.3.1
3cef600000-3cef602000 r-xp 00000000 08:01 295290                         
/lib64/libkeyutils-1.2.so
3cef602000-3cef801000 ---p 00002000 08:01 295290                         
/lib64/libkeyutils-1.2.so
3cef801000-3cef802000 rw-p 00001000 08:01 295290                         
/lib64/libkeyutils-1.2.so
3cf0a00000-3cf0a05000 r-xp 00000000 08:05 1114667                        
/usr/lib64/libogg.so.0.5.3
3cf0a05000-3cf0c04000 ---p 00005000 08:05 1114667                        
/usr/lib64/libogg.so.0.5.3
3cf0c04000-3cf0c05000 rw-p 00004000 08:05 1114667                        
/usr/lib64/libogg.so.0.5.3
3cf1a00000-3cf1a05000 r-xp 00000000 08:01 295280                         
/lib64/libcrypt-2.5.so
3cf1a05000-3cf1c04000 ---p 00005000 08:01 295280                         
/lib64/libcrypt-2.5.so
3cf1c04000-3cf1c05000 r--p 00004000 08:01 295280                         
/lib64/libcrypt-2.5.so
3cf1c05000-3cf1c06000 rw-p 00005000 08:01 295280                         
/lib64/libcrypt-2.5.so
3cf1c06000-3cf1c34000 rw-p 3cf1c06000 00:00 0
3cf2600000-3cf26d4000 r-xp 00000000 08:01 295287                         
/lib64/libasound.so.2.0.0
3cf26d4000-3cf28d3000 ---p 000d4000 08:01 295287                         
/lib64/libasound.so.2.0.0
3cf28d3000-3cf28db000 rw-p 000d3000 08:01 295287                         
/lib64/libasound.so.2.0.0
3cf6a00000-3cf6a4f000 r-xp 00000000 08:05 1126535                        
/usr/lib64/libncurses.so.5.5
3cf6a4f000-3cf6c4e000 ---p 0004f000 08:05 1126535                        
/usr/lib64/libncurses.so.5.5
3cf6c4e000-3cf6c5c000 rw-p 0004e000 08:05 1126535                        
/usr/lib64/libncurses.so.5.5
3cf6c5c000-3cf6c5d000 rw-p 3cf6c5c000 00:00 0
3fae000000-3fae008000 r-xp 00000000 08:05 1115148                        
/usr/lib64/libgif.so.4.1.3
3fae008000-3fae207000 ---p 00008000 08:05 1115148                        
/usr/lib64/libgif.so.4.1.3
3fae207000-3fae208000 rw-p 00007000 08:05 1115148                        
/usr/lib64/libgif.so.4.1.3
3faf400000-3faf40f000 r-xp 00000000 08:05 1124463                        
/usr/lib64/libfribidi.so.0.0.0
3faf40f000-3faf60e000 ---p 0000f000 08:05 1124463                        
/usr/lib64/libfribidi.so.0.0.0
3faf60e000-3faf60f000 rw-p 0000e000 08:05 1124463                        
/usr/lib64/libfribidi.so.0.0.0
3faf800000-3faf815000 r-xp 00000000 08:05 1123366                        
/usr/lib64/libspeex.so.1.3.0
3faf815000-3fafa14000 ---p 00015000 08:05 1123366                        
/usr/lib64/libspeex.so.1.3.0
3fafa14000-3fafa18000 rw-p 00014000 08:05 1123366                        
/usr/lib64/libspeex.so.1.3.0
3fafc00000-3fafc32000 r-xp 00000000 08:05 1122052                        
/usr/lib64/libtheora.so.0.2.0
3fafc32000-3fafe32000 ---p 00032000 08:05 1122052                        
/usr/lib64/libtheora.so.0.2.0
3fafe32000-3fafe33000 rw-p 00032000 08:05 1122052                        
/usr/lib64/libtheora.so.0.2.0
3fb0000000-3fb000a000 r-xp 00000000 08:05 1114652                        
/usr/lib64/libcdda_paranoia.so.0.9.8
3fb000a000-3fb0209000 ---p 0000a000 08:05 1114652                        
/usr/lib64/libcdda_paranoia.so.0.9.8
3fb0209000-3fb020a000 rw-p 00009000 08:05 1114652                        
/usr/lib64/libcdda_paranoia.so.0.9.8
3fb0400000-3fb0415000 r-xp 00000000 08:05 1122890                        
/usr/lib64/libcdda_interface.so.0.9.8
3fb0415000-3fb0615000 ---p 00015000 08:05 1122890                        
/usr/lib64/libcdda_interface.so.0.9.8
3fb0615000-3fb0617000 rw-p 00015000 08:05 1122890                        
/usr/lib64/libcdda_interface.so.0.9.8
3fb0800000-3fb0801000 r-xp 00000000 08:05 1124462                        
/usr/lib64/libungif.so.4.1.3
3fb0801000-3fb0a00000 ---p 00001000 08:05 1124462                        
/usr/lib64/libungif.so.4.1.3
3fb0a00000-3fb0a01000 rw-p 00000000 08:05 1124462                        
/usr/lib64/libungif.so.4.1.3
2aaaaaaab000-2aaaaaaac000 rw-p 2aaaaaaab000 00:00 0
2aaaaaaef000-2aaaaab00000 rw-p 2aaaaaaef000 00:00 0
2aaaaab00000-2aaaae0cc000 r--p 00000000 08:05 763956                     
/usr/lib/locale/locale-archive
2aaaae0cc000-2aaaae0d3000 r--s 00000000 08:05 1114368                    
/usr/lib64/gconv/gconv-modules.cache
2aaaae0d3000-2aaaae2d5000 rw-p 2aaaae0d3000 00:00 0
2aaaaf2d8000-2aaab1c73000 rw-p 2aaaaf2d8000 00:00 0
2aaab4000000-2aaab4021000 rw-p 2aaab4000000 00:00 0
2aaab4021000-2aaab8000000 ---p 2aaab4021000 00:00 0
7fff25e5c000-7fff25e71000 rw-p 7fff25e5c000 00:00 0                      
[stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                  
[vdso]
Aborted


-- 
Rob Redmon - Physicist - Ionosphere
NOAA/NGDC
325 Broadway E/GC2
Boulder, Colorado 80305
Tel: (303) 497-4331
Fax: (303) 497-6513
Rob.Redmon at noaa.gov

"Engineering is the art of making what you want from things you can get." 




More information about the MPlayer-users mailing list