You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Dmitriy Mayboroda (JIRA)" <ji...@apache.org> on 2010/03/17 11:26:29 UTC

[jira] Created: (PIVOT-434) Audio/Video Player (with streaming ability)

Audio/Video Player (with streaming ability)
-------------------------------------------

                 Key: PIVOT-434
                 URL: https://issues.apache.org/jira/browse/PIVOT-434
             Project: Pivot
          Issue Type: New Feature
          Components: wtk-media
            Reporter: Dmitriy Mayboroda


I think it would be nice to have it. For example:

{code:xml}
<MediaPlayer url="" startFrom="150" loop="-1"  />
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIVOT-434) Audio/Video Player (with streaming ability)

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846392#action_12846392 ] 

Greg Brown commented on PIVOT-434:
----------------------------------

We actually have a class for this already: org.apache.pivot.wtk.MovieView. The problem is that we don't yet have any concrete classes (subclasses of org.apache.pivot.wtk.media.Movie) that are capable of playing back any of the standard video encodings. Feel free to write one if you are interested in this (though I suspect that it may take just as much time as creating a GUI builder).  ;-)


> Audio/Video Player (with streaming ability)
> -------------------------------------------
>
>                 Key: PIVOT-434
>                 URL: https://issues.apache.org/jira/browse/PIVOT-434
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk-media
>            Reporter: Dmitriy Mayboroda
>
> I think it would be nice to have it. For example:
> {code:xml}
> <MediaPlayer url="" startFrom="150" loop="-1"  />
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIVOT-434) Audio/Video Player (with streaming ability)

Posted by "Dmitriy Mayboroda (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846658#action_12846658 ] 

Dmitriy Mayboroda commented on PIVOT-434:
-----------------------------------------

I agree about time, but I think that priority of this task is much bigger then in GUI builder task.

I'd like to try writing for Pivot, do you have any information about what technology is better to use for this encoding task, cause I've never worked with video in Java.

P.S.
I need this video/audio stuff for the demo to my customer. I'd like to move our project from JavaFx to Pivot, but this audio/video support is a main issue.
So I was thinking to use external player, for example VLC and Java Native API to get full control of vlc in java. Can this MovieView display a stream from VLC?

> Audio/Video Player (with streaming ability)
> -------------------------------------------
>
>                 Key: PIVOT-434
>                 URL: https://issues.apache.org/jira/browse/PIVOT-434
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk-media
>            Reporter: Dmitriy Mayboroda
>
> I think it would be nice to have it. For example:
> {code:xml}
> <MediaPlayer url="" startFrom="150" loop="-1"  />
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIVOT-434) Audio/Video Player (with streaming ability)

Posted by "Dmitriy Mayboroda (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846861#action_12846861 ] 

Dmitriy Mayboroda commented on PIVOT-434:
-----------------------------------------

> Could you possibly delegate your video playback to an external player and simply it from your Pivot app?

I was thinking about using https://jna.dev.java.net/ to connect to OS player and get stream from it for example: in windows Media Player. I'll work in this direction. Also I've found interesting projects on JNA site - http://gstreamer.freedesktop.org/ and http://code.google.com/p/gstreamer-java/, I'll try to play with this stuff.

> Audio/Video Player (with streaming ability)
> -------------------------------------------
>
>                 Key: PIVOT-434
>                 URL: https://issues.apache.org/jira/browse/PIVOT-434
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk-media
>            Reporter: Dmitriy Mayboroda
>
> I think it would be nice to have it. For example:
> {code:xml}
> <MediaPlayer url="" startFrom="150" loop="-1"  />
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIVOT-434) Audio/Video Player (with streaming ability)

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846690#action_12846690 ] 

Greg Brown commented on PIVOT-434:
----------------------------------

> I was thinking to use external player, for example VLC and Java Native API to get full control of vlc in java. Can this MovieView display a stream from VLC?

In theory yes, but not without a fair amount of work. You'd probably need to write an AWT wrapper for it, then figure out how to bridge that into Pivot (Pivot doesn't currently support heavyweight components).

Could you possibly delegate your video playback to an external player and simply it from your Pivot app? You could use the AWT Desktop class to open a QuickTime movie, for example.

If it has to be inline, you might be able to do something with this, but I'm not sure - haven't ever looked into it fully:

http://www.alphaworks.ibm.com/tech/tk4mpeg4



> Audio/Video Player (with streaming ability)
> -------------------------------------------
>
>                 Key: PIVOT-434
>                 URL: https://issues.apache.org/jira/browse/PIVOT-434
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk-media
>            Reporter: Dmitriy Mayboroda
>
> I think it would be nice to have it. For example:
> {code:xml}
> <MediaPlayer url="" startFrom="150" loop="-1"  />
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.