<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>47345</bug_id>
          
          <creation_ts>2023-08-25 13:33:25 +0300</creation_ts>
          <short_desc>Утилита fs_encode не конвертирует wav -&gt; wav, хотя {wav,gsm} -&gt; gsm и gsm -&gt; wav работают</short_desc>
          <delta_ts>2023-08-25 13:47:32 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>freeswitch-daemon</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>at</cc>
    
    <cc>cas</cc>
    
    <cc>crux</cc>
    
    <cc>ender</cc>
    
    <cc>lav</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>qa_viy</cc>
    
    <cc>rider</cc>
    
    <cc>shaba</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>231890</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2023-08-25 13:33:25 +0300</bug_when>
    <thetext>Описание ошибки
===============

1. Необходим тестовый файл с расширением wav, например: # wget https://example-files.online-convert.com/audio/wav/example.wav -O file.wav
2. Создать файл с расширением gsm: # ffmpeg -i file.wav -ar 8000 file.gsm
3. # fs_encode file.gsm output.gsm
4. # fs_encode file.gsm output.wav
5. # fs_encode file.wav output.gsm
6. # fs_encode file.wav output.wav
(запускаются от имени root из-за https://bugzilla.altlinux.org/47334)

Фактический результат: 3-5: успешно. 6: ошибка:

&gt; Couldn&apos;t initialize codec for wav@8000h@20i

Ожидаемый результат: 3-6 успешно.

Воспроизводимость
=================

[p10] server-10.1-x86-64
freeswitch-daemon-1.10.9-alt1.x86_64

[sisyphus] server-10.1-x86-64
freeswitch-daemon-1.10.10-alt1.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>231891</commentid>
    <comment_count>1</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2023-08-25 13:35:17 +0300</bug_when>
    <thetext>Для полноты, версии ffmpeg:

[p10] server-10.1-x86-64
ffmpeg-4.4.4-alt1.x86_64

[sisyphus] server-10.1-x86-64
ffmpeg-4.4.4-alt1.x86_64</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>