[FFmpeg-trac] #4938(avformat:open): mp3 demux from mp4 results in unplayable file

FFmpeg trac at avcodec.org
Fri Oct 16 20:19:28 CEST 2015


#4938: mp3 demux from mp4 results in unplayable file
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  projectsymphony                    |                   Status:  open
                 Type:  defect       |                Component:  avformat
             Priority:  important    |               Resolution:
              Version:  git-master   |               Blocked By:
             Keywords:  mov mp3      |  Reproduced by developer:  1
  regression                         |
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => mov mp3 regression
 * priority:  normal => important
 * version:  unspecified => git-master
 * status:  new => open
 * reproduced:  0 => 1


Comment:

 For future tickets: Please remember not to provide FFplay output if the
 issue is reproducible with FFmpeg.

 Regression since ae215e2b / 6ec688e1
 {{{
 $ ffmpeg -i 2014-11-30\ 23.59.04-hb.mp4 out.wav
 ffmpeg version N-76053-g2b5dda3 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --enable-gnutls
   libavutil      55.  4.100 / 55.  4.100
   libavcodec     57.  7.100 / 57.  7.100
   libavformat    57.  8.100 / 57.  8.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 11.100 /  6. 11.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.100 /  2.  0.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2014-11-30 23.59.04-hb.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     creation_time   : 2015-10-16 16:23:40
     date            : 2014-11-30T23:59:04+0100
     encoder         : HandBrake 0.10.2 2015061100
   Duration: 00:00:10.16, start: 0.000000, bitrate: 4140 kb/s
     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv,
 bt709), 1280x720 [SAR 1:1 DAR 16:9], 4078 kb/s, 120.16 fps, 120 tbr, 90k
 tbn, 180k tbc (default)
     Metadata:
       creation_time   : 2015-10-16 16:23:40
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, mono,
 s16p, 72 kb/s (default)
     Metadata:
       creation_time   : 2015-10-16 16:23:40
       handler_name    : Mono
 Output #0, wav, to 'out.wav':
   Metadata:
     major_brand     : mp42
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     ICRD            : 2014-11-30T23:59:04+0100
     ISFT            : Lavf57.8.100
     Stream #0:0(und): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz,
 mono, s16, 705 kb/s (default)
     Metadata:
       creation_time   : 2015-10-16 16:23:40
       handler_name    : Mono
       encoder         : Lavc57.7.100 pcm_s16le
 Stream mapping:
   Stream #0:1 -> #0:0 (mp3 (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 [mp3 @ 0x261e2a0] Header missing
 Error while decoding stream #0:1: Invalid data found when processing input

 ...

 [mp3 @ 0x261e2a0] Header missing
 Error while decoding stream #0:1: Invalid data found when processing input
 size=      16kB time=00:00:08.88 bitrate=  14.6kbits/s
 video:0kB audio:16kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.694444%
 Conversion failed!
 }}}
 The output file is unplayable / only a second long.

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


More information about the FFmpeg-trac mailing list