Как преобразовать аудио Vorbis и видео VP8 в формат WebM с помощью ffmpeg?

1242
ClearSky

У меня есть аудио Vorbis и видео в кодировке VP8, и я хотел бы преобразовать их в формат WebM.

Как мне смешать их с FFmpeg, а также установить соотношение сторон экрана 16: 9?

Я использую Windows 7 с последней сборкой FFmpeg.

0

1 ответ на вопрос

2
LordNeckbeard

A basic remuxing example:

ffmpeg -i video -i audio -c copy -aspect 16:9 output.webm 
  • -c copy will enable stream copy mode and therefore will avoid re-encoding.

  • Because -aspect was used with -c copy, the aspect ratio will be stored at the container level; not in the video stream. I'm not sure if WebM supports this, or if players will pay attention to it, but I will assume it does.

Похожие вопросы