Opened 12 years ago

Closed 12 years ago

#1468 closed defect (fixed)

cannot mux mp3 into nut

Reported by: Elon Musk Owned by:
Priority: important Component: undetermined
Version: git-master Keywords: regression nut lame
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

How to reproduce:

> ffmpeg -v debug -i git/fate-suite/vorbis/1.0-test_small.ogg /tmp/out.nut
ffmpeg version git-2012-06-19-34b191e Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 19 2012 17:23:57 with clang 3.0 (tags/RELEASE_30/final 145349)
  configuration: --cc=clang --as=clang --extra-cflags=-I/usr/local/include --extra-cflags=-analyze --extra-ldflags=-L/usr/local/lib --disable-debug --disable-static --disable-postproc --disable-indev=alsa --disable-indev=bktr --disable-indev=dshow --disable-indev=dv1394 --disable-indev=fbdev --disable-indev=jack --disable-indev=libcdio --disable-indev=libdc1394 --disable-indev=openal --disable-indev=pulse --disable-indev=sndio --disable-indev=vfwcap --disable-outdev=sndio --disable-outdev=alsa --disable-ou  libavutil      51. 59.100 / 51. 59.100
  libavcodec     54. 25.100 / 54. 25.100
  libavformat    54.  8.100 / 54.  8.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 81.100 /  2. 81.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
[ogg @ 0x298dd100] Format ogg probed with size=2048 and score=100
[ogg @ 0x298dd100] File position before avformat_find_stream_info() is 8675
[ogg @ 0x298dd100] All info found
[ogg @ 0x298dd100] File position after avformat_find_stream_info() is 8675
Input #0, ogg, from 'git/fate-suite/vorbis/1.0-test_small.ogg':
  Duration: 00:00:05.86, start: 0.000000, bitrate: 136 kb/s
    Stream #0:0, 1, 1/44100: Audio: vorbis, 44100 Hz, stereo, s16, 156 kb/s
    Metadata:
      TITLE           : Closing
      ARTIST          : Moulin Rouge
      ALBUM           : Combined Soundtrack
File '/tmp/out.nut' already exists. Overwrite ? [y/N] y
Setting entry with key 'time_base' to value '1/44100'
[abuffer source @ 0x298ac160] Setting entry with key 'sample_rate' to value '44100'
[abuffer source @ 0x298ac160] Setting entry with key 'sample_fmt' to value 's16'
[abuffer source @ 0x298ac160] Setting entry with key 'channel_layout' to value '0x3'
[abuffer @ 0x2980e300] tb:1/44100 samplefmt:s16 samplerate: 44100 ch layout:0x3
[aformat @ 0x2980d560] Setting entry with key 'sample_fmts' to value 's32,flt,s16'
[aformat @ 0x2980d560] Setting entry with key 'sample_rates' to value '44100,48000,32000,22050,24000,16000,11025,12000,8000'
[aformat @ 0x2980d560] Setting entry with key 'channel_layouts' to value '0x4,0x3'
Output #0, nut, to '/tmp/out.nut':
  Metadata:
    encoder         : Lavf54.8.100
    Stream #0:0, 0, 32/1225: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16
    Metadata:
      TITLE           : Closing
      Author          : Moulin Rouge
      ALBUM           : Combined Soundtrack
Stream mapping:
  Stream #0:0 -> #0:0 (vorbis -> libmp3lame)
Press [q] to stop, [?] for help
av_interleaved_write_frame(): Operation not permitted
[AVIOContext @ 0x298ad100] Statistics: 132768 bytes read, 2 seeks

Change History (4)

comment:1 by Carl Eugen Hoyos, 12 years ago

Keywords: regression nut lame added
Priority: normalimportant
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Regression since 967facb, also reproducible with aac, wma, ...

comment:2 by Stefano Sabatini, 12 years ago

Resolution: worksforme
Status: openclosed

Seems fixed in latest git.

comment:3 by Carl Eugen Hoyos, 12 years ago

Resolution: worksforme
Status: closedreopened
$ ffmpeg -i fate-suite/vorbis/1.0-test_small.ogg -acodec libmp3lame out.nut
ffmpeg version N-44716-gd40b197 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep 24 2012 11:37:23 with gcc 4.5.3 (GCC)
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl --enable-libmp3lame
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 58.100 / 54. 58.100
  libavformat    54. 28.100 / 54. 28.100
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, ogg, from 'fate-suite/vorbis/1.0-test_small.ogg':
  Duration: 00:00:05.86, start: 0.000000, bitrate: 136 kb/s
    Stream #0:0: Audio: vorbis, 44100 Hz, stereo, s16, 156 kb/s
    Metadata:
      TITLE           : Closing
      ARTIST          : Moulin Rouge
      ALBUM           : Combined Soundtrack
Output #0, nut, to 'out.nut':
  Metadata:
    encoder         : Lavf54.28.100
    Stream #0:0: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16
    Metadata:
      TITLE           : Closing
      Author          : Moulin Rouge
      ALBUM           : Combined Soundtrack
Stream mapping:
  Stream #0:0 -> #0:0 (vorbis -> libmp3lame)
Press [q] to stop, [?] for help
[nut @ 0x14fc7c0] Invalid negative packet pts -1 in input
av_interleaved_write_frame(): Invalid argument

comment:4 by Michael Niedermayer, 12 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.