Opened 9 years ago

Closed 8 years ago

#4821 closed defect (needs_more_info)

mp3 encoding issue

Reported by: Loadnabox Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

When attempting to convert from AVC encoded .mp4 with .mp3 audio stream I am getting the error

Error while decoding stream #0:1: Invalid data found when processing input
[mp3 @ 00000000057ffaa0] Header missing

If I map out the mp3 stream it encodes fine.

File was encoded using handbrake and is usable in all other apps including some trasnscoding dlna servers

How to reproduce:

% F:\Movies\Childrens>ffmpeg -i "Planes Fire And Rescue.mp4"
ffmpeg version N-74751-gb54e03c Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enab
le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena
ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 59.100 / 56. 59.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.100 /  5. 40.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Planes Fire And Rescue.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : HandBrake 0.10.0 2014112200
  Duration: 01:23:36.96, start: 0.062000, bitrate: 3605 kb/s
    Chapter #0:0: start 0.000000, end 207.058000
    Metadata:
      title           : Chapter 1
    Chapter #0:1: start 207.058000, end 467.819000
    Metadata:
      title           : Chapter 2
    Chapter #0:2: start 467.819000, end 755.273000
    Metadata:
      title           : Chapter 3
    Chapter #0:3: start 755.273000, end 1058.075000
    Metadata:
      title           : Chapter 4
    Chapter #0:4: start 1058.075000, end 1374.391000
    Metadata:
      title           : Chapter 5
    Chapter #0:5: start 1374.391000, end 1664.548000
    Metadata:
      title           : Chapter 6
    Chapter #0:6: start 1664.548000, end 1956.478000
    Metadata:
      title           : Chapter 7
    Chapter #0:7: start 1956.478000, end 2123.979000
    Metadata:
      title           : Chapter 8
    Chapter #0:8: start 2123.979000, end 2310.199000
    Metadata:
      title           : Chapter 9
    Chapter #0:9: start 2310.199000, end 2497.519000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2497.519000, end 2840.228000
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 2840.228000, end 3299.987000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 3299.987000, end 3448.169000
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 3448.169000, end 3633.153000
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 3633.153000, end 3921.942000
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 3921.942000, end 4146.867000
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 4146.867000, end 4434.487000
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 4434.487000, end 5016.953000
    Metadata:
      title           : Chapter 18
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 718x480 [SAR 1280:1077 DAR 16:9], 3217 kb/s, 23.98 fps, 59.94 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 218 kb/s (default)
    Metadata:
      handler_name    : Stereo
    Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s
    Metadata:
      handler_name    : Stereo
    Stream #0:3(eng): Subtitle: mov_text (text / 0x74786574)
    Metadata:
      handler_name    : SubtitleHandler
At least one output file must be specified

F:\Movies\Childrens>

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (2)

comment:1 by Carl Eugen Hoyos, 9 years ago

Did you upload a sample file?

comment:2 by Carl Eugen Hoyos, 8 years ago

Resolution: needs_more_info
Status: newclosed

Please reopen this ticket if you can provide a sample.

Note: See TracTickets for help on using tickets.