Changes between Initial Version and Version 2 of Ticket #9911


Ignore:
Timestamp:
Sep 9, 2022, 1:11:43 AM (4 years ago)
Author:
Mia Sia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9911

    • Property Component ffmpeg → avcodec
  • Ticket #9911 – Description

    initial v2  
    11Summary of the bug:
    22
    3 libavcodwc/utils.c
     3libavcodec/utils.c
    44In "av_get_exact_bits_per_sample" function,
    55
    … …  
    1818which output 0, causes
    1919
    20 ffmpeg -i input.wav -c:a g722 output.afc
    21 [aiff @ 0x14af06f90] block align not set
     20C:\Users\user\Downloads>ffmpeg -i in.wav -c:a g722 out.afc -hide_banner
     21Guessed Channel Layout for Input Stream #0.0 : stereo
     22Input #0, wav, from 'in.wav':
     23  Metadata:
     24    encoder         : Lavf59.23.100
     25  Duration: 00:00:10.00, bitrate: 1536 kb/s
     26  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
     27Stream mapping:
     28  Stream #0:0 -> #0:0 (pcm_s16le (native) -> adpcm_g722 (g722))
     29Press [q] to stop, [?] for help
     30[aiff @ 00000229e62ef440] block align not set
    2231Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
    2332Error initializing output stream 0:0 --
     33Conversion failed!