开发者

can we convert flv to mp4 directly from internet using ffmpeg [closed]

开发者 https://www.devze.com 2022-12-29 06:00 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. 开发者_JAVA技巧 Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers. 开发者_JAVA技巧

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 12 years ago.

Improve this question

VB.Net

This works fine for me

"-i ""C:\myfile.flv"" -ar 22050 FileName.mp4"

but can i use this one i.e.

"-i ""http://www.example.com/myfile.flv"" -ar 22050 FileName.mp4"


According to the documentation:

The protocol http: is currently used only to communicate with FFserver (see the FFserver documentation). When FFmpeg will be a video player it will also be used for streaming :-)


I suggest that you pull the file via http and write it to disk before trying to transcode it. This will also prevent having fragmented encodings should something go wrong when consuming it via ffmpeg.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号