[FFmpeg-user] Segmentation fault (core dumped) when run ffmpeg
韩瑞松
550399108 at qq.com
Tue Jul 2 04:17:18 CEST 2013
I use FFmpeg 1.2.1 to combiner a video and a audio together.
When I run the command like
/usr/local/bin/ffmpeg -y -i '10806287.v' -i '10806287.a' -map 0:0 -map 1:0 -vcodec copy -acodec copy 10806287.mp4
output like this:
/usr/local/bin/ffmpeg -y -i '10806287.v' -i '10806287.a' -map 0:0 -map 1:0 -vcodec copy -acodec copy 10806287.mp4
ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Jul 2 2013 09:13:57 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-pthreads --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-shared --enable-libass --enable-ffplay --enable-swscale --enable-postproc --enable-avfilter --enable-libbluray --enable-libschroedinger --enable-libspeex --enable-manpages --enable-libopenjpeg --enable-libmp3lame
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '10806287.v':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2013-06-26 14:47:24
Duration: 00:02:11.54, start: 0.000000, bitrate: 958 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x480, 957 kb/s, 24 fps, 24 tbr, 600 tbn, 1200 tbc
Metadata:
rotate : 90
creation_time : 2013-06-26 14:47:24
handler_name : Core Media Data Handler
[mp3 @ 0x1321760] max_analyze_duration 5000000 reached at 5015510 microseconds
[mp3 @ 0x1321760] Estimating duration from bitrate, this may be inaccurate
Input #1, mp3, from '10806287.a':
Metadata:
encoder : Lavf53.21.0
Duration: 00:02:11.74, start: 0.000000, bitrate: 64 kb/s
Stream #1:0: Audio: mp3, 22050 Hz, stereo, s16p, 64 kb/s
Output #0, mp4, to '10806287.mp4':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
encoder : Lavf54.63.104
Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 480x480, q=2-31, 957 kb/s, 24 fps, 19200 tbn, 600 tbc
Metadata:
rotate : 90
creation_time : 2013-06-26 14:47:24
handler_name : Core Media Data Handler
Stream #0:1: Audio: mp3 (i[0][0][0] / 0x0069), 22050 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
Segmentation fault (core dumped)
but when I run this command again it printed like :
/usr/local/bin/ffmpeg -y -i '10806287.v' -i '10806287.a' -map 0:0 -map 1:0 -vcodec copy -acodec copy 10806287.mp4
ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Jul 2 2013 09:13:57 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-pthreads --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-shared --enable-libass --enable-ffplay --enable-swscale --enable-postproc --enable-avfilter --enable-libbluray --enable-libschroedinger --enable-libspeex --enable-manpages --enable-libopenjpeg --enable-libmp3lame
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '10806287.v':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2013-06-26 14:47:24
Duration: 00:02:11.54, start: 0.000000, bitrate: 958 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x480, 957 kb/s, 24 fps, 24 tbr, 600 tbn, 1200 tbc
Metadata:
rotate : 90
creation_time : 2013-06-26 14:47:24
handler_name : Core Media Data Handler
[mp3 @ 0x1cda760] max_analyze_duration 5000000 reached at 5015510 microseconds
[mp3 @ 0x1cda760] Estimating duration from bitrate, this may be inaccurate
Input #1, mp3, from '10806287.a':
Metadata:
encoder : Lavf53.21.0
Duration: 00:02:11.74, start: 0.000000, bitrate: 64 kb/s
Stream #1:0: Audio: mp3, 22050 Hz, stereo, s16p, 64 kb/s
Output #0, mp4, to '10806287.mp4':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
encoder : Lavf54.63.104
Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 480x480, q=2-31, 957 kb/s, 24 fps, 19200 tbn, 600 tbc
Metadata:
rotate : 90
creation_time : 2013-06-26 14:47:24
handler_name : Core Media Data Handler
Stream #0:1: Audio: mp3 (i[0][0][0] / 0x0069), 22050 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 3157 fps=0.0 q=-1.0 Lsize= 16490kB time=00:02:11.73 bitrate=1025.4kbits/s
video:15372kB audio:1029kB subtitle:0 global headers:0kB muxing overhead 0.541460%
Why the same command returns two different result?And How can I solve this problem.
Thank you!
More information about the ffmpeg-user
mailing list