Quote:
Originally Posted by johnpuppa
My current version of ffmpeg is 1.1.2 I haven't found any newer precompiled version for slack at the moment. I'm trying to go through the tarball..
|
I have been playing around with this for the last couple of days and will share what I can recall (though I don't have a ready solution). I am not an expert on this stuff so I will apologize in advance should I be wrong about any of this.
Firstly, I felt compelled to upgrade FFMPEG because the version called out by slackbuilds.org (0.11.1) contains a bug which results in improper timecodes being produced in the output file. I believe this bug was fixed in version 1.2 (released March 2013) but the fix may have already appeared in version 1.1 (released January 2013). Nonetheless, I chose to upgrade to FFMPEG version 2.0 after failing to build ffmpeg2theora against any of the newer versions of FFMPEG. There have been a couple of changes to the FFMPEG API and ffmpeg2theora has not yet been updated to address them.
I have tried to patch the ffmpeg2theora source to address this but while the changes are fairly trivial, I am not familiar enough with the code base to achieve success (I will try some more this weekend).
At this point, I think you basically have two options: either use ffmpeg2theora with version 0.11.1 of FFMPEG and suffer the timecode problems, or use a newer version of FFMPEG and forget about ffmpeg2theora for the present.
As others have stated, you can now use FFMPEG to produce valid OGV files with the following syntax:
Code:
ffmpeg -i somefile.avi -f ogg -c:a libvorbis -q:a 1 -c:v libtheora -q:v 6 output.ogv
You won't have access to some of the more advanced encoding options offered by ffmpeg2theora, but the resulting file will fully compliant and have no timecode anomalies.