<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I’m attempting to decode Theora videos on a PowerPC
running a Linux 2.6.19 kernel. The version of GCC I’m
cross-compiling from is 3.4.4.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The software versions I’m running are:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>libogg-1.1.3<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>libpng-1.2.20<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>libtheora-1.0beta1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>libvorbis-1.2.0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>These are all the latest I was able to download.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Here’s a back trace I got while running “dump_video”
under GDB (I’ve escaped non-ascii characters as “\xxx” for
the purpose of keeping the mailer happy). I get similar results using “player_example”
and when using mplayer with libtheora support. By the way, mplayer with
native VP3 support works fine.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>> gdb examples/.libs/dump_video<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>GNU gdb 6.4<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Copyright 2005 Free Software Foundation, Inc.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>GDB is free software, covered by the GNU General Public
License, and you are<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>welcome to change it and/or distribute copies of it under
certain conditions.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Type "show copying" to see the conditions.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>There is absolutely no warranty for GDB. Type
"show warranty" for details.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>This GDB was configured as "powerpc-wrs-linux-gnu"...Using
host libthread_db library "/lib/libthread_db.so.1".<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>(gdb) source directories.gdb<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>(gdb) run examples/video.ogg > out<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Starting program:
/var/jlm/theora/libtheora-1.0beta1/examples/.libs/dump_video examples/video.ogg
> out<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Encoded by Xiph.Org libTheora I 20070915 3 2 1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>theora comment header:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
ENCODER=ffmpeg2theora 0.19<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Ogg logical stream 4aa501b6 is Theora 160x128 29.97 fps
video<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Encoded frame content is 160x120 with 0x0 offset<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Program received signal SIGSEGV, Segmentation fault.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>oc_frag_recon_inter2_c (<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _dst=0x300384b0
"--------.......//000000.0550;\\{\205\212\214\226\232\220~rv\210\225\027%G\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\027%@\236\235\027%G\195\175\194\191\194\191\195\175\194\191\194\191\027%@\220|uw\200\207\217\225\231\232\227\226\227\236\027%G\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\027%@\233oi`ULFBDILLMNNOOQUYXSNKJIHHHHHHGFEEEEEEECCCCCCCDC?CB?F>",
'!' <repeats 17 times>, '\025' <repeats 17 times>, "\032
&'()********++,,,,,,,ht\025\020\036\020\0307"..., _dst_ystride=-192,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _src1=0x300270b0 "%lu\n",
_src1_ystride=-192, _src2=0x30026ff1 <Address 0x30026ff1 out of bounds>,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _src2_ystride=-192, _residue=0x7fabb2c0)
at dec/fragment.c:77<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>77
_dst[j]=OC_CLAMP255(res+((int)_src1[j]+_src2[j]>>1));<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>(gdb) where<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#0 oc_frag_recon_inter2_c (<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _dst=0x300384b0
"--------.......//000000.0550;\\{\205\212\214\226\232\220~rv\210\225\027%G\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\027%@\236\235\027%G\195\175\194\191\194\191\195\175\194\191\194\191\027%@\220|uw\200\207\217\225\231\232\227\226\227\236\027%G\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\195\175\194\191\194\191\027%@\233oi`ULFBDILLMNNOOQUYXSNKJIHHHHHHGFEEEEEEECCCCCCCDC?CB?F>",
'!' <repeats 17 times>, '\025' <repeats 17 times>, "\032
&'()********++,,,,,,,ht\025\020\036\020\0307"..., _dst_ystride=-192,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _src1=0x300270b0 "%lu\n",
_src1_ystride=-192, _src2=0x30026ff1 <Address 0x30026ff1 out of bounds>,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _src2_ystride=-192, _residue=0x7fabb2c0)
at dec/fragment.c:77<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#1 0x0ffcfca0 in oc_frag_recon_inter2 (_state=0x25,
_dst=0x37 <Address 0x37 out of bounds>, _dst_ystride=110,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _src1=0x0, _src1_ystride=0,
_src2=0xffffffff <Address 0xffffffff out of bounds>, _src2_ystride=55,
_residue=0x6e)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at dec/fragment.c:64<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#2 0x0ffcbfcc in oc_state_frag_recon_c
(_state=0x1002f988, _frag=0x4, _pli=805491056, _dct_coeffs=0x37,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _last_zzi=-24576, _ncoefs=-1,
_dc_iquant=0, _ac_iquant=0x6e) at dec/state.c:888<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#3 0x0ffcbfcc in oc_state_frag_recon_c
(_state=0x1002f988, _frag=0x4, _pli=805491056, _dct_coeffs=0x37,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _last_zzi=-24576, _ncoefs=-1,
_dc_iquant=0, _ac_iquant=0x6e) at dec/state.c:888<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#4 0x0ffcbfcc in oc_state_frag_recon_c
(_state=0x1002f988, _frag=0x4, _pli=805491056, _dct_coeffs=0x37,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _last_zzi=-24576, _ncoefs=-1,
_dc_iquant=0, _ac_iquant=0x6e) at dec/state.c:888<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#5 0x0ffcbfcc in oc_state_frag_recon_c
(_state=0x1002f988, _frag=0x4, _pli=805491056, _dct_coeffs=0x37,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _last_zzi=-24576, _ncoefs=-1,
_dc_iquant=0, _ac_iquant=0x6e) at dec/state.c:888<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#6 0x0ffcbfcc in oc_state_frag_recon_c (_state=0x1002f988,
_frag=0x4, _pli=805491056, _dct_coeffs=0x37,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _last_zzi=-24576, _ncoefs=-1,
_dc_iquant=0, _ac_iquant=0x6e) at dec/state.c:888<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#7 0x0ffcbfcc in oc_state_frag_recon_c
(_state=0x1002f988, _frag=0x4, _pli=805491056, _dct_coeffs=0x37,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _last_zzi=-24576, _ncoefs=-1,
_dc_iquant=0, _ac_iquant=0x6e) at dec/state.c:888<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#8 0x0ffcbfcc in oc_state_frag_recon_c
(_state=0x1002f988, _frag=0x4, _pli=805491056, _dct_coeffs=0x37,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _last_zzi=-24576, _ncoefs=-1,
_dc_iquant=0, _ac_iquant=0x6e) at dec/state.c:888<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#9 0x0ffcbfcc in oc_state_frag_recon_c
(_state=0x1002f988, _frag=0x4, _pli=805491056, _dct_coeffs=0x37,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _last_zzi=-24576, _ncoefs=-1,
_dc_iquant=0, _ac_iquant=0x6e) at dec/state.c:888<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#10 0x0ffcbfcc in oc_state_frag_recon_c (_state=0x1002f988,
_frag=0x4, _pli=805491056, _dct_coeffs=0x37,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> _last_zzi=-24576, _ncoefs=-1,
_dc_iquant=0, _ac_iquant=0x6e) at dec/state.c:888<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Previous frame inner to this frame (corrupt stack?)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The input file was created using ffmpeg2theora and oggsplit from
the file “Cirrot_sm.mpg” available on <a
href="http://www.soest.hawaii.edu/HURL/video.html">http://www.soest.hawaii.edu/HURL/video.html</a>.
The exact sequence of commands was:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> ffmpeg2theora ~/video/Cirrot_sm.mpg -o
sample.ogg<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> oggsplit sample.ogg<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> cp sample.c01.g01.ogg video.ogg<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>This file displays correctly on an Intel box running Centos
3.8.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Has anyone been able to use Theora on a PowerPC based
system? I’m generically suspicious of both tool-chain and byte
order issues and would love to know what other peoples experiences were.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>-- Jim Mayer<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>