Opened 7 years ago

Closed 7 years ago

#1654 closed defect (worksforme)

Command line quoting broken

Reported by: pkv Owned by: courmisch
Priority: normal Milestone: 0.9.0-test3
Component: Core Version: master git
Severity: normal Keywords: moreinfo
Cc: Difficulty: unknown
Platform(s): Windows Work status: Not started

Description (last modified by courmisch)

NB: More details given in the forum in http://forum.videolan.org/viewtopic.php?f=14&t=47823

A DirectShow device has a slash in its name: e-g "4-1010 7/8ch". It opens in 0.9.0-test1 with the GUI. But when one tries to do the same on the command line it's broken.

The problem doesn't occur with the stable release 0.8.6h.

Change History (11)

comment:1 Changed 7 years ago by courmisch

  • Component changed from I don't know to Access
  • Description modified (diff)
  • Platform(s) changed from all to Win32

comment:2 Changed 7 years ago by courmisch

I would rather suspect the white space. Please provide the debug log.

comment:3 follow-up: Changed 7 years ago by courmisch

  • Keywords moreinfo added

comment:4 in reply to: ↑ 3 Changed 7 years ago by pkv

Replying to courmisch:

Your suspicion is right. It seems to be the space from what I can judge from the log. I had tried to comment the space with ' ' but it doesn't work. One more info: the bug occurs on other earlier nightlies, at least 4 or 5 ones before test1. Do you want me to try with earlier builds to try to locate when the bug appeared?

here's the log: dshow error: can't use device: "none", unsupported device type dshow error: can't open video dshow error: can't use device: "4-1010, unsupported device type dshow error: can't open audio dshow error: can't use device: "none", unsupported device type dshow error: can't open video dshow error: can't use device: "4-1010, unsupported device type dshow error: can't open audio main error: open of `dshow://' failed: could not create access access_directory error: 7/8ch": No such file or directory access_file error: cannot open file 7/8ch" (No such file or directory) main error: socket bind error (Cannot assign requested address) access_rtmp error: cannot listen to 7 port 1935 main error: open of `7/8ch"' failed: could not create access: no suitable access module

comment:5 Changed 7 years ago by pkv

added note:

same problem with latest test2 build:

vlc-0.9.0-test2-20080702-1913-win32.exe

comment:6 Changed 7 years ago by pkv

OK after testing the win32 nightlies: I find that before

vlc-0.9.0-git-20080606-0118-win32.exe

the command line: vlc dshow:// :dshow-vdev="none" :dshow-adev="4-1010 7/8ch"

doesn't give anything (device neither opened, nor any error messages although the device opens through the GUI).

After vlc-0.9.0-git-20080606-0118-win32.exe

the bug occurs as described in earlier posts with identical log.

The title of the bug should be changed to reflect that it's the space rather than the slash which is problematic as found by courmisch

comment:7 Changed 7 years ago by courmisch

  • Milestone changed from 0.9.0 bugs to 0.9.0-test2
  • Status changed from new to assigned

comment:8 Changed 7 years ago by courmisch

  • Summary changed from 0.9test1 command line can't open dshow device with a / in the device name to Command line quoting broken

comment:9 Changed 7 years ago by courmisch

  • Component changed from Access to LibVLC

comment:10 Changed 7 years ago by jb

  • Milestone changed from 0.9.0-test2 to 0.9.0-test3

comment:11 Changed 7 years ago by courmisch

  • Resolution set to worksforme
  • Status changed from assigned to closed

time out

Note: See TracTickets for help on using tickets.