[FFmpeg-trac] #6072(avcodec:closed): Support dss version 3

FFmpeg trac at avcodec.org
Thu Jan 12 11:27:46 EET 2017


#6072: Support dss version 3
------------------------------------+-----------------------------------
             Reporter:  vineet156   |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:  fixed
             Keywords:  dss         |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by vineet156):

 Thank you.
 It works now, but there is a new issue.
 only 07.93 seconds of output is generated and then it shows error "Invalid
 data found when processing input"

 How to reproduce:
 {{{
 ffmpeg started on 2017-01-12 at 09:18:33
 Report written to "ffmpeg-20170112-091833.log"
 Command line:
 /usr/local/ffmpeg/bin/ffmpeg -report -i WelcomeToSpeechExec.dss
 WelcomeOuput.wav
 ffmpeg version N-83049-ge71b811 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 4.9.2 (Debian 4.9.2-10)
   configuration: --prefix=/usr/local/ffmpeg --enable-static
   libavutil      55. 43.100 / 55. 43.100
   libavcodec     57. 72.100 / 57. 72.100
   libavformat    57. 62.100 / 57. 62.100
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 68.100 /  6. 68.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 '-i' ... matched as input url with argument
 'WelcomeToSpeechExec.dss'.
 Reading option 'WelcomeOuput.wav' ... 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 WelcomeToSpeechExec.dss.
 Successfully parsed a group of options.
 Opening an input file: WelcomeToSpeechExec.dss.
 [file @ 0x38dbf40] Setting default whitelist 'file,crypto'
 [dss @ 0x38db5e0] Format dss probed with size=2048 and score=100
 [dss @ 0x38db5e0] Before avformat_find_stream_info() pos: 1536 bytes
 read:32768 seeks:0 nb_streams:1
 [dss @ 0x38db5e0] All info found
 [dss @ 0x38db5e0] Estimating duration from bitrate, this may be inaccurate
 [dss @ 0x38db5e0] After avformat_find_stream_info() pos: 3616 bytes
 read:32768 seeks:0 frames:50
 Input #0, dss, from 'WelcomeToSpeechExec.dss':
   Metadata:
     author          :
     date            : 2007-01-01T01:01:01
     comment         :
   Duration: 00:02:15.06, start: 0.000000, bitrate: 13 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 WelcomeOuput.wav.
 Successfully parsed a group of options.
 Opening an output file: WelcomeOuput.wav.
 [file @ 0x38f0ec0] Setting default whitelist 'file,crypto'
 Successfully opened the file.
 detected 1 logical cores
 [graph 0 input from stream 0:0 @ 0x38f99e0] Setting 'time_base' to value
 '1/11025'
 [graph 0 input from stream 0:0 @ 0x38f99e0] Setting 'sample_rate' to value
 '11025'
 [graph 0 input from stream 0:0 @ 0x38f99e0] Setting 'sample_fmt' to value
 's16'
 [graph 0 input from stream 0:0 @ 0x38f99e0] Setting 'channel_layout' to
 value '0x4'
 [graph 0 input from stream 0:0 @ 0x38f99e0] tb:1/11025 samplefmt:s16
 samplerate:11025 chlayout:0x4
 [audio format for output stream 0:0 @ 0x38fa440] Setting 'sample_fmts' to
 value 's16'
 [AVFilterGraph @ 0x38f9700] query_formats: 4 queried, 9 merged, 0 already
 done, 0 delayed
 Output #0, wav, to 'WelcomeOuput.wav':
   Metadata:
     author          :
     ICRD            : 2007-01-01T01:01:01
     ICMT            :
     ISFT            : Lavf57.62.100
     Stream #0:0, 0, 1/11025: Audio: pcm_s16le ([1][0][0][0] / 0x0001),
 11025 Hz, mono, s16, 176 kb/s
     Metadata:
       encoder         : Lavc57.72.100 pcm_s16le
 Stream mapping:
   Stream #0:0 -> #0:0 (dss_sp (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 WelcomeToSpeechExec.dss: Invalid data found when processing input
 [output stream 0:0 @ 0x38fa120] EOF on sink link output stream
 0:0:default.
 No more output streams to write to, finishing.
 size=     171kB time=00:00:07.92 bitrate= 176.5kbits/s speed= 367x
 video:0kB audio:171kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.060652%
 Input file #0 (WelcomeToSpeechExec.dss):
   Input stream #0:0 (audio): 331 packets read (13902 bytes); 331 frames
 decoded (87384 samples);
   Total: 331 packets (13902 bytes) demuxed
 Output file #0 (WelcomeOuput.wav):
   Output stream #0:0 (audio): 331 frames encoded (87384 samples); 331
 packets muxed (174768 bytes);
   Total: 331 packets (174768 bytes) muxed
 331 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 0x38f8fa0] Statistics: 4 seeks, 334 writeouts
 [AVIOContext @ 0x38e4260] Statistics: 32768 bytes read, 0 seeks
 }}}

 Input file has 2 minute 15 seconds of duration, but output file has 7
 seconds of duration. Although the output file playback is fine.
 Output file is attached as well.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6072#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list