Linly-Dubbing icon indicating copy to clipboard operation
Linly-Dubbing copied to clipboard

为什么添加字幕就会报这个错?

Open 7liusir opened this issue 1 year ago • 4 comments

[AVFilterGraph @ 0000026A58A61480] No option name near 'videos/mayew666/20231007 海绵宝宝我们还是小孩子 2人英语配音素材 英语消音素材两分钟 看动画片学英语/subtitles.srt:fontsdir=./font:force_style=FontName=SimHei,FontSize=14,PrimaryColour=&HFFFFFF,OutlineColour=&H000000,Outline=2,WrapStyle=2' [AVFilterGraph @ 0000026A58A61480] Error parsing a filter description around: [AVFilterGraph @ 0000026A58A61480] Error parsing filterchain 'subtitles=videos/mayew666/20231007 海绵宝宝我们还是小孩子 2人英语配音素材英语消音素材两分钟 看动画片学英语/subtitles.srt:fontsdir=./font:force_style='FontName=SimHei,FontSize=14,PrimaryColour=&HFFFFFF,OutlineColour=&H000000,Outline=2,WrapStyle=2'' around: [vost#0:0/libx264 @ 0000026A5AAB2040] Error initializing a simple filtergraph Error opening output file videos\mayew666\20231007 海绵宝宝我们还是小孩子 2人英语配音素材英语消音素材两分钟 看动画片学英语\video_subtitles.mp4. Error opening output files: Invalid argument 2024-09-02 19:40:10.110 | ERROR | tools.do_everything:process_video:60 - Error processing video 《海绵宝宝》我们还是 小孩子 2人英语配音素材英语消音素材两分钟 看动画片学英语: Command '['ffmpeg', '-i', 'videos\mayew666\20231007 海绵宝宝 我们还是小孩子 2人英语配音素材英语消音素材两分钟 看动画片学英语\video.mp4', '-vf', "subtitles=videos/mayew666/20231007 海绵宝宝我们还是小孩子 2人英语配音素材英语消音素材两分钟 看动画片学英语/subtitles.srt:fontsdir=./font:force_style='FontName=SimHei,FontSize=14,PrimaryColour=&HFFFFFF,OutlineColour=&H000000,Outline=2,WrapStyle=2'", 'videos\mayew666\20231007 海绵宝宝我们还是小孩子 2人英语配音素材英语消音素材两分钟 看动画片学英语\video_subtitles.mp4', '-y', '-threads', '2']' returned non-zero exit status 4294967274.

7liusir avatar Sep 02 '24 11:09 7liusir

请查看ffmpeg的版本,这可能跟ffmpeg的版本有关

Kedreamix avatar Sep 02 '24 16:09 Kedreamix

请查看ffmpeg的版本,这可能跟ffmpeg的版本有关

屏幕截图 2024-09-03 003803 z这个版本有什么问题吗?

7liusir avatar Sep 02 '24 16:09 7liusir

Window下会有问题,Ubuntu是没有问题的,好像是空格转义的问题,可以在对应代码修改看看

xinzhu666 avatar Sep 04 '24 09:09 xinzhu666

可能会出现这个问题,我会修改一下,这个版本没有问题的,可能是空格的问题

Kedreamix avatar Sep 06 '24 10:09 Kedreamix