[libav-bugs] [Bug 885] New: MP3 file not convertible: No audio stream present.

bugzilla at libav.org bugzilla at libav.org
Sat Sep 5 21:30:09 CEST 2015


https://bugzilla.libav.org/show_bug.cgi?id=885

            Bug ID: 885
           Summary: MP3 file not convertible: No audio stream present.
           Product: Libav
           Version: git HEAD
          Hardware: X86
                OS: Linux
            Status: NEW
          Severity: major
          Priority: ---
         Component: libavcodec
          Assignee: bugzilla at libav.org
          Reporter: yan12125 at gmail.com

I got the following error when processing a downloaded mp3 file. The file
sample can be retrieved from
https://drive.google.com/file/d/0B7pIvhrJqP6xOWFtUllZbjhCWFU/view

I'm testing on Arch Linux with GCC 5.2.0. Please tell me if you need more info.

I can't play this file with avplay, either.

$ ~/tmp/libav/avconv -loglevel trace -y -i ./mp3_no_audio_stream_present.mp3
output.mp3
avconv version v12_dev0-1807-g599fe93, Copyright (c) 2000-2015 the Libav
developers
  built on Sep  5 2015 22:57:06 with gcc 5.2.0 (GCC)
  configuration: 
  libavutil     55.  0. 0 / 55.  0. 0
  libavcodec    57.  1. 0 / 57.  1. 0
  libavformat   57.  1. 0 / 57.  1. 0
  libavdevice   56.  0. 0 / 56.  0. 0
  libavfilter    6.  0. 0 /  6.  0. 0
  libavresample  3.  0. 0 /  3.  0. 0
  libswscale     4.  0. 0 /  4.  0. 0
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging
level) with argument 'trace'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with
argument '1'.
Reading option '-i' ... matched as input file with argument
'./mp3_no_audio_stream_present.mp3'.
Reading option 'output.mp3' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set libav* logging level) with argument trace.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file ./mp3_no_audio_stream_present.mp3.
Successfully parsed a group of options.
Opening an input file: ./mp3_no_audio_stream_present.mp3.
score: 1, dvhs_score: 1, fec_score: 1 
nsv_probe(), buf_size 2048
score: 0, dvhs_score: 0, fec_score: 0 
nsv_probe(), buf_size 4096
score: 0, dvhs_score: 0, fec_score: 0 
nsv_probe(), buf_size 8192
score: 0, dvhs_score: 0, fec_score: 0 
nsv_probe(), buf_size 16384
score: 0, dvhs_score: 0, fec_score: 0 
nsv_probe(), buf_size 32768
score: 0, dvhs_score: 0, fec_score: 0 
nsv_probe(), buf_size 65536
score: 0, dvhs_score: 0, fec_score: 0 
nsv_probe(), buf_size 131072
score: 0, dvhs_score: 0, fec_score: 0 
nsv_probe(), buf_size 262144
score: 0, dvhs_score: 0, fec_score: 0 
nsv_probe(), buf_size 524288
score: 0, dvhs_score: 0, fec_score: 0 
nsv_probe(), buf_size 1048576
[mp3 @ 0x16a2080] Format detected only with low score of 1, misdetection
possible!
IN delayed:0 pts:-9223372036854775808, dts:-9223372036854775808 cur_dts:0 st:1
pc:(nil)
OUTdelayed:0/0 pts:-9223372036854775808, dts:-9223372036854775808 cur_dts:0
[mjpeg @ 0x16bc0e0] marker=d8 avail_size_in_buf=5762654
[mjpeg @ 0x16bc0e0] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x16bc0e0] marker=e0 avail_size_in_buf=5762652
[mjpeg @ 0x16bc0e0] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x16bc0e0] marker=e2 avail_size_in_buf=5762634
[mjpeg @ 0x16bc0e0] marker parser used 3159 bytes (25272 bits)
[mjpeg @ 0x16bc0e0] marker=e1 avail_size_in_buf=5759472
[mjpeg @ 0x16bc0e0] marker parser used 127 bytes (1016 bits)
[mjpeg @ 0x16bc0e0] marker=db avail_size_in_buf=5759342
[mjpeg @ 0x16bc0e0] index=0
[mjpeg @ 0x16bc0e0] qscale[0]: 0
[mjpeg @ 0x16bc0e0] marker parser used 67 bytes (536 bits)
[mjpeg @ 0x16bc0e0] marker=db avail_size_in_buf=5759273
[mjpeg @ 0x16bc0e0] index=1
[mjpeg @ 0x16bc0e0] qscale[1]: 0
[mjpeg @ 0x16bc0e0] marker parser used 67 bytes (536 bits)
[mjpeg @ 0x16bc0e0] marker=c0 avail_size_in_buf=5759204
[mjpeg @ 0x16bc0e0] sof0: picture: 3125x3125
[mjpeg @ 0x16bc0e0] component 0 1:1 id: 0 quant:0
[mjpeg @ 0x16bc0e0] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x16bc0e0] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x16bc0e0] pix fmt id 11111100
[mjpeg @ 0x16bc0e0] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x16bc0e0] marker=c4 avail_size_in_buf=5759185
[mjpeg @ 0x16bc0e0] class=0 index=0 nb_codes=12
[mjpeg @ 0x16bc0e0] marker parser used 31 bytes (248 bits)
[mjpeg @ 0x16bc0e0] marker=c4 avail_size_in_buf=5759152
[mjpeg @ 0x16bc0e0] class=1 index=0 nb_codes=251
[mjpeg @ 0x16bc0e0] marker parser used 181 bytes (1448 bits)
[mjpeg @ 0x16bc0e0] marker=c4 avail_size_in_buf=5758969
[mjpeg @ 0x16bc0e0] class=0 index=1 nb_codes=12
[mjpeg @ 0x16bc0e0] marker parser used 31 bytes (248 bits)
[mjpeg @ 0x16bc0e0] marker=c4 avail_size_in_buf=5758936
[mjpeg @ 0x16bc0e0] class=1 index=1 nb_codes=251
[mjpeg @ 0x16bc0e0] marker parser used 181 bytes (1448 bits)
[mjpeg @ 0x16bc0e0] escaping removed 61043 bytes
[mjpeg @ 0x16bc0e0] marker=da avail_size_in_buf=5758753
[mjpeg @ 0x16bc0e0] component: 0
[mjpeg @ 0x16bc0e0] component: 1
[mjpeg @ 0x16bc0e0] component: 2
[mjpeg @ 0x16bc0e0] marker parser used 5697709 bytes (45581665 bits)
[mjpeg @ 0x16bc0e0] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x16bc0e0] mjpeg decode frame unused 0 bytes
[mp3 @ 0x16a2080] Probe buffer size limit 5000000 reached
[mp3 @ 0x16a2080] Estimating duration from bitrate, this may be inaccurate
[mp3 @ 0x16a2080] 0: start_time: 0.000 duration: -9223372036854.775
[mp3 @ 0x16a2080] 1: start_time: -9223372036854.775 duration:
-9223372036854.775
[mp3 @ 0x16a2080] stream: start_time: 0.000 duration: -9223372036854.775
bitrate=0 kb/s
Input #0, mp3, from './mp3_no_audio_stream_present.mp3':
  Metadata:
    artist          : Nyte
    TBPM            : 128
    track           : 1
    title           : Neon Lights
    genre           : Electro House
    album           : Beyond the Sky EP
    composer        : Nyte
    date            : 2014
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0, 0, 1/14112000: Audio: mp3
      0 channels, s16p
    Stream #0:1, 1, 1/90000: Video: mjpeg
      yuvj444p, pc, bt470bg/unknown/unknown, center
      3125x3125 [PAR 75:75 DAR 1:1], 0/1
      90k tbn
    Metadata:
      comment         : Other
Successfully opened the file.
Parsing a group of options: output file output.mp3.
Successfully parsed a group of options.
Opening an output file: output.mp3.
Successfully opened the file.
Detected 4 logical cores.
[buffer @ 0x16c9280] w:3125 h:3125 pixfmt:yuvj444p
[buffersink @ 0x16a2cc0] auto-inserting filter 'auto-inserted fifo 0' between
the filter 'format' and the filter 'output stream 0:0'
[format @ 0x16c9560] auto-inserting filter 'auto-inserted scaler 0' between the
filter 'Parsed filter 0 null' and the filter 'format'
[scale @ 0x16a3c20] w:3125 h:3125 fmt:yuvj444p -> w:3125 h:3125 fmt:rgb24
flags:0x4
[mp3 @ 0x16c6380] No audio stream present.
Output #0, mp3, to 'output.mp3':
  Metadata:
    artist          : Nyte
    TBPM            : 128
    track           : 1
    title           : Neon Lights
    genre           : Electro House
    album           : Beyond the Sky EP
    composer        : Nyte
    date            : 2014
    encoder         : Lavf57.1.0
    Stream #0:0, 0, 1/90000: Video: png
      rgb24, center, 3125x3125 [PAR 1:1 DAR 1:1], 1/90000, q=2-31, 200 kb/s
      90k tbn, 90k tbc
    Metadata:
      comment         : Other
      encoder         : Lavc57.1.0 png
Stream mapping:
  Stream #0:1 -> #0:0 (mjpeg (native) -> png (native))
Could not write header for output file #0 (incorrect codec parameters ?):
Invalid argument

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20150905/03b8b9c2/attachment.html>


More information about the libav-bugs mailing list