[Paraview] MJPEG instead of MPEG4 (issue 8925)

Michael Wild themiwi at gmail.com
Thu Aug 13 10:54:36 EDT 2009


Attached a new set of patches to http://public.kitware.com/Bug/view.php?id=9281 
  (suffixed with '_updated'), which REPLACE the first three patches.

libtheora has been updated to version 1.1beta2, allowing for 4:4:4  
subsampling (i.e. no subsampling), resulting in higher quality (and,  
of course, larger size). The Subsampling property of  
vtkOggTheoraWriter and vtkSMAnimationSceneImageWriter controls whether  
4:2:0 or 4:4:4 mode is used. 4:2:2 is not implemented. However, this  
property is not exposed through the GUI so far. 4:4:4 has been chosen  
as the default.

One problem could be that old video players do not support the default  
4:4:4 subsampling. I did see problems with mplayer on OpenSUSE 10.3,  
where the chroma planes where simply offset and scaled, resulting in  
quite psychedelic effects. So we probably want that Subsampling  
property to be exposed in the GUI (or default back to 4:2:0, but that  
results in color bleeding).

Cheers

Michael

On 12. Aug, 2009, at 20:20, Dominik Szczerba wrote:

> Thanks, I did a fresh checkout and applied the patches.
> Compiles fine, the colors are finally OK.
> Do note, the fourth patch still fails.
> Let me know when it is in the CVS without pathes so I can test it out.
> Good move!
> best regards,
> Dominik
>
> Michael Wild wrote:
>> Of course you still need the patches. The following command should   
>> update a (patched) CVS checkout, hopefully without any conflicts
>> cvs update -dARP
>> Michael
>> PS: explanation of the -dARP:
>> -d: also create directories that have been created remotely
>> -A: reset sticky tags
>> -R: update recursively
>> -P: Remove empty directories
>> CVS is a very strange thing...
>> On 12. Aug, 2009, at 12:51, Dominik Szczerba wrote:
>>> Do you mean I need a fresh checkout or I still need your patches?
>>> - Dominik
>>>
>>> Michael Wild wrote:
>>>> Wondrous what a cvs update can do:
>>>> https://www.ifd.mavt.ethz.ch/people/wild/personal/files/szczerba_c3_working.ogv
>>>> Dominik, can you confirm this?
>>>> Michael
>>>> On 10. Aug, 2009, at 17:27, Michael Wild wrote:
>>>>> Yep, looks like the YUV planes are shifted, or something. But  
>>>>> the   first frame is fine. Very strange. Stupid thing is, I  
>>>>> can't  compile  a 64-bit version on my Mac, because the Qt- 
>>>>> Carbon  libraries are only  ppc/i386.
>>>>>
>>>>>
>>>>> Michael
>>>>>
>>>>> On 10. Aug, 2009, at 15:20, Dominik Szczerba wrote:
>>>>>
>>>>>> http://otoro.itis.ethz.ch/~dominik/tmp/103/
>>>>>> I used variable c3 for the movie.
>>>>>>
>>>>>> Michael Wild wrote:
>>>>>>> Ugh, gross. Would it be possible for you send me the data so  
>>>>>>> I  can  use  it for testing?
>>>>>>> Michael
>>>>>>> On 10. Aug, 2009, at 15:09, Dominik Szczerba wrote:
>>>>>>>> For reference, mine is here.
>>>>>>>> http://otoro.itis.ethz.ch/~dominik/tmp/test.ogv
>>>>>>>> regards,
>>>>>>>> Dominik
>>>>>>>>
>>>>>>>> Michael Wild wrote:
>>>>>>>>> Hmmm, will have to try myself then.
>>>>>>>>> On OS X 10.5 it works fine. See www.ifd.mavt.ethz.ch/people/wild/personal/files/damBreak.ogv
>>>>>>>>> Michael
>>>>>>>>> On 7. Aug, 2009, at 17:54, Dominik Szczerba wrote:
>>>>>>>>>> OK I managed to compile.
>>>>>>>>>> The movie is distorted (false colors).
>>>>>>>>>> I get a message like "disabling offscreen rendering  
>>>>>>>>>> because   empty   image was detected" or so.
>>>>>>>>>> regards,
>>>>>>>>>> Dominik
>>>
>>> -- 
>>> d o m i n i k   s z c z e r b a ,   p h d . . . . . . . . . . .
>>> c o m p u t a t i o n a l   l i f e   s c i e n c e   g r o u p
>>> . . . . . . . i t ' i s   r e s e a r c h   f o u n d a t i o n
>>> . . . . . . . . . . . . . . . . . . . . http://www.itis.ethz.ch
>>>
>
>
> -- 
> d o m i n i k   s z c z e r b a ,   p h d . . . . . . . . . . .
> c o m p u t a t i o n a l   l i f e   s c i e n c e   g r o u p
> . . . . . . . i t ' i s   r e s e a r c h   f o u n d a t i o n
> . . . . . . . . . . . . . . . . . . . . http://www.itis.ethz.ch
>



More information about the ParaView mailing list