开发者

ffmpeg unsupported video codec [closed]

开发者 https://www.devze.com 2023-04-10 06:38 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. 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.

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

Closed 10 years ago.

开发者_开发问答 Improve this question

I tried to convert a .flv into an mpeg with this code:

ffmpeg -i my.flv -target ntsc-dvd -aspect 4:3 my.mpg

And I get a lot of these here:

[flv @ 0x5597b8]Unsupported video codec (7)

and then:

Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
Unsupported codec (id=0) for input stream #0.0

But when I ask ffmpeg for formats flv is supported.

What is wrong?

Thanks!


Flash video is the file (container) format not the video codec. In your example, the container contains two streams and it is stating that it doesn't support the video codec that stream 0.0 uses. Do you know what video codec it is?

See the wikipedia article on Flash video and the wikipedia article on container formats for more details.


rename your my.flv to be my.mp4 and try that.

0

精彩评论

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