Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#4355 closed defect (invalid)

ffmpeg: option '-n' does not work in combination with "file:" protocol

Reported by: taeuber Owned by:
Priority: normal Component: ffmpeg
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug:
The option '-n' does not work in combination with the 'file:' protocol. But this prevents using special characters in output file name like ',' or ':' and the check for this file to exist.

How to reproduce:

% ffmpeg -i input.webm -c:v libx264 -n 'file:output,.mkv'
ffmpeg version N-45530-g35782bf
built on Oct 15 2012 07:17:09 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)


% ffmpeg -i input.webm -c:v libx264 -n 'file:output:.mkv'

doesn't exit when the file 'output:.mkv' already exists.

And this:

% ffmpeg -i input.webm -c:v libx264 -n 'output:.mkv'

exits with the error that the protocol is not found.

The same problem also occurs when the output file contains a comma ('output,.mkv').

Change History (2)

comment:1 Changed 6 years ago by taeuber

  • Resolution set to fixed
  • Status changed from new to closed

Sorry! I used the version provided by the distribution. This bug is already gone.
The most recent git version works as expected.

comment:2 Changed 5 years ago by cehoyos

  • Keywords file protocol removed
  • Resolution changed from fixed to invalid
Note: See TracTickets for help on using tickets.