File fails to detect an audio track, works in VLC. (gdb) bt #0 0x900101b0 in write () #1 0x9001102c in _swrite () #2 0x900216d9 in __fflush () #3 0x9000b28b in __vfprintf () #4 0x90010bd8 in vfprintf () #5 0x00351543 in av_log_default_callback (ptr=0x0, level=0, fmt=0x35983c "invalid stream\n", vl=0xbfffebec "") at log.c:45 #6 0x0035159c in av_vlog (avcl=0x0, level=0, fmt=0x35983c "invalid stream\n", vl=0xbfffebec "") at log.c:65 #7 0x00351571 in av_log (avcl=0x0, level=0, fmt=0x35983c "invalid stream\n") at log.c:58 #8 0x000354bf in flv_read_packet (s=0x2003600, pkt=0x2004510) at flvdec.c:307 #9 0x0000e1f5 in av_read_packet (s=0x2003600, pkt=0x2004510) at utils.c:482 #10 0x0000f12a in av_read_frame_internal (s=0x2003600, pkt=0xbffff0ac) at utils.c:734 #11 0x000121a1 in av_find_stream_info (ic=0x2003600) at utils.c:1719 #12 0x00009d9e in opt_input_file (filename=0xbffff4c6 "/Users/astrange/shingo.flv") at ffmpeg.c:2547 #13 0x0000d42d in parse_options (argc=3, argv=0xbffff3ac, options=0x412cc0) at cmdutils.c:105 #14 0x0000ceb6 in main (argc=3, argv=0xbffff3ac) at ffmpeg.c:3762 (gdb) up ... (gdb) #8 0x000354bf in flv_read_packet (s=0x2003600, pkt=0x2004510) at flvdec.c:307 307 av_log(NULL, AV_LOG_ERROR, "invalid stream\n"); (gdb) info locals ret = 0 i = 1 type = 8 size = 210 pts = 26 flags = 42 is_audio = 1 next = 8594 pos = 8369 st = (AVStream *) 0x1900200 (gdb)