[Qt-interest] Phonon Framework and Mpeg TS

Chinmaya Sn chinmaya at gmail.com
Fri Apr 9 00:15:45 CEST 2010


Thanks Josiah.

I was looking at the framework support itself, reason is I might not use
ffmpeg,
and I have requirement to switch codec implementations depending on
platform,
and in some cases I might have to write my own backend for this.

I did some more research, I think answer to my question is QtMultimedia, it
seems
to be solving the mepeg or similar transport-stream issues.

--
chinmaya sn

On Wed, Apr 7, 2010 at 11:56 AM, Josiah Bryan <jbryan at productiveconcepts.com
> wrote:

> Chinmaya Sn wrote:
>
>> Hi,
>> I have mpeg ts content, this content has more than just audio and video,
>> e.g data (sub-titles).
>>
>> Lets say Gstreamer plugin supports to decode and output this.
>>
>> Then, how would I get hold of this data-stream in Phonon framework, and
>> process it.
>>
>> I could not find any appropriate APIs in the Phonon module.
>>
>> Any suggestions/pointers?
>>
>>
> Use ffmpeg (libavcodec and friends, actually). No, really. I've
> successfully used ffmpeg on both windows and linux with no changes to my
> code. There are pre-compiled ffmpeg dlls  that work without problem. Same
> ffmpeg-specific code for both platforms - no #ifdefs needed.
>
> Here's a nice simple example from a project I'm working on. This particular
> subdir (/trunk/src/camera_test) is a test program I put together to test
> using ffmpeg to capture video on windows, but it work just fine under linux
> just by changing the vidcap URI at line 20 in CameraTest.cpp to /dev/video0
> or whatever.
>
> http://code.google.com/p/dviz/source/browse/#svn/trunk/src/camera_test
>
> Just a suggestion. There may be a much much easier way thru the Phonon API
> - but I don't really know. Sorry.
>
> Cheers!
> -Josiah
>
>
>


-- 
--
chinmaya sn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100408/4f260cd3/attachment.html 


More information about the Qt-interest-old mailing list