Opened 4 years ago

Last modified 23 months ago

#8585 new defect

Silence/volume problem when converting ATRAC files

Reported by: lukpac Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: atrac
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

FFmpeg seems to be inserting what amount to fade-ups at the start of ATRAC1 and ATRAC3plus files (and possibly others, but those are all I have tested).

For ATRAC3plus, I transferred a file from MiniDisc using Sony's SonicStage software (v 4.3.01.14050). This converts the original ATRAC1 data on the disc itself to ATRAC3plus. In addition, SonicStage will automatically convert to WAV after transferring. While the WAVs created by SonicStage seem to be fine, converting the OMA/ATRAC3plus file using FFmpeg results in a fade-up from silence of approximately 0.05 seconds at the start of the file.

Here is the relevant conversion information:

C:\Program Files\ffmpeg-20200324-e5d25d1-win64-static\bin>ffmpeg.exe -i "F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms.oma" -loglevel 99 "F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms-ffmpeg.wav"
ffmpeg version git-2020-03-24-e5d25d1 Copyright (c) 2000-2020 the FFmpeg developers

built with gcc 9.2.1 (GCC) 20200122
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 42.101 / 56. 42.101
libavcodec 58. 76.100 / 58. 76.100
libavformat 58. 42.100 / 58. 42.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 77.100 / 7. 77.100
libswscale 5. 6.101 / 5. 6.101
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100

Splitting the commandline.
Reading option '-i' ... matched as input url with argument 'F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms.oma'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option 'F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms-ffmpeg.wav' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument 99.
Successfully parsed a group of options.
Parsing a group of options: input url F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms.oma.
Successfully parsed a group of options.
Opening an input file: F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms.oma.
[NULL @ 00000176298cb0c0] Opening 'F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms.oma' for reading
[file @ 00000176298cc280] Setting default whitelist 'file,crypto,data'
Probing oma score:25 size:2048
Probing oma score:100 size:4096
[oma @ 00000176298cb0c0] Format oma probed with size=4096 and score=100
[oma @ 00000176298cb0c0] id3v2 ver:3 flags:00 len:3062
[oma @ 00000176298cb0c0] File is encrypted
[oma @ 00000176298cb0c0] RID: 0001001d
[oma @ 00000176298cb0c0] IV: 152f24153b47eb8c
[oma @ 00000176298cb0c0] CBC-MAC: b3adf37070e669ab
[oma @ 00000176298cb0c0] EK: 141ca30f90f12ef9
[oma @ 00000176298cb0c0] Before avformat_find_stream_info() pos: 3168 bytes read:32768 seeks:0 nb_streams:1
[oma @ 00000176298cb0c0] All info found
[oma @ 00000176298cb0c0] Estimating duration from bitrate, this may be inaccurate
[oma @ 00000176298cb0c0] stream 0: start_time: 0.000 duration: 236.333
[oma @ 00000176298cb0c0] format: start_time: 0.000 duration: 236.333 (estimate from bit rate) bitrate=256 kb/s
[oma @ 00000176298cb0c0] After avformat_find_stream_info() pos: 4656 bytes read:32768 seeks:0 frames:1
Input #0, oma, from 'F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms.oma':

Metadata:

title : Roll In My Sweet Baby's Arms
album : 20051129 set 1 Lonesome Rogues
OMG_ALBMS : 20051129 set 1 Lonesome Rogues
OMG_TIT2S : Roll In My Sweet Baby's Arms

Duration: 00:03:56.33, start: 0.000000, bitrate: 256 kb/s

Stream #0:0, 1, 1/44100: Audio: atrac3p ([1][0][0][0] / 0x0001), 44100 Hz, stereo, fltp, 256 kb/s

Successfully opened the file.
Parsing a group of options: output url F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms-ffmpeg.wav.
Successfully parsed a group of options.
Opening an output file: F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms-ffmpeg.wav.
[file @ 00000176298cd780] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
Stream mapping:

Stream #0:0 -> #0:0 (atrac3p (atrac3plus) -> pcm_s16le (native))

Press [q] to stop, ? for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
detected 8 logical cores
[graph_0_in_0_0 @ 00000176298f7a80] Setting 'time_base' to value '1/44100'
[graph_0_in_0_0 @ 00000176298f7a80] Setting 'sample_rate' to value '44100'
[graph_0_in_0_0 @ 00000176298f7a80] Setting 'sample_fmt' to value 'fltp'
[graph_0_in_0_0 @ 00000176298f7a80] Setting 'channel_layout' to value '0x3'
[graph_0_in_0_0 @ 00000176298f7a80] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[format_out_0_0 @ 000001762993c280] Setting 'sample_fmts' to value 's16'
[format_out_0_0 @ 000001762993c280] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
[AVFilterGraph @ 00000176298f7600] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 000001762993c880] [SWR @ 000001762993e440] Using fltp internally between filters
[auto_resampler_0 @ 000001762993c880] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
Output #0, wav, to 'F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms-ffmpeg.wav':

Metadata:

INAM : Roll In My Sweet Baby's Arms
IPRD : 20051129 set 1 Lonesome Rogues
OMG_ALBMS : 20051129 set 1 Lonesome Rogues
OMG_TIT2S : Roll In My Sweet Baby's Arms
ISFT : Lavf58.42.100
Stream #0:0, 0, 1/44100: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
Metadata:

encoder : Lavc58.76.100 pcm_s16le

[out_0_0 @ 00000176298d3300] EOF on sink link out_0_0:default.341x
No more output streams to write to, finishing.
size= 40712kB time=00:03:56.33 bitrate=1411.2kbits/s speed= 363x
video:0kB audio:40712kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000374%
Input file #0 (F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms.oma):

Input stream #0:0 (audio): 5089 packets read (7572432 bytes); 5089 frames decoded (10422272 samples);
Total: 5089 packets (7572432 bytes) demuxed

Output file #0 (F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms-ffmpeg.wav):

Output stream #0:0 (audio): 5089 frames encoded (10422272 samples); 5089 packets muxed (41689088 bytes);
Total: 5089 packets (41689088 bytes) muxed

5089 frames successfully decoded, 0 decoding errors
[AVIOContext @ 000001762993b000] Statistics: 4 seeks, 162 writeouts
[AVIOContext @ 00000176298d4500] Statistics: 7575600 bytes read, 0 seeks

Other than the fade-up, the resulting WAVs are essentially the same whether converted using FFmpeg or SonicStage, although they are not digitally identical (even after the fade-up).

I have also been able to transfer the raw ATRAC1 data from MiniDisc using QHiMDTransfer. While I am unable to convert these to WAV using SonicStudio to provide a baseline, the same fade-up behavior seems to be present. Here is the relevant conversion information:

C:\Program Files\ffmpeg-20200324-e5d25d1-win64-static\bin>ffmpeg -v 9 -loglevel 99 -i "F:\Roll In My Sweet Baby's Arms.aea" "F:\ffmpeg_test\Roll In My Sweet Baby's Arms-ffmpeg.wav"
ffmpeg version git-2020-03-24-e5d25d1 Copyright (c) 2000-2020 the FFmpeg developers

built with gcc 9.2.1 (GCC) 20200122
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 42.101 / 56. 42.101
libavcodec 58. 76.100 / 58. 76.100
libavformat 58. 42.100 / 58. 42.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 77.100 / 7. 77.100
libswscale 5. 6.101 / 5. 6.101
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100

Splitting the commandline.
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 url with argument 'F:\Roll In My Sweet Baby's Arms.aea'.
Reading option 'F:\ffmpeg_test\Roll In My Sweet Baby's Arms-ffmpeg.wav' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url F:\Roll In My Sweet Baby's Arms.aea.
Successfully parsed a group of options.
Opening an input file: F:\Roll In My Sweet Baby's Arms.aea.
[NULL @ 000001e7d954b0c0] Opening 'F:\Roll In My Sweet Baby's Arms.aea' for reading
[file @ 000001e7d954c240] Setting default whitelist 'file,crypto,data'
Probing mp3 score:12 size:2048
[aea @ 000001e7d954b0c0] Format aea detected only with low score of 1, misdetection possible!
id3v2 ver:3 flags:00 len:2101
[aea @ 000001e7d954b0c0] Before avformat_find_stream_info() pos: 4159 bytes read:1048576 seeks:0 nb_streams:1
[aea @ 000001e7d954b0c0] All info found
[aea @ 000001e7d954b0c0] Estimating duration from bitrate, this may be inaccurate
[aea @ 000001e7d954b0c0] stream 0: start_time: -102481911520608.625 duration: 236.464
[aea @ 000001e7d954b0c0] format: start_time: -9223372036854.775 duration: 236.464 (estimate from bit rate) bitrate=292 kb/s
[aea @ 000001e7d954b0c0] After avformat_find_stream_info() pos: 25359 bytes read:1048576 seeks:0 frames:50
Input #0, aea, from 'F:\Roll In My Sweet Baby's Arms.aea':

Metadata:

artist : The Lonesome Rogues

Duration: 00:03:56.46, bitrate: 292 kb/s

Stream #0:0, 50, 1/90000: Audio: atrac1, 44100 Hz, stereo, fltp, 292 kb/s

Successfully opened the file.
Parsing a group of options: output url F:\ffmpeg_test\Roll In My Sweet Baby's Arms-ffmpeg.wav.
Successfully parsed a group of options.
Opening an output file: F:\ffmpeg_test\Roll In My Sweet Baby's Arms-ffmpeg.wav.
[file @ 000001e7d9553300] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
Stream mapping:

Stream #0:0 -> #0:0 (atrac1 (native) -> pcm_s16le (native))

Press [q] to stop, ? for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
detected 8 logical cores
[graph_0_in_0_0 @ 000001e7d9667ac0] Setting 'time_base' to value '1/44100'
[graph_0_in_0_0 @ 000001e7d9667ac0] Setting 'sample_rate' to value '44100'
[graph_0_in_0_0 @ 000001e7d9667ac0] Setting 'sample_fmt' to value 'fltp'
[graph_0_in_0_0 @ 000001e7d9667ac0] Setting 'channel_layout' to value '0x3'
[graph_0_in_0_0 @ 000001e7d9667ac0] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[format_out_0_0 @ 000001e7d9668040] Setting 'sample_fmts' to value 's16'
[format_out_0_0 @ 000001e7d9668040] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
[AVFilterGraph @ 000001e7d961eb40] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 000001e7d966a680] [SWR @ 000001e7d966a8c0] Using fltp internally between filters
[auto_resampler_0 @ 000001e7d966a680] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
Output #0, wav, to 'F:\ffmpeg_test\Roll In My Sweet Baby's Arms-ffmpeg.wav':

Metadata:

IART : The Lonesome Rogues
ISFT : Lavf58.42.100
Stream #0:0, 0, 1/44100: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
Metadata:

encoder : Lavc58.76.100 pcm_s16le

F:\Roll In My Sweet Baby's Arms.aea: I/O error
[out_0_0 @ 000001e7d9667e00] EOF on sink link out_0_0:default.
No more output streams to write to, finishing.
size= 40712kB time=00:03:56.33 bitrate=1411.2kbits/s speed= 496x
video:0kB audio:40712kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000254%
Input file #0 (F:\Roll In My Sweet Baby's Arms.aea):

Input stream #0:0 (audio): 20356 packets read (8630944 bytes); 20356 frames decoded (10422272 samples);
Total: 20356 packets (8630944 bytes) demuxed

Output file #0 (F:\ffmpeg_test\Roll In My Sweet Baby's Arms-ffmpeg.wav):

Output stream #0:0 (audio): 20356 frames encoded (10422272 samples); 20356 packets muxed (41689088 bytes);
Total: 20356 packets (41689088 bytes) muxed

20356 frames successfully decoded, 0 decoding errors
[AVIOContext @ 000001e7d9553400] Statistics: 4 seeks, 162 writeouts
[AVIOContext @ 000001e7d95544c0] Statistics: 8635103 bytes read, 0 seeks

I am happy to provide files for analysis.

Change History (13)

comment:1 by Carl Eugen Hoyos, 4 years ago

Keywords: atrac1 atrac3plus removed
Version: unspecifiedgit-master

Did you try to reproduce with a sample from fate?

comment:2 by lukpac, 4 years ago

I hadn't previously, but I'm doing so now.

ATRAC1:
http://fate-suite.ffmpeg.org/atrac1/chirp_tone_10-16000.aea
http://fate-suite.ffmpeg.org/atrac1/test_tones_small.aea

Neither of these files has audio at the start of the track, making testing this scenario impossible.

ATRAC3plus:
http://fate-suite.ffmpeg.org/atrac3p/at3p_sample1.oma
http://fate-suite.ffmpeg.org/atrac3p/at3p_sample1.pcm

These seem to exhibit a similar fade-up to the files I tested from MD. Unfortunately, the PCM file seems to be a decode of the OMA file, rather than the original audio used to encode the OMA, so it is impossible to determine the effects of decoding.

comment:3 by Carl Eugen Hoyos, 4 years ago

Than please provide sample(s) that allow to reproduce.

And please provide pcm output of the reference decoder for our existing fate sample if possible.

comment:4 by lukpac, 4 years ago

I have my test files ready to upload, however I am unable to connect to upload.ffmpeg.org. I am using FTP on port 21. Is the server down?

Also, as far as the sample file goes, I am not sure how to convert to a raw PCM file. Will a WAV work?

comment:5 by lukpac, 4 years ago

Also, as an FYI, I made one reference to "SonicStudio" in the ticket. That was a typo, and should be "SonicStage".

comment:6 by Carl Eugen Hoyos, 4 years ago

wav will be fine
The ftp server is down, either use a file hoster of your choice or https://streams.videolan.org/upload/

comment:7 by lukpac, 4 years ago

The following files were uploaded via the Videolan upload site:

002-Roll In My Sweet Baby's Arms.oma

002-Roll In My Sweet Baby's Arms-sonicstage.wav

002-Roll In My Sweet Baby's Arms-ffmpeg.wav

  • Conversion of 002-Roll In My Sweet Baby's Arms.oma using the following command line: C:\Program Files\ffmpeg-20200324-e5d25d1-win64-static\bin>ffmpeg.exe -i "F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms.oma" -loglevel 99 "F:\ffmpeg_test\002-Roll In My Sweet Baby's Arms-ffmpeg.wav"

Roll In My Sweet Baby's Arms.aea

  • ATRAC1 file transferred from MiniDisc using QHiMDTransfer.

Roll In My Sweet Baby's Arms-ffmpeg.wav

  • Conversion of Roll In My Sweet Baby's Arms.aea using the following command line: C:\Program Files\ffmpeg-20200324-e5d25d1-win64-static\bin>ffmpeg -v 9 -loglevel 99 -i "F:\Roll In My Sweet Baby's Arms.aea" "F:\ffmpeg_test\Roll In My Sweet Baby's Arms-ffmpeg.wav"

at3p_sample1-from_oma.wav

  • Conversion of the test file at3p_sample1.oma using the following command line: C:\Program Files\ffmpeg-20200324-e5d25d1-win64-static\bin>ffmpeg.exe -i "F:\ffmpeg_test\at3p_sample1.oma" "F:\ffmpeg_test\at3p_sample1-from_oma.wav"

comment:8 by lukpac, 4 years ago

I just uploaded 6 files:

Hero full clip.aea
Hero split clip 1.aea
Hero split clip 2.aea
Hero full clip.wav
Hero split clip 1.wav
Hero split clip 2.wav

Hero full clip.aea is a 44 second clip that I recorded from CD to MD (SP/ATRAC1). After copying the file from MD, I added a track marker to split the track, and then copied the resulting 2 tracks for comparison. From what I can see looking in a text editor, the audio data in the "full clip" file is identical to that in the two "split clip" files, and converting them to WAV indicates they are identical as well, except for the beginning of Hero split clip 2.aea, which exhibits a 230 sample fade-up.

Hopefully that helps identify the issue. If ATRAC3plus files would also be helpful, please let me know.

Below is the conversion information for the 3 files.

Hero full clip.wav
C:\Program Files\ffmpeg-20200324-e5d25d1-win64-static\bin>ffmpeg -v 9 -loglevel 99 -i "F:\ffmpeg_test\Hero full clip.aea" "F:\ffmpeg_test\Hero full clip.wav"
ffmpeg version git-2020-03-24-e5d25d1 Copyright (c) 2000-2020 the FFmpeg developers

built with gcc 9.2.1 (GCC) 20200122
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 42.101 / 56. 42.101
libavcodec 58. 76.100 / 58. 76.100
libavformat 58. 42.100 / 58. 42.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 77.100 / 7. 77.100
libswscale 5. 6.101 / 5. 6.101
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100

Splitting the commandline.
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 url with argument 'F:\ffmpeg_test\Hero full clip.aea'.
Reading option 'F:\ffmpeg_test\Hero full clip.wav' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url F:\ffmpeg_test\Hero full clip.aea.
Successfully parsed a group of options.
Opening an input file: F:\ffmpeg_test\Hero full clip.aea.
[NULL @ 000001c1d67cac40] Opening 'F:\ffmpeg_test\Hero full clip.aea' for reading
[file @ 000001c1d67cbdc0] Setting default whitelist 'file,crypto,data'
[aea @ 000001c1d67cac40] Format aea detected only with low score of 1, misdetection possible!
[aea @ 000001c1d67cac40] Before avformat_find_stream_info() pos: 2048 bytes read:1048576 seeks:0 nb_streams:1
[aea @ 000001c1d67cac40] All info found
[aea @ 000001c1d67cac40] Estimating duration from bitrate, this may be inaccurate
[aea @ 000001c1d67cac40] stream 0: start_time: -102481911520608.625 duration: 44.537
[aea @ 000001c1d67cac40] format: start_time: -9223372036854.775 duration: 44.537 (estimate from bit rate) bitrate=292 kb/s
[aea @ 000001c1d67cac40] After avformat_find_stream_info() pos: 23248 bytes read:1048576 seeks:0 frames:50
Input #0, aea, from 'F:\ffmpeg_test\Hero full clip.aea':

Duration: 00:00:44.54, bitrate: 292 kb/s

Stream #0:0, 50, 1/90000: Audio: atrac1, 44100 Hz, stereo, fltp, 292 kb/s

Successfully opened the file.
Parsing a group of options: output url F:\ffmpeg_test\Hero full clip.wav.
Successfully parsed a group of options.
Opening an output file: F:\ffmpeg_test\Hero full clip.wav.
[file @ 000001c1d67d2d00] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
Stream mapping:

Stream #0:0 -> #0:0 (atrac1 (native) -> pcm_s16le (native))

Press [q] to stop, ? for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
detected 8 logical cores
[graph_0_in_0_0 @ 000001c1d68e6040] Setting 'time_base' to value '1/44100'
[graph_0_in_0_0 @ 000001c1d68e6040] Setting 'sample_rate' to value '44100'
[graph_0_in_0_0 @ 000001c1d68e6040] Setting 'sample_fmt' to value 'fltp'
[graph_0_in_0_0 @ 000001c1d68e6040] Setting 'channel_layout' to value '0x3'
[graph_0_in_0_0 @ 000001c1d68e6040] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[format_out_0_0 @ 000001c1d68e7e00] Setting 'sample_fmts' to value 's16'
[format_out_0_0 @ 000001c1d68e7e00] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
[AVFilterGraph @ 000001c1d689e240] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 000001c1d68e9400] [SWR @ 000001c1d68e9640] Using fltp internally between filters
[auto_resampler_0 @ 000001c1d68e9400] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
Output #0, wav, to 'F:\ffmpeg_test\Hero full clip.wav':

Metadata:

ISFT : Lavf58.42.100
Stream #0:0, 0, 1/44100: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
Metadata:

encoder : Lavc58.76.100 pcm_s16le

F:\ffmpeg_test\Hero full clip.aea: I/O error
[out_0_0 @ 000001c1d68e7bc0] EOF on sink link out_0_0:default.
No more output streams to write to, finishing.
size= 7668kB time=00:00:44.51 bitrate=1411.2kbits/s speed= 570x
video:0kB audio:7668kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000993%
Input file #0 (F:\ffmpeg_test\Hero full clip.aea):

Input stream #0:0 (audio): 3834 packets read (1625616 bytes); 3834 frames decoded (1963008 samples);
Total: 3834 packets (1625616 bytes) demuxed

Output file #0 (F:\ffmpeg_test\Hero full clip.wav):

Output stream #0:0 (audio): 3834 frames encoded (1963008 samples); 3834 packets muxed (7852032 bytes);
Total: 3834 packets (7852032 bytes) muxed

3834 frames successfully decoded, 0 decoding errors
[AVIOContext @ 000001c1d67d2e00] Statistics: 4 seeks, 32 writeouts
[AVIOContext @ 000001c1d67d4040] Statistics: 1627664 bytes read, 0 seeks

Hero split clip 1.wav
C:\Program Files\ffmpeg-20200324-e5d25d1-win64-static\bin>ffmpeg -v 9 -loglevel 99 -i "F:\ffmpeg_test\Hero split clip 1.aea" "F:\ffmpeg_test\Hero split clip 1.wav"
ffmpeg version git-2020-03-24-e5d25d1 Copyright (c) 2000-2020 the FFmpeg developers

built with gcc 9.2.1 (GCC) 20200122
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 42.101 / 56. 42.101
libavcodec 58. 76.100 / 58. 76.100
libavformat 58. 42.100 / 58. 42.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 77.100 / 7. 77.100
libswscale 5. 6.101 / 5. 6.101
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100

Splitting the commandline.
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 url with argument 'F:\ffmpeg_test\Hero split clip 1.aea'.
Reading option 'F:\ffmpeg_test\Hero split clip 1.wav' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url F:\ffmpeg_test\Hero split clip 1.aea.
Successfully parsed a group of options.
Opening an input file: F:\ffmpeg_test\Hero split clip 1.aea.
[NULL @ 0000017c5e6aac40] Opening 'F:\ffmpeg_test\Hero split clip 1.aea' for reading
[file @ 0000017c5e6abdc0] Setting default whitelist 'file,crypto,data'
[aea @ 0000017c5e6aac40] Format aea detected only with low score of 1, misdetection possible!
[aea @ 0000017c5e6aac40] Before avformat_find_stream_info() pos: 2048 bytes read:1048576 seeks:0 nb_streams:1
[aea @ 0000017c5e6aac40] All info found
[aea @ 0000017c5e6aac40] Estimating duration from bitrate, this may be inaccurate
[aea @ 0000017c5e6aac40] stream 0: start_time: -102481911520608.625 duration: 32.410
[aea @ 0000017c5e6aac40] format: start_time: -9223372036854.775 duration: 32.410 (estimate from bit rate) bitrate=292 kb/s
[aea @ 0000017c5e6aac40] After avformat_find_stream_info() pos: 23248 bytes read:1048576 seeks:0 frames:50
Input #0, aea, from 'F:\ffmpeg_test\Hero split clip 1.aea':

Duration: 00:00:32.41, bitrate: 292 kb/s

Stream #0:0, 50, 1/90000: Audio: atrac1, 44100 Hz, stereo, fltp, 292 kb/s

Successfully opened the file.
Parsing a group of options: output url F:\ffmpeg_test\Hero split clip 1.wav.
Successfully parsed a group of options.
Opening an output file: F:\ffmpeg_test\Hero split clip 1.wav.
[file @ 0000017c5e6b2d00] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
Stream mapping:

Stream #0:0 -> #0:0 (atrac1 (native) -> pcm_s16le (native))

Press [q] to stop, ? for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
detected 8 logical cores
[graph_0_in_0_0 @ 0000017c5e7c6140] Setting 'time_base' to value '1/44100'
[graph_0_in_0_0 @ 0000017c5e7c6140] Setting 'sample_rate' to value '44100'
[graph_0_in_0_0 @ 0000017c5e7c6140] Setting 'sample_fmt' to value 'fltp'
[graph_0_in_0_0 @ 0000017c5e7c6140] Setting 'channel_layout' to value '0x3'
[graph_0_in_0_0 @ 0000017c5e7c6140] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[format_out_0_0 @ 0000017c5e7c7ec0] Setting 'sample_fmts' to value 's16'
[format_out_0_0 @ 0000017c5e7c7ec0] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
[AVFilterGraph @ 0000017c5e77e4c0] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 0000017c5e7c9500] [SWR @ 0000017c5e7c9700] Using fltp internally between filters
[auto_resampler_0 @ 0000017c5e7c9500] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
Output #0, wav, to 'F:\ffmpeg_test\Hero split clip 1.wav':

Metadata:

ISFT : Lavf58.42.100
Stream #0:0, 0, 1/44100: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
Metadata:

encoder : Lavc58.76.100 pcm_s16le

F:\ffmpeg_test\Hero split clip 1.aea: I/O error
[out_0_0 @ 0000017c5e7c7c80] EOF on sink link out_0_0:default.
No more output streams to write to, finishing.
size= 5580kB time=00:00:32.39 bitrate=1411.2kbits/s speed= 415x
video:0kB audio:5580kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001365%
Input file #0 (F:\ffmpeg_test\Hero split clip 1.aea):

Input stream #0:0 (audio): 2790 packets read (1182960 bytes); 2790 frames decoded (1428480 samples);
Total: 2790 packets (1182960 bytes) demuxed

Output file #0 (F:\ffmpeg_test\Hero split clip 1.wav):

Output stream #0:0 (audio): 2790 frames encoded (1428480 samples); 2790 packets muxed (5713920 bytes);
Total: 2790 packets (5713920 bytes) muxed

2790 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0000017c5e6b2e00] Statistics: 4 seeks, 24 writeouts
[AVIOContext @ 0000017c5e6b4040] Statistics: 1185008 bytes read, 0 seeks

Hero split clip 2.wav
C:\Program Files\ffmpeg-20200324-e5d25d1-win64-static\bin>ffmpeg -v 9 -loglevel 99 -i "F:\ffmpeg_test\Hero split clip 2.aea" "F:\ffmpeg_test\Hero split clip 2.wav"
ffmpeg version git-2020-03-24-e5d25d1 Copyright (c) 2000-2020 the FFmpeg developers

built with gcc 9.2.1 (GCC) 20200122
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 42.101 / 56. 42.101
libavcodec 58. 76.100 / 58. 76.100
libavformat 58. 42.100 / 58. 42.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 77.100 / 7. 77.100
libswscale 5. 6.101 / 5. 6.101
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100

Splitting the commandline.
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 url with argument 'F:\ffmpeg_test\Hero split clip 2.aea'.
Reading option 'F:\ffmpeg_test\Hero split clip 2.wav' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url F:\ffmpeg_test\Hero split clip 2.aea.
Successfully parsed a group of options.
Opening an input file: F:\ffmpeg_test\Hero split clip 2.aea.
[NULL @ 00000274d9d7ac40] Opening 'F:\ffmpeg_test\Hero split clip 2.aea' for reading
[file @ 00000274d9d7bdc0] Setting default whitelist 'file,crypto,data'
[aea @ 00000274d9d7ac40] Format aea detected only with low score of 1, misdetection possible!
[aea @ 00000274d9d7ac40] Before avformat_find_stream_info() pos: 2048 bytes read:444704 seeks:0 nb_streams:1
[aea @ 00000274d9d7ac40] All info found
[aea @ 00000274d9d7ac40] Estimating duration from bitrate, this may be inaccurate
[aea @ 00000274d9d7ac40] stream 0: start_time: -102481911520608.625 duration: 12.128
[aea @ 00000274d9d7ac40] format: start_time: -9223372036854.775 duration: 12.128 (estimate from bit rate) bitrate=293 kb/s
[aea @ 00000274d9d7ac40] After avformat_find_stream_info() pos: 23248 bytes read:444704 seeks:0 frames:50
Input #0, aea, from 'F:\ffmpeg_test\Hero split clip 2.aea':

Duration: 00:00:12.13, bitrate: 293 kb/s

Stream #0:0, 50, 1/90000: Audio: atrac1, 44100 Hz, stereo, fltp, 292 kb/s

Successfully opened the file.
Parsing a group of options: output url F:\ffmpeg_test\Hero split clip 2.wav.
Successfully parsed a group of options.
Opening an output file: F:\ffmpeg_test\Hero split clip 2.wav.
[file @ 00000274d9d82d00] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
Stream mapping:

Stream #0:0 -> #0:0 (atrac1 (native) -> pcm_s16le (native))

Press [q] to stop, ? for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
detected 8 logical cores
[graph_0_in_0_0 @ 00000274da236140] Setting 'time_base' to value '1/44100'
[graph_0_in_0_0 @ 00000274da236140] Setting 'sample_rate' to value '44100'
[graph_0_in_0_0 @ 00000274da236140] Setting 'sample_fmt' to value 'fltp'
[graph_0_in_0_0 @ 00000274da236140] Setting 'channel_layout' to value '0x3'
[graph_0_in_0_0 @ 00000274da236140] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[format_out_0_0 @ 00000274da237ec0] Setting 'sample_fmts' to value 's16'
[format_out_0_0 @ 00000274da237ec0] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
[AVFilterGraph @ 00000274da1edd00] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 00000274da239500] [SWR @ 00000274da239700] Using fltp internally between filters
[auto_resampler_0 @ 00000274da239500] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
Output #0, wav, to 'F:\ffmpeg_test\Hero split clip 2.wav':

Metadata:

ISFT : Lavf58.42.100
Stream #0:0, 0, 1/44100: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
Metadata:

encoder : Lavc58.76.100 pcm_s16le

F:\ffmpeg_test\Hero split clip 2.aea: I/O error
[out_0_0 @ 00000274da237c80] EOF on sink link out_0_0:default.
No more output streams to write to, finishing.
size= 2088kB time=00:00:12.12 bitrate=1411.3kbits/s speed= 259x
video:0kB audio:2088kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.003648%
Input file #0 (F:\ffmpeg_test\Hero split clip 2.aea):

Input stream #0:0 (audio): 1044 packets read (442656 bytes); 1044 frames decoded (534528 samples);
Total: 1044 packets (442656 bytes) demuxed

Output file #0 (F:\ffmpeg_test\Hero split clip 2.wav):

Output stream #0:0 (audio): 1044 frames encoded (534528 samples); 1044 packets muxed (2138112 bytes);
Total: 1044 packets (2138112 bytes) muxed

1044 frames successfully decoded, 0 decoding errors
[AVIOContext @ 00000274d9d82e00] Statistics: 4 seeks, 11 writeouts
[AVIOContext @ 00000274d9d84040] Statistics: 444704 bytes read, 0 seeks

comment:9 by lukpac, 4 years ago

Is there anything further I can assist with at this time?

comment:10 by lukpac, 3 years ago

Just checking in with this, thanks.

comment:11 by lukpac, 23 months ago

Hi, I'm wondering if anyone is planning on looking at this. Thank you.

comment:12 by Elon Musk, 23 months ago

No files - no help.

comment:13 by mkver, 23 months ago

Files have already been uploaded to https://streams.videolan.org/ffmpeg/incoming/8585/.

Note: See TracTickets for help on using tickets.