#1572 TaskCfg(cache_folder='D:/aiFace/win-pyvideotrans-v3.85/tmp10196/d8592a38ba', target_dir='D:/aiFace/win-pyvideotrans-v3.8

240e:390* Posted at: 11 hours ago 👁12

运行时错误:[aist#0:0/pcm_s16le @ 000001f91fde00c0] Guessed Channel Layout: stereo Input #0, concat, from 'D:/aiFace/win-pyvideotrans-v3.85/tmp10196/d8592a38ba/audio_clips/audio_concat_list.txt': Duration: N/A, start: 0.000000, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le (10 / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) [ipod @ 000001f91fb89f80] Could not find tag for codec pcm_s16le in stream #0, codec not currently supported in container [out#0/ipod @ 000001f91fb89e40] Could not write header (incorrect codec parameters ?): Invalid argument Conversion failed!:
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 227, in runffmpeg
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-progress', 'D:/aiFace/win-pyvideotrans-v3.85/tmp10196/rate_audio_1763833242.2027738.txt', '-f', 'concat', '-safe', '0', '-i', 'D:/aiFace/win-pyvideotrans-v3.85/tmp10196/d8592a38ba/audio_clips/audio_concat_list.txt', '-c:a', 'copy', 'D:/aiFace/win-pyvideotrans-v3.85/tmp10196/peiyin1763833050.4039218.m4a']' returned non-zero exit status 4294967274.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 259, in run
File "videotrans\task\_dubbing.py", line 253, in align
File "videotrans\task\_rate.py", line 181, in run
File "videotrans\task\_rate.py", line 278, in _run_no_rate_change_mode
File "videotrans\task\_rate.py", line 1001, in _finalize_files
File "videotrans\task\_rate.py", line 1076, in _ffmpeg_concat_audio
File "videotrans\util\help_ffmpeg.py", line 272, in runffmpeg
RuntimeError: [aist#0:0/pcm_s16le @ 000001f91fde00c0] Guessed Channel Layout: stereo Input #0, concat, from 'D:/aiFace/win-pyvideotrans-v3.85/tmp10196/d8592a38ba/audio_clips/audio_concat_list.txt': Duration: N/A, start: 0.000000, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le (10 / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) [ipod @ 000001f91fb89f80] Could not find tag for codec pcm_s16le in stream #0, codec not currently supported in container [out#0/ipod @ 000001f91fb89e40] Could not write header (incorrect codec parameters ?): Invalid argument Conversion failed!

TaskCfg(cache_folder='D:/aiFace/win-pyvideotrans-v3.85/tmp10196/d8592a38ba', target_dir='D:/aiFace/win-pyvideotrans-v3.85/tmp10196', remove_noise=False, is_separate=False, detect_language=None, subtitle_language=None, source_language=None, target_language=None, source_language_code=None, target_language_code='zh-cn', source_sub=None, target_sub='D:/aiFace/win-pyvideotrans-v3.85/tmp10196/peiyin1763833050.4039218.srt', source_wav=None, source_wav_output=None, target_wav='D:/aiFace/win-pyvideotrans-v3.85/tmp10196/peiyin1763833050.4039218.m4a', target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='peiyin1763833050.4039218', shibie_audio=None, targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='云皓(Male/CN)', copysrt_rawvideo=False, clear_cache=False, translate_type=None, tts_type=0, recogn_type=None, model_name=None, split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='D:/aiFace/win-pyvideotrans-v3.85/tmp10196/peiyin1763833050.4039218.srt', basename='peiyin1763833050.4039218.srt', ext='srt', dirname='D:/aiFace/win-pyvideotrans-v3.85/tmp10196', shound_del_name=None, uuid='d8592a38ba', remove_silent_mid=False, align_sub_audio=False, enable_diariz=False, nums_diariz=0)


=
system:Windows-10-10.0.19045-SP0
version:v3.85
frozen:True
language:zh
root_dir:D:/aiFace/win-pyvideotrans-v3.85

2 Replies

这是一个音频编码格式不兼容的问题。错误信息显示 pcm_s16le 编码的音频无法被封装到 m4a 容器中。

解决方案:

  1. 更改输出音频格式:
    在菜单栏选择 工具/选项 -> 高级选项,找到 视频输出控制 区域,将 音频编码器 从默认的 aac 改为 libmp3lame(输出 mp3 格式)或保持 aac 但取消勾选 强制使用指定音频编码器(如果已勾选)。
  2. 检查音频源:
    您正在处理的是 SRT 字幕文件(peiyin1763833050.4039218.srt)的配音任务。请确认生成这些配音片段的 TTS 引擎(语音角色:云皓)是否正常工作,以及生成的临时音频片段格式是否正常。
  3. 清理缓存重试:
    在重新运行任务前,请确保在主界面勾选了 清理已生成 选项,以清除可能损坏的临时文件。

如果问题依旧,请提供完整的日志文件(位于 D:/aiFace/win-pyvideotrans-v3.85/logs/ 目录下)以便进一步分析。

输出格式选择wav

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions