Re: Fw: [linux-dvb] DSM-CC question
Hi, I need help to understand stream and stream event messages. Stream Message: I can read upto message length. But after that what is the use of taps and if i process those taps, what information do i need to store on filesystem and how that information can be used. Also, In what cases in DVB-S DSMCC we can get stream message and what is the use of it. As far as I understand all the useful data is in file messages.(dir and srg are required to get proper structure but actual contents which can be used are in file). Stream Event Message: Similarly, with stream event message what is the use of taps and how to process them. Also, what is the use of event ids in this message and why do we need to store it or use it? Thanks for help. - Original Message From: Peter Evertz l...@pec.homeip.net To: Simon Liddicott si...@liddicott.com Cc: Suchita Gupta suchitagu...@yahoo.com; linux-media@vger.kernel.org Sent: Wed, 15 September, 2010 19:05:43 Subject: Re: Fw: [linux-dvb] DSM-CC question Or take a look at mhp or dsmcc plugins for vdr. Both not activ projects, but both have a dsmcc implementation. Are you working on a hbbtv solution ? Simon Liddicott schrieb: Have you had a look at the code for redbutton? http://redbutton.sourceforge.net/ Si On 14 September 2010 21:32, Suchita Gupta suchitagu...@yahoo.com wrote: Hi, First of all, I am new to this list, so I am not sire if this is right place for this question. If not, please forgive me and point me to right list. I am writing a DSMCC decoding implementation to persist it to local filesystem. I am unable to understand few thiings related to srg I know, it represents the top level directory. But how do I get the name of this directory? I can extract the names of subdirs and files using name components but where is the name of top level directory? Also, as far as I understand it, I can't start writing to the local filesystem until I have acquired the whole carousel. Can, anyone please provide me some guidance. Thanks in Advance, rs ___ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-...@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Fw: [linux-dvb] DSM-CC question
Hi All, Thanks to everyone for their help. I am able to build a tree from DSMCC carousel. I have done only file, dir and srg messages at the time being as I don't understand the usage of stream and stream event messages at the moment. Can anyone please explain these to me and how can they be assembled. Thanks, rs - Original Message From: Peter Evertz l...@pec.homeip.net To: Simon Liddicott si...@liddicott.com Cc: Suchita Gupta suchitagu...@yahoo.com; linux-media@vger.kernel.org Sent: Wed, 15 September, 2010 19:05:43 Subject: Re: Fw: [linux-dvb] DSM-CC question Or take a look at mhp or dsmcc plugins for vdr. Both not activ projects, but both have a dsmcc implementation. Are you working on a hbbtv solution ? Simon Liddicott schrieb: Have you had a look at the code for redbutton? http://redbutton.sourceforge.net/ Si On 14 September 2010 21:32, Suchita Gupta suchitagu...@yahoo.com wrote: Hi, First of all, I am new to this list, so I am not sire if this is right place for this question. If not, please forgive me and point me to right list. I am writing a DSMCC decoding implementation to persist it to local filesystem. I am unable to understand few thiings related to srg I know, it represents the top level directory. But how do I get the name of this directory? I can extract the names of subdirs and files using name components but where is the name of top level directory? Also, as far as I understand it, I can't start writing to the local filesystem until I have acquired the whole carousel. Can, anyone please provide me some guidance. Thanks in Advance, rs ___ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-...@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [linux-dvb] DSM-CC question
Hi, Suchita Gupta wrote: Hi, First of all, I am new to this list, so I am not sire if this is right place for this question. If not, please forgive me and point me to right list. I am writing a DSMCC decoding implementation to persist it to local filesystem. I am unable to understand few thiings related to srg I know, it represents the top level directory. But how do I get the name of this directory? I can extract the names of subdirs and files using name components but where is the name of top level directory? The SRG component defines the carousel's root directory / which you are going to mount somewhere to an absolute path on your local filesystem. Also, as far as I understand it, I can't start writing to the local filesystem until I have acquired the whole carousel. The referenced ObjectKey's data gets delivered with modules, at the latest from this point you can store the FIL objects to disk, as these are then really available. The directory structure can be created immediately, of course. Can, anyone please provide me some guidance. Don't hesitate to ask more detailed questions, thats the right place here! Regards, Marek -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [linux-dvb] DSM-CC question
Its a very good idea. I will look at it as soon as possible and may be come back to you for questions. I have already done most of the implementation by storing blocks in memory and I have to finish it as soon as possible. But later on I can use this idea, it to optimize memory utilization and performance of my code Thanks. - Original Message From: Simon Kilvington s.kilving...@eris.qinetiq.com To: linux-media@vger.kernel.org Cc: linux-...@linuxtv.org Sent: Wed, 15 September, 2010 10:40:05 Subject: Re: [linux-dvb] DSM-CC question -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 also have a look at my rb-download code, http://redbutton.sourceforge.net/ this gets around the problem of having to know the directory structure before you download files by using symlinks - ie you download the files as they arrive on the carousel, then when you get a directory you create the directory but make all the file entries in it symlinks - if the files have already arrived, then the links point to them, if the files haven't arrived yet, you just have some dangling symlinks until they do this means you don't have to worry about trying to cache files in memory before you can write them to disc and so makes the whole thing a lot simpler to implement On 14/09/10 22:06, Marc Murphy wrote: Have a look at libdsmcc. It will write by default to /tmp/cache I have modified my test software to notify of a new file or updated file version. Hope this helps Marc Sent from my iPhone On 14 Sep 2010, at 21:31, Suchita Gupta suchitagu...@yahoo.com wrote: Hi, First of all, I am new to this list, so I am not sire if this is right place for this question. If not, please forgive me and point me to right list. I am writing a DSMCC decoding implementation to persist it to local filesystem. I am unable to understand few thiings related to srg I know, it represents the top level directory. But how do I get the name of this directory? I can extract the names of subdirs and files using name components but where is the name of top level directory? Also, as far as I understand it, I can't start writing to the local filesystem until I have acquired the whole carousel. Can, anyone please provide me some guidance. Thanks in Advance, rs ___ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-...@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ___ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-...@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb - -- Simon Kilvington -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyQlHUACgkQmt9ZifioJSwN7QCffyS4wY25IMysdwFcJEUS/Aaw JBEAoIGShJ/kxMvOT73o7vEqfXMNKr/r =Jf4M -END PGP SIGNATURE- ___ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-...@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [linux-dvb] DSM-CC question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 also have a look at my rb-download code, http://redbutton.sourceforge.net/ this gets around the problem of having to know the directory structure before you download files by using symlinks - ie you download the files as they arrive on the carousel, then when you get a directory you create the directory but make all the file entries in it symlinks - if the files have already arrived, then the links point to them, if the files haven't arrived yet, you just have some dangling symlinks until they do this means you don't have to worry about trying to cache files in memory before you can write them to disc and so makes the whole thing a lot simpler to implement On 14/09/10 22:06, Marc Murphy wrote: Have a look at libdsmcc. It will write by default to /tmp/cache I have modified my test software to notify of a new file or updated file version. Hope this helps Marc Sent from my iPhone On 14 Sep 2010, at 21:31, Suchita Gupta suchitagu...@yahoo.com wrote: Hi, First of all, I am new to this list, so I am not sire if this is right place for this question. If not, please forgive me and point me to right list. I am writing a DSMCC decoding implementation to persist it to local filesystem. I am unable to understand few thiings related to srg I know, it represents the top level directory. But how do I get the name of this directory? I can extract the names of subdirs and files using name components but where is the name of top level directory? Also, as far as I understand it, I can't start writing to the local filesystem until I have acquired the whole carousel. Can, anyone please provide me some guidance. Thanks in Advance, rs ___ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-...@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ___ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-...@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb - -- Simon Kilvington -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyQlHUACgkQmt9ZifioJSwN7QCffyS4wY25IMysdwFcJEUS/Aaw JBEAoIGShJ/kxMvOT73o7vEqfXMNKr/r =Jf4M -END PGP SIGNATURE- -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Fw: [linux-dvb] DSM-CC question
Or take a look at mhp or dsmcc plugins for vdr. Both not activ projects, but both have a dsmcc implementation. Are you working on a hbbtv solution ? Simon Liddicott schrieb: Have you had a look at the code for redbutton? http://redbutton.sourceforge.net/ Si On 14 September 2010 21:32, Suchita Gupta suchitagu...@yahoo.com wrote: Hi, First of all, I am new to this list, so I am not sire if this is right place for this question. If not, please forgive me and point me to right list. I am writing a DSMCC decoding implementation to persist it to local filesystem. I am unable to understand few thiings related to srg I know, it represents the top level directory. But how do I get the name of this directory? I can extract the names of subdirs and files using name components but where is the name of top level directory? Also, as far as I understand it, I can't start writing to the local filesystem until I have acquired the whole carousel. Can, anyone please provide me some guidance. Thanks in Advance, rs ___ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-...@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Fw: [linux-dvb] DSM-CC question
Hi, First of all, I am new to this list, so I am not sire if this is right place for this question. If not, please forgive me and point me to right list. I am writing a DSMCC decoding implementation to persist it to local filesystem. I am unable to understand few thiings related to srg I know, it represents the top level directory. But how do I get the name of this directory? I can extract the names of subdirs and files using name components but where is the name of top level directory? Also, as far as I understand it, I can't start writing to the local filesystem until I have acquired the whole carousel. Can, anyone please provide me some guidance. Thanks in Advance, rs ___ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-...@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html