Hi, I am planning to port latest SWFDec to android platform. The plans of mine are after porting it should support playing of youtube videos, I have downloaded the SWFDec package and plugin and installed the things but I am not able to open youtube video on my Mozilla browser. I have gone through the code in one of the files, while creating the decoders only "SWF", "IMAGE" coders are created. But for Youtube to play it should support flv files, I have seen one of the file in the source "swfdec_flc_decoder.c". Presently it is not used in the project. Do I need to create an object of type swfdec_flc_decoder to support youtube videos or any other changes I need to make inorder to support the youtube videos? Please let me know your thoughts. With Regards Vinay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/swfdec/attachments/20090508/3e435f95/attachment.htm
Vinayakumata T V ha scritto:> Hi, > I am planning to port latest SWFDec to android platform. The plans of > mine are after porting it should support playing of youtube videos, I > have downloaded the SWFDec package and plugin and installed the things > but I am not able to open youtube video on my Mozilla browser. I have > gone through the code in one of the files, while creating the decoders > only "SWF", "IMAGE" coders are created. But for Youtube to play it > should support flv files, I have seen one of the file in the source > "swfdec_flc_decoder.c". > Presently it is not used in the project. Do I need to create an object > of type swfdec_flc_decoder to support youtube videos or > any other changes I need to make inorder to support the youtube videos? > > Please let me know your thoughts. > > With Regards > VinayOnce you have installed correctly swfdec and swfdec-mozilla (check in about:plugins) you need gstreamer plugins to decode audio / video from flv. hth, riccardo
Hi Riccardo, Thanks for the reply. I have installed all the codecs required for running the SwfDec. But the SwfDec is still not playing flv files. I have digged into the code, in SwfDec_Decoder.c there is a check for header while creating the required decoders. There only two decoders are instantiated one of type swfdec_swf_decoder and other one is for image. If I see older version of SwfDec (0.4.2), it has three (one of them is flv). I have built 0.4.2, it plays flv files fine. Do I need to change 0.8.2 to include 0.4.2 features to play flv files? Please let me know your thoughts. With Regards Vinay On Sun, May 10, 2009 at 2:54 PM, Riccardo Magliocchetti < riccardo.magliocchetti at gmail.com> wrote:> Vinayakumata T V ha scritto: > > Hi, >> I am planning to port latest SWFDec to android platform. The plans of mine >> are after porting it should support playing of youtube videos, I have >> downloaded the SWFDec package and plugin and installed the things but I am >> not able to open youtube video on my Mozilla browser. I have gone through >> the code in one of the files, while creating the decoders only "SWF", >> "IMAGE" coders are created. But for Youtube to play it should support flv >> files, I have seen one of the file in the source "swfdec_flc_decoder.c". >> Presently it is not used in the project. Do I need to create an object of >> type swfdec_flc_decoder to support youtube videos or >> any other changes I need to make inorder to support the youtube videos? >> >> Please let me know your thoughts. >> >> With Regards >> Vinay >> > > Once you have installed correctly swfdec and swfdec-mozilla (check in > about:plugins) you need gstreamer plugins to decode audio / video from flv. > > hth, > riccardo >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/swfdec/attachments/20090514/9a9ff372/attachment.htm