I am trying to crop specific entries of a playlist.
Here is my example .xspf playlist :
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>My example playlist</title>
<trackList>
<track>
<location>rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=ld</location>
<title>France 2 </title>
<creator>2</creator>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>0</vlc:id>
</extension>
</track>
<track>
<location>rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=767&flavour=ld</location>
<title>Clubbing TV </title>
<creator>72</creator>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>31</vlc:id>
<vlc:option>crop=16:9</vlc:option>
</extension>
</track>
</trackList>
</playlist>
Code: Select all
#EXTM3U
#EXTINF:0,2 - France 2
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=ld
#EXTINF:0,72 - Clubbing TV
#EXTVLCOPT:crop=16:9
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=767&flavour=ld
If I start playing the first entry, when I will switch to the second one, it will not be cropped.
For the second entry to be cropped, I have to stop the playback and start it directly on this second entry.
Is there anything to do to crop entries "on the fly", without having to stop the playback ?
Thank you very much,
Best regards,
AZLan