I was referring to supplying the pixel data to the media nodes.  Getting
the pixel data of the media from the media nodes should also be possible.
 It actually is possible now to a degree via the "snapshot" method on Node.
 Though I encountered a lot of lock-up problems when I tried it.

Scott


On Thu, Aug 8, 2013 at 8:15 PM, Felix Bembrick <felix.bembr...@gmail.com>wrote:

> Scott,
>
> That JIRA issue doesn't make any mention of getting hooks into pixel data
> etc., it only refers to user defined codecs.
>
> Maybe you could open another issue to manage the wishlist of missing
> features such as the ones you referred to?  I too would very much like to
> see greatly improved media support in JavaFX.
>
> Felix
>
>
> On 9 August 2013 10:10, Scott Palmer <swpal...@gmail.com> wrote:
>
>> The Media APIs are mostly useless in their current state.  Other than
>> demoing that you can play a video, they don't go far enough to be of
>> practical value.  I tried to get someone to pay attention to them back in
>> the JavaFX 1.0 days
>> https://javafx-jira.kenai.com/browse/RT-2684
>>
>> at least someone listened to the request to get H.264 support in there,
>> but that is just a workaround.  We need to be able to get our data into the
>> media pipeline.  This would allow those of us that have attempted to do a
>> video window to have a fighting chance.  Canvas can't keep up and will
>> likely crash the app with out of memory errors.  Support for drawing into a
>> native surface (OpenGL or D3D context) has been talked about, but doesn't
>> appear to be on the horizon yet.  If we just had a hook to get the dang
>> pixel data into the media pipeline so we could supply the "next frame" with
>> whatever we want - either from any native codec via JNI, or dynamically
>> generated from Java code, whatever... that would be just so dang useful...
>> (to me at least)
>>
>> Regards,
>>
>> Scott
>>
>>
>>
>> On Thu, Aug 8, 2013 at 5:04 PM, Fabrizio Giudici <
>> fabrizio.giud...@tidalwave.it> wrote:
>>
>>> On Thu, 08 Aug 2013 22:57:51 +0200, Joe McGlynn <joe.mcgl...@oracle.com>
>>> wrote:
>>>
>>>  I don't know why FX Media isn't in the FX 8 API docs, but that's
>>>> clearly an error.  Please file a bug on that.
>>>>
>>>> In the meantime, you should look at the FX 2 media docs, there isn't a
>>>> lot of change from FX2 media in FX8.  Buffering and streaming (HTTP Live
>>>> Streaming) are both supported, as is playback from a URL.
>>>>
>>>
>>> What is the strategy for codecs? I mean, now we have ImageIO (there is
>>> also JAI but it seems basically dead). ImageIO provides many image codecs
>>> and there's a SPI that can be used to support more formats. Will it be
>>> replaced by FX2 media or co-exist with it?
>>>
>>>
>>> --
>>> Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
>>> "We make Java work. Everywhere."
>>> http://tidalwave.it/fabrizio/**blog <http://tidalwave.it/fabrizio/blog>-
>>> fabrizio.giud...@tidalwave.it
>>>
>>
>>
>

Reply via email to