Opened 13 years ago

Closed 13 years ago

#1084 closed defect (duplicate)

crash with wav to mxf conversion

Reported by: ami_stuff Owned by:
Priority: important Component: avformat
Version: unspecified Keywords: mxf
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

(gdb) r -i in_48.wav out.mxf
Starting program: d:\mingw\msys\1.0\ffmpeg\ffmpeg_g.exe -i in_48.wav out.mxf
[New Thread 1604.0xc08]
ffmpeg version 0.9.1.git Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 10 2012 16:15:15 with gcc 4.6.1
  configuration: --disable-yasm --disable-ffprobe
  libavutil      51. 42.100 / 51. 42.100
  libavcodec     54. 10.100 / 54. 10.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 63.100 /  2. 63.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
Input #0, wav, from 'in_48.wav':
  Duration: 00:00:01.01, bitrate: 1536 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels,
 s16, 1536 kb/s
Output #0, mxf, to 'out.mxf':
  Metadata:
    encoder         : Lavf54.2.100
    Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le -> pcm_s16le)
Press [q] to stop, [?] for help

Program received signal SIGFPE, Arithmetic exception.
0x00a439b3 in __divdi3 ()
(gdb) bt
#0  0x00a439b3 in __divdi3 ()
#1  0x00a27ca5 in av_rescale_rnd (a=1920, b=0, c=0, rnd=AV_ROUND_NEAR_INF)
    at libavutil/mathematics.c:91
#2  0x00a27d5b in av_rescale_q_rnd (cq=..., bq=..., a=1920,
    rnd=<optimized out>) at libavutil/mathematics.c:139
#3  av_rescale_q (a=1920, bq=..., cq=...) at libavutil/mathematics.c:144
#4  0x004ecae2 in ff_interleave_new_audio_packet (flush=0, stream_index=0,
    pkt=0x22d928, s=<optimized out>) at libavformat/audiointerleave.c:87
#5  ff_audio_rechunk_interleave (s=0x3dc80c0, out=0x22d9e8, pkt=0x0, flush=0,
    get_packet=0x4a452c <mxf_interleave_get_packet>,
    compare_ts=0x4a4484 <mxf_compare_timestamps>)
    at libavformat/audiointerleave.c:132
#6  0x004a4527 in mxf_interleave (s=0x3dc80c0, out=0x22d9e8, pkt=0x22db40,
    flush=0) at libavformat/mxfenc.c:1865
#7  0x0043e4b9 in interleave_packet (flush=0, in=0x22db40, out=0x22d9e8,
    s=<optimized out>) at libavformat/utils.c:3440
#8  av_interleaved_write_frame (s=0x3dc80c0, pkt=0x22db40)
    at libavformat/utils.c:3466
#9  0x00405412 in write_frame (s=0x3dc80c0, pkt=0x22db40, ost=0x3dc85c0)
    at ffmpeg.c:1038
#10 0x00405642 in encode_audio_frame (s=0x3dc80c0, ost=0x3dc85c0,
    buf=0x3e30e40 "\001", buf_size=4096) at ffmpeg.c:1105
#11 0x00408c12 in do_audio_out (ist=<optimized out>, ost=<optimized out>,
    s=<optimized out>, decoded_frame=<optimized out>) at ffmpeg.c:1298
#12 transcode_audio (got_output=<optimized out>, pkt=<optimized out>,
    ist=<optimized out>) at ffmpeg.c:2079
#13 output_packet (ist=0x3873260, ost_table=0x3dc85c0, nb_ostreams=1,
    pkt=0x22fb28) at ffmpeg.c:2267
#14 0x0040bf3b in transcode (output_files=0x3873620, nb_output_files=1,
    input_files=0x3873320, nb_input_files=1) at ffmpeg.c:3082
#15 0x0022ff48 in ?? ()

Attachments (1)

in_48.wav (191.0 KB ) - added by ami_stuff 13 years ago.

Download all attachments as: .zip

Change History (3)

by ami_stuff, 13 years ago

Attachment: in_48.wav added

comment:1 by Carl Eugen Hoyos, 13 years ago

Component: undeterminedavformat
Keywords: mxf added
Priority: normalimportant
Reproduced by developer: set
Status: newopen

comment:2 by Carl Eugen Hoyos, 13 years ago

Resolution: duplicate
Status: openclosed

Duplicate of ticket #810.

Note: See TracTickets for help on using tickets.