Custom Playlist

Old forum that is now archived. Please use one of the other forums.
marksailes
New Cone
New Cone
Posts: 4
Joined: 14 Jul 2005 15:25

Custom Playlist

Postby marksailes » 14 Jul 2005 15:34

Hello!,

I'm currently working on a new Movie/Tv Community Website

I'd like the user to be able to build a playlist of their favourite sections/scenes of a particular show

An example might be something like this:

<xml>
<title>Lost Episode 1</title>
<file>lost.ep1.avi</title>
<scene start="06:50" stop="07:02">The wing explodes</scene>
<scene start="05:02" stop="05:04">Man gets sucked into the plane engine</scene>
</xml>

Does anyone know if VideoLAN or any media player would be able to support any sort of file/playlist ?

Ideally the player would load the file, seeks to the start time, play until the stop time, then seek to the next item on the list.

Any ideas or feedback would be great

Thanks,

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 18 Jul 2005 14:49

Hello,

VLC supports custom extensions to the M3U format to partially achieve this (one item needed per "scene", no per-scene title)

Code: Select all

#EXTM3U #EXTVLCOPT start-time=410 #EXTVLCOPT stop-time=422 #EXTINF ,Lost Episode 1 - The Wing explodes lost.ep1.avi #EXTVLCOPT start-time=302 #EXTVLCOPT stop-time=304 #EXTINF ,Lost Episode 1 - Man gets sucked lost.ep1.avi
Zorglub
Clément Stenac

marksailes
New Cone
New Cone
Posts: 4
Joined: 14 Jul 2005 15:25

Postby marksailes » 18 Jul 2005 15:24

Awesome, thats just what i wanted

marksailes
New Cone
New Cone
Posts: 4
Joined: 14 Jul 2005 15:25

Postby marksailes » 19 Jul 2005 10:43

i've tried the example you gave and it does play the correct video file

but it doesn't start at the correct time?

does your example have the correct syntax? are there any other example files that i can have a look at?

marksailes
New Cone
New Cone
Posts: 4
Joined: 14 Jul 2005 15:25

Postby marksailes » 19 Jul 2005 10:49

after checking some other posts

i found i need some ':'

Code: Select all

#EXTM3U #EXTVLCOPT:start-time=410 #EXTVLCOPT:stop-time=422 #EXTINF ,Lost Episode 1 - The Wing explodes lost.ep1.avi #EXTVLCOPT:start-time=302 #EXTVLCOPT:stop-time=304 #EXTINF ,Lost Episode 1 - Man gets sucked lost.ep1.avi
works great thanks


Return to “VideoLAN”

Who is online

Users browsing this forum: No registered users and 12 guests