[FFmpeg-trac] #6091(avformat:open): support ds2 audio (dss pro audio) file format
FFmpeg
trac at avcodec.org
Thu Jan 19 08:26:58 EET 2017
#6091: support ds2 audio (dss pro audio) file format
-------------------------------------+------------------------------------
Reporter: vineet156 | Owner:
Type: enhancement | Status: open
Priority: wish | Component: avformat
Version: git-master | Resolution:
Keywords: dss | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by vineet156):
Not directly using earlier command. Since there is no output file
generated.
But if I force the input file format to "dss", then it trancodes mp3
output successfully. However, the audio is all muzzled up, and the
duration is double the input file's duration (32 seconds instead of 16
seconds)
fyi, input file's codec is dss_sp only as I checked in a dss player.
{{{
ffmpeg started on 2017-01-19 at 06:19:58
Report written to "ffmpeg-20170119-061958.log"
Command line:
ffmpeg -report -f dss -i VoiceRec11.ds2 VoiceRec11.mp3
ffmpeg version N-83132-g9561de4 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --prefix=/home/ubuntu/ffmpeg_build --pkg-config-
flags=--static --extra-cflags='-I/home/ubuntu/ffmpeg_build/include
-static' --extra-ldflags='-L/home/ubuntu/ffmpeg_build/lib -static'
--bindir=/home/ubuntu/bin --enable-libmp3lame
libavutil 55. 43.100 / 55. 43.100
libavcodec 57. 73.100 / 57. 73.100
libavformat 57. 62.100 / 57. 62.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 69.100 / 6. 69.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'dss'.
Reading option '-i' ... matched as input url with argument
'VoiceRec11.ds2'.
Reading option 'VoiceRec11.mp3' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url VoiceRec11.ds2.
Applying option f (force format) with argument dss.
Successfully parsed a group of options.
Opening an input file: VoiceRec11.ds2.
[file @ 0x2798b80] Setting default whitelist 'file,crypto'
[dss @ 0x2798200] Before avformat_find_stream_info() pos: 1536 bytes
read:32768 seeks:0 nb_streams:1
[dss @ 0x2798200] All info found
[dss @ 0x2798200] Estimating duration from bitrate, this may be inaccurate
[dss @ 0x2798200] After avformat_find_stream_info() pos: 3616 bytes
read:32768 seeks:0 frames:50
Input #0, dss, from 'VoiceRec11.ds2':
Metadata:
author : DPM 6000
date : 2017-01-12T10:44:19
comment :
Duration: 00:00:32.80, start: 0.000000, bitrate: 14 kb/s
Stream #0:0, 50, 1/11025: Audio: dss_sp, 11025 Hz, mono, s16
Successfully opened the file.
Parsing a group of options: output url VoiceRec11.mp3.
Successfully parsed a group of options.
Opening an output file: VoiceRec11.mp3.
[file @ 0x27af4e0] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 1 logical cores
[graph_0_in_0_0 @ 0x27b7dc0] Setting 'time_base' to value '1/11025'
[graph_0_in_0_0 @ 0x27b7dc0] Setting 'sample_rate' to value '11025'
[graph_0_in_0_0 @ 0x27b7dc0] Setting 'sample_fmt' to value 's16'
[graph_0_in_0_0 @ 0x27b7dc0] Setting 'channel_layout' to value '0x4'
[graph_0_in_0_0 @ 0x27b7dc0] tb:1/11025 samplefmt:s16 samplerate:11025
chlayout:0x4
[format_out_0_0 @ 0x27b8880] Setting 'sample_fmts' to value
's32p|fltp|s16p'
[format_out_0_0 @ 0x27b8880] Setting 'sample_rates' to value
'44100|48000|32000|22050|24000|16000|11025|12000|8000'
[format_out_0_0 @ 0x27b8880] Setting 'channel_layouts' to value '0x4|0x3'
[format_out_0_0 @ 0x27b8880] auto-inserting filter 'auto_resampler_0'
between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
[AVFilterGraph @ 0x27b7c80] query_formats: 4 queried, 6 merged, 3 already
done, 0 delayed
[auto_resampler_0 @ 0x27b9280] picking s16p out of 3 ref:s16
[auto_resampler_0 @ 0x27b9280] [SWR @ 0x27b9620] Using s16p internally
between filters
[auto_resampler_0 @ 0x27b9280] ch:1 chl:mono fmt:s16 r:11025Hz -> ch:1
chl:mono fmt:s16p r:11025Hz
Output #0, mp3, to 'VoiceRec11.mp3':
Metadata:
author : DPM 6000
TDRC : 2017-01-12T10:44:19
comment :
TSSE : Lavf57.62.100
Stream #0:0, 0, 1/11025: Audio: mp3 (libmp3lame), 11025 Hz, mono, s16p
Metadata:
encoder : Lavc57.73.100 libmp3lame
Stream mapping:
Stream #0:0 -> #0:0 (dss_sp (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
[dss_sp @ 0x27a3480] combined_pitch was too large
[dss_sp @ 0x27a3480] combined_pitch was too large
No more output streams to write to, finishing.
[libmp3lame @ 0x27ae880] Trying to remove 359 more samples than there are
in the queue
size= 65kB time=00:00:32.81 bitrate= 16.1kbits/s speed= 214x
video:0kB audio:64kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.502818%
Input file #0 (VoiceRec11.ds2):
Input stream #0:0 (audio): 1369 packets read (57498 bytes); 1369 frames
decoded (361416 samples);
Total: 1369 packets (57498 bytes) demuxed
Output file #0 (VoiceRec11.mp3):
Output stream #0:0 (audio): 628 frames encoded (361416 samples); 630
packets muxed (65829 bytes);
Total: 630 packets (65829 bytes) muxed
1369 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x27af3a0] Statistics: 1 seeks, 632 writeouts
[AVIOContext @ 0x27a1f60] Statistics: 58368 bytes read, 0 seeks
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6091#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list