does vlc really decrypt the nsc file?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
fantry
Blank Cone
Blank Cone
Posts: 18
Joined: 25 Jun 2006 07:22

does vlc really decrypt the nsc file?

Postby fantry » 22 Sep 2006 08:56

when vlc decrypted the nsc file its result like this below:

nsc debug: Name = TGP , test2
nsc debug: NSC Format Version = 3.0
nsc debug: Multicast Adapter = 10.214.40.11
nsc debug: IP Address = 239.192.59.94
nsc debug: IP Port = 21072
nsc debug: Time To Live = 32
nsc debug: Default Ecc = 10
nsc debug: Log URL =
nsc debug: Unicast URL =
nsc debug: Allow Splitting = 1
nsc debug: Allow Caching = 1
nsc debug: Cache Expiration Time = 86400
nsc debug: Format1 = asf header

the asf header 's detail infomation is very important ,
so i think that the vlc does not have decrypted the nsc file if the output is just the words "asf header" rather than detail asf header info.
am i right ?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 23 Sep 2006 13:43

If you think that VLC hasn't decrypted it, try downloading the nsc file yourself and open it in a text editor :) (and check my reply to the other thread)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

fantry
Blank Cone
Blank Cone
Posts: 18
Joined: 25 Jun 2006 07:22

Postby fantry » 23 Sep 2006 18:18

i have got that the nsc 's file is just a garbage under text editer.
but what i mean was the asf header info is just two words " asf header "rather than the meaningful bytes.maybe i need to check your answer to other threads.it needs time for i am not famalier with this forum.
thx .

fantry
Blank Cone
Blank Cone
Posts: 18
Joined: 25 Jun 2006 07:22

Postby fantry » 23 Sep 2006 20:05

i have checked all your answers to threads related to 'nsc' key word but not get the answer .would you show me the truth with vlc about nsc?
i look forward to this.thx in advance .

fantry
Blank Cone
Blank Cone
Posts: 18
Joined: 25 Jun 2006 07:22

Postby fantry » 25 Sep 2006 15:42

no answer?
is this quetion stupid or i haven't explained it clearly?

here comes the vlc nsc demux code :
static int ParseLine ( demux_t *p_demux, char *psz_line )
{
char *psz_bol;
char *psz_value;

psz_bol = psz_line;
/* Remove unnecessary tabs or spaces at the beginning of line */
while( *psz_bol == ' ' || *psz_bol == '\t' ||
*psz_bol == '\n' || *psz_bol == '\r' )
{
psz_bol++;
}
psz_value = strchr( psz_bol, '=' );
if( psz_value == NULL )
{
return 0; /* a [Address] or [Formats] line or something else we will ignore */
}
*psz_value = '\0';
psz_value++;

if( !strncasecmp( psz_value, "0x", 2 ) )
{
int i_value;
sscanf( psz_value, "%x", &i_value );
msg_Dbg( p_demux, "%s = %d", psz_bol, i_value );
}
else if( !strncasecmp( psz_bol, "Format", 6 ) )
{
msg_Dbg( p_demux, "%s = asf header", psz_bol );
}
else
{
/* This should be NSC encoded strings in the values */
char *psz_out;
psz_out = nscdec( (vlc_object_t *)p_demux, psz_value );
if( psz_out )
{
msg_Dbg( p_demux, "%s = %s", psz_bol, psz_out );
if( psz_out) free( psz_out );
}
}
return VLC_SUCCESS;
}

i just want to know that after the code
if( !strncasecmp( psz_bol, "Format", 6 ) )
why vlc just output like this
msg_Dbg( p_demux, "%s = asf header", psz_bol );
instead of decrypting the asf header ?
means the vlc hasn't got the mechanic to do this or the asf header needn't decrypt?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 26 Sep 2006 23:33

You should ask thedj on #videolan (irc.freenode.net). He already played with that and wrote the demux. He'll be able to answer your questions i think. (He lives in europe, just to give you an idea about the times he might be online)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests