Skip to contentSkip to conversation

DSM-CC question

linux-dvb Marc Murphy 3 participants 3 messages Sep 14, 2010 – Sep 16, 2010 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

Quoted 25 lines · Suchita Gupta

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

Quoted 6 lines

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#2 lore raw

-----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

Quoted 42 lines · Marc Murphy

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

Quoted 25 lines · Suchita Gupta

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

Quoted 6 lines

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Quoted 7 lines

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
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-----

#3 lore raw

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 <[email protected]>
To: [email protected]
Cc: [email protected]
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

Quoted 51 lines · Marc Murphy

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

Quoted 9 lines · Suchita Gupta

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.

Quoted 22 lines

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

Quoted 6 lines

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Quoted 7 lines

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
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 [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb