[FFmpeg-trac] #9572(undetermined:new): ffmpeg creating broken 0 byte files

FFmpeg trac at avcodec.org
Mon Dec 27 01:34:48 EET 2021


#9572: ffmpeg creating broken 0 byte files
-------------------------------------+-------------------------------------
             Reporter:  Joe          |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I am not super technical, but I will try and provide the best description
 of the issue below.

 Summary of the bug:
 How to reproduce: I am trying to reduce a large wav audio file (792MB). I
 use powershell to run the below command.
 {{{
 % ffmpeg -i input audiofile.wav -acodec libvorbis -b:a 320k output.ogg

 ffmpeg version 4.4.1-full_build-www.gyan.dev Copyright (c) 2000-2021 the
 FFmpeg developers
   built with gcc 11.2.0 (Rev1, Built by MSYS2 project)
 }}}
 The Full output I get is this
 {{{
 Guessed Channel Layout for Input Stream #0.0 : stereo
 Input #0, wav, from 'Forest.wav':
   Metadata:
     encoder         : Adobe Audition 22.1 (Windows)
     date            : 2021-12-26
     creation_time   : 21:25:15
     time_reference  : 0
   Duration: 00:18:02.06, bitrate: 6144 kb/s
   Stream #0:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 96000 Hz, stereo,
 flt, 6144 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (pcm_f32le (native) -> vorbis (libvorbis))
 Press [q] to stop, [?] for help
 [libvorbis @ 000001492f617e40] encoder setup failed
 Error initializing output stream 0:0 -- Error while opening encoder for
 output stream #0:0 - maybe incorrect parameters such as bit_rate, rate,
 width or height
 Conversion failed!
 }}}

 The file it creates is a 0 byte file that can't be deleted except for cmd
 admin commands.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9572>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list