[FFmpeg-trac] #4763(undetermined:new): ffmpeg crash with "-f mp4"

FFmpeg trac at avcodec.org
Sat Aug 8 04:17:24 CEST 2015


#4763: ffmpeg crash with "-f mp4"
-------------------------------------+-------------------------------------
             Reporter:  Abu          |                    Owner:
  Abdullah                           |                   Status:  new
                 Type:  defect       |                Component:
             Priority:  important    |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  crash        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Abu Abdullah):

 the issue is not reproducible with, it is working fine with:
 {{{$ ffmpeg -i 001.rm -acodec aac -strict -2 out.mp4}}}

 i moved to linux for the debug:

 {{{
 (gdb) r -i 001.rm -c:a aac -strict -2 -movflags frag_keyframe+faststart -f
 mp4 001.mp3
 Starting program: /home/oracle/ffmpeg_source/ffmpeg/ffmpeg_g -i 001.rm
 -c:a aac -strict -2 -movflags frag_keyframe+faststart -f mp4 001.mp3
 Missing separate debuginfos, use: dnf debuginfo-install
 glibc-2.21-7.fc22.x86_64
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib64/libthread_db.so.1".
 ffmpeg version git-2015-08-07-ecc806a Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4)
   configuration: --disable-yasm
   libavutil      54. 30.100 / 54. 30.100
   libavcodec     56. 57.100 / 56. 57.100
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 32.100 /  5. 32.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
 Input #0, rm, from '001.rm':
   Metadata:
     title           : ������ �����
     author          : ����� ���� ���� ����� ��������
     copyright       : www.islamway.com
     comment         : ������� �� ����� ������� - ������ ������ ��� ������
 ���� ����� � ��� ��� ������ �� ����� ������ � ���� ����� ����� ������� �
 ��� ��� ������� � ��� ����� ������ � �� ���� �� ������ � ��� �� ���� ���
 �������� � ���� ��� ������ ����� ����� � ��� ��� �������
   Duration: 01:02:27.01, start: 0.000000, bitrate: 16 kb/s
     Stream #0:0: Audio: sipr (sipr / 0x72706973), 16000 Hz, mono, flt, 16
 kb/s
 [aac @ 0x19abf20] Too many bits per frame requested, clamping to max
 Output #0, mp4, to '001.mp3':
   Metadata:
     title           : ������ �����
     author          : ����� ���� ���� ����� ��������
     copyright       : www.islamway.com
     comment         : ������� �� ����� ������� - ������ ������ ��� ������
 ���� ����� � ��� ��� ������ �� ����� ������ � ���� ����� ����� ������� �
 ��� ��� ������� � ��� ����� ������ � �� ���� �� ������ � ��� �� ���� ���
 �������� � ���� ��� ������ ����� ����� � ��� ��� �������
     encoder         : Lavf56.40.101
     Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 16000 Hz, mono,
 fltp, 96 kb/s
     Metadata:
       encoder         : Lavc56.57.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (sipr (native) -> aac (native))
 Press [q] to stop, [?] for help
 001.rm: Input/output error:16.97 bitrate=   0.0kbits/s
 [mp4 @ 0x19a9300] Starting second pass: inserting sidx atoms

 Program received signal SIGSEGV, Segmentation fault.
 0x00000000005917c5 in mov_write_sidx_tag (total_sidx_size=0, ref_size=0,
     track=<optimized out>, pb=0x19af240) at libavformat/movenc.c:3683
 3683            presentation_time = track->frag_info[0].time;
 (gdb) quit
 A debugging session is active.

         Inferior 1 [process 11840] will be killed.

 }}}

 i beleive the issue with +faststart option, if i remove it, it will start
 to work fine.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4763#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list