hi !!
Please, excuse me for my english but I’m french student.
I try to write a mpeg player with some different properties and I don’t
manage to see how I can display my mpeg video after decode it.
Indeed, my function mpeg_read return a matrix containing unsigned char
(8 bit), so, I don’t understand, first how It can have the 3 components
RGB on 8 bits and second how I have to do to display this matrix with
SDL.
Please, I know this is more a question for mpeg developpers but I
haven’t found great documentation or web sites on this subject.
Thanks for advance.
trOOpa
The output is YUV - use the YUV overlays functions. If you
want a working player, use my mpeg4ip project, or ffmpeg, or
mplayer or VLC.
cabieces julien wrote:> hi !!
Please, excuse me for my english but I’m french student.
I try to write a mpeg player with some different properties and I don’t
manage to see how I can display my mpeg video after decode it.
Indeed, my function mpeg_read return a matrix containing unsigned char
(8 bit), so, I don’t understand, first how It can have the 3 components
RGB on 8 bits and second how I have to do to display this matrix with
SDL.
Please, I know this is more a question for mpeg developpers but I
haven’t found great documentation or web sites on this subject.
Thanks for advance.
trOOpa
hi,
thanks answer me !
I haven’t the choice of the mpeg library. I don’t write a player to fun
myself but for high school project. The aim of this player is to "index"
videos (thanks to xml files) to test different image treatment
algorithm.
I wrote it for a french research institute call IRIT (Toulouse).
I have seen there was two output enable RGB and YUV and I have thought
the RGB was the easier to use. There is no documentation on the libmpeg3
project and they don’t describe the structure of the RGB output. So, I
am on the point to change my mind and choose the YUV output but can you
say me how I can display an image with SDL with a YUV image (or RGB). Is
it possible to have the choice of the format (I have seen it does ) and
how I can.
Is SDL the better way to display my videos or is there better.
thanks for all and sorry to murder the english tongue as I do.
Cabieces Julien
Le mer 24/11/2004 ? 07:27, Bill May a ?crit :> The output is YUV - use the YUV overlays functions. If you
want a working player, use my mpeg4ip project, or ffmpeg, or
mplayer or VLC.
cabieces julien wrote:
hi !!
Please, excuse me for my english but I’m french student.
I try to write a mpeg player with some different properties and I don’t
manage to see how I can display my mpeg video after decode it.
Indeed, my function mpeg_read return a matrix containing unsigned char
(8 bit), so, I don’t understand, first how It can have the 3 components
RGB on 8 bits and second how I have to do to display this matrix with
SDL.
Please, I know this is more a question for mpeg developpers but I
haven’t found great documentation or web sites on this subject.
Thanks for advance.
trOOpa
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
cabieces julien wrote:
hi,
thanks answer me !
I haven’t the choice of the mpeg library. I don’t write a player to fun
myself but for high school project. The aim of this player is to "index"
videos (thanks to xml files) to test different image treatment
algorithm.
I wrote it for a french research institute call IRIT (Toulouse).
I have seen there was two output enable RGB and YUV and I have thought
the RGB was the easier to use. There is no documentation on the libmpeg3
project and they don’t describe the structure of the RGB output. So, I
am on the point to change my mind and choose the YUV output but can you
say me how I can display an image with SDL with a YUV image (or RGB). Is
it possible to have the choice of the format (I have seen it does ) and
how I can.
Look at the various SDL documentation on YUV overlays. Or
mpeg4ip/util/yuv/yuvdump.cpp shows how to do it.> Is SDL the better way to display my videos or is there better.
thanks for all and sorry to murder the english tongue as I do.
Cabieces Julien
Le mer 24/11/2004 ? 07:27, Bill May a ?crit :
The output is YUV - use the YUV overlays functions. If you
want a working player, use my mpeg4ip project, or ffmpeg, or
mplayer or VLC.
cabieces julien wrote:
hi !!
Please, excuse me for my english but I’m french student.
I try to write a mpeg player with some different properties and I don’t
manage to see how I can display my mpeg video after decode it.
Indeed, my function mpeg_read return a matrix containing unsigned char
(8 bit), so, I don’t understand, first how It can have the 3 components
RGB on 8 bits and second how I have to do to display this matrix with
SDL.
Please, I know this is more a question for mpeg developpers but I
haven’t found great documentation or web sites on this subject.
Thanks for advance.
trOOpa
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl