[packman] ffmpeg and libx264 error

Vladimir Psenicka vladimir.psenicka at gmail.com
Thu May 20 14:00:24 CEST 2010


Hi

I have problem encoding anything to h264 with ffmpeg and libx264.
Encoding to xvid works fine with ffmpeg and libxvid.

> psenicka at psenicka:~> ffmpeg  -y -i Warriors_of_the_net_CZ-MPEG1_Web_PAL.mpg -vcodec libx264 -acodec copy output.mkv  -threads 0                                                                                                             
> FFmpeg version SVN-r23159, Copyright (c) 2000-2010 the FFmpeg developers                                                                                                                                                                           
>   built on May 18 2010 20:27:23 with gcc 4.4.1 [gcc-4_4-branch revision 150839]                                                                                                                                                                    
>   configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaad --enable-libfaac --enable-nonfree --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --enable-libschroedinger --enable-libdirac --enable-libgsm --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads                                                                                                                                                                                                                                                
>   libavutil     50.15. 2 / 50.15. 2                                                                                                                                                                                                                
>   libavcodec    52.67. 2 / 52.67. 2                                                                                                                                                                                                                
>   libavformat   52.62. 0 / 52.62. 0                                                                                                                                                                                                                
>   libavdevice   52. 2. 0 / 52. 2. 0                                                                                                                                                                                                                
>   libavfilter    1.20. 0 /  1.20. 0                                                                                                                                                                                                                
>   libswscale     0.10. 0 /  0.10. 0                                                                                                                                                                                                                
>   libpostproc   51. 2. 0 / 51. 2. 0                                                                                                                                                                                                                
> [mpeg @ 0x64c690]max_analyze_duration reached                                                                                                                                                                                                      
> Input #0, mpeg, from 'Warriors_of_the_net_CZ-MPEG1_Web_PAL.mpg':                                                                                                                                                                                   
>   Duration: 00:13:00.08, start: 0.451244, bitrate: 1019 kb/s                                                                                                                                                                                       
>     Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x288 [PAR 178:163 DAR 1958:1467], 900 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc                                                                                                                 
>     Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, 2 channels, s16, 96 kb/s                                                                                                                                                                             
> x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64                                                                                                                                                                                   
> *** glibc detected *** ffmpeg: malloc(): memory corruption: 0x0000000000655080 ***                                                                                                                                                                 
> ======= Backtrace: =========                                                                                                                                                                                                                       
> /lib64/libc.so.6[0x7f01584e6c76]                                                                                                                                                                                                                   
> /lib64/libc.so.6[0x7f01584e9d0e]                                                                                                                                                                                                                   
> /lib64/libc.so.6(__libc_malloc+0x79)[0x7f01584eba59]                                                                                                                                                                                               
> /usr/lib64/libx264.so.95(x264_malloc+0x1d)[0x7f015502044d]                                                                                                                                                                                         
> /usr/lib64/libx264.so.95(x264_ratecontrol_new+0x315)[0x7f0155053af5]                                                                                                                                                                               
> /usr/lib64/libx264.so.95(x264_encoder_open_95+0x6a5)[0x7f0155068dd5]                                                                                                                                                                               
> /usr/lib64/libavcodec.so.52[0x7f0159472024]                                                                                                                                                                                                        
> /usr/lib64/libavcodec.so.52(avcodec_open+0x244)[0x7f01595c48a4]                                                                                                                                                                                    
> ffmpeg[0x40c860]                                                                                                                                                                                                                                   
> ffmpeg[0x40e5be]                                                                                                                                                                                                                                   
> /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f0158492a7d]                                                                                                                                                                                           
> ffmpeg[0x405069]                                                                                                                                                                                                                                   
> ======= Memory map: ========                                                                                                                                                                                                                       
> 00400000-00416000 r-xp 00000000 09:00 131764                             /usr/bin/ffmpeg                                                                                                                                                           
> 00616000-00618000 r--p 00016000 09:00 131764                             /usr/bin/ffmpeg                                                                                                                                                           
> 00618000-00619000 rw-p 00018000 09:00 131764                             /usr/bin/ffmpeg                                                                                                                                                           
> 00619000-008f0000 rw-p 00000000 00:00 0                                  [heap]                                                                                                                                                                    
> 7f014c000000-7f014c021000 rw-p 00000000 00:00 0                                                                                                                                                                                                    
> 7f014c021000-7f0150000000 ---p 00000000 00:00 0                                                                                                                                                                                                    
> 7f015394b000-7f015394d000 r-xp 00000000 09:00 264851                     /usr/lib64/libXau.so.6.0.0                                                                                                                                                
> 7f015394d000-7f0153b4d000 ---p 00002000 09:00 264851                     /usr/lib64/libXau.so.6.0.0                                                                                                                                                
> 7f0153b4d000-7f0153b4e000 r--p 00002000 09:00 264851                     /usr/lib64/libXau.so.6.0.0                                                                                                                                                
> 7f0153b4e000-7f0153b4f000 rw-p 00003000 09:00 264851                     /usr/lib64/libXau.so.6.0.0                                                                                                                                                
> 7f0153b4f000-7f0153b54000 r-xp 00000000 09:00 265481                     /usr/lib64/libogg.so.0.6.0                                                                                                                                                
> 7f0153b54000-7f0153d53000 ---p 00005000 09:00 265481                     /usr/lib64/libogg.so.0.6.0                                                                                                                                                
> 7f0153d53000-7f0153d54000 r--p 00004000 09:00 265481                     /usr/lib64/libogg.so.0.6.0                                                                                                                                                
> 7f0153d54000-7f0153d55000 rw-p 00005000 09:00 265481                     /usr/lib64/libogg.so.0.6.0                                                                                                                                                
> 7f0153d55000-7f0153d9a000 r-xp 00000000 09:00 284171                     /usr/lib64/liborc-0.4.so.0.0.0                                                                                                                                            
> 7f0153d9a000-7f0153f99000 ---p 00045000 09:00 284171                     /usr/lib64/liborc-0.4.so.0.0.0                                                                                                                                            
> 7f0153f99000-7f0153f9a000 r--p 00044000 09:00 284171                     /usr/lib64/liborc-0.4.so.0.0.0                                                                                                                                            
> 7f0153f9a000-7f0153f9e000 rw-p 00045000 09:00 284171                     /usr/lib64/liborc-0.4.so.0.0.0                                                                                                                                            
> 7f0153f9e000-7f0153fb4000 r-xp 00000000 09:00 697                        /lib64/libgcc_s.so.1                                                                                                                                                      
> 7f0153fb4000-7f01541b3000 ---p 00016000 09:00 697                        /lib64/libgcc_s.so.1                                                                                                                                                      
> 7f01541b3000-7f01541b4000 r--p 00015000 09:00 697                        /lib64/libgcc_s.so.1                                                                                                                                                      
> 7f01541b4000-7f01541b5000 rw-p 00016000 09:00 697                        /lib64/libgcc_s.so.1                                                                                                                                                      
> 7f01541b5000-7f01542a5000 r-xp 00000000 09:00 264817                     /usr/lib64/libstdc++.so.6.0.12                                                                                                                                            
> 7f01542a5000-7f01544a5000 ---p 000f0000 09:00 264817                     /usr/lib64/libstdc++.so.6.0.12                                                                                                                                            
> 7f01544a5000-7f01544ac000 r--p 000f0000 09:00 264817                     /usr/lib64/libstdc++.so.6.0.12                                                                                                                                            
> 7f01544ac000-7f01544ae000 rw-p 000f7000 09:00 264817                     /usr/lib64/libstdc++.so.6.0.12
> 7f01544ae000-7f01544c3000 rw-p 00000000 00:00 0
> 7f01544c3000-7f01544de000 r-xp 00000000 09:00 264936                     /usr/lib64/libxcb.so.1.1.0
> 7f01544de000-7f01546de000 ---p 0001b000 09:00 264936                     /usr/lib64/libxcb.so.1.1.0
> 7f01546de000-7f01546df000 r--p 0001b000 09:00 264936                     /usr/lib64/libxcb.so.1.1.0
> 7f01546df000-7f01546e0000 rw-p 0001c000 09:00 264936                     /usr/lib64/libxcb.so.1.1.0
> 7f01546e0000-7f01546e8000 r-xp 00000000 09:00 102                        /lib64/librt-2.10.1.so
> 7f01546e8000-7f01548e7000 ---p 00008000 09:00 102                        /lib64/librt-2.10.1.so
> 7f01548e7000-7f01548e8000 r--p 00007000 09:00 102                        /lib64/librt-2.10.1.so
> 7f01548e8000-7f01548e9000 rw-p 00008000 09:00 102                        /lib64/librt-2.10.1.so
> 7f01548e9000-7f01548eb000 r-xp 00000000 09:00 153                        /lib64/libdl-2.10.1.so
> 7f01548eb000-7f0154aeb000 ---p 00002000 09:00 153                        /lib64/libdl-2.10.1.so
> 7f0154aeb000-7f0154aec000 r--p 00002000 09:00 153                        /lib64/libdl-2.10.1.so
> 7f0154aec000-7f0154aed000 rw-p 00003000 09:00 153                        /lib64/libdl-2.10.1.so
> 7f0154aed000-7f0154af3000 r-xp 00000000 09:00 265447                     /usr/lib64/libraw1394.so.8.2.0
> 7f0154af3000-7f0154cf2000 ---p 00006000 09:00 265447                     /usr/lib64/libraw1394.so.8.2.0
> 7f0154cf2000-7f0154cf3000 r--p 00005000 09:00 265447                     /usr/lib64/libraw1394.so.8.2.0
> 7f0154cf3000-7f0154cf4000 rw-p 00006000 09:00 265447                     /usr/lib64/libraw1394.so.8.2.0
> 7f0154cf4000-7f0154d8e000 r-xp 00000000 09:00 298628                     /usr/lib64/libxvidcore.so.4.2
> 7f0154d8e000-7f0154f8e000 ---p 0009a000 09:00 298628                     /usr/lib64/libxvidcore.so.4.2
> 7f0154f8e000-7f0154f8f000 r--p 0009a000 09:00 298628                     /usr/lib64/libxvidcore.so.4.2
> 7f0154f8f000-7f0154f99000 rw-p 0009b000 09:00 298628                     /usr/lib64/libxvidcore.so.4.2
> 7f0154f99000-7f0155003000 rw-p 00000000 00:00 0
> 7f0155003000-7f0155096000 r-xp 00000000 09:00 298501                     /usr/lib64/libx264.so.95
> 7f0155096000-7f0155295000 ---p 00093000 09:00 298501                     /usr/lib64/libx264.so.95
> 7f0155295000-7f0155297000 r--p 00092000 09:00 298501                     /usr/lib64/libx264.so.95
> 7f0155297000-7f0155298000 rw-p 00094000 09:00 298501                     /usr/lib64/libx264.so.95
> 7f0155298000-7f015529f000 rw-p 00000000 00:00 0
> 7f015529f000-7f01552d3000 r-xp 00000000 09:00 289020                     /usr/lib64/libvorbis.so.0.4.0
> 7f01552d3000-7f01554d3000 ---p 00034000 09:00 289020                     /usr/lib64/libvorbis.so.0.4.0
> 7f01554d3000-7f01554d4000 r--p 00034000 09:00 289020                     /usr/lib64/libvorbis.so.0.4.0
> 7f01554d4000-7f01554d5000 rw-p 00035000 09:00 289020                     /usr/lib64/libvorbis.so.0.4.0
> 7f01554d5000-7f0155699000 r-xp 00000000 09:00 289022                     /usr/lib64/libvorbisenc.so.2.0.3
> 7f0155699000-7f0155899000 ---p 001c4000 09:00 289022                     /usr/lib64/libvorbisenc.so.2.0.3
> 7f0155899000-7f01558b0000 r--p 001c4000 09:00 289022                     /usr/lib64/libvorbisenc.so.2.0.3
> 7f01558b0000-7f01558b1000 rw-p 001db000 09:00 289022                     /usr/lib64/libvorbisenc.so.2.0.3
> 7f01558b1000-7f01558ca000 r-xp 00000000 09:00 289056                     /usr/lib64/libtheoradec.so.1.1.3Neúspěšně ukončen (SIGABRT)




More information about the Packman mailing list