I am using theora_encode along with ffmpeg:<br><br><span style="font-family: courier new,monospace;">ffmpeg -an -s 1920x1080 -r 24 -i bigbuckbunny.mp4 -vcodec rawvideo \<br>-pix_fmt yuv420p -f rawvideo - 2&gt;/dev/null \<br>
| ffmpeg -an -f rawvideo -s 1920x1080 -r 24 -i - -f yuv4mpegpipe - 2&gt;/dev/null \<br>|</span><b style="font-family: courier new,monospace;"> theora_encode /dev/stdin 2&gt;/dev/null </b><span style="font-family: courier new,monospace;">| ffmpeg -y -f ogg -i - \<br>
-f mp4 -i bigbuckbunny.mp4 -map 0:0 -map 1:1 -vcodec copy \<br>-acodec libvorbis -ab 256000 -f ogg bigbuckbunny.ogv</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">I am running Linux x86_64, and I got theora_encode from the package theora-tools.<br>
<br>Here&#39;s the error: My input file is 1920x1080. My pipes going into theora_encode are 1920x1080. BUT: The pipes coming out of theora_encode have the dimensions 1920x108<b>8</b>. <br><br>This is the output of the last ffmpeg:<br>
<br>...<br>[ogg @ 0x21bc760] Estimating duration from bitrate, this may be inaccurate<br>Input #0, ogg, from &#39;pipe:&#39;:<br>  Duration: N/A, start: 0.000000, bitrate: N/A<br>    Stream #0.0: Video: theora, yuv420p, <b>1920x1088</b>, 24 tbr, 24 tbn, 24 tbc<br>
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from &#39;bigbuckbunny.mp4&#39;:<br>...<br><br>Notice that I set the pipes going in to have 1920x1080, but the last pipe coming out of theora_encode has 1920x1088. I didn&#39;t see an option in <span style="font-family: courier new,monospace;">theora_encode --help</span> to set the in/output frame size. <br>
<br>Is there a way to fix this? Thanx.<br><br>Note: I&#39;m not using ffmpeg -vcodec libtheora because that gave really bad quality. <br>