Marquee: meta-data formatting
It seems like format variables are no longer interpreted; at least when trying to use the marquee feature. First I'll show that it works with vlc 2.0.8. The same command fails in vlc 2.1.0. I've attached screenshots.
[andrew@Liger ~] uname -a
Linux Liger 3.11.1-1-ARCH [#1](https://code.videolan.org/videolan/vlc/-/issues/1) SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013 x86_64 GNU/Linux
[andrew@Liger ~] vlc --version
VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)
VLC version 2.0.8 Twoflower (2.0.8a-0-g68cf50b)
Compiled by nobody on (Aug 2 2013 10:27:35)
Compiler: gcc version 4.8.1 20130725 (prerelease) (GCC)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.
Using vlc 2.0.8, I ran this command:
[andrew@Liger ~] vlc --sub-source 'marq{marquee=$t ($P%%)}' /m/nfl/broadcast/full/2013092210.mp4
VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)
[0x10cb138] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/r600_drv_video.so
libva info: va_openDriver() returns -1
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7f7928006d88] pulse audio output error: PulseAudio server connection failure: Connection refused
Fontconfig warning: FcPattern object size does not accept value "0"
[h264 @ 0x7f793a0665c0] Cannot parallelize deblocking type 1, decoding such frames in sequential order
The result is in the attached screenshot vlc-2.0.8.png
.
Then I installed vlc 2.1.0:
[andrew@Liger ~] vlc --version
VLC media player 2.1.0 Rincewind (revision 2.1.0-0-gedd8835)
VLC version 2.1.0 Rincewind (2.1.0-0-gedd8835)
Compiled by nobody on (Sep 26 2013 18:16:22)
Compiler: gcc version 4.8.1 20130725 (prerelease) (GCC)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.
And re-ran precisely the same command as before:
[andrew@Liger ~] vlc --sub-source 'marq{marquee=$t ($P%%)}' /m/nfl/broadcast/full/2013092210.mp4
VLC media player 2.1.0 Rincewind (revision 2.1.0-0-gedd8835)
[0x26a2d88] pulse audio output error: PulseAudio server connection failure: Connection refused
[0x25d5148] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7f10cc001248] main vout display error: Failed to resize display
[0x7f10cc001248] main vout display error: Failed to resize display
And the result is in the screenshot vlc-2.1.0.png
. It seems like the format variables aren't being replaced at all. I triple checked that I am in fact using single quotes as above, so this isn't a shell escaping problem AFAIK.
Thanks!