0
ffmpeg version 4.2.2 win64 static

I'm using this command in Windows 10 to convert a file from mp4 to ogv:

ffmpeg -i input.mp4 -c:v libtheora -q:v 10 -c:a libvorbis -q:a 10 output.ogv

The result is a jumbled mess of colors:

Snapshot of corrupted .ogv video

However, when executing the same command on Ubuntu(20.04 LTS) it works just fine.

The pic shown is a snapshot of the result played in VLC. When playing the same video in Windows' “Film & TV” application, it just skips the frames that have these artifacts (which is very often).

Any idea what could cause this Windows specific problem?

3
  • I don't have an answer, but why output the old, legacy Theora + Vorbis in OGV instead of VP9 + Opus in WebM?
    – llogan
    May 23, 2020 at 21:01
  • @llogan The reason is because I'm using the OGV format for a project in the Godot Engine. You see, WebM is a problematic format in Godot Engine(specifically on Linux). It has problems such as not being able to play WebM videos that have a framerate above 30. Such problems do not exist in the OGV format for the Godot Engine.
    – wappa
    May 24, 2020 at 8:05
  • Please provide the complete log from the command. Does the issue occur with all files, or only certain ones? To clarify, does the video output from Windows also look bad on Ubuntu? Does the same output video look bad on VLC on Windows?
    – llogan
    May 24, 2020 at 19:05

1 Answer 1

0

According to this thread: https://old.reddit.com/r/ffmpeg/comments/fy2618/need_someone_to_test_libtheora_encoder_on_64bit/
The theora encoder is currently broken in the 64bits versions.
I tried this with the 32bits version and it now works as expected.

32bits builds can be found here: https://ffmpeg.zeranoe.com/builds/win32/static/

Greetings

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.