Bug-Report: Options in xspf playlist fail

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
misc1979
Blank Cone
Blank Cone
Posts: 11
Joined: 22 Oct 2009 10:33

Bug-Report: Options in xspf playlist fail

Postby misc1979 » 22 Oct 2009 19:01

Hello,
Setting options for individual files in the xspf-playlist fails due to the fact, that VLC applies the options of the first video file to the whole playlist, although each file contains a different options tag:
Example:
<track>
<location>C:\file_1.mp4</location>
<duration>208515</duration>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>0</vlc:id>
<vlc:option>aspect-ratio=4:3</vlc:option>
</extension>
</track>
<track>
<location>C:\file_2.mp4</location>
<duration>208515</duration>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>1</vlc:id>
<vlc:option>aspect-ratio=16:9</vlc:option>
</extension>
</track>

In this case all files in the playlist are displayed in aspect ratio of 4:3.

Can someone remove this bug, please.

Thank you,
Michael

misc1979
Blank Cone
Blank Cone
Posts: 11
Joined: 22 Oct 2009 10:33

Re: Bug-Report: Options in xspf playlist fail

Postby misc1979 » 26 Oct 2009 03:41

Could someone please answer if this bug will be removed soon?

Are there any alternatives to "save" individual settings for each file? Maybe by adding a new feature to vlc that allows to save individual settings in a separate file with the same name as the video (just another ending). Then the video would be played always with the correct settings as long as the config-file exists.

What do you think about this suggestion?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Bug-Report: Options in xspf playlist fail

Postby Rémi Denis-Courmont » 26 Oct 2009 18:09

It's difficult to fix a non-existing bug. This works fine here (tested both 1.0 and 1.1).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

misc1979
Blank Cone
Blank Cone
Posts: 11
Joined: 22 Oct 2009 10:33

Re: Bug-Report: Options in xspf playlist fail

Postby misc1979 » 26 Oct 2009 18:21

Allo Rémi,

How can it be, that it works on your system? I am using Windos XP Media Edition SP2 and VLC 1.0.2.

Could you please post the whole xspf file you have used to try? I would like to see, if you have some different header information. TY!

Where can I find VLC 1.1 to try if this version works better?

Thank you,

Best,
Michael

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Bug-Report: Options in xspf playlist fail

Postby Rémi Denis-Courmont » 26 Oct 2009 18:29

Code: Select all

<?xml version="1.0" encoding="UTF-8"?> <playlist version="1" xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/"> <title>Test</title> <trackList> <track> <location>dvd:///@1:6</location> <duration>208515</duration> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:id>0</vlc:id> <vlc:option>no-audio</vlc:option> </extension> </track> <track> <location>dvd://@1:11</location> <duration>208515</duration> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:id>1</vlc:id> <vlc:option>no-video</vlc:option> </extension> </track> </trackList> <extension application="http://www.videolan.org/vlc/playlist/0"> </extension> </playlist>
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

misc1979
Blank Cone
Blank Cone
Posts: 11
Joined: 22 Oct 2009 10:33

Re: Bug-Report: Options in xspf playlist fail

Postby misc1979 » 26 Oct 2009 19:26

Allo Rémi,

Thank you. With no-audio and no-video as an option it works with my system, too. But if you put in the aspect-ratio, it still keeps the aspect ratio of the first video.

You can try this yourself by substituting the audio and video options for
<vlc:option>aspect-ratio=4:3</vlc:option>
and
<vlc:option>aspect-ratio=16:9</vlc:option>

It always keeps the aspect ratio of the first video. And that's why I think this is a bug.

Could you please check for this specific option?

Thank you!

Best,
Michael

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Bug-Report: Options in xspf playlist fail

Postby Rémi Denis-Courmont » 26 Oct 2009 19:39

Are you sure the option works at all? What if you stop playback between the items?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

misc1979
Blank Cone
Blank Cone
Posts: 11
Joined: 22 Oct 2009 10:33

Re: Bug-Report: Options in xspf playlist fail

Postby misc1979 » 26 Oct 2009 19:53

If I stop playback in between it still keeps the aspect-ratio.

And I am sure that the option works, since it changes the aspect-ratio of the first video in the way it is intended to. But unfortunately it does not change back. So if I make my first video play with 4:3 all videos are displayed in 4:3. If I make my first video play with 16:9 all videos are displayed in 16:9. I guess that's a proof that the option works - at least with the first one! But the bug is, that it keeps this variable and does not override it when another aspect ratio is selected.

I have seen you are among the developers, so maybe you could check the code where this option is applied and fix this bug.

That would be very great!

Thank you so much!

Michael


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 24 guests