[theora] theora_encode is adding vertical pixels

Leo Izen leo.izen at gmail.com
Fri Jan 21 09:41:33 PST 2011


I am using theora_encode along with ffmpeg:

ffmpeg -an -s 1920x1080 -r 24 -i bigbuckbunny.mp4 -vcodec rawvideo \
-pix_fmt yuv420p -f rawvideo - 2>/dev/null \
| ffmpeg -an -f rawvideo -s 1920x1080 -r 24 -i - -f yuv4mpegpipe -
2>/dev/null \
|* theora_encode /dev/stdin 2>/dev/null *| ffmpeg -y -f ogg -i - \
-f mp4 -i bigbuckbunny.mp4 -map 0:0 -map 1:1 -vcodec copy \
-acodec libvorbis -ab 256000 -f ogg bigbuckbunny.ogv

I am running Linux x86_64, and I got theora_encode from the package
theora-tools.

Here'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*8*.

This is the output of the last ffmpeg:

...
[ogg @ 0x21bc760] Estimating duration from bitrate, this may be inaccurate
Input #0, ogg, from 'pipe:':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: theora, yuv420p, *1920x1088*, 24 tbr, 24 tbn, 24 tbc
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'bigbuckbunny.mp4':
...

Notice that I set the pipes going in to have 1920x1080, but the last pipe
coming out of theora_encode has 1920x1088. I didn't see an option in
theora_encode
--help to set the in/output frame size.

Is there a way to fix this? Thanx.

Note: I'm not using ffmpeg -vcodec libtheora because that gave really bad
quality.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora/attachments/20110121/a0a40203/attachment.htm 


More information about the theora mailing list