[FFmpeg-devel] GSoC 2008 qualification task TS Muxer

zhentan feng spyfeng
Wed Mar 19 08:50:12 CET 2008

2008/3/19, Baptiste Coudurier <baptiste.coudurier at smartjog.com>:
> Hi,
>  zhentan feng wrote:
>  > hi all,
>  > My name is zhentan feng,and I am very glad to apply the gsoc project.
>  >
>  > According to the idea list and ffmpeg wiki, I prefer to apply the  MXF
>  > muxer which mentored by   Baptiste Coudurier.
>  >
>  > As to qualification task, I want to choose the TS Muxer project which
>  > also mentored by Baptiste Coudurier.
>  > So,could Baptiste Coudurier or anybody give me more details about the
>  > TS Muxer qualification task?
>  > best wished to all~
> Good, last year SoC TS muxer was not finished though working, and more
>  important not integrated.
>  The qualification task is:
>  1) Eliminate duplicated code found in both mpegtsenc.c and mpegenc.c
>  (current PS muxer): extract common functions, putting them in
>  mpegpesenc.c, extending them for TS only if strictly needed.
>  Code is at: svn://svn.mplayerhq.hu/soc/dvbmuxer
I already checked it out and look through the files.
It seems that mpegpesenc.c is the common functions extracted from both
mpegtsenc.c and  mpegenc.c.
The mpegpesenc.c just packet stream to PES packet.
But I still confused what're the problems with mpegpesenc.c?
Is mpegpesenc.c lack of some function or can not work correctly?

further more, I think i need some time to farmilar with the TS, PS,
PES packet format.
Do you have some useful documents to recommend?

>  2) Verify strictly the conformance of generated TS streams (we do need
>  another broken muxer), if not, fix it.
I understand the 2) as follow:
first, generate a TS stream (T1) by mpegtsenc.c originally;
second , generate a TS stream (T2) by mpegtsenc.c(modified by cutting
the common code with mpegenc.c) call the functions in mpegpesenc.c ;
T1 and T2 have the same source stream.
then compare T1 and T2 to see are they conformance by examine the TS
packet format?

>  3) Submit clean and separate patches against SVN for inclusion.
Does this point means if I have finished 1) and 2), I should commit
the codes to ffmpeg src repo?

>  3) Extend it to support H264 muxing.
I understand it as follow:
read the stream which is H264 coded, and transform the header and
payload to PES packet,and then packeted  to TS stream itend to
transport high efficiency?

I think the qualification task is not a easy task ,but I'll try my best.
Thank for anyone could give me any help.

>  You can use the dedicated SoC mailing list.
>  https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
I post some question to the soc-mailist the  yesterday morning to
choose the JPEG 2000 Encoder and Decode project,but anyone replied it.
And I find some one already  chose it in the devel-maillist and be
confirmed yesterday afternoon.
So I think first time to post in the devel-maillist is a good idea:)
Then I will cc the post to the soc-maillist.

best regards~

>  --
> Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
>  SMARTJOG SAS                                     http://www.smartjog.com
>  Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
>  Phone: +33 1 49966312
>  _______________________________________________
>  ffmpeg-devel mailing list
>  ffmpeg-devel at mplayerhq.hu
>  https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list