[FFmpeg-user] I/O error

Sub Phil phil4000n at gmail.com
Fri Jun 10 10:31:33 CEST 2016


I wish to convert to normalize an amr file, however I get an I/O error.

In case it would be a bug in ffmpeg, which tool can I use to boost the
volume.

Console output:
F:\ffmpeg -y  -v 9 -loglevel 99 -i "Vocal 050.amr" -c:a libmp3lame 050.mp3
ffmpeg version N-80256-g0a9e781 Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-nvenc --enable-avisynth --enable-bz
lib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enabl
e-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
--enable-libgsm --enable-libilbc --enable-libmodp
lug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpe
g --enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libsnappy --enable-libsoxr --enable-libspee
x --enable-libtheora --enable-libtwolame --enable-libvidstab
--enable-libvo-amrwbenc --enable-libvorbis --enable-
libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-libxvid -
-enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 45.100 / 57. 45.100
  libavformat    57. 37.101 / 57. 37.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.101 /  6. 46.101
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files) with
argument '1'.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'Vocal 050.amr'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument
'libmp3lame'.
Reading option '050.mp3' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file Vocal 050.amr.
Successfully parsed a group of options.
Opening an input file: Vocal 050.amr.
[file @ 00000000004dac60] Setting default whitelist 'file,crypto'
Probing amr score:100 size:2048
Probing mp3 score:1 size:2048
[amr @ 00000000004da480] Format amr probed with size=2048 and score=100
[amr @ 00000000004da480] Before avformat_find_stream_info() pos: 6 bytes
read:32768 seeks:0
[amr @ 00000000004da480] All info found
[amr @ 00000000004da480] Estimating duration from bitrate, this may be
inaccurate
[amr @ 00000000004da480] 0: start_time: -9223372036854.775 duration: 1.474
[amr @ 00000000004da480] stream: start_time: -9223372036854.775 duration:
184.280 bitrate=12 kb/s
[amr @ 00000000004da480] After avformat_find_stream_info() pos: 1606 bytes
read:32768 seeks:0 frames:50
Input #0, amr, from 'Vocal 050.amr':
  Duration: 00:03:04.28, bitrate: 12 kb/s
    Stream #0:0, 50, 1/8000: Audio: amr_nb (samr / 0x726D6173), 8000 Hz,
mono, flt
Successfully opened the file.
Parsing a group of options: output file 050.mp3.
Applying option c:a (codec name) with argument libmp3lame.
Successfully parsed a group of options.
Opening an output file: 050.mp3.
[file @ 00000000004df000] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 4 logical cores
[graph 0 input from stream 0:0 @ 00000000004f56c0] Setting 'time_base' to
value '1/8000'
[graph 0 input from stream 0:0 @ 00000000004f56c0] Setting 'sample_rate' to
value '8000'
[graph 0 input from stream 0:0 @ 00000000004f56c0] Setting 'sample_fmt' to
value 'flt'
[graph 0 input from stream 0:0 @ 00000000004f56c0] Setting 'channel_layout'
to value '0x4'
[graph 0 input from stream 0:0 @ 00000000004f56c0] tb:1/8000 samplefmt:flt
samplerate:8000 chlayout:0x4
[audio format for output stream 0:0 @ 000000000062a680] Setting
'sample_fmts' to value 's32p|fltp|s16p'
[audio format for output stream 0:0 @ 000000000062a680] Setting
'sample_rates' to value '44100|48000|32000|22050|
24000|16000|11025|12000|8000'
[audio format for output stream 0:0 @ 000000000062a680] Setting
'channel_layouts' to value '0x4|0x3'
[audio format for output stream 0:0 @ 000000000062a680] auto-inserting
filter 'auto-inserted resampler 0' between
 the filter 'Parsed_anull_0' and the filter 'audio format for output stream
0:0'
[AVFilterGraph @ 00000000004df0a0] query_formats: 4 queried, 6 merged, 3
already done, 0 delayed
[auto-inserted resampler 0 @ 000000000062b060] picking fltp out of 3 ref:flt
[auto-inserted resampler 0 @ 000000000062b060] [SWR @ 00000000004f5fa0]
Using fltp internally between filters
[auto-inserted resampler 0 @ 000000000062b060] ch:1 chl:mono fmt:flt
r:8000Hz -> ch:1 chl:mono fmt:fltp r:8000Hz
[mp3 @ 00000000004eb800] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.code
cpar instead.
Output #0, mp3, to '050.mp3':
  Metadata:
    TSSE            : Lavf57.37.101
    Stream #0:0, 0, 1/8000: Audio: mp3 (libmp3lame), 8000 Hz, mono, fltp
    Metadata:
      encoder         : Lavc57.45.100 libmp3lame
Stream mapping:
  Stream #0:0 -> #0:0 (amr_nb (amrnb) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
    Last message repeated 10 times
Vocal 050.amr: I/O error02:29.76 bitrate=   8.0kbits/s speed= 299x
[output stream 0:0 @ 000000000062a500] EOF on sink link output stream
0:0:default.
No more output streams to write to, finishing.
[libmp3lame @ 0000000000629920] Trying to remove 367 more samples than
there are in the queue
size=     180kB time=00:03:04.32 bitrate=   8.0kbits/s speed= 297x
video:0kB audio:180kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.141491%
Input file #0 (Vocal 050.amr):
  Input stream #0:0 (audio): 9214 packets read (294848 bytes); 9214 frames
decoded (1474240 samples);
  Total: 9214 packets (294848 bytes) demuxed
Output file #0 (050.mp3):
  Output stream #0:0 (audio): 2560 frames encoded (1474240 samples); 2562
packets muxed (184464 bytes);
  Total: 2562 packets (184464 bytes) muxed
9214 frames successfully decoded, 0 decoding errors
[AVIOContext @ 00000000004e2ce0] Statistics: 1 seeks, 2564 writeouts
[AVIOContext @ 00000000006283e0] Statistics: 294854 bytes read, 0 seeks

F:\


More information about the ffmpeg-user mailing list