Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛[BUG] 抖音录制结束后ts文件无法转码mp4 #882

Open
2 tasks done
12414123123123 opened this issue Jan 19, 2025 · 3 comments
Open
2 tasks done

🐛[BUG] 抖音录制结束后ts文件无法转码mp4 #882

12414123123123 opened this issue Jan 19, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@12414123123123
Copy link

12414123123123 commented Jan 19, 2025

⚠️ 确认是否已存在类似问题

  • 我已经搜索过issues,没有找到类似问题

🔧 运行方式

直接运行的exe文件

🐍 如果是使用源代码运行,请选择你的Python环境版本

Python 3.10

💻 请选择你的系统环境

Windows 10

⚠️ 确认是否已经重试多次

  • 我已经尝试过多次,仍然出现问题

🕹 复现步骤

1.录制的格式是ts

😯 问题描述

由于4.0.1版本抖音录制时会出现跳帧情况,根据#854我更换成3.0.7稳定版进行录制,暂时无跳帧情况,但是在录制结束后无法自动将ts文件转码成mp4格式,下边是我的config设置,并且我在查看任务管理器中live record进程下有100多个ffmpeg进程,并且录制的ts文件无法删除提示被ffmpeg占用,截图如下

是否跳过代理检测(是/否) = 是
直播保存路径(不填则默认) =
保存文件夹是否以作者区分 = 是
视频保存格式ts|mkv|flv|mp4|ts音频|mkv音频 = ts
原画|超清|高清|标清|流畅 = 原画
是否使用代理ip(是/否) = 否
代理地址 =
同一时间访问网络的线程数 = 5
循环时间(秒) = 120
排队读取网址时间(秒) = 0
是否显示循环秒数 = 否
是否显示直播源地址 = 是
分段录制是否开启 = 否
视频分段时间(秒) = 3600
ts录制完成后自动转为mp4格式 = 是
ts录制完成后自动增加生成m4a格式 = 否
音频录制完成后自动转为mp3格式 = 否
追加格式后删除原文件 = 否
生成时间文件 = [否]

Image

📜 错误信息

log信息:
2025-01-20 03:45:24.827 | ERROR | main:start_record:1401 - 错误信息: Command '['ffmpeg', '-y', '-v', 'verbose', '-rw_timeout', '30000000', '-loglevel', 'error', '-hide_banner', '-user_agent', 'Mozilla/5.0 (Linux; Android 11; SAMSUNG SM-G973U) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/14.2 Chrome/87.0.4280.141 Mobile Safari/537.36', '-protocol_whitelist', 'rtmp,crypto,file,http,https,tcp,tls,udp,rtp', '-thread_queue_size', '1024', '-analyzeduration', '20000000', '-probesize', '10000000', '-fflags', '+discardcorrupt', '-i', 'http://pull-hls-l11.douyincdn.com/stage/stream-404819656571093137_or4.m3u8?expire=1737920714&sign=71405c5b694f56cc2761daae519d438c&major_anchor_level=common', '-bufsize', '8000k', '-sn', '-dn', '-reconnect_delay_max', '60', '-reconnect_streamed', '-reconnect_at_eof', '-max_muxing_queue_size', '1024', '-correct_ts_overflow', '1', '-c:v', 'copy', '-c:a', 'copy', '-map', '0', '-f', 'mpegts', 'I:/DouyinLiveRecorder.v3.0.7/downloads/抖音直播/小水33/小水33_2025-01-20_03-45-16.ts']' returned non-zero exit status 3753488571. 发生错误的行数: 1393

@12414123123123 12414123123123 added the bug Something isn't working label Jan 19, 2025
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛[BUG] The ts file cannot be transcoded to mp4 after Douyin recording is completed.

@gyc0123
Copy link
Contributor

gyc0123 commented Jan 23, 2025

我觉得即使修复也会在新版本上修复,你不如说一下用最新版本有什么问题,如果只是卡一下的话正常吧,在网页版上看还会卡呢

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I think even if it is repaired, it will be fixed in the new version. Why don't you tell me what the problem is with the latest version? If it just freezes for a while, it's normal. But it still freezes on the web version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants