| 1 |
Quick hack at a transcoder tool from VP3 to Theora |
| 2 |
|
| 3 |
I actually built the avi2vp3 tool with codeWarrior, but it should compile under |
| 4 |
VC as well. I have included a source avi file and the converted .vp3 output. |
| 5 |
Output is a file with some header info matching YUVMPEG, and for each frame: |
| 6 |
|
| 7 |
FRAME header block matching YUV2MPEG |
| 8 |
long (Intel aligned) keyframeflag describing in frame is a keyframe |
| 9 |
long (Intel aligned) fsize storing frame size in bytes |
| 10 |
bytes[fsize] with binary frame data |
| 11 |
|
| 12 |
The transcode tool is a modification of the current encoder. PUt it into the |
| 13 |
win32/experimental subdirectory, and the paths should be correct. It produces |
| 14 |
an apparently valid theora stream, but outputs garbage data. The code is packing |
| 15 |
the binary frame data in a way that SHOULD work at least imo, but I am probably |
| 16 |
missing some initialization issue (or vp3 is not transcodable to theora). |
| 17 |
|