使用ffmpeg转换媒体类型

发布于 2024-12-04 06:37:09 字数 167 浏览 7 评论 0原文

谁能帮我将媒体转换为 m4v 格式。我想 ffmpeg 将是一个不错的选择,因为我有一个 Rails 应用程序,我需要在其中进行转换。我谷歌,但找不到解决方案。

顺便说一句,我使用 jplayer 来播放视频,它只需要 m4v 视频文件,这就是我需要转换用户提交的视频的原因。

提前致谢。

Can anyone help me convert media to m4v format. I guess ffmpeg would be a nice choice coz I have a rails application where I need to do the conversion. I google, but could not find the solution.

BTW I am using jplayer for playing video which only takes m4v video file and thats the reason I need to convert video submitted by user.

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

白首有我共你 2024-12-11 06:37:10

这就是 FFmpeg 的设计目的。您没有指定输入媒体的类型,但它应该简单如下:

ffmpeg -i input_file -o output.m4v

This is what FFmpeg's designed to do. You didn't specify the type of input media, but it should be as simple as:

ffmpeg -i input_file -o output.m4v
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文