[FFmpeg-trac] #9758(undetermined:new): Voc file decoded incompletely

FFmpeg trac at avcodec.org
Sat Apr 30 16:33:12 EEST 2022


#9758: Voc file decoded incompletely
-------------------------------------+-------------------------------------
             Reporter:  Desperado    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I try to convert a 9MB voc file from an old game to MP3 format like this:

 ffmpeg -i ./File0001.voc   fixed2.mp3

 Ffmpeg estimates the length of the voc file with over an hour, but the
 output file is only 3 seconds long:

 ffmpeg version N-102754-g604924a069-tessus  https://evermeet.cx/ffmpeg/
 Copyright (c) 2000-2021 the FFmpeg developers
   built with Apple clang version 11.0.0 (clang-1100.0.33.17)
   configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-
 version=tessus --enable-avisynth --enable-fontconfig --enable-gpl
 --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d
 --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-
 libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-
 libopus --enable-librubberband --enable-libshine --enable-libsnappy
 --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
 --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-
 libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq
 --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-
 ffplay
   libavutil      57.  0.100 / 57.  0.100
   libavcodec     59.  1.101 / 59.  1.101
   libavformat    59.  3.100 / 59.  3.100
   libavdevice    59.  0.100 / 59.  0.100
   libavfilter     8.  0.102 /  8.  0.102
   libswscale      6.  0.100 /  6.  0.100
   libswresample   4.  0.100 /  4.  0.100
   libpostproc    56.  0.100 / 56.  0.100
 [voc @ 0x7fa520700240] Estimating duration from bitrate, this may be
 inaccurate
 Guessed Channel Layout for Input Stream #0.0 : mono
 Input #0, voc, from './File0001.voc':
   Duration: 01:08:11.70, start: 0.000000, bitrate: 177 kb/s
   Stream #0:0: Audio: pcm_u8, 22222 Hz, mono, u8, 177 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (pcm_u8 (native) -> mp3 (libmp3lame))
 Press [q] to stop, [?] for help
 Output #0, mp3, to 'fixed2.mp3':
   Metadata:
     TSSE            : Lavf59.3.100
   Stream #0:0: Audio: mp3, 22050 Hz, mono, s16p
     Metadata:
       encoder         : Lavc59.1.101 libmp3lame
 size=      11kB time=00:00:02.58 bitrate=  33.3kbits/s speed=24.8x
 video:0kB audio:10kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 2.141571%

 I tried this on Mac and a friend also tested this under Windows.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9758>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list