Page 1 of 1

Random characters in RSS

Posted: 13 Apr 2007 19:06
by AIexis
Hello
I sometimes have 2 or 3 random characters at the end of the rss feed (for each news).
Like this:
- the first news of the week0░Ë - the second news of the weekb00 - the third news of the weekb00
They disapear if I stop/restart the video.

Did someone experimented this problem and found a solution?

Thank you :)

Posted: 14 Apr 2007 14:36
by dionoea
This is a known problem. I can't remember if i fixed it or not. What VLC version are you using ?

Posted: 14 Apr 2007 14:41
by AIexis
The last stable version (0.8.6b)
I try to set up a smaller rss-length (35 instead of 38), and it seems to work without problem until now.
:D

Posted: 14 Apr 2007 14:43
by dionoea
It's an issue with UTF-8 character encoding handling in the RSS filter (the chars can take more than 1 byte but the filter doesn't take that into account). So changing the length might help if you're lucky, but it's definitively not a proper fix :)

Posted: 14 Apr 2007 14:48
by AIexis
I use a own rss feed on my local drive, and iso-8859-1 encoding.
Do you mean that VLC try to convert into utf-8 ?
If I try to set up a utf-8 in my rss, there's no rss displayed at all.

Posted: 14 Apr 2007 16:12
by dionoea
Well VLC uses UTF-8 internally. So if you have some so called "special" characters in your stream it can trigger issues. If you don't, then I'd appreciate if you could paste a link to your stream so I can see what's wrong.

Posted: 15 Apr 2007 09:32
by AIexis
Hello I have deleted all special characters, but the random characters still sometimes appears (but only if I set up 38 or more as rss length)
You can try the feed here: http://mx6.free.fr/rss.xml
Thank you very much for your help !

Posted: 16 Apr 2007 19:54
by AIexis
Dionoea, did you test my stream ?
:oops:

Posted: 18 Apr 2007 22:32
by AIexis
I have this problem with utf-8 encoded rss too.
I tried this stream : http://www.liguorien.com/blog/rss/utf8.do

I also tried the new 0.9 version and no rss is displayed :cry:

Posted: 08 May 2007 20:51
by dionoea
I'll try to fix that tonight. I'll keep you posted.

Posted: 08 May 2007 21:12
by AIexis
:D

Addendum: sometimes (very rare), I get "n.dll" at the end of the RSS feed...

Thanks very much in advance Dionoea ;)

Posted: 08 May 2007 22:43
by dionoea
Hum, in fact i don't have any issues here with any of the test rss feeds you posted :/ (Using 0.9.0 or debian sid's 0.8.6 build)

Is your problem windows only?

Posted: 08 May 2007 23:39
by AIexis
I don't have any linux distribution installed to test :?

But keep in mind that this issue appears approximatively once on ten tries...
And generally at the first start of VLC.
It's all that I can say about this issue.

Just tested with http://www.liguorien.com/blog/rss/utf8.do

Image

My settings:
VLC 0.8.6b
No overlay
RSS-size = 32
RSS-length = 56
video: mpeg2 DVD 720*576

Posted: 09 May 2007 22:21
by dionoea
I've commited a test fix to the development version. Could you try today's and tomorrow's nightly builds and see if the bug is present in the first one but not in the second one? Thanks.

( Commit: https://trac.videolan.org/vlc/changeset/20038 )

Posted: 09 May 2007 22:45
by AIexis
Hello Dionoea and thank you.
I will try both builds, and let you know.

Quick reply: first test for the current build
Image
Good night :)

Posted: 10 May 2007 09:02
by AIexis
Everything seems to be OK with the last build :D

Concerning RSS, because there is other problems, as you know, with the developpement version. I can't do a very deep test with RSS because VLC is crashing often. (something with ntdll.dll ...)

Thank you for all ;)

Anyway (I abuse), do you think it's possible to do this changing with the branch version which is far more stable on my PC? If only I knew how to compile :oops:

Posted: 10 May 2007 23:07
by dionoea
It'd be easy if you knew how to compile ( http://developers.videolan.org/vlc/ ).

About the RSS CPU load & crash thing you mentioned here and on IRC earlier today, could you try using the marq subfilter to see if it suffers the same performance issues in 0.9.0 ? (So i can try to pinpoint the cause)

Posted: 10 May 2007 23:41
by AIexis
Sorry, I don't understand what do you mean by "marq subfilter".
I typically use VLC to play DVD MPEG2 VOB, and adding RSS feed, and a logo, an a text marq.

When I use all this functions with 0.9.0, VLC uses about 80% of proc, and about 40% with 0.8.6

If I disable RSS feed, 0.9.0 uses about 60%, and 0.8.6 about 30%

(today I have installed ubuntu, but it makes my windows partition crash :roll: )
I will test VLC tomorrow, if you explain exactly what you want me to do ;)

Posted: 15 May 2007 10:05
by AIexis
Is your problem windows only?
Yes :?
No problem with 0.8.6b and Ubuntu.