- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
my ffmpeg burn subtitle example
ffmpeg 将字幕刻录到 mp4。属性 WrapStyle(0:word wrap, 1: char '\N' or movie edge force change line, 2: only\n and\N change line)。
英文字幕运行OK。
WrapStyle=0 时中文字幕不换行。
最佳答案
因为文本中没有空格。
中文通常在单词或句子之间没有任何空格字符。 ASS 字幕格式最初是由欧洲语言使用者设计并为欧洲语言使用者设计的,不幸的是,它只会破坏实际空格字符上的单词。您的字幕文件不包含任何空格字符,因此这些行永远不会中断。
future
有an open pull request教 libass 正确地打破这样的界限。 libass 是 FFmpeg 用来显示字幕的软件。最终,这应该会导致一个 FFmpeg 选项来启用这种换行符。
在此之前,您唯一的选择是添加显式 \N
进入您想要换行的字幕文本。
关于ffmpeg - 为什么 ffmpeg 刻录中文字幕(ass) 不换行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62809452/
我将开发一个摄像头录制应用程序。 其中一项功能是在录制时应用字幕。用户可以在摄像头录制时在摄像头预览屏幕上键入字幕。 我知道我可以在录制完成后通过运行应用字幕: ffmpeg -i ./file.mp
我正在尝试向视频添加硬编码文本或字幕。 我使用 .ass 文件轻松添加具有自定义背景颜色、字体颜色、字体大小和位置以及淡入淡出动画的字幕。 但现在我想在文本中添加幻灯片动画。 另外,请注意,如果在 .
iPad中的OPlayer只支持srt格式的字幕,而动画一般使用的是ass/ssa格式的字幕,所以需要将ass/ssa批量转换srt。 Google了一下,在《ass2srt[ass/ssa批量转
我一直在尝试将 Logo 和字幕一起添加到视频中。但我无法管理它。 Logo 添加成功。但是输出视频中缺少字幕。 Logo 淡入淡出效果也不起作用。 ffmpeg -i '. $dest .' -i
我们想为不幸的爆米花时间项目构建一个小型的专门克隆,也就是说 peerflix 的 node-webkit 前端。 。我们想要播放的视频是嵌入了 ASS 字幕轨道的 mkv 文件,但我们似乎无法显示嵌
我将这个命令用于 ffmpeg: ffmpeg -i 1.h264 -i ass1.ass -map 0 -map 1 -c copy test.mkv h264 文件是 30 fps ... mk
my ffmpeg burn subtitle example ffmpeg 将字幕刻录到 mp4。属性 WrapStyle(0:word wrap, 1: char '\N' or movie ed
按照目前的情况,这个问题不适合我们的问答形式。我们希望答案得到事实、引用或专业知识的支持,但这个问题可能会引发辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit th
我想创建一个脚本来自动混合视频 (flv) 字幕 (.ass),无需用户干预 示例该脚本检测到两个同名文件 (.flv) (.ass) ~/Vidéos/vidéo numbre 1.mp4 ~/Vi
我目前想知道是否有比通过参数 'e' 将 this 范围传递给 lambda 函数然后将其传递给 'funkyFunction 更好的解决方案' 使用 call() 方法 setInterval(fu
我有以下正则表达式:/\.([s]?[ac]ss)$/ .问题是,它匹配 .scss , .sass , .css , .ass .如何使它不匹配 .ass ? 最佳答案 这也将匹配 .scss ,
我有这个使用视频、替换音频和添加字幕: ffmpeg -vsync 0 -hwaccel cuda -an -i "E:\video.mp4" -vn -i"E:\audio.mp3" -vf "su
所以我有视频文件 mp4,并且在不改变其质量的情况下,我想添加 ass hardsubs。 我用 ffmpeg 做这个: 在 window 上: ffmpeg -i input.mp4 -c:v li
我想使用 ffmpeg 创建带水印的硬字幕视频。而且我想知道如何组合和简化多个命令,或者如何为此目的创建一个 bash 脚本。 我试过在 stackflow 中搜索并测试了一些命令,但它们没有用。这是
[over.ass]/2 我可以理解为什么 bptr->operator=(dobj2); 调用 D& operator= (const B&) 以及为什么 dobj1 = dobj2; 调用隐式声明
我是一名优秀的程序员,十分优秀!