<div style="font-family: "Courier New"; font-size:10.0pt; color: #000000;background-color: #ffffff; font-style: normal; font-weight: normal; text-decoration: none;">
<pre><font class="Apple-style-span" face="'Courier New'">I've been encoding with ffmpeg.exe. Due to the muxing issue, I tried ffmpeg2theora, but I ran into some issues</font></pre><pre><font class="Apple-style-span" face="'Courier New'">1. it fails on 1080p content. 1920x1080. 1920x800 is okay.</font></pre>
<pre><font class="Apple-style-span" face="'Courier New'">2. I have raw yuv. in ffmpeg I use -s 1920x1080 to specify the source size. ffmpeg2theora doesnt seem to have a way to accept width/height for the raw yuv (420). So I need to do an additional step of muxing it into a quicktime or something?</font></pre>
<pre><font class="Apple-style-span" face="'Courier New'">3. -V to set bitrate seems wildly off. Whereas -b in ffmpeg works pretty well. Even -v for quality factor seems ignored in one of my clips, and uses way lower (10x) bitrate than I want, and the quality thereof? Should something like -v 8 be high quality</font></pre>
<pre><span class="Apple-style-span" style="font-family: 'Courier New'; ">4. ffmpeg reports errors while decoding
[theora @ 0x3ef4a0]vp3: first frame not a keyframe
Error while decoding stream #0.0
</span></pre><pre><font class="Apple-style-span" face="'Courier New'">5. quality is visually very poor.. both in my player, and others like mplayer. Likely due to (3) and (4). If I use ffmpeg to encode the video, quality is fine.</font></pre>
<pre><font class="Apple-style-span" face="'Courier New'">By decoding with ffmpeg to a file, I run a psnr tool on it and it says PSNR is 26.318160.</font></pre><pre><font class="Apple-style-span" face="'Courier New'">This is using J's latest<span class="Apple-style-span" style="font-family: arial, sans-serif; white-space: normal; border-collapse: collapse; "> <a href="http://v2v.cc/~j/ffmpeg2theora/download.html" target="_blank" style="color: rgb(42, 93, 176); ">http://v2v.cc/~j/ffmpeg2theora/download.html</a> (thanks!)</span></font></pre>
<pre><font class="Apple-style-span" color="#008000"><div style="font-family: "Courier New"; font-size:10.0pt; color: #000000;background-color: #ffffff; font-style: normal; font-weight: normal; text-decoration: none;">
Here's an overall script you can criticize
<pre><span style="color:#008000;font-style: italic;">:: *************************</span>
<span style="color:#008000;font-style: italic;">:: ogg container test matrix</span>
<span style="color:#008000;font-style: italic;">:: *************************</span>
<span>oggenc2 -o sync2.ogg sync2.wav</span>
<span style="color:#008000;font-style: italic;">:: *************************</span>
<span style="color:#008000;font-style: italic;">:: ogv container test matrix</span>
<span style="color:#008000;font-style: italic;">:: *************************</span>
<span style="color:#008000;font-style: italic;">:: Compress with libtheora</span>
<span>ffmpeg2theora --optimize -v </span><span style="color:#000080;">8</span><span> -o sync.ogv sync.720x480_30Hz_P420.mov</span>
<span style="color:#008000;font-style: italic;">:: Mux all ogg video container variations</span>
<span>oggzmerge sync2.ogg sync.ogv -o sync2.ogv</span>
<span style="color:#008000;font-style: italic;">:: Compute PSNR</span>
<span>ffmpeg -y -i sync2.ogv -vcodec rawvideo -pix_fmt yuv420p sync_ogv.720x480_30Hz_P420.yuv</span>
<span>psnr -s </span><span style="color:#000080;">720</span><span> </span><span style="color:#000080;">480</span><span> sync.720x480_30Hz_P420.yuv sync_ogv.720x480_30Hz_P420.yuv</span>
</pre></div></font></pre></div>