<div dir="ltr">It turned out I was adding an extraneous space after the backslash at line 4:<div><br></div><div><span class="gmail-im"> /usr/bin/cvlc -vvv \<br>
screen:// :screen-fps=30 \<br>
</span> --canvas-width=1280 --canvas-height=720 \<br>
--sout-transcode-vcodec=h264 \ <br>
<span class="gmail-im"> --sout-x264-profile=high --sout-x264-level=3.1 \<br>
--sout-x264-vbv-maxrate=5000 --sout-x264-vbv-bufsize=8000 --sout-x264-vbv-init=0.2 \<br>
--input-slave=pulse://alsa_<wbr>output.pci-0000_00_03.0.hdmi-<wbr>surround.monitor --sout-transcode-acodec=aac \</span></div><div><span class="gmail-im"> ...</span></div><div><span class="gmail-im"><br></span></div><div><span class="gmail-im"><div>That was a little bit stupid, sorry.</div><div><br></div><div>Please close the bug.</div><div><br></div><div>Cyrille<br></div></span></div><div><span class="gmail-im"></span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 25, 2018 at 9:12 AM, Cyr Bol <span dir="ltr"><<a href="mailto:cyrille.bollu2@gmail.com" target="_blank">cyrille.bollu2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>well, that's strange...<br><br></div>That's true that when I run these commands on the command line, and go back to the histroy afterwards, I can see it translated to something like:<span class=""><br><br>
<span class="m_260941201833224387gmail-im"> screen:// :screen-fps=30 </span> --canvas-width=1280 --canvas-height=720 --sout-transcode-vcodec=h264
<span class="m_260941201833224387gmail-im"> --sout-x264-profile=high --sout-x264-level=3.1
<span class="m_260941201833224387gmail-im"> --sout-x264-vbv-maxrate=5000 --sout-x264-vbv-bufsize=8000 --sout-x264-vbv-init=0.2 --input-slave=pulse://alsa_out<wbr>put.pci-0000_00_03.0.hdmi-surr<wbr>ound.monitor --sout-transcode-acodec=aac \</span>
</span>
<br><br></span></div>So, I can see it interpreted by the shell indeed....<br><br></div>Could it be that VLC has issues with all the spaces generate by the shell between the arguments?<br><br></div>I will test that further when I'll have access to my machine.<br><br></div>BR<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 24, 2018 at 10:17 PM, Sebastian Ramacher <span dir="ltr"><<a href="mailto:sramacher@debian.org" target="_blank">sramacher@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Control: tags -1 + moreinfo<br>
<div><div class="m_260941201833224387h5"><br>
On 2018-05-24 22:05:56, Cyrille wrote:<br>
> Package: src:vlc<br>
> Version: 3.0.2-1+b1<br>
> Severity: normal<br>
> <br>
> Dear Maintainer,<br>
> <br>
> VLC doesn't parse arguments properly.<br>
> <br>
> How to reproduce?<br>
> <br>
> Create a shell script with the following content:<br>
> <br>
> #!/bin/sh<br>
> <br>
> # start VLC<br>
> /usr/bin/cvlc -vvv \<br>
> screen:// :screen-fps=30 \<br>
> --canvas-width=1280 --canvas-height=720 --sout-transcode-vcodec=h264 \<br>
> --sout-x264-profile=high --sout-x264-level=3.1 \<br>
> --sout-x264-vbv-maxrate=5000 --sout-x264-vbv-bufsize=8000 --sout-x264-vbv-init=0.2 \<br>
> --input-slave=pulse://alsa_ou<wbr>tput.pci-0000_00_03.0.hdmi-sur<wbr>round.monitor --sout-transcode-acodec=aac \<br>
> --sout-transcode-ab=192 --sout-transcode-channels=2 --sout-transcode-samplerate=48<wbr>000 \<br>
> --sout '#transcode{venc=x264{preset=u<wbr>ltrafast}}:rtp{sdp=rtsp://:909<wbr>0/kodi.sdp}' 2>&1 <br>
> <br>
> launch it. You can now connect to your computer at the follwing URI and watch your screen streamed in RTP.<br>
> <br>
> Now, modify this script as follow:<br>
> <br>
> #!/bin/sh<br>
> <br>
> # start VLC<br>
> /usr/bin/cvlc -vvv \<br>
> screen:// :screen-fps=30 \<br>
> --canvas-width=1280 --canvas-height=720 \<br>
> --sout-transcode-vcodec=h264 \<br>
> --sout-x264-profile=high --sout-x264-level=3.1 \<br>
> --sout-x264-vbv-maxrate=5000 --sout-x264-vbv-bufsize=8000 --sout-x264-vbv-init=0.2 \<br>
> --input-slave=pulse://alsa_ou<wbr>tput.pci-0000_00_03.0.hdmi-sur<wbr>round.monitor --sout-transcode-acodec=aac \<br>
> --sout-transcode-ab=192 --sout-transcode-channels=2 --sout-transcode-samplerate=48<wbr>000 \<br>
> --sout '#transcode{venc=x264{preset=u<wbr>ltrafast}}:rtp{sdp=rtsp://:909<wbr>0/kodi.sdp}' 2>&1<br>
> <br>
> launch it, and watch VLC freak out...<br>
> <br>
> 100% reproductible here.<br>
<br>
</div></div>You'll need to be a little bit more specific. The difference<br>
<br>
@@ -1,6 +1,7 @@<br>
<span> /usr/bin/cvlc -vvv \<br>
screen:// :screen-fps=30 \<br>
</span>- --canvas-width=1280 --canvas-height=720 --sout-transcode-vcodec=h264 \<br>
+ --canvas-width=1280 --canvas-height=720 \<br>
+ --sout-transcode-vcodec=h264 \<br>
<span> --sout-x264-profile=high --sout-x264-level=3.1 \<br>
--sout-x264-vbv-maxrate=5000 --sout-x264-vbv-bufsize=8000 --sout-x264-vbv-init=0.2 \<br>
--input-slave=pulse://alsa_ou<wbr>tput.pci-0000_00_03.0.hdmi-sur<wbr>round.monitor --sout-transcode-acodec=aac \<br>
<br>
</span>isn't even visible to vlc, since that's interpreted by the shell.<br>
<br>
Cheers<br>
<div><div class="m_260941201833224387h5"><br>
> <br>
> Best regards,<br>
> <br>
> Cyrille<br>
> -- System Information:<br>
> Debian Release: buster/sid<br>
> APT prefers testing<br>
> APT policy: (500, 'testing')<br>
> Architecture: amd64 (x86_64)<br>
> <br>
> Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)<br>
> Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)<br>
> Shell: /bin/sh linked to /bin/dash<br>
> Init: systemd (via /run/systemd/system)<br>
> LSM: AppArmor: enabled<br>
> <br>
> Versions of packages vlc depends on:<br>
> ii vlc-bin 3.0.2-1+b1<br>
> ii vlc-plugin-base 3.0.2-1+b1<br>
> ii vlc-plugin-qt 3.0.2-1+b1<br>
> ii vlc-plugin-video-output 3.0.2-1+b1<br>
> <br>
> Versions of packages vlc recommends:<br>
> ii vlc-l10n 3.0.2-1<br>
> ii vlc-plugin-notify 3.0.2-1+b1<br>
> ii vlc-plugin-samba 3.0.2-1+b1<br>
> ii vlc-plugin-skins2 3.0.2-1+b1<br>
> ii vlc-plugin-video-splitter 3.0.2-1+b1<br>
> ii vlc-plugin-visualization 3.0.2-1+b1<br>
> <br>
> vlc suggests no packages.<br>
> <br>
> Versions of packages libvlc-bin depends on:<br>
> ii libc6 2.27-3<br>
> ii libvlc5 3.0.2-1+b1<br>
> <br>
> Versions of packages libvlc5 depends on:<br>
> ii libc6 2.27-3<br>
> ii libvlccore9 3.0.2-1+b1<br>
> <br>
> Versions of packages libvlc5 recommends:<br>
> ii libvlc-bin 3.0.2-1+b1<br>
> <br>
> Versions of packages vlc-bin depends on:<br>
> ii libc6 2.27-3<br>
> ii libvlc-bin 3.0.2-1+b1<br>
> ii libvlc5 3.0.2-1+b1<br>
> <br>
> Versions of packages vlc-plugin-access-extra depends on:<br>
> ii libc6 2.27-3<br>
> ii libvlccore9 [vlc-plugin-abi-3-0-0f] 3.0.2-1+b1<br>
> ii libvncclient1 0.9.11+dfsg-1<br>
> ii libxcb-composite0 1.13-1<br>
> ii libxcb-shm0 1.13-1<br>
> ii libxcb1 1.13-1<br>
> <br>
> Versions of packages vlc-plugin-base depends on:<br>
> ii liba52-0.7.4 0.7.4-19<br>
> ii libarchive13 3.2.2-3.1<br>
> ii libaribb24-0 1.0.3-2<br>
> ii libasound2 1.1.3-5<br>
> ii libass9 1:0.14.0-1<br>
> ii libavahi-client3 0.7-4<br>
> ii libavahi-common3 0.7-4<br>
> ii libavc1394-0 0.5.4-4+b1<br>
> ii libavcodec57 7:3.4.2-2+b1<br>
> ii libavformat57 7:3.4.2-2+b1<br>
> ii libavutil55 7:3.4.2-2+b1<br>
> ii libbasicusageenvironment1 2018.04.25-2<br>
> ii libbluray2 1:1.0.2-3<br>
> ii libc6 2.27-3<br>
> ii libcairo2 1.15.10-3<br>
> ii libcddb2 1.3.2-6<br>
> ii libchromaprint1 1.4.3-2<br>
> ii libcrystalhd3 1:0.0~git20110715.fdd2f19-13<br>
> ii libdbus-1-3 1.12.8-2<br>
> ii libdc1394-22 2.2.5-1<br>
> ii libdca0 0.0.5-10<br>
> ii libdvbpsi10 1.3.2-1<br>
> ii libdvdnav4 6.0.0-1<br>
> ii libdvdread4 6.0.0-1<br>
> ii libebml4v5 1.3.6-2<br>
> ii libfaad2 2.8.8-1<br>
> ii libflac8 1.3.2-2<br>
> ii libfontconfig1 2.13.0-5<br>
> ii libfreetype6 2.8.1-2<br>
> ii libfribidi0 0.19.7-2<br>
> ii libgcc1 1:8.1.0-3<br>
> ii libgcrypt20 1.8.2-2<br>
> ii libglib2.0-0 2.56.1-2<br>
> ii libgnutls30 3.5.18-1<br>
> ii libgpg-error0 1.31-1<br>
> ii libgroupsock8 2018.04.25-2<br>
> ii libharfbuzz0b 1.7.6-1+b1<br>
> ii libjpeg62-turbo 1:1.5.2-2+b1<br>
> ii libkate1 0.4.1-8<br>
> ii liblirc-client0 0.10.0-2+b1<br>
> ii liblivemedia62 2018.04.25-2<br>
> ii liblua5.2-0 5.2.4-1.1+b2<br>
> ii libmad0 0.15.1b-9<br>
> ii libmatroska6v5 1.4.9-1<br>
> ii libmicrodns0 0.0.10-1<br>
> ii libmpcdec6 2:0.1~r495-1+b2<br>
> ii libmpeg2-4 0.5.1-8<br>
> ii libmpg123-0 1.25.10-2<br>
> ii libmtp9 1.1.13-1<br>
> ii libncursesw6 6.1+20180210-3<br>
> ii libnfs11 2.0.0-1~exp1<br>
> ii libogg0 1.3.2-1+b1<br>
> ii libopenmpt-modplug1 0.3.9-1<br>
> ii libopus0 1.2.1-1<br>
> ii libpng16-16 1.6.34-1<br>
> ii libpostproc54 7:3.4.2-2+b1<br>
> ii libprotobuf-lite10 3.0.0-9.1<br>
> ii libpulse0 11.1-5<br>
> ii libraw1394-11 2.1.2-1+b1<br>
> ii libresid-builder0c2a 2.1.1-15<br>
> ii librsvg2-2 2.40.20-2<br>
> ii libsamplerate0 0.1.9-2<br>
> ii libsdl-image1.2 1.2.12-8<br>
> ii libsdl1.2debian 1.2.15+dfsg2-0.1<br>
> ii libsecret-1-0 0.18.6-1<br>
> ii libshine3 3.1.1-2<br>
> ii libshout3 2.4.1-2<br>
> ii libsidplay2 2.1.1-15<br>
> ii libsndio6.1 1.1.0-3<br>
> ii libsoxr0 0.1.2-3<br>
> ii libspeex1 1.2~rc1.2-1+b2<br>
> ii libspeexdsp1 1.2~rc1.2-1+b2<br>
> ii libssh2-1 1.8.0-1<br>
> ii libstdc++6 8.1.0-3<br>
> ii libswscale4 7:3.4.2-2+b1<br>
> ii libsystemd0 238-4<br>
> ii libtag1v5 1.11.1+dfsg.1-0.2+b1<br>
> ii libtheora0 1.1.1+dfsg.1-14+b1<br>
> ii libtinfo6 6.1+20180210-3<br>
> ii libtwolame0 0.3.13-3<br>
> ii libudev1 238-4<br>
> ii libupnp6 1:1.6.24-4<br>
> ii libusageenvironment3 2018.04.25-2<br>
> ii libva-drm2 2.1.0-3<br>
> ii libva2 2.1.0-3<br>
> ii libvlccore9 [vlc-plugin-abi-3-0-0f] 3.0.2-1+b1<br>
> ii libvorbis0a 1.3.6-1<br>
> ii libvorbisenc2 1.3.6-1<br>
> ii libx264-152 2:0.152.2854+gite9a5903-2<br>
> ii libx265-151 2.7-2<br>
> ii libxcb-keysyms1 0.4.0-1+b2<br>
> ii libxcb1 1.13-1<br>
> ii libxml2 2.9.4+dfsg1-6.1<br>
> ii libzvbi0 0.2.35-13<br>
> ii vlc-data 3.0.2-1<br>
> ii zlib1g 1:1.2.11.dfsg-1<br>
> <br>
> Versions of packages vlc-plugin-base recommends:<br>
> ii xdg-utils 1.1.2-2<br>
> <br>
> Versions of packages vlc-plugin-base suggests:<br>
> pn libdvdcss2 <none><br>
> <br>
> Versions of packages vlc-plugin-notify depends on:<br>
> ii libc6 2.27-3<br>
> ii libgdk-pixbuf2.0-0 2.36.11-2<br>
> ii libglib2.0-0 2.56.1-2<br>
> ii libgtk-3-0 3.22.29-3<br>
> ii libnotify4 0.7.7-3<br>
> ii libvlccore9 [vlc-plugin-abi-3-0-0f] 3.0.2-1+b1<br>
> <br>
> Versions of packages vlc-plugin-qt depends on:<br>
> ii libc6 2.27-3<br>
> ii libgcc1 1:8.1.0-3<br>
> ii libqt5core5a 5.10.1+dfsg-6+b1<br>
> ii libqt5gui5 5.10.1+dfsg-6+b1<br>
> ii libqt5svg5 5.10.1-2<br>
> ii libqt5widgets5 5.10.1+dfsg-6+b1<br>
> ii libqt5x11extras5 5.10.1-2<br>
> ii libstdc++6 8.1.0-3<br>
> ii libvlccore9 [vlc-plugin-abi-3-0-0f] 3.0.2-1+b1<br>
> ii libwayland-client0 1.15.0-1<br>
> ii libx11-6 2:1.6.5-1<br>
> <br>
> Versions of packages vlc-plugin-qt recommends:<br>
> ii vlc-bin 3.0.2-1+b1<br>
> <br>
> Versions of packages vlc-plugin-skins2 depends on:<br>
> ii fonts-freefont-ttf 20120503-7<br>
> ii libc6 2.27-3<br>
> ii libfreetype6 2.8.1-2<br>
> ii libfribidi0 0.19.7-2<br>
> ii libgcc1 1:8.1.0-3<br>
> ii libstdc++6 8.1.0-3<br>
> ii libvlccore9 [vlc-plugin-abi-3-0-0f] 3.0.2-1+b1<br>
> ii libx11-6 2:1.6.5-1<br>
> ii libxext6 2:1.3.3-1+b2<br>
> ii libxinerama1 2:1.1.3-1+b3<br>
> ii libxpm4 1:3.5.12-1<br>
> ii vlc-plugin-qt 3.0.2-1+b1<br>
> <br>
> Versions of packages vlc-plugin-skins2 recommends:<br>
> ii vlc-bin 3.0.2-1+b1<br>
> <br>
> Versions of packages vlc-plugin-video-output depends on:<br>
> ii libaa1 1.4p5-44+b2<br>
> ii libavcodec57 7:3.4.2-2+b1<br>
> ii libavutil55 7:3.4.2-2+b1<br>
> ii libc6 2.27-3<br>
> ii libcaca0 0.99.beta19-2+b3<br>
> ii libegl1 1.0.0+git20180308-2<br>
> ii libgl1 1.0.0+git20180308-2<br>
> ii libgles2 1.0.0+git20180308-2<br>
> ii libplacebo4 0.4.0-2<br>
> ii libva-drm2 2.1.0-3<br>
> ii libva-wayland2 2.1.0-3<br>
> ii libva-x11-2 2.1.0-3<br>
> ii libva2 2.1.0-3<br>
> ii libvlccore9 [vlc-plugin-abi-3-0-0f] 3.0.2-1+b1<br>
> ii libwayland-client0 1.15.0-1<br>
> ii libwayland-egl1 [libwayland-egl1-mesa] 1.15.0-1<br>
> ii libwayland-egl1-mesa 18.0.3-1<br>
> ii libx11-6 2:1.6.5-1<br>
> ii libxcb-keysyms1 0.4.0-1+b2<br>
> ii libxcb-shm0 1.13-1<br>
> ii libxcb-xv0 1.13-1<br>
> ii libxcb1 1.13-1<br>
> <br>
> Versions of packages vlc-plugin-video-splitter depends on:<br>
> ii libc6 2.27-3<br>
> ii libvlccore9 [vlc-plugin-abi-3-0-0f] 3.0.2-1+b1<br>
> ii libxcb-randr0 1.13-1<br>
> ii libxcb1 1.13-1<br>
> <br>
> Versions of packages vlc-plugin-visualization depends on:<br>
> ii libc6 2.27-3<br>
> ii libgl1 1.0.0+git20180308-2<br>
> ii libvlccore9 [vlc-plugin-abi-3-0-0f] 3.0.2-1+b1<br>
> <br>
> -- no debconf information<br>
> <br>
</div></div>> ______________________________<wbr>_________________<br>
> pkg-multimedia-maintainers mailing list<br>
> <a href="mailto:pkg-multimedia-maintainers@alioth-lists.debian.net" target="_blank">pkg-multimedia-maintainers@ali<wbr>oth-lists.debian.net</a><br>
> <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers" rel="noreferrer" target="_blank">https://alioth-lists.debian.ne<wbr>t/cgi-bin/mailman/listinfo/pkg<wbr>-multimedia-maintainers</a><br>
<span class="m_260941201833224387HOEnZb"><font color="#888888"><br>
-- <br>
Sebastian Ramacher<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>