[Ffmpeg-devel] [PATCH] Targa encoder

Bobby Bingham uhmmmm
Thu Mar 15 04:19:41 CET 2007


Baptiste Coudurier wrote:
> Hi
> 
> Bobby Bingham wrote:
>> Guillaume Poirier wrote:
>>> Hi,
>>>
>>> Michael Niedermayer wrote:
>>>> Hi
>>>>
>>>> On Mon, Mar 12, 2007 at 12:04:37PM +0900, Bobby Bingham wrote:
>>>>
>>>>> Michael Niedermayer wrote:
>>>>>
>>>>>> hmm nowhere ...
>>>>>> sorry, forget my suggestion, ideally it should be set somewhere but
>>>>>> iam
>>>>>> not entirely sure where would be best, the easiest would be to just
>>>>>> keep your old code ...
>>>>>>
>>>>> updated patch attached.
>>>> looks ok
>>> Bobby, could you please provide a sample commandline to test your
>>> encoder before it gets comitted?
>>>
>> ping
>>
> 
> Problem is that quicktime can't decode generated bitstream.
> you can test encoder by using
> 
> ffmpeg -i file -vcodec targa test.mov
> 

Attached is an updated patch.  It adds support for 15 bpp output, as 
well as RLE compression.  It always tries RLE for a frame, and falls 
back to uncompressed if RLE didn't help or made the size bigger.

I don't know why quicktime doesn't play the output in the mov container, 
but if you do

ffmpeg -i file -vcodec targa test.avi

to encode into avi, quicktime plays it fine in my tests.

-- 
Bobby Bingham
??????????????????????
-------------- next part --------------
A non-text attachment was scrubbed...
Name: targa.patch
Type: text/x-patch
Size: 7608 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070315/b14306a9/attachment.bin>



More information about the ffmpeg-devel mailing list