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

FFmpeg trac at avcodec.org
Fri Oct 16 19:36:44 CEST 2015


#4938: mp3 demux from mp4 results in unplayable file
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  projectsymphony                    |                 Priority:  normal
               Status:  new          |                  Version:
            Component:  avformat     |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Sample file:
 https://www.dropbox.com/s/nue55vybs3lnh2v/2014-11-30%2023.59.04-hb.mp4?dl=0

 Quicktime plays video and not audio, Chrome and Firefox play video and
 audio, ffplay and ffmpeg do not play neither video nor audio.


 {{{
 $ ffplay 2014-11-30\ 23.59.04-hb.mp4
 ffplay version N-75284-g65b96ab Copyright (c) 2003-2015 the FFmpeg
 developers
   built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM
 3.5svn)
   configuration: --cc=clang --enable-debug --disable-optimizations
 --disable-yasm --disable-asm --enable-libfdk-aac --enable-version3
 --enable-nonfree --enable-gpl --disable-doc --enable-libmp3lame --enable-
 openssl --enable-libfreetype --enable-avresample --enable-libopenjpeg
 --enable-libx264
   libavutil      55.  2.100 / 55.  2.100
   libavcodec     57.  1.100 / 57.  1.100
   libavformat    57.  0.100 / 57.  0.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6.  3.100 /  6.  3.100
   libavresample   3.  0.  0 /  3.  0.  0
   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
 [mp3 @ 0x7fe6bc80e600] Header missing
     Last message repeated 120 times
 }}}


 If you streamcopy the audio stream you get several warnings about invalid
 audio packets


 {{{
 [mp3 @ 0x7ffacb010400] Audio packet of size 960 (starting with
 25001174...) is invalid, writing it anyway.
 }}}


 related to
 https://forum.handbrake.fr/viewtopic.php?f=12&t=33345&p=155672#p155672

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


More information about the FFmpeg-trac mailing list