Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, August 2006
mp4 video displaying


Message 1 in thread

Hi,
 
We have to build an application that is capable of displaying serveral mp4
video streams.
This would be (of course ;-) a Qt application.
 
Currently we're thinking Xine, GStreamer, NMM and so on, but are there other
solutions?
One of the problems AFAIK with Xine is the fact that libxine is GPL. So that
is not an option
in a commercial application. And what about hardware decompression?
 
Oh yeah, this is all on Linux of course.
 
Anyone suggestions?
 
Regards Harry

Message 2 in thread

On Friday 25 August 2006 08:42, Berge, Harry ten wrote:
> We have to build an application that is capable of displaying serveral
> mp4 video streams.
> This would be (of course ;-) a Qt application.
>
> Currently we're thinking Xine, GStreamer, NMM and so on, but are there
> other solutions?
> One of the problems AFAIK with Xine is the fact that libxine is GPL. So
> that is not an option
> in a commercial application. And what about hardware decompression?

Do you only need to start the videos or do you need to display them inline?

start only: you can always call xine via QProcess, it has a lot of options 
to control it (you can even supply commands via stdin)

inline: libxine will probably be the easiest (and least legal) way, but it 
might be possible to "swallow" the xine window into your own window - look 
at KPart or some other KDE code on how to do that.


	Konrad

Attachment:

Attachment: pgpK4TB1zDYfA.pgp
Description: PGP signature


Message 3 in thread

Berge, Harry ten wrote:
> Hi,
>  
> We have to build an application that is capable of displaying serveral
> mp4 video streams.
> This would be (of course ;-) a Qt application.
>  
> Currently we're thinking Xine, GStreamer, NMM and so on, but are there
> other solutions?
> One of the problems AFAIK with Xine is the fact that libxine is GPL. So
> that is not an option
> in a commercial application. And what about hardware decompression?

You should look at the ffmpeg project,
it's LGPLd, and most of linux projects ( including mplayer and XINE )
are based on it. It definitely can decode mpeg4 stream, including divx.
It also has demuxers for most of containers used for media files, like avi.

>  
> Oh yeah, this is all on Linux of course.
>  
> Anyone suggestions?
>  
> Regards Harry

Regards
  Dmitry.

--
 [ signature omitted ]